public static final class EventOuterClass.ArchivedEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder> implements EventOuterClass.ArchivedEventOrBuilder
Records that a contract has been archived, and choices may no longer be exercised on it.Protobuf type
com.daml.ledger.api.v1.ArchivedEvent
Modifier and Type | Method and Description |
---|---|
EventOuterClass.ArchivedEvent.Builder |
addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
The parties that are notified of this event.
|
EventOuterClass.ArchivedEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EventOuterClass.ArchivedEvent.Builder |
addWitnessParties(java.lang.String value)
The parties that are notified of this event.
|
EventOuterClass.ArchivedEvent.Builder |
addWitnessPartiesBytes(com.google.protobuf.ByteString value)
The parties that are notified of this event.
|
EventOuterClass.ArchivedEvent |
build() |
EventOuterClass.ArchivedEvent |
buildPartial() |
EventOuterClass.ArchivedEvent.Builder |
clear() |
EventOuterClass.ArchivedEvent.Builder |
clearContractId()
The ID of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
clearEventId()
The ID of this particular event.
|
EventOuterClass.ArchivedEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
EventOuterClass.ArchivedEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
EventOuterClass.ArchivedEvent.Builder |
clearTemplateId()
The template of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
clearWitnessParties()
The parties that are notified of this event.
|
EventOuterClass.ArchivedEvent.Builder |
clone() |
java.lang.String |
getContractId()
The ID of the archived contract.
|
com.google.protobuf.ByteString |
getContractIdBytes()
The ID of the archived contract.
|
EventOuterClass.ArchivedEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getEventId()
The ID of this particular event.
|
com.google.protobuf.ByteString |
getEventIdBytes()
The ID of this particular event.
|
ValueOuterClass.Identifier |
getTemplateId()
The template of the archived contract.
|
ValueOuterClass.Identifier.Builder |
getTemplateIdBuilder()
The template of the archived contract.
|
ValueOuterClass.IdentifierOrBuilder |
getTemplateIdOrBuilder()
The template of the archived contract.
|
java.lang.String |
getWitnessParties(int index)
The parties that are notified of this event.
|
com.google.protobuf.ByteString |
getWitnessPartiesBytes(int index)
The parties that are notified of this event.
|
int |
getWitnessPartiesCount()
The parties that are notified of this event.
|
com.google.protobuf.ProtocolStringList |
getWitnessPartiesList()
The parties that are notified of this event.
|
boolean |
hasTemplateId()
The template of the archived contract.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
EventOuterClass.ArchivedEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
EventOuterClass.ArchivedEvent.Builder |
mergeFrom(EventOuterClass.ArchivedEvent other) |
EventOuterClass.ArchivedEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
EventOuterClass.ArchivedEvent.Builder |
mergeTemplateId(ValueOuterClass.Identifier value)
The template of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventOuterClass.ArchivedEvent.Builder |
setContractId(java.lang.String value)
The ID of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
setEventId(java.lang.String value)
The ID of this particular event.
|
EventOuterClass.ArchivedEvent.Builder |
setEventIdBytes(com.google.protobuf.ByteString value)
The ID of this particular event.
|
EventOuterClass.ArchivedEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
EventOuterClass.ArchivedEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
EventOuterClass.ArchivedEvent.Builder |
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
setTemplateId(ValueOuterClass.Identifier value)
The template of the archived contract.
|
EventOuterClass.ArchivedEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
EventOuterClass.ArchivedEvent.Builder |
setWitnessParties(int index,
java.lang.String value)
The parties that are notified of this event.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public EventOuterClass.ArchivedEvent build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public EventOuterClass.ArchivedEvent buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public EventOuterClass.ArchivedEvent.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder mergeFrom(EventOuterClass.ArchivedEvent other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public EventOuterClass.ArchivedEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<EventOuterClass.ArchivedEvent.Builder>
java.io.IOException
public java.lang.String getEventId()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];
getEventId
in interface EventOuterClass.ArchivedEventOrBuilder
public com.google.protobuf.ByteString getEventIdBytes()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];
getEventIdBytes
in interface EventOuterClass.ArchivedEventOrBuilder
public EventOuterClass.ArchivedEvent.Builder setEventId(java.lang.String value)
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];
value
- The eventId to set.public EventOuterClass.ArchivedEvent.Builder clearEventId()
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];
public EventOuterClass.ArchivedEvent.Builder setEventIdBytes(com.google.protobuf.ByteString value)
The ID of this particular event. Must be a valid LedgerString (as described in ``value.proto``). Required
string event_id = 1 [json_name = "eventId"];
value
- The bytes for eventId to set.public java.lang.String getContractId()
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
getContractId
in interface EventOuterClass.ArchivedEventOrBuilder
public com.google.protobuf.ByteString getContractIdBytes()
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
getContractIdBytes
in interface EventOuterClass.ArchivedEventOrBuilder
public EventOuterClass.ArchivedEvent.Builder setContractId(java.lang.String value)
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
value
- The contractId to set.public EventOuterClass.ArchivedEvent.Builder clearContractId()
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
public EventOuterClass.ArchivedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the archived contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
value
- The bytes for contractId to set.public boolean hasTemplateId()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
hasTemplateId
in interface EventOuterClass.ArchivedEventOrBuilder
public ValueOuterClass.Identifier getTemplateId()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
getTemplateId
in interface EventOuterClass.ArchivedEventOrBuilder
public EventOuterClass.ArchivedEvent.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
public EventOuterClass.ArchivedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
public EventOuterClass.ArchivedEvent.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
public EventOuterClass.ArchivedEvent.Builder clearTemplateId()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the archived contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
getTemplateIdOrBuilder
in interface EventOuterClass.ArchivedEventOrBuilder
public com.google.protobuf.ProtocolStringList getWitnessPartiesList()
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
getWitnessPartiesList
in interface EventOuterClass.ArchivedEventOrBuilder
public int getWitnessPartiesCount()
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
getWitnessPartiesCount
in interface EventOuterClass.ArchivedEventOrBuilder
public java.lang.String getWitnessParties(int index)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
getWitnessParties
in interface EventOuterClass.ArchivedEventOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getWitnessPartiesBytes(int index)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
getWitnessPartiesBytes
in interface EventOuterClass.ArchivedEventOrBuilder
index
- The index of the value to return.public EventOuterClass.ArchivedEvent.Builder setWitnessParties(int index, java.lang.String value)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
index
- The index to set the value at.value
- The witnessParties to set.public EventOuterClass.ArchivedEvent.Builder addWitnessParties(java.lang.String value)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
value
- The witnessParties to add.public EventOuterClass.ArchivedEvent.Builder addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
values
- The witnessParties to add.public EventOuterClass.ArchivedEvent.Builder clearWitnessParties()
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
public EventOuterClass.ArchivedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value)
The parties that are notified of this event. For ``ArchivedEvent``s, these are the intersection of the stakeholders of the contract in question and the parties specified in the ``TransactionFilter``. The stakeholders are the union of the signatories and the observers of the contract. Each one of its elements must be a valid PartyIdString (as described in ``value.proto``). Required
repeated string witness_parties = 4 [json_name = "witnessParties"];
value
- The bytes of the witnessParties to add.public final EventOuterClass.ArchivedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>
public final EventOuterClass.ArchivedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.ArchivedEvent.Builder>