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 four classes of strings as identifiers. Those classes are defined as follow: - NameStrings are strings that match the regexp ``[A-Za-z\$_][A-Za-z0-9\$_]*``. - PackageIdStrings are strings that match the regexp ``[A-Za-z0-9\-_ ]+``. - PartyIdStrings are strings that match the regexp ``[A-Za-z0-9:\-_ ]+``. - LedgerStrings are strings that match the regexp ``[A-Za-z0-9#:\-_/ ]+``.Protobuf type
com.daml.ledger.api.v1.Value| Modifier and Type | Method and Description |
|---|---|
ValueOuterClass.Value.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.Value |
build() |
ValueOuterClass.Value |
buildPartial() |
ValueOuterClass.Value.Builder |
clear() |
ValueOuterClass.Value.Builder |
clearBool()
True or false.
|
ValueOuterClass.Value.Builder |
clearContractId()
Identifier of an on-ledger contract.
|
ValueOuterClass.Value.Builder |
clearDate()
Days since the unix epoch.
|
ValueOuterClass.Value.Builder |
clearEnum()
The Enum type
|
ValueOuterClass.Value.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ValueOuterClass.Value.Builder |
clearGenMap()
The GenMap type
|
ValueOuterClass.Value.Builder |
clearInt64()
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING]; |
ValueOuterClass.Value.Builder |
clearList()
Represents a homogeneous list of values.
|
ValueOuterClass.Value.Builder |
clearMap()
The Map type
|
ValueOuterClass.Value.Builder |
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).
|
ValueOuterClass.Value.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ValueOuterClass.Value.Builder |
clearOptional()
The Optional type, None or Some
|
ValueOuterClass.Value.Builder |
clearParty()
An agent operating on the ledger.
|
ValueOuterClass.Value.Builder |
clearRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Value.Builder |
clearSum() |
ValueOuterClass.Value.Builder |
clearText()
A string.
|
ValueOuterClass.Value.Builder |
clearTimestamp()
Microseconds since the UNIX epoch.
|
ValueOuterClass.Value.Builder |
clearUnit()
This value is used for example for choices that don't take any arguments.
|
ValueOuterClass.Value.Builder |
clearVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
ValueOuterClass.Value.Builder |
clone() |
boolean |
getBool()
True or false.
|
java.lang.String |
getContractId()
Identifier of an on-ledger contract.
|
com.google.protobuf.ByteString |
getContractIdBytes()
Identifier of an on-ledger contract.
|
int |
getDate()
Days since the unix epoch.
|
ValueOuterClass.Value |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ValueOuterClass.Enum |
getEnum()
The Enum type
|
ValueOuterClass.Enum.Builder |
getEnumBuilder()
The Enum type
|
ValueOuterClass.EnumOrBuilder |
getEnumOrBuilder()
The Enum type
|
ValueOuterClass.GenMap |
getGenMap()
The GenMap type
|
ValueOuterClass.GenMap.Builder |
getGenMapBuilder()
The GenMap type
|
ValueOuterClass.GenMapOrBuilder |
getGenMapOrBuilder()
The GenMap type
|
long |
getInt64()
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING]; |
ValueOuterClass.List |
getList()
Represents a homogeneous list of values.
|
ValueOuterClass.List.Builder |
getListBuilder()
Represents a homogeneous list of values.
|
ValueOuterClass.ListOrBuilder |
getListOrBuilder()
Represents a homogeneous list of values.
|
ValueOuterClass.Map |
getMap()
The Map type
|
ValueOuterClass.Map.Builder |
getMapBuilder()
The Map type
|
ValueOuterClass.MapOrBuilder |
getMapOrBuilder()
The Map type
|
java.lang.String |
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).
|
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).
|
ValueOuterClass.Optional |
getOptional()
The Optional type, None or Some
|
ValueOuterClass.Optional.Builder |
getOptionalBuilder()
The Optional type, None or Some
|
ValueOuterClass.OptionalOrBuilder |
getOptionalOrBuilder()
The Optional type, None or Some
|
java.lang.String |
getParty()
An agent operating on the ledger.
|
com.google.protobuf.ByteString |
getPartyBytes()
An agent operating on the ledger.
|
ValueOuterClass.Record |
getRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Record.Builder |
getRecordBuilder()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.RecordOrBuilder |
getRecordOrBuilder()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Value.SumCase |
getSumCase() |
java.lang.String |
getText()
A string.
|
com.google.protobuf.ByteString |
getTextBytes()
A string.
|
long |
getTimestamp()
Microseconds since the UNIX epoch.
|
com.google.protobuf.Empty |
getUnit()
This value is used for example for choices that don't take any arguments.
|
com.google.protobuf.Empty.Builder |
getUnitBuilder()
This value is used for example for choices that don't take any arguments.
|
com.google.protobuf.EmptyOrBuilder |
getUnitOrBuilder()
This value is used for example for choices that don't take any arguments.
|
ValueOuterClass.Variant |
getVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
ValueOuterClass.Variant.Builder |
getVariantBuilder()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
ValueOuterClass.VariantOrBuilder |
getVariantOrBuilder()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
boolean |
hasEnum()
The Enum type
|
boolean |
hasGenMap()
The GenMap type
|
boolean |
hasList()
Represents a homogeneous list of values.
|
boolean |
hasMap()
The Map type
|
boolean |
hasOptional()
The Optional type, None or Some
|
boolean |
hasRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
boolean |
hasUnit()
This value is used for example for choices that don't take any arguments.
|
boolean |
hasVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ValueOuterClass.Value.Builder |
mergeEnum(ValueOuterClass.Enum value)
The Enum type
|
ValueOuterClass.Value.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ValueOuterClass.Value.Builder |
mergeFrom(com.google.protobuf.Message other) |
ValueOuterClass.Value.Builder |
mergeFrom(ValueOuterClass.Value other) |
ValueOuterClass.Value.Builder |
mergeGenMap(ValueOuterClass.GenMap value)
The GenMap type
|
ValueOuterClass.Value.Builder |
mergeList(ValueOuterClass.List value)
Represents a homogeneous list of values.
|
ValueOuterClass.Value.Builder |
mergeMap(ValueOuterClass.Map value)
The Map type
|
ValueOuterClass.Value.Builder |
mergeOptional(ValueOuterClass.Optional value)
The Optional type, None or Some
|
ValueOuterClass.Value.Builder |
mergeRecord(ValueOuterClass.Record value)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Value.Builder |
mergeUnit(com.google.protobuf.Empty value)
This value is used for example for choices that don't take any arguments.
|
ValueOuterClass.Value.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ValueOuterClass.Value.Builder |
mergeVariant(ValueOuterClass.Variant value)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
ValueOuterClass.Value.Builder |
setBool(boolean value)
True or false.
|
ValueOuterClass.Value.Builder |
setContractId(java.lang.String value)
Identifier of an on-ledger contract.
|
ValueOuterClass.Value.Builder |
setContractIdBytes(com.google.protobuf.ByteString value)
Identifier of an on-ledger contract.
|
ValueOuterClass.Value.Builder |
setDate(int value)
Days since the unix epoch.
|
ValueOuterClass.Value.Builder |
setEnum(ValueOuterClass.Enum.Builder builderForValue)
The Enum type
|
ValueOuterClass.Value.Builder |
setEnum(ValueOuterClass.Enum value)
The Enum type
|
ValueOuterClass.Value.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ValueOuterClass.Value.Builder |
setGenMap(ValueOuterClass.GenMap.Builder builderForValue)
The GenMap type
|
ValueOuterClass.Value.Builder |
setGenMap(ValueOuterClass.GenMap value)
The GenMap type
|
ValueOuterClass.Value.Builder |
setInt64(long value)
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING]; |
ValueOuterClass.Value.Builder |
setList(ValueOuterClass.List.Builder builderForValue)
Represents a homogeneous list of values.
|
ValueOuterClass.Value.Builder |
setList(ValueOuterClass.List value)
Represents a homogeneous list of values.
|
ValueOuterClass.Value.Builder |
setMap(ValueOuterClass.Map.Builder builderForValue)
The Map type
|
ValueOuterClass.Value.Builder |
setMap(ValueOuterClass.Map value)
The Map type
|
ValueOuterClass.Value.Builder |
setNumeric(java.lang.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).
|
ValueOuterClass.Value.Builder |
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).
|
ValueOuterClass.Value.Builder |
setOptional(ValueOuterClass.Optional.Builder builderForValue)
The Optional type, None or Some
|
ValueOuterClass.Value.Builder |
setOptional(ValueOuterClass.Optional value)
The Optional type, None or Some
|
ValueOuterClass.Value.Builder |
setParty(java.lang.String value)
An agent operating on the ledger.
|
ValueOuterClass.Value.Builder |
setPartyBytes(com.google.protobuf.ByteString value)
An agent operating on the ledger.
|
ValueOuterClass.Value.Builder |
setRecord(ValueOuterClass.Record.Builder builderForValue)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Value.Builder |
setRecord(ValueOuterClass.Record value)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"]; |
ValueOuterClass.Value.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ValueOuterClass.Value.Builder |
setText(java.lang.String value)
A string.
|
ValueOuterClass.Value.Builder |
setTextBytes(com.google.protobuf.ByteString value)
A string.
|
ValueOuterClass.Value.Builder |
setTimestamp(long value)
Microseconds since the UNIX epoch.
|
ValueOuterClass.Value.Builder |
setUnit(com.google.protobuf.Empty.Builder builderForValue)
This value is used for example for choices that don't take any arguments.
|
ValueOuterClass.Value.Builder |
setUnit(com.google.protobuf.Empty value)
This value is used for example for choices that don't take any arguments.
|
ValueOuterClass.Value.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ValueOuterClass.Value.Builder |
setVariant(ValueOuterClass.Variant.Builder builderForValue)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
ValueOuterClass.Value.Builder |
setVariant(ValueOuterClass.Variant value)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"]; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ValueOuterClass.Value build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ValueOuterClass.Value buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ValueOuterClass.Value.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder mergeFrom(ValueOuterClass.Value other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public ValueOuterClass.Value.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ValueOuterClass.Value.Builder>java.io.IOExceptionpublic ValueOuterClass.Value.SumCase getSumCase()
getSumCase in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder clearSum()
public boolean hasRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];hasRecord in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Record getRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];getRecord in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setRecord(ValueOuterClass.Record value)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];public ValueOuterClass.Value.Builder setRecord(ValueOuterClass.Record.Builder builderForValue)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];public ValueOuterClass.Value.Builder mergeRecord(ValueOuterClass.Record value)
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];public ValueOuterClass.Value.Builder clearRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];public ValueOuterClass.Record.Builder getRecordBuilder()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];public ValueOuterClass.RecordOrBuilder getRecordOrBuilder()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];getRecordOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic boolean hasVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];hasVariant in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Variant getVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];getVariant in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setVariant(ValueOuterClass.Variant value)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];public ValueOuterClass.Value.Builder setVariant(ValueOuterClass.Variant.Builder builderForValue)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];public ValueOuterClass.Value.Builder mergeVariant(ValueOuterClass.Variant value)
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];public ValueOuterClass.Value.Builder clearVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];public ValueOuterClass.Variant.Builder getVariantBuilder()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];public ValueOuterClass.VariantOrBuilder getVariantOrBuilder()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];getVariantOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic java.lang.String 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 = 3[json_name = "contractId"];getContractId in interface ValueOuterClass.ValueOrBuilderpublic 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 = 3[json_name = "contractId"];getContractIdBytes in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setContractId(java.lang.String value)
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 = 3[json_name = "contractId"];value - The contractId to set.public ValueOuterClass.Value.Builder 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 = 3[json_name = "contractId"];public ValueOuterClass.Value.Builder setContractIdBytes(com.google.protobuf.ByteString value)
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 = 3[json_name = "contractId"];value - The bytes for contractId to set.public boolean hasList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];hasList in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.List getList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];getList in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setList(ValueOuterClass.List value)
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];public ValueOuterClass.Value.Builder setList(ValueOuterClass.List.Builder builderForValue)
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];public ValueOuterClass.Value.Builder mergeList(ValueOuterClass.List value)
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];public ValueOuterClass.Value.Builder clearList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];public ValueOuterClass.List.Builder getListBuilder()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];public ValueOuterClass.ListOrBuilder getListOrBuilder()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];getListOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic long getInt64()
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING];getInt64 in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setInt64(long value)
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING];value - The int64 to set.public ValueOuterClass.Value.Builder clearInt64()
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING];public java.lang.String 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
[+-]?\d{1,38}(.\d{0,37})?
and should be representable by a Numeric without loss of precision.
string numeric = 6[json_name = "numeric"];getNumeric in interface ValueOuterClass.ValueOrBuilderpublic 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
[+-]?\d{1,38}(.\d{0,37})?
and should be representable by a Numeric without loss of precision.
string numeric = 6[json_name = "numeric"];getNumericBytes in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setNumeric(java.lang.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).
The field has to match the regex
[+-]?\d{1,38}(.\d{0,37})?
and should be representable by a Numeric without loss of precision.
string numeric = 6[json_name = "numeric"];value - The numeric to set.public ValueOuterClass.Value.Builder 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
[+-]?\d{1,38}(.\d{0,37})?
and should be representable by a Numeric without loss of precision.
string numeric = 6[json_name = "numeric"];public ValueOuterClass.Value.Builder 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 field has to match the regex
[+-]?\d{1,38}(.\d{0,37})?
and should be representable by a Numeric without loss of precision.
string numeric = 6[json_name = "numeric"];value - The bytes for numeric to set.public java.lang.String getText()
A string.
string text = 8[json_name = "text"];getText in interface ValueOuterClass.ValueOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
A string.
string text = 8[json_name = "text"];getTextBytes in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setText(java.lang.String value)
A string.
string text = 8[json_name = "text"];value - The text to set.public ValueOuterClass.Value.Builder clearText()
A string.
string text = 8[json_name = "text"];public ValueOuterClass.Value.Builder setTextBytes(com.google.protobuf.ByteString value)
A string.
string text = 8[json_name = "text"];value - The bytes for text to set.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 = 9[json_name = "timestamp", jstype = JS_STRING];getTimestamp in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setTimestamp(long value)
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 = 9[json_name = "timestamp", jstype = JS_STRING];value - The timestamp to set.public ValueOuterClass.Value.Builder 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 = 9[json_name = "timestamp", jstype = JS_STRING];public java.lang.String getParty()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];getParty in interface ValueOuterClass.ValueOrBuilderpublic com.google.protobuf.ByteString getPartyBytes()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];getPartyBytes in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setParty(java.lang.String value)
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];value - The party to set.public ValueOuterClass.Value.Builder clearParty()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];public ValueOuterClass.Value.Builder setPartyBytes(com.google.protobuf.ByteString value)
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];value - The bytes for party to set.public boolean getBool()
True or false.
bool bool = 12[json_name = "bool"];getBool in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setBool(boolean value)
True or false.
bool bool = 12[json_name = "bool"];value - The bool to set.public ValueOuterClass.Value.Builder clearBool()
True or false.
bool bool = 12[json_name = "bool"];public boolean hasUnit()
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];hasUnit in interface ValueOuterClass.ValueOrBuilderpublic com.google.protobuf.Empty getUnit()
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];getUnit in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setUnit(com.google.protobuf.Empty value)
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];public ValueOuterClass.Value.Builder setUnit(com.google.protobuf.Empty.Builder builderForValue)
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];public ValueOuterClass.Value.Builder mergeUnit(com.google.protobuf.Empty value)
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];public ValueOuterClass.Value.Builder clearUnit()
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];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 = 13[json_name = "unit"];public com.google.protobuf.EmptyOrBuilder getUnitOrBuilder()
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];getUnitOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic 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 = 14[json_name = "date"];getDate in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setDate(int value)
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 = 14[json_name = "date"];value - The date to set.public ValueOuterClass.Value.Builder 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 = 14[json_name = "date"];public boolean hasOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];hasOptional in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Optional getOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];getOptional in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setOptional(ValueOuterClass.Optional value)
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];public ValueOuterClass.Value.Builder setOptional(ValueOuterClass.Optional.Builder builderForValue)
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];public ValueOuterClass.Value.Builder mergeOptional(ValueOuterClass.Optional value)
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];public ValueOuterClass.Value.Builder clearOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];public ValueOuterClass.Optional.Builder getOptionalBuilder()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];public ValueOuterClass.OptionalOrBuilder getOptionalOrBuilder()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];getOptionalOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic boolean hasMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];hasMap in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Map getMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];getMap in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setMap(ValueOuterClass.Map value)
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];public ValueOuterClass.Value.Builder setMap(ValueOuterClass.Map.Builder builderForValue)
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];public ValueOuterClass.Value.Builder mergeMap(ValueOuterClass.Map value)
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];public ValueOuterClass.Value.Builder clearMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];public ValueOuterClass.Map.Builder getMapBuilder()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];public ValueOuterClass.MapOrBuilder getMapOrBuilder()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];getMapOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic boolean hasEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];hasEnum in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Enum getEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];getEnum in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setEnum(ValueOuterClass.Enum value)
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];public ValueOuterClass.Value.Builder setEnum(ValueOuterClass.Enum.Builder builderForValue)
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];public ValueOuterClass.Value.Builder mergeEnum(ValueOuterClass.Enum value)
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];public ValueOuterClass.Value.Builder clearEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];public ValueOuterClass.Enum.Builder getEnumBuilder()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];public ValueOuterClass.EnumOrBuilder getEnumOrBuilder()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];getEnumOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic boolean hasGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];hasGenMap in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.GenMap getGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];getGenMap in interface ValueOuterClass.ValueOrBuilderpublic ValueOuterClass.Value.Builder setGenMap(ValueOuterClass.GenMap value)
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];public ValueOuterClass.Value.Builder setGenMap(ValueOuterClass.GenMap.Builder builderForValue)
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];public ValueOuterClass.Value.Builder mergeGenMap(ValueOuterClass.GenMap value)
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];public ValueOuterClass.Value.Builder clearGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];public ValueOuterClass.GenMap.Builder getGenMapBuilder()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];public ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];getGenMapOrBuilder in interface ValueOuterClass.ValueOrBuilderpublic final ValueOuterClass.Value.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>public final ValueOuterClass.Value.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ValueOuterClass.Value.Builder>