Package com.daml.ledger.api.v2
Class ValueOuterClass.Value.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
com.daml.ledger.api.v2.ValueOuterClass.Value.Builder
- All Implemented Interfaces:
ValueOuterClass.ValueOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ValueOuterClass.Value
public static final class ValueOuterClass.Value.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
implements ValueOuterClass.ValueOrBuilder
Encodes values that the ledger accepts as command arguments and emits as contract arguments. The values encoding use different classes of non-empty strings as identifiers. Those classes are defined as follows: - NameStrings are strings with length <= 1000 that match the regexp ``[A-Za-z\$_][A-Za-z0-9\$_]*``. - PackageIdStrings are strings with length <= 64 that match the regexp ``[A-Za-z0-9\-_ ]+``. - PartyIdStrings are strings with length <= 255 that match the regexp ``[A-Za-z0-9:\-_ ]+``. - LedgerStrings are strings with length <= 255 that match the regexp ``[A-Za-z0-9#:\-_/ ]+``. - UserIdStrings are strings with length <= 128 that match the regexp ``[a-zA-Z0-9@^$.!`\-#+'~_|:]+``.Protobuf type
com.daml.ledger.api.v2.Value-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()True or false.Identifier of an on-ledger contract.Days since the unix epoch.The Enum typeclearField(com.google.protobuf.Descriptors.FieldDescriptor field) The GenMap typesint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];Represents a homogeneous list of values.A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The Optional type, None or SomeAn agent operating on the ledger..com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];clearSum()A string.The TextMap typeMicroseconds since the UNIX epoch.This value is used for example for choices that don't take any arguments..com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];clone()booleangetBool()True or false.Identifier of an on-ledger contract.com.google.protobuf.ByteStringIdentifier of an on-ledger contract.intgetDate()Days since the unix epoch.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEnum()The Enum typeThe Enum typeThe Enum typeThe GenMap typeThe GenMap typeThe GenMap typelonggetInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];getList()Represents a homogeneous list of values.Represents a homogeneous list of values.Represents a homogeneous list of values.A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).com.google.protobuf.ByteStringA Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).The Optional type, None or SomeThe Optional type, None or SomeThe Optional type, None or SomegetParty()An agent operating on the ledger.com.google.protobuf.ByteStringAn agent operating on the ledger..com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];getText()A string.com.google.protobuf.ByteStringA string.The TextMap typeThe TextMap typeThe TextMap typelongMicroseconds since the UNIX epoch.com.google.protobuf.EmptygetUnit()This value is used for example for choices that don't take any arguments.com.google.protobuf.Empty.BuilderThis value is used for example for choices that don't take any arguments.com.google.protobuf.EmptyOrBuilderThis value is used for example for choices that don't take any arguments..com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];booleanhasBool()True or false.booleanIdentifier of an on-ledger contract.booleanhasDate()Days since the unix epoch.booleanhasEnum()The Enum typebooleanThe GenMap typebooleanhasInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];booleanhasList()Represents a homogeneous list of values.booleanA Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).booleanThe Optional type, None or SomebooleanhasParty()An agent operating on the ledger.boolean.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];booleanhasText()A string.booleanThe TextMap typebooleanMicroseconds since the UNIX epoch.booleanhasUnit()This value is used for example for choices that don't take any arguments.boolean.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeEnum(ValueOuterClass.Enum value) The Enum typemergeFrom(ValueOuterClass.Value other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The GenMap typemergeList(ValueOuterClass.List value) Represents a homogeneous list of values.The Optional type, None or Some.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];The TextMap typemergeUnit(com.google.protobuf.Empty value) This value is used for example for choices that don't take any arguments.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];setBool(boolean value) True or false.setContractId(String value) Identifier of an on-ledger contract.setContractIdBytes(com.google.protobuf.ByteString value) Identifier of an on-ledger contract.setDate(int value) Days since the unix epoch.setEnum(ValueOuterClass.Enum value) The Enum typesetEnum(ValueOuterClass.Enum.Builder builderForValue) The Enum typesetGenMap(ValueOuterClass.GenMap value) The GenMap typesetGenMap(ValueOuterClass.GenMap.Builder builderForValue) The GenMap typesetInt64(long value) sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];setList(ValueOuterClass.List value) Represents a homogeneous list of values.setList(ValueOuterClass.List.Builder builderForValue) Represents a homogeneous list of values.setNumeric(String value) A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).setNumericBytes(com.google.protobuf.ByteString value) A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point).The Optional type, None or SomesetOptional(ValueOuterClass.Optional.Builder builderForValue) The Optional type, None or SomeAn agent operating on the ledger.setPartyBytes(com.google.protobuf.ByteString value) An agent operating on the ledger.setRecord(ValueOuterClass.Record value) .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];setRecord(ValueOuterClass.Record.Builder builderForValue) .com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) A string.setTextBytes(com.google.protobuf.ByteString value) A string.The TextMap typesetTextMap(ValueOuterClass.TextMap.Builder builderForValue) The TextMap typesetTimestamp(long value) Microseconds since the UNIX epoch.setUnit(com.google.protobuf.Empty value) This value is used for example for choices that don't take any arguments.setUnit(com.google.protobuf.Empty.Builder builderForValue) This value is used for example for choices that don't take any arguments.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];setVariant(ValueOuterClass.Variant.Builder builderForValue) .com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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<ValueOuterClass.Value.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<ValueOuterClass.Value.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<ValueOuterClass.Value.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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<ValueOuterClass.Value.Builder>
-
setField
public ValueOuterClass.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
clearField
public ValueOuterClass.Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
clearOneof
public ValueOuterClass.Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
setRepeatedField
public ValueOuterClass.Value.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
addRepeatedField
public ValueOuterClass.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
mergeFrom
public ValueOuterClass.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>- Throws:
IOException
-
getSumCase
- Specified by:
getSumCasein interfaceValueOuterClass.ValueOrBuilder
-
clearSum
-
hasUnit
public boolean hasUnit()This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"];- Specified by:
hasUnitin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the unit field is set.
-
getUnit
public com.google.protobuf.Empty getUnit()This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"];- Specified by:
getUnitin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The unit.
-
setUnit
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"]; -
setUnit
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"]; -
mergeUnit
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"]; -
clearUnit
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"]; -
getUnitBuilder
public com.google.protobuf.Empty.Builder getUnitBuilder()This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"]; -
getUnitOrBuilder
public com.google.protobuf.EmptyOrBuilder getUnitOrBuilder()This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 1 [json_name = "unit"];- Specified by:
getUnitOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasBool
public boolean hasBool()True or false.
bool bool = 2 [json_name = "bool"];- Specified by:
hasBoolin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public boolean getBool()True or false.
bool bool = 2 [json_name = "bool"];- Specified by:
getBoolin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bool.
-
setBool
True or false.
bool bool = 2 [json_name = "bool"];- Parameters:
value- The bool to set.- Returns:
- This builder for chaining.
-
clearBool
True or false.
bool bool = 2 [json_name = "bool"];- Returns:
- This builder for chaining.
-
hasInt64
public boolean hasInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];- Specified by:
hasInt64in interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
public long getInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];- Specified by:
getInt64in interfaceValueOuterClass.ValueOrBuilder- Returns:
- The int64.
-
setInt64
sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];- Parameters:
value- The int64 to set.- Returns:
- This builder for chaining.
-
clearInt64
sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];- Returns:
- This builder for chaining.
-
hasDate
public boolean hasDate()Days since the unix epoch. Can go backwards. Limited from 0001-01-01 to 9999-12-31, also to be compatible with https://www.ietf.org/rfc/rfc3339.txt
int32 date = 4 [json_name = "date"];- Specified by:
hasDatein interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the date field is set.
-
getDate
public int getDate()Days since the unix epoch. Can go backwards. Limited from 0001-01-01 to 9999-12-31, also to be compatible with https://www.ietf.org/rfc/rfc3339.txt
int32 date = 4 [json_name = "date"];- Specified by:
getDatein interfaceValueOuterClass.ValueOrBuilder- Returns:
- The date.
-
setDate
Days since the unix epoch. Can go backwards. Limited from 0001-01-01 to 9999-12-31, also to be compatible with https://www.ietf.org/rfc/rfc3339.txt
int32 date = 4 [json_name = "date"];- Parameters:
value- The date to set.- Returns:
- This builder for chaining.
-
clearDate
Days since the unix epoch. Can go backwards. Limited from 0001-01-01 to 9999-12-31, also to be compatible with https://www.ietf.org/rfc/rfc3339.txt
int32 date = 4 [json_name = "date"];- Returns:
- This builder for chaining.
-
hasTimestamp
public boolean hasTimestamp()Microseconds since the UNIX epoch. Can go backwards. Fixed since the vast majority of values will be greater than 2^28, since currently the number of microseconds since the epoch is greater than that. Range: 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999Z, so that we can convert to/from https://www.ietf.org/rfc/rfc3339.txt
sfixed64 timestamp = 5 [json_name = "timestamp", jstype = JS_STRING];- Specified by:
hasTimestampin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public long getTimestamp()Microseconds since the UNIX epoch. Can go backwards. Fixed since the vast majority of values will be greater than 2^28, since currently the number of microseconds since the epoch is greater than that. Range: 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999Z, so that we can convert to/from https://www.ietf.org/rfc/rfc3339.txt
sfixed64 timestamp = 5 [json_name = "timestamp", jstype = JS_STRING];- Specified by:
getTimestampin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The timestamp.
-
setTimestamp
Microseconds since the UNIX epoch. Can go backwards. Fixed since the vast majority of values will be greater than 2^28, since currently the number of microseconds since the epoch is greater than that. Range: 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999Z, so that we can convert to/from https://www.ietf.org/rfc/rfc3339.txt
sfixed64 timestamp = 5 [json_name = "timestamp", jstype = JS_STRING];- Parameters:
value- The timestamp to set.- Returns:
- This builder for chaining.
-
clearTimestamp
Microseconds since the UNIX epoch. Can go backwards. Fixed since the vast majority of values will be greater than 2^28, since currently the number of microseconds since the epoch is greater than that. Range: 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999Z, so that we can convert to/from https://www.ietf.org/rfc/rfc3339.txt
sfixed64 timestamp = 5 [json_name = "timestamp", jstype = JS_STRING];- Returns:
- This builder for chaining.
-
hasNumeric
public boolean hasNumeric()A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Specified by:
hasNumericin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the numeric field is set.
-
getNumeric
A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Specified by:
getNumericin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The numeric.
-
getNumericBytes
public com.google.protobuf.ByteString getNumericBytes()A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Specified by:
getNumericBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for numeric.
-
setNumeric
A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Parameters:
value- The numeric to set.- Returns:
- This builder for chaining.
-
clearNumeric
A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Returns:
- This builder for chaining.
-
setNumericBytes
A Numeric, that is a decimal value with precision 38 (at most 38 significant digits) and a scale between 0 and 37 (significant digits on the right of the decimal point). The field has to match the regex .. code-block:: none [+-]?\d{1,38}(.\d{0,37})? and should be representable by a Numeric without loss of precision.string numeric = 6 [json_name = "numeric"];- Parameters:
value- The bytes for numeric to set.- Returns:
- This builder for chaining.
-
hasParty
public boolean hasParty()An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Specified by:
hasPartyin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the party field is set.
-
getParty
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Specified by:
getPartyin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The party.
-
getPartyBytes
public com.google.protobuf.ByteString getPartyBytes()An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Specified by:
getPartyBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for party.
-
setParty
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Parameters:
value- The party to set.- Returns:
- This builder for chaining.
-
clearParty
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Returns:
- This builder for chaining.
-
setPartyBytes
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];- Parameters:
value- The bytes for party to set.- Returns:
- This builder for chaining.
-
hasText
public boolean hasText()A string.
string text = 8 [json_name = "text"];- Specified by:
hasTextin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the text field is set.
-
getText
A string.
string text = 8 [json_name = "text"];- Specified by:
getTextin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()A string.
string text = 8 [json_name = "text"];- Specified by:
getTextBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for text.
-
setText
A string.
string text = 8 [json_name = "text"];- Parameters:
value- The text to set.- Returns:
- This builder for chaining.
-
clearText
A string.
string text = 8 [json_name = "text"];- Returns:
- This builder for chaining.
-
setTextBytes
A string.
string text = 8 [json_name = "text"];- Parameters:
value- The bytes for text to set.- Returns:
- This builder for chaining.
-
hasContractId
public boolean hasContractId()Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Specified by:
hasContractIdin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the contractId field is set.
-
getContractId
Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Specified by:
getContractIdin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The contractId.
-
getContractIdBytes
public com.google.protobuf.ByteString getContractIdBytes()Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Specified by:
getContractIdBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for contractId.
-
setContractId
Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Parameters:
value- The contractId to set.- Returns:
- This builder for chaining.
-
clearContractId
Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Returns:
- This builder for chaining.
-
setContractIdBytes
Identifier of an on-ledger contract. Commands which reference an unknown or already archived contract ID will fail. Must be a valid LedgerString.
string contract_id = 9 [json_name = "contractId"];- Parameters:
value- The bytes for contractId to set.- Returns:
- This builder for chaining.
-
hasOptional
public boolean hasOptional()The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];- Specified by:
hasOptionalin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the optional field is set.
-
getOptional
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];- Specified by:
getOptionalin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The optional.
-
setOptional
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"]; -
setOptional
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"]; -
mergeOptional
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"]; -
clearOptional
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"]; -
getOptionalBuilder
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"]; -
getOptionalOrBuilder
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];- Specified by:
getOptionalOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasList
public boolean hasList()Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"];- Specified by:
hasListin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the list field is set.
-
getList
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"];- Specified by:
getListin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The list.
-
setList
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"]; -
setList
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"]; -
mergeList
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"]; -
clearList
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"]; -
getListBuilder
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"]; -
getListOrBuilder
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"];- Specified by:
getListOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasTextMap
public boolean hasTextMap()The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];- Specified by:
hasTextMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the textMap field is set.
-
getTextMap
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];- Specified by:
getTextMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The textMap.
-
setTextMap
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"]; -
setTextMap
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"]; -
mergeTextMap
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"]; -
clearTextMap
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"]; -
getTextMapBuilder
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"]; -
getTextMapOrBuilder
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];- Specified by:
getTextMapOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasGenMap
public boolean hasGenMap()The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];- Specified by:
hasGenMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the genMap field is set.
-
getGenMap
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];- Specified by:
getGenMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The genMap.
-
setGenMap
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"]; -
setGenMap
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"]; -
mergeGenMap
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"]; -
clearGenMap
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"]; -
getGenMapBuilder
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"]; -
getGenMapOrBuilder
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];- Specified by:
getGenMapOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasRecord
public boolean hasRecord().com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];- Specified by:
hasRecordin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the record field is set.
-
getRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];- Specified by:
getRecordin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The record.
-
setRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"]; -
setRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"]; -
mergeRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"]; -
clearRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"]; -
getRecordBuilder
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"]; -
getRecordOrBuilder
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];- Specified by:
getRecordOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasVariant
public boolean hasVariant().com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];- Specified by:
hasVariantin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the variant field is set.
-
getVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];- Specified by:
getVariantin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The variant.
-
setVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"]; -
setVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"]; -
mergeVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"]; -
clearVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"]; -
getVariantBuilder
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"]; -
getVariantOrBuilder
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];- Specified by:
getVariantOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasEnum
public boolean hasEnum()The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];- Specified by:
hasEnumin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];- Specified by:
getEnumin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The enum.
-
setEnum
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"]; -
setEnum
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"]; -
mergeEnum
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"]; -
clearEnum
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"]; -
getEnumBuilder
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"]; -
getEnumOrBuilder
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];- Specified by:
getEnumOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
setUnknownFields
public final ValueOuterClass.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-
mergeUnknownFields
public final ValueOuterClass.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>
-