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.BuilderaddAllObservers(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.BuilderaddAllSignatories(java.lang.Iterable<java.lang.String> values)The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.BuilderaddAllWitnessParties(java.lang.Iterable<java.lang.String> values)The parties that are notified of this event.EventOuterClass.CreatedEvent.BuilderaddObservers(java.lang.String value)The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.BuilderaddObserversBytes(com.google.protobuf.ByteString value)The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventOuterClass.CreatedEvent.BuilderaddSignatories(java.lang.String value)The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.BuilderaddSignatoriesBytes(com.google.protobuf.ByteString value)The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.BuilderaddWitnessParties(java.lang.String value)The parties that are notified of this event.EventOuterClass.CreatedEvent.BuilderaddWitnessPartiesBytes(com.google.protobuf.ByteString value)The parties that are notified of this event.EventOuterClass.CreatedEventbuild()EventOuterClass.CreatedEventbuildPartial()EventOuterClass.CreatedEvent.Builderclear()EventOuterClass.CreatedEvent.BuilderclearAgreementText()The agreement text of the contract.EventOuterClass.CreatedEvent.BuilderclearContractId()The ID of the created contract.EventOuterClass.CreatedEvent.BuilderclearContractKey()The key of the created contract, if defined.EventOuterClass.CreatedEvent.BuilderclearCreateArguments()The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.BuilderclearEventId()The ID of this particular event.EventOuterClass.CreatedEvent.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)EventOuterClass.CreatedEvent.BuilderclearObservers()The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)EventOuterClass.CreatedEvent.BuilderclearSignatories()The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.BuilderclearTemplateId()The template of the created contract.EventOuterClass.CreatedEvent.BuilderclearWitnessParties()The parties that are notified of this event.EventOuterClass.CreatedEvent.Builderclone()com.google.protobuf.StringValuegetAgreementText()The agreement text of the contract.com.google.protobuf.StringValue.BuildergetAgreementTextBuilder()The agreement text of the contract.com.google.protobuf.StringValueOrBuildergetAgreementTextOrBuilder()The agreement text of the contract.java.lang.StringgetContractId()The ID of the created contract.com.google.protobuf.ByteStringgetContractIdBytes()The ID of the created contract.ValueOuterClass.ValuegetContractKey()The key of the created contract, if defined.ValueOuterClass.Value.BuildergetContractKeyBuilder()The key of the created contract, if defined.ValueOuterClass.ValueOrBuildergetContractKeyOrBuilder()The key of the created contract, if defined.ValueOuterClass.RecordgetCreateArguments()The arguments that have been used to create the contract.ValueOuterClass.Record.BuildergetCreateArgumentsBuilder()The arguments that have been used to create the contract.ValueOuterClass.RecordOrBuildergetCreateArgumentsOrBuilder()The arguments that have been used to create the contract.EventOuterClass.CreatedEventgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetEventId()The ID of this particular event.com.google.protobuf.ByteStringgetEventIdBytes()The ID of this particular event.java.lang.StringgetObservers(int index)The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ByteStringgetObserversBytes(int index)The observers for this contract as specified explicitly by the template or implicitly as choice controllers.intgetObserversCount()The observers for this contract as specified explicitly by the template or implicitly as choice controllers.com.google.protobuf.ProtocolStringListgetObserversList()The observers for this contract as specified explicitly by the template or implicitly as choice controllers.java.lang.StringgetSignatories(int index)The signatories for this contract as specified by the template.com.google.protobuf.ByteStringgetSignatoriesBytes(int index)The signatories for this contract as specified by the template.intgetSignatoriesCount()The signatories for this contract as specified by the template.com.google.protobuf.ProtocolStringListgetSignatoriesList()The signatories for this contract as specified by the template.ValueOuterClass.IdentifiergetTemplateId()The template of the created contract.ValueOuterClass.Identifier.BuildergetTemplateIdBuilder()The template of the created contract.ValueOuterClass.IdentifierOrBuildergetTemplateIdOrBuilder()The template of the created contract.java.lang.StringgetWitnessParties(int index)The parties that are notified of this event.com.google.protobuf.ByteStringgetWitnessPartiesBytes(int index)The parties that are notified of this event.intgetWitnessPartiesCount()The parties that are notified of this event.com.google.protobuf.ProtocolStringListgetWitnessPartiesList()The parties that are notified of this event.booleanhasAgreementText()The agreement text of the contract.booleanhasContractKey()The key of the created contract, if defined.booleanhasCreateArguments()The arguments that have been used to create the contract.booleanhasTemplateId()The template of the created contract.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()EventOuterClass.CreatedEvent.BuildermergeAgreementText(com.google.protobuf.StringValue value)The agreement text of the contract.EventOuterClass.CreatedEvent.BuildermergeContractKey(ValueOuterClass.Value value)The key of the created contract, if defined.EventOuterClass.CreatedEvent.BuildermergeCreateArguments(ValueOuterClass.Record value)The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.BuildermergeFrom(EventOuterClass.CreatedEvent other)EventOuterClass.CreatedEvent.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)EventOuterClass.CreatedEvent.BuildermergeFrom(com.google.protobuf.Message other)EventOuterClass.CreatedEvent.BuildermergeTemplateId(ValueOuterClass.Identifier value)The template of the created contract.EventOuterClass.CreatedEvent.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EventOuterClass.CreatedEvent.BuildersetAgreementText(com.google.protobuf.StringValue value)The agreement text of the contract.EventOuterClass.CreatedEvent.BuildersetAgreementText(com.google.protobuf.StringValue.Builder builderForValue)The agreement text of the contract.EventOuterClass.CreatedEvent.BuildersetContractId(java.lang.String value)The ID of the created contract.EventOuterClass.CreatedEvent.BuildersetContractIdBytes(com.google.protobuf.ByteString value)The ID of the created contract.EventOuterClass.CreatedEvent.BuildersetContractKey(ValueOuterClass.Value value)The key of the created contract, if defined.EventOuterClass.CreatedEvent.BuildersetContractKey(ValueOuterClass.Value.Builder builderForValue)The key of the created contract, if defined.EventOuterClass.CreatedEvent.BuildersetCreateArguments(ValueOuterClass.Record value)The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.BuildersetCreateArguments(ValueOuterClass.Record.Builder builderForValue)The arguments that have been used to create the contract.EventOuterClass.CreatedEvent.BuildersetEventId(java.lang.String value)The ID of this particular event.EventOuterClass.CreatedEvent.BuildersetEventIdBytes(com.google.protobuf.ByteString value)The ID of this particular event.EventOuterClass.CreatedEvent.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)EventOuterClass.CreatedEvent.BuildersetObservers(int index, java.lang.String value)The observers for this contract as specified explicitly by the template or implicitly as choice controllers.EventOuterClass.CreatedEvent.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)EventOuterClass.CreatedEvent.BuildersetSignatories(int index, java.lang.String value)The signatories for this contract as specified by the template.EventOuterClass.CreatedEvent.BuildersetTemplateId(ValueOuterClass.Identifier value)The template of the created contract.EventOuterClass.CreatedEvent.BuildersetTemplateId(ValueOuterClass.Identifier.Builder builderForValue)The template of the created contract.EventOuterClass.CreatedEvent.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)EventOuterClass.CreatedEvent.BuildersetWitnessParties(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
clear
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
getDefaultInstanceForType
public EventOuterClass.CreatedEvent getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public EventOuterClass.CreatedEvent build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public EventOuterClass.CreatedEvent buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
setField
public EventOuterClass.CreatedEvent.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<EventOuterClass.CreatedEvent.Builder>
-
clearField
public EventOuterClass.CreatedEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
clearOneof
public EventOuterClass.CreatedEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin 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:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeFrom
public EventOuterClass.CreatedEvent.Builder mergeFrom(EventOuterClass.CreatedEvent other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getEventIdin 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:
getEventIdBytesin 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:
getContractIdin 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:
getContractIdBytesin 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:
hasTemplateIdin 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:
getTemplateIdin 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:
getTemplateIdOrBuilderin 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:
hasContractKeyin 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:
getContractKeyin 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:
getContractKeyOrBuilderin 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:
hasCreateArgumentsin 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:
getCreateArgumentsin 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:
getCreateArgumentsOrBuilderin 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:
getWitnessPartiesListin 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:
getWitnessPartiesCountin 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:
getWitnessPartiesin 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:
getWitnessPartiesBytesin 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:
getSignatoriesListin 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:
getSignatoriesCountin 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:
getSignatoriesin 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:
getSignatoriesBytesin 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:
getObserversListin 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:
getObserversCountin 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:
getObserversin 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:
getObserversBytesin 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:
hasAgreementTextin 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:
getAgreementTextin 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:
getAgreementTextOrBuilderin interfaceEventOuterClass.CreatedEventOrBuilder
-
setUnknownFields
public final EventOuterClass.CreatedEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
mergeUnknownFields
public final EventOuterClass.CreatedEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<EventOuterClass.CreatedEvent.Builder>
-
-