Package com.daml.ledger.api.v1
Class EventOuterClass.CreatedEvent.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
- com.daml.ledger.api.v1.EventOuterClass.CreatedEvent.Builder
-
- All Implemented Interfaces:
EventOuterClass.CreatedEventOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- EventOuterClass.CreatedEvent
public static final class EventOuterClass.CreatedEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder> implements EventOuterClass.CreatedEventOrBuilder
Records that a contract has been created, and choices may now be exercised on it.
Protobuf typecom.daml.ledger.api.v1.CreatedEvent
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventOuterClass.CreatedEvent.Builder
addAllObservers(java.lang.Iterable<java.lang.String> values)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.Builder
addAllSignatories(java.lang.Iterable<java.lang.String> values)
The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.Builder
addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
The parties that are notified of this event.EventOuterClass.CreatedEvent.Builder
addObservers(java.lang.String value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.Builder
addObserversBytes(com.google.protobuf.ByteString value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.CreatedEvent.Builder
addSignatories(java.lang.String value)
The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.Builder
addSignatoriesBytes(com.google.protobuf.ByteString value)
The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.Builder
addWitnessParties(java.lang.String value)
The parties that are notified of this event.EventOuterClass.CreatedEvent.Builder
addWitnessPartiesBytes(com.google.protobuf.ByteString value)
The parties that are notified of this event.EventOuterClass.CreatedEvent
build()
EventOuterClass.CreatedEvent
buildPartial()
EventOuterClass.CreatedEvent.Builder
clear()
EventOuterClass.CreatedEvent.Builder
clearAgreementText()
The agreement text of the contract.EventOuterClass.CreatedEvent.Builder
clearContractId()
The ID of the created contract.EventOuterClass.CreatedEvent.Builder
clearContractKey()
The key of the created contract, if defined.EventOuterClass.CreatedEvent.Builder
clearCreateArguments()
The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.Builder
clearEventId()
The ID of this particular event.EventOuterClass.CreatedEvent.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
EventOuterClass.CreatedEvent.Builder
clearObservers()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
EventOuterClass.CreatedEvent.Builder
clearSignatories()
The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.Builder
clearTemplateId()
The template of the created contract.EventOuterClass.CreatedEvent.Builder
clearWitnessParties()
The parties that are notified of this event.EventOuterClass.CreatedEvent.Builder
clone()
com.google.protobuf.StringValue
getAgreementText()
The agreement text of the contract.com.google.protobuf.StringValue.Builder
getAgreementTextBuilder()
The agreement text of the contract.com.google.protobuf.StringValueOrBuilder
getAgreementTextOrBuilder()
The agreement text of the contract.java.lang.String
getContractId()
The ID of the created contract.com.google.protobuf.ByteString
getContractIdBytes()
The ID of the created contract.ValueOuterClass.Value
getContractKey()
The key of the created contract, if defined.ValueOuterClass.Value.Builder
getContractKeyBuilder()
The key of the created contract, if defined.ValueOuterClass.ValueOrBuilder
getContractKeyOrBuilder()
The key of the created contract, if defined.ValueOuterClass.Record
getCreateArguments()
The arguments that have been used to create the contract.ValueOuterClass.Record.Builder
getCreateArgumentsBuilder()
The arguments that have been used to create the contract.ValueOuterClass.RecordOrBuilder
getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract.EventOuterClass.CreatedEvent
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.java.lang.String
getObservers(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ByteString
getObserversBytes(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.int
getObserversCount()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ProtocolStringList
getObserversList()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.java.lang.String
getSignatories(int index)
The signatories for this contract as specified by the template.com.google.protobuf.ByteString
getSignatoriesBytes(int index)
The signatories for this contract as specified by the template.int
getSignatoriesCount()
The signatories for this contract as specified by the template.com.google.protobuf.ProtocolStringList
getSignatoriesList()
The signatories for this contract as specified by the template.ValueOuterClass.Identifier
getTemplateId()
The template of the created contract.ValueOuterClass.Identifier.Builder
getTemplateIdBuilder()
The template of the created contract.ValueOuterClass.IdentifierOrBuilder
getTemplateIdOrBuilder()
The template of the created 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
hasAgreementText()
The agreement text of the contract.boolean
hasContractKey()
The key of the created contract, if defined.boolean
hasCreateArguments()
The arguments that have been used to create the contract.boolean
hasTemplateId()
The template of the created contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
EventOuterClass.CreatedEvent.Builder
mergeAgreementText(com.google.protobuf.StringValue value)
The agreement text of the contract.EventOuterClass.CreatedEvent.Builder
mergeContractKey(ValueOuterClass.Value value)
The key of the created contract, if defined.EventOuterClass.CreatedEvent.Builder
mergeCreateArguments(ValueOuterClass.Record value)
The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.Builder
mergeFrom(EventOuterClass.CreatedEvent other)
EventOuterClass.CreatedEvent.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
EventOuterClass.CreatedEvent.Builder
mergeFrom(com.google.protobuf.Message other)
EventOuterClass.CreatedEvent.Builder
mergeTemplateId(ValueOuterClass.Identifier value)
The template of the created contract.EventOuterClass.CreatedEvent.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.CreatedEvent.Builder
setAgreementText(com.google.protobuf.StringValue value)
The agreement text of the contract.EventOuterClass.CreatedEvent.Builder
setAgreementText(com.google.protobuf.StringValue.Builder builderForValue)
The agreement text of the contract.EventOuterClass.CreatedEvent.Builder
setContractId(java.lang.String value)
The ID of the created contract.EventOuterClass.CreatedEvent.Builder
setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the created contract.EventOuterClass.CreatedEvent.Builder
setContractKey(ValueOuterClass.Value value)
The key of the created contract, if defined.EventOuterClass.CreatedEvent.Builder
setContractKey(ValueOuterClass.Value.Builder builderForValue)
The key of the created contract, if defined.EventOuterClass.CreatedEvent.Builder
setCreateArguments(ValueOuterClass.Record value)
The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.Builder
setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.Builder
setEventId(java.lang.String value)
The ID of this particular event.EventOuterClass.CreatedEvent.Builder
setEventIdBytes(com.google.protobuf.ByteString value)
The ID of this particular event.EventOuterClass.CreatedEvent.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
EventOuterClass.CreatedEvent.Builder
setObservers(int index, java.lang.String value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
EventOuterClass.CreatedEvent.Builder
setSignatories(int index, java.lang.String value)
The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.Builder
setTemplateId(ValueOuterClass.Identifier value)
The template of the created contract.EventOuterClass.CreatedEvent.Builder
setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the created contract.EventOuterClass.CreatedEvent.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
EventOuterClass.CreatedEvent.Builder
setWitnessParties(int index, java.lang.String value)
The parties that are notified of this event.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
clear
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
getDefaultInstanceForType
public EventOuterClass.CreatedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.CreatedEvent build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.CreatedEvent buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
setField
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
clearField
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
clearOneof
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
setRepeatedField
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
addRepeatedField
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.Builder mergeFrom(EventOuterClass.CreatedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
- Throws:
java.io.IOException
-
getEventId
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"];
- Specified by:
getEventId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The eventId.
-
getEventIdBytes
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"];
- Specified by:
getEventIdBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The bytes for eventId.
-
setEventId
public EventOuterClass.CreatedEvent.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"];
- Parameters:
value
- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public EventOuterClass.CreatedEvent.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"];
- Returns:
- This builder for chaining.
-
setEventIdBytes
public EventOuterClass.CreatedEvent.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"];
- Parameters:
value
- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
getContractId
public java.lang.String getContractId()
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Specified by:
getContractId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Specified by:
getContractIdBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The bytes for contractId.
-
setContractId
public EventOuterClass.CreatedEvent.Builder setContractId(java.lang.String value)
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
public EventOuterClass.CreatedEvent.Builder clearContractId()
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Returns:
- This builder for chaining.
-
setContractIdBytes
public EventOuterClass.CreatedEvent.Builder setContractIdBytes(com.google.protobuf.ByteString value)
The ID of the created contract. Must be a valid LedgerString (as described in ``value.proto``). Required
string contract_id = 2 [json_name = "contractId"];
- Parameters:
value
- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
hasTemplateId
public boolean hasTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
hasTemplateId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the templateId field is set.
-
getTemplateId
public ValueOuterClass.Identifier getTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
getTemplateId
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The templateId.
-
setTemplateId
public EventOuterClass.CreatedEvent.Builder setTemplateId(ValueOuterClass.Identifier value)
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
setTemplateId
public EventOuterClass.CreatedEvent.Builder setTemplateId(ValueOuterClass.Identifier.Builder builderForValue)
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
mergeTemplateId
public EventOuterClass.CreatedEvent.Builder mergeTemplateId(ValueOuterClass.Identifier value)
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
clearTemplateId
public EventOuterClass.CreatedEvent.Builder clearTemplateId()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
getTemplateIdBuilder
public ValueOuterClass.Identifier.Builder getTemplateIdBuilder()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
-
getTemplateIdOrBuilder
public ValueOuterClass.IdentifierOrBuilder getTemplateIdOrBuilder()
The template of the created contract. Required
.com.daml.ledger.api.v1.Identifier template_id = 3 [json_name = "templateId"];
- Specified by:
getTemplateIdOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasContractKey
public boolean hasContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
hasContractKey
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the contractKey field is set.
-
getContractKey
public ValueOuterClass.Value getContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
getContractKey
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The contractKey.
-
setContractKey
public EventOuterClass.CreatedEvent.Builder setContractKey(ValueOuterClass.Value value)
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
setContractKey
public EventOuterClass.CreatedEvent.Builder setContractKey(ValueOuterClass.Value.Builder builderForValue)
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
mergeContractKey
public EventOuterClass.CreatedEvent.Builder mergeContractKey(ValueOuterClass.Value value)
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
clearContractKey
public EventOuterClass.CreatedEvent.Builder clearContractKey()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
getContractKeyBuilder
public ValueOuterClass.Value.Builder getContractKeyBuilder()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
-
getContractKeyOrBuilder
public ValueOuterClass.ValueOrBuilder getContractKeyOrBuilder()
The key of the created contract, if defined. Optional
.com.daml.ledger.api.v1.Value contract_key = 7 [json_name = "contractKey"];
- Specified by:
getContractKeyOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
hasCreateArguments
public boolean hasCreateArguments()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
hasCreateArguments
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the createArguments field is set.
-
getCreateArguments
public ValueOuterClass.Record getCreateArguments()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
getCreateArguments
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The createArguments.
-
setCreateArguments
public EventOuterClass.CreatedEvent.Builder setCreateArguments(ValueOuterClass.Record value)
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
setCreateArguments
public EventOuterClass.CreatedEvent.Builder setCreateArguments(ValueOuterClass.Record.Builder builderForValue)
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
mergeCreateArguments
public EventOuterClass.CreatedEvent.Builder mergeCreateArguments(ValueOuterClass.Record value)
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
clearCreateArguments
public EventOuterClass.CreatedEvent.Builder clearCreateArguments()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
getCreateArgumentsBuilder
public ValueOuterClass.Record.Builder getCreateArgumentsBuilder()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
-
getCreateArgumentsOrBuilder
public ValueOuterClass.RecordOrBuilder getCreateArgumentsOrBuilder()
The arguments that have been used to create the contract. Required
.com.daml.ledger.api.v1.Record create_arguments = 4 [json_name = "createArguments"];
- Specified by:
getCreateArgumentsOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
getWitnessPartiesList
public com.google.protobuf.ProtocolStringList getWitnessPartiesList()
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the witnessParties.
-
getWitnessPartiesCount
public int getWitnessPartiesCount()
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of witnessParties.
-
getWitnessParties
public java.lang.String getWitnessParties(int index)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessParties
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The witnessParties at the given index.
-
getWitnessPartiesBytes
public com.google.protobuf.ByteString getWitnessPartiesBytes(int index)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Specified by:
getWitnessPartiesBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the witnessParties at the given index.
-
setWitnessParties
public EventOuterClass.CreatedEvent.Builder setWitnessParties(int index, java.lang.String value)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Parameters:
index
- The index to set the value at.value
- The witnessParties to set.- Returns:
- This builder for chaining.
-
addWitnessParties
public EventOuterClass.CreatedEvent.Builder addWitnessParties(java.lang.String value)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Parameters:
value
- The witnessParties to add.- Returns:
- This builder for chaining.
-
addAllWitnessParties
public EventOuterClass.CreatedEvent.Builder addAllWitnessParties(java.lang.Iterable<java.lang.String> values)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Parameters:
values
- The witnessParties to add.- Returns:
- This builder for chaining.
-
clearWitnessParties
public EventOuterClass.CreatedEvent.Builder clearWitnessParties()
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Returns:
- This builder for chaining.
-
addWitnessPartiesBytes
public EventOuterClass.CreatedEvent.Builder addWitnessPartiesBytes(com.google.protobuf.ByteString value)
The parties that are notified of this event. When a ``CreatedEvent`` is returned as part of a transaction tree, this will include all the parties specified in the ``TransactionFilter`` that are informees of the event. If served as part of a flat transaction those will be limited to all parties specified in the ``TransactionFilter`` that are stakeholders of the contract (i.e. either signatories or observers). Required
repeated string witness_parties = 5 [json_name = "witnessParties"];
- Parameters:
value
- The bytes of the witnessParties to add.- Returns:
- This builder for chaining.
-
getSignatoriesList
public com.google.protobuf.ProtocolStringList getSignatoriesList()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatoriesList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the signatories.
-
getSignatoriesCount
public int getSignatoriesCount()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatoriesCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of signatories.
-
getSignatories
public java.lang.String getSignatories(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatories
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The signatories at the given index.
-
getSignatoriesBytes
public com.google.protobuf.ByteString getSignatoriesBytes(int index)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Specified by:
getSignatoriesBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the signatories at the given index.
-
setSignatories
public EventOuterClass.CreatedEvent.Builder setSignatories(int index, java.lang.String value)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
index
- The index to set the value at.value
- The signatories to set.- Returns:
- This builder for chaining.
-
addSignatories
public EventOuterClass.CreatedEvent.Builder addSignatories(java.lang.String value)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
value
- The signatories to add.- Returns:
- This builder for chaining.
-
addAllSignatories
public EventOuterClass.CreatedEvent.Builder addAllSignatories(java.lang.Iterable<java.lang.String> values)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
values
- The signatories to add.- Returns:
- This builder for chaining.
-
clearSignatories
public EventOuterClass.CreatedEvent.Builder clearSignatories()
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Returns:
- This builder for chaining.
-
addSignatoriesBytes
public EventOuterClass.CreatedEvent.Builder addSignatoriesBytes(com.google.protobuf.ByteString value)
The signatories for this contract as specified by the template. Required
repeated string signatories = 8 [json_name = "signatories"];
- Parameters:
value
- The bytes of the signatories to add.- Returns:
- This builder for chaining.
-
getObserversList
public com.google.protobuf.ProtocolStringList getObserversList()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Specified by:
getObserversList
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- A list containing the observers.
-
getObserversCount
public int getObserversCount()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Specified by:
getObserversCount
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The count of observers.
-
getObservers
public java.lang.String getObservers(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Specified by:
getObservers
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The observers at the given index.
-
getObserversBytes
public com.google.protobuf.ByteString getObserversBytes(int index)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Specified by:
getObserversBytes
in interfaceEventOuterClass.CreatedEventOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the observers at the given index.
-
setObservers
public EventOuterClass.CreatedEvent.Builder setObservers(int index, java.lang.String value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
index
- The index to set the value at.value
- The observers to set.- Returns:
- This builder for chaining.
-
addObservers
public EventOuterClass.CreatedEvent.Builder addObservers(java.lang.String value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
value
- The observers to add.- Returns:
- This builder for chaining.
-
addAllObservers
public EventOuterClass.CreatedEvent.Builder addAllObservers(java.lang.Iterable<java.lang.String> values)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
values
- The observers to add.- Returns:
- This builder for chaining.
-
clearObservers
public EventOuterClass.CreatedEvent.Builder clearObservers()
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Returns:
- This builder for chaining.
-
addObserversBytes
public EventOuterClass.CreatedEvent.Builder addObserversBytes(com.google.protobuf.ByteString value)
The observers for this contract as specified explicitly by the template or implicitly as choice controllers. This field never contains parties that are signatories. Required
repeated string observers = 9 [json_name = "observers"];
- Parameters:
value
- The bytes of the observers to add.- Returns:
- This builder for chaining.
-
hasAgreementText
public boolean hasAgreementText()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
- Specified by:
hasAgreementText
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- Whether the agreementText field is set.
-
getAgreementText
public com.google.protobuf.StringValue getAgreementText()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
- Specified by:
getAgreementText
in interfaceEventOuterClass.CreatedEventOrBuilder
- Returns:
- The agreementText.
-
setAgreementText
public EventOuterClass.CreatedEvent.Builder setAgreementText(com.google.protobuf.StringValue value)
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
setAgreementText
public EventOuterClass.CreatedEvent.Builder setAgreementText(com.google.protobuf.StringValue.Builder builderForValue)
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
mergeAgreementText
public EventOuterClass.CreatedEvent.Builder mergeAgreementText(com.google.protobuf.StringValue value)
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
clearAgreementText
public EventOuterClass.CreatedEvent.Builder clearAgreementText()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
getAgreementTextBuilder
public com.google.protobuf.StringValue.Builder getAgreementTextBuilder()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
-
getAgreementTextOrBuilder
public com.google.protobuf.StringValueOrBuilder getAgreementTextOrBuilder()
The agreement text of the contract. We use StringValue to properly reflect optionality on the wire for backwards compatibility. This is necessary since the empty string is an acceptable (and in fact the default) agreement text, but also the default string in protobuf. This means a newer client works with an older sandbox seamlessly. Optional
.google.protobuf.StringValue agreement_text = 6 [json_name = "agreementText"];
- Specified by:
getAgreementTextOrBuilder
in interfaceEventOuterClass.CreatedEventOrBuilder
-
setUnknownFields
public final EventOuterClass.CreatedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.CreatedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
-