Package com.daml.ledger.api.v1
Class EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
- com.daml.ledger.api.v1.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder
-
- All Implemented Interfaces:
EventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- EventQueryServiceOuterClass.GetEventsByContractKeyResponse
public static final class EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder> implements EventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetEventsByContractKeyResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventQueryServiceOuterClass.GetEventsByContractKeyResponsebuild()EventQueryServiceOuterClass.GetEventsByContractKeyResponsebuildPartial()EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builderclear()EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderclearArchiveEvent()The archive event for the create event provided the created contract is archived.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderclearContinuationToken()If the ``continuation_token`` is populated then there may be additional events available.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderclearCreateEvent()The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builderclone()EventOuterClass.ArchivedEventgetArchiveEvent()The archive event for the create event provided the created contract is archived.EventOuterClass.ArchivedEvent.BuildergetArchiveEventBuilder()The archive event for the create event provided the created contract is archived.EventOuterClass.ArchivedEventOrBuildergetArchiveEventOrBuilder()The archive event for the create event provided the created contract is archived.java.lang.StringgetContinuationToken()If the ``continuation_token`` is populated then there may be additional events available.com.google.protobuf.ByteStringgetContinuationTokenBytes()If the ``continuation_token`` is populated then there may be additional events available.EventOuterClass.CreatedEventgetCreateEvent()The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventOuterClass.CreatedEvent.BuildergetCreateEventBuilder()The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventOuterClass.CreatedEventOrBuildergetCreateEventOrBuilder()The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventQueryServiceOuterClass.GetEventsByContractKeyResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleanhasArchiveEvent()The archive event for the create event provided the created contract is archived.booleanhasCreateEvent()The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeArchiveEvent(EventOuterClass.ArchivedEvent value)The archive event for the create event provided the created contract is archived.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeCreateEvent(EventOuterClass.CreatedEvent value)The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeFrom(EventQueryServiceOuterClass.GetEventsByContractKeyResponse other)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeFrom(com.google.protobuf.Message other)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetArchiveEvent(EventOuterClass.ArchivedEvent value)The archive event for the create event provided the created contract is archived.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetArchiveEvent(EventOuterClass.ArchivedEvent.Builder builderForValue)The archive event for the create event provided the created contract is archived.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetContinuationToken(java.lang.String value)If the ``continuation_token`` is populated then there may be additional events available.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetContinuationTokenBytes(com.google.protobuf.ByteString value)If the ``continuation_token`` is populated then there may be additional events available.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetCreateEvent(EventOuterClass.CreatedEvent value)The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetCreateEvent(EventOuterClass.CreatedEvent.Builder builderForValue)The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided.EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)EventQueryServiceOuterClass.GetEventsByContractKeyResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
clear
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
getDefaultInstanceForType
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
setField
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
clearField
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
clearOneof
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
setRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
addRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeFrom(EventQueryServiceOuterClass.GetEventsByContractKeyResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>- Throws:
java.io.IOException
-
hasCreateEvent
public boolean hasCreateEvent()
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];- Specified by:
hasCreateEventin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- Whether the createEvent field is set.
-
getCreateEvent
public EventOuterClass.CreatedEvent getCreateEvent()
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];- Specified by:
getCreateEventin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- The createEvent.
-
setCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setCreateEvent(EventOuterClass.CreatedEvent value)
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
setCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setCreateEvent(EventOuterClass.CreatedEvent.Builder builderForValue)
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
mergeCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeCreateEvent(EventOuterClass.CreatedEvent value)
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
clearCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clearCreateEvent()
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
getCreateEventBuilder
public EventOuterClass.CreatedEvent.Builder getCreateEventBuilder()
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
getCreateEventOrBuilder
public EventOuterClass.CreatedEventOrBuilder getCreateEventOrBuilder()
The most recent create event for a contract with the key given in the request, if no ``continuation_token`` is provided. If a ``continuation_token`` is provided, then this is the most recent create event preceding the create event whose ``continuation_token`` was provided. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];- Specified by:
getCreateEventOrBuilderin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder
-
hasArchiveEvent
public boolean hasArchiveEvent()
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];- Specified by:
hasArchiveEventin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- Whether the archiveEvent field is set.
-
getArchiveEvent
public EventOuterClass.ArchivedEvent getArchiveEvent()
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];- Specified by:
getArchiveEventin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- The archiveEvent.
-
setArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
setArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setArchiveEvent(EventOuterClass.ArchivedEvent.Builder builderForValue)
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
mergeArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
clearArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clearArchiveEvent()
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
getArchiveEventBuilder
public EventOuterClass.ArchivedEvent.Builder getArchiveEventBuilder()
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
getArchiveEventOrBuilder
public EventOuterClass.ArchivedEventOrBuilder getArchiveEventOrBuilder()
The archive event for the create event provided the created contract is archived. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];- Specified by:
getArchiveEventOrBuilderin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder
-
getContinuationToken
public java.lang.String getContinuationToken()
If the ``continuation_token`` is populated then there may be additional events available. To retrieve these events use the ``continuation_token`` in a subsequent request. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Specified by:
getContinuationTokenin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- The continuationToken.
-
getContinuationTokenBytes
public com.google.protobuf.ByteString getContinuationTokenBytes()
If the ``continuation_token`` is populated then there may be additional events available. To retrieve these events use the ``continuation_token`` in a subsequent request. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Specified by:
getContinuationTokenBytesin interfaceEventQueryServiceOuterClass.GetEventsByContractKeyResponseOrBuilder- Returns:
- The bytes for continuationToken.
-
setContinuationToken
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setContinuationToken(java.lang.String value)
If the ``continuation_token`` is populated then there may be additional events available. To retrieve these events use the ``continuation_token`` in a subsequent request. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Parameters:
value- The continuationToken to set.- Returns:
- This builder for chaining.
-
clearContinuationToken
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder clearContinuationToken()
If the ``continuation_token`` is populated then there may be additional events available. To retrieve these events use the ``continuation_token`` in a subsequent request. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Returns:
- This builder for chaining.
-
setContinuationTokenBytes
public EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setContinuationTokenBytes(com.google.protobuf.ByteString value)
If the ``continuation_token`` is populated then there may be additional events available. To retrieve these events use the ``continuation_token`` in a subsequent request. Optional
string continuation_token = 4 [json_name = "continuationToken"];- Parameters:
value- The bytes for continuationToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
mergeUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractKeyResponse.Builder>
-
-