Package com.daml.ledger.api.v1
Class EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
- com.daml.ledger.api.v1.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
-
- All Implemented Interfaces:
EventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- EventQueryServiceOuterClass.GetEventsByContractIdResponse
public static final class EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder> implements EventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
Protobuf typecom.daml.ledger.api.v1.GetEventsByContractIdResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventQueryServiceOuterClass.GetEventsByContractIdResponse
build()
EventQueryServiceOuterClass.GetEventsByContractIdResponse
buildPartial()
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clear()
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clearArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clearCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
clone()
EventOuterClass.ArchivedEvent
getArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventOuterClass.ArchivedEvent.Builder
getArchiveEventBuilder()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventOuterClass.ArchivedEventOrBuilder
getArchiveEventOrBuilder()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventOuterClass.CreatedEvent
getCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventOuterClass.CreatedEvent.Builder
getCreateEventBuilder()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventOuterClass.CreatedEventOrBuilder
getCreateEventOrBuilder()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
boolean
hasArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.boolean
hasCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeCreateEvent(EventOuterClass.CreatedEvent value)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeFrom(EventQueryServiceOuterClass.GetEventsByContractIdResponse other)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeFrom(com.google.protobuf.Message other)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setArchiveEvent(EventOuterClass.ArchivedEvent.Builder builderForValue)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setCreateEvent(EventOuterClass.CreatedEvent value)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setCreateEvent(EventOuterClass.CreatedEvent.Builder builderForValue)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned.EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder
setUnknownFields(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, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
clear
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
getDefaultInstanceForType
public EventQueryServiceOuterClass.GetEventsByContractIdResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventQueryServiceOuterClass.GetEventsByContractIdResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventQueryServiceOuterClass.GetEventsByContractIdResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
setField
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
clearField
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
clearOneof
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
setRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
addRepeatedField
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeFrom(EventQueryServiceOuterClass.GetEventsByContractIdResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
mergeFrom
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
- Throws:
java.io.IOException
-
hasCreateEvent
public boolean hasCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
- Specified by:
hasCreateEvent
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
- Returns:
- Whether the createEvent field is set.
-
getCreateEvent
public EventOuterClass.CreatedEvent getCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
- Specified by:
getCreateEvent
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
- Returns:
- The createEvent.
-
setCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setCreateEvent(EventOuterClass.CreatedEvent value)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
setCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setCreateEvent(EventOuterClass.CreatedEvent.Builder builderForValue)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
mergeCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeCreateEvent(EventOuterClass.CreatedEvent value)
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
clearCreateEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clearCreateEvent()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
getCreateEventBuilder
public EventOuterClass.CreatedEvent.Builder getCreateEventBuilder()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
-
getCreateEventOrBuilder
public EventOuterClass.CreatedEventOrBuilder getCreateEventOrBuilder()
The create event for the contract with the ``contract_id`` given in the request provided it exists and has not yet been pruned. Optional
.com.daml.ledger.api.v1.CreatedEvent create_event = 1 [json_name = "createEvent"];
- Specified by:
getCreateEventOrBuilder
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
-
hasArchiveEvent
public boolean hasArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
- Specified by:
hasArchiveEvent
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
- Returns:
- Whether the archiveEvent field is set.
-
getArchiveEvent
public EventOuterClass.ArchivedEvent getArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
- Specified by:
getArchiveEvent
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
- Returns:
- The archiveEvent.
-
setArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
setArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setArchiveEvent(EventOuterClass.ArchivedEvent.Builder builderForValue)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
mergeArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeArchiveEvent(EventOuterClass.ArchivedEvent value)
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
clearArchiveEvent
public EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder clearArchiveEvent()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
getArchiveEventBuilder
public EventOuterClass.ArchivedEvent.Builder getArchiveEventBuilder()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
-
getArchiveEventOrBuilder
public EventOuterClass.ArchivedEventOrBuilder getArchiveEventOrBuilder()
The archive event for the contract with the ``contract_id`` given in the request provided such an archive event exists and it has not yet been pruned. Optional
.com.daml.ledger.api.v1.ArchivedEvent archive_event = 2 [json_name = "archiveEvent"];
- Specified by:
getArchiveEventOrBuilder
in interfaceEventQueryServiceOuterClass.GetEventsByContractIdResponseOrBuilder
-
setUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
mergeUnknownFields
public final EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventQueryServiceOuterClass.GetEventsByContractIdResponse.Builder>
-
-