Package com.daml.ledger.api.v1
Class ValueOuterClass.Value
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.daml.ledger.api.v1.ValueOuterClass.Value
-
- All Implemented Interfaces:
ValueOuterClass.ValueOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.io.Serializable
- Enclosing class:
- ValueOuterClass
public static final class ValueOuterClass.Value extends com.google.protobuf.GeneratedMessageV3 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 <= 256 that match the regexp ``[A-Za-z0-9:\-_ ]+``. - LedgerStrings are strings with length <= 256 that match the regexp ``[A-Za-z0-9#:\-_/ ]+``. - ApplicationIdStrings are strings with length <= 256 that match the regexp ``[A-Za-z0-9#:\-_/ @\|]+``.
Protobuf typecom.daml.ledger.api.v1.Value- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classValueOuterClass.Value.BuilderEncodes values that the ledger accepts as command arguments and emits as contract arguments.static classValueOuterClass.Value.SumCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_FIELD_NUMBERstatic intCONTRACT_ID_FIELD_NUMBERstatic intDATE_FIELD_NUMBERstatic intENUM_FIELD_NUMBERstatic intGEN_MAP_FIELD_NUMBERstatic intINT64_FIELD_NUMBERstatic intLIST_FIELD_NUMBERstatic intMAP_FIELD_NUMBERstatic intNUMERIC_FIELD_NUMBERstatic intOPTIONAL_FIELD_NUMBERstatic intPARTY_FIELD_NUMBERstatic intRECORD_FIELD_NUMBERstatic intTEXT_FIELD_NUMBERstatic intTIMESTAMP_FIELD_NUMBERstatic intUNIT_FIELD_NUMBERstatic intVARIANT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)booleangetBool()True or false.java.lang.StringgetContractId()Identifier of an on-ledger contract.com.google.protobuf.ByteStringgetContractIdBytes()Identifier of an on-ledger contract.intgetDate()Days since the unix epoch.static ValueOuterClass.ValuegetDefaultInstance()ValueOuterClass.ValuegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()ValueOuterClass.EnumgetEnum()The Enum typeValueOuterClass.EnumOrBuildergetEnumOrBuilder()The Enum typeValueOuterClass.GenMapgetGenMap()The GenMap typeValueOuterClass.GenMapOrBuildergetGenMapOrBuilder()The GenMap typelonggetInt64()sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];ValueOuterClass.ListgetList()Represents a homogeneous list of values.ValueOuterClass.ListOrBuildergetListOrBuilder()Represents a homogeneous list of values.ValueOuterClass.MapgetMap()The Map typeValueOuterClass.MapOrBuildergetMapOrBuilder()The Map typejava.lang.StringgetNumeric()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.ByteStringgetNumericBytes()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.OptionalgetOptional()The Optional type, None or SomeValueOuterClass.OptionalOrBuildergetOptionalOrBuilder()The Optional type, None or Somecom.google.protobuf.Parser<ValueOuterClass.Value>getParserForType()java.lang.StringgetParty()An agent operating on the ledger.com.google.protobuf.ByteStringgetPartyBytes()An agent operating on the ledger.ValueOuterClass.RecordgetRecord().com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];ValueOuterClass.RecordOrBuildergetRecordOrBuilder().com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];intgetSerializedSize()ValueOuterClass.Value.SumCasegetSumCase()java.lang.StringgetText()A string.com.google.protobuf.ByteStringgetTextBytes()A string.longgetTimestamp()Microseconds 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.EmptyOrBuildergetUnitOrBuilder()This value is used for example for choices that don't take any arguments.com.google.protobuf.UnknownFieldSetgetUnknownFields()ValueOuterClass.VariantgetVariant().com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];ValueOuterClass.VariantOrBuildergetVariantOrBuilder().com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];booleanhasBool()True or false.booleanhasContractId()Identifier of an on-ledger contract.booleanhasDate()Days since the unix epoch.booleanhasEnum()The Enum typebooleanhasGenMap()The GenMap typeinthashCode()booleanhasInt64()sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];booleanhasList()Represents a homogeneous list of values.booleanhasMap()The Map typebooleanhasNumeric()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).booleanhasOptional()The Optional type, None or SomebooleanhasParty()An agent operating on the ledger.booleanhasRecord().com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];booleanhasText()A string.booleanhasTimestamp()Microseconds since the UNIX epoch.booleanhasUnit()This value is used for example for choices that don't take any arguments.booleanhasVariant().com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ValueOuterClass.Value.BuildernewBuilder()static ValueOuterClass.Value.BuildernewBuilder(ValueOuterClass.Value prototype)ValueOuterClass.Value.BuildernewBuilderForType()protected ValueOuterClass.Value.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ValueOuterClass.ValueparseDelimitedFrom(java.io.InputStream input)static ValueOuterClass.ValueparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueOuterClass.ValueparseFrom(byte[] data)static ValueOuterClass.ValueparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueOuterClass.ValueparseFrom(com.google.protobuf.ByteString data)static ValueOuterClass.ValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueOuterClass.ValueparseFrom(com.google.protobuf.CodedInputStream input)static ValueOuterClass.ValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueOuterClass.ValueparseFrom(java.io.InputStream input)static ValueOuterClass.ValueparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ValueOuterClass.ValueparseFrom(java.nio.ByteBuffer data)static ValueOuterClass.ValueparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ValueOuterClass.Value>parser()ValueOuterClass.Value.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RECORD_FIELD_NUMBER
public static final int RECORD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VARIANT_FIELD_NUMBER
public static final int VARIANT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTRACT_ID_FIELD_NUMBER
public static final int CONTRACT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIST_FIELD_NUMBER
public static final int LIST_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INT64_FIELD_NUMBER
public static final int INT64_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUMERIC_FIELD_NUMBER
public static final int NUMERIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTY_FIELD_NUMBER
public static final int PARTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONAL_FIELD_NUMBER
public static final int OPTIONAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAP_FIELD_NUMBER
public static final int MAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER
- See Also:
- Constant Field Values
-
GEN_MAP_FIELD_NUMBER
public static final int GEN_MAP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getSumCase
public ValueOuterClass.Value.SumCase getSumCase()
- Specified by:
getSumCasein interfaceValueOuterClass.ValueOrBuilder
-
hasRecord
public boolean hasRecord()
.com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];- Specified by:
hasRecordin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the record field is set.
-
getRecord
public ValueOuterClass.Record getRecord()
.com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];- Specified by:
getRecordin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The record.
-
getRecordOrBuilder
public ValueOuterClass.RecordOrBuilder getRecordOrBuilder()
.com.daml.ledger.api.v1.Record record = 1 [json_name = "record"];- Specified by:
getRecordOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasVariant
public boolean hasVariant()
.com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];- Specified by:
hasVariantin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the variant field is set.
-
getVariant
public ValueOuterClass.Variant getVariant()
.com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];- Specified by:
getVariantin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The variant.
-
getVariantOrBuilder
public ValueOuterClass.VariantOrBuilder getVariantOrBuilder()
.com.daml.ledger.api.v1.Variant variant = 2 [json_name = "variant"];- Specified by:
getVariantOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
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 = 3 [json_name = "contractId"];- Specified by:
hasContractIdin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the contractId field is set.
-
getContractId
public 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"];- 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 = 3 [json_name = "contractId"];- Specified by:
getContractIdBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for contractId.
-
hasList
public boolean hasList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4 [json_name = "list"];- Specified by:
hasListin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the list field is set.
-
getList
public ValueOuterClass.List getList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4 [json_name = "list"];- Specified by:
getListin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The list.
-
getListOrBuilder
public ValueOuterClass.ListOrBuilder getListOrBuilder()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4 [json_name = "list"];- Specified by:
getListOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasInt64
public boolean hasInt64()
sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];- Specified by:
hasInt64in interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the int64 field is set.
-
getInt64
public long getInt64()
sint64 int64 = 5 [json_name = "int64", jstype = JS_STRING];- Specified by:
getInt64in interfaceValueOuterClass.ValueOrBuilder- Returns:
- The int64.
-
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 [+-]?\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
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"];- 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 [+-]?\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.
-
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
public java.lang.String 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.
-
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 = 9 [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 = 9 [json_name = "timestamp", jstype = JS_STRING];- Specified by:
getTimestampin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The timestamp.
-
hasParty
public boolean hasParty()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11 [json_name = "party"];- Specified by:
hasPartyin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the party field is set.
-
getParty
public java.lang.String getParty()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11 [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 = 11 [json_name = "party"];- Specified by:
getPartyBytesin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bytes for party.
-
hasBool
public boolean hasBool()
True or false.
bool bool = 12 [json_name = "bool"];- Specified by:
hasBoolin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the bool field is set.
-
getBool
public boolean getBool()
True or false.
bool bool = 12 [json_name = "bool"];- Specified by:
getBoolin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The bool.
-
hasUnit
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"];- 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 = 13 [json_name = "unit"];- Specified by:
getUnitin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The 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 = 13 [json_name = "unit"];- Specified by:
getUnitOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
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 = 14 [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 = 14 [json_name = "date"];- Specified by:
getDatein interfaceValueOuterClass.ValueOrBuilder- Returns:
- The date.
-
hasOptional
public boolean hasOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];- Specified by:
hasOptionalin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the optional field is set.
-
getOptional
public ValueOuterClass.Optional getOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];- Specified by:
getOptionalin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The optional.
-
getOptionalOrBuilder
public ValueOuterClass.OptionalOrBuilder getOptionalOrBuilder()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15 [json_name = "optional"];- Specified by:
getOptionalOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasMap
public boolean hasMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16 [json_name = "map"];- Specified by:
hasMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the map field is set.
-
getMap
public ValueOuterClass.Map getMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16 [json_name = "map"];- Specified by:
getMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The map.
-
getMapOrBuilder
public ValueOuterClass.MapOrBuilder getMapOrBuilder()
The Map type
.com.daml.ledger.api.v1.Map map = 16 [json_name = "map"];- Specified by:
getMapOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasEnum
public boolean hasEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17 [json_name = "enum"];- Specified by:
hasEnumin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the enum field is set.
-
getEnum
public ValueOuterClass.Enum getEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17 [json_name = "enum"];- Specified by:
getEnumin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The enum.
-
getEnumOrBuilder
public ValueOuterClass.EnumOrBuilder getEnumOrBuilder()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17 [json_name = "enum"];- Specified by:
getEnumOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
hasGenMap
public boolean hasGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];- Specified by:
hasGenMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- Whether the genMap field is set.
-
getGenMap
public ValueOuterClass.GenMap getGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];- Specified by:
getGenMapin interfaceValueOuterClass.ValueOrBuilder- Returns:
- The genMap.
-
getGenMapOrBuilder
public ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18 [json_name = "genMap"];- Specified by:
getGenMapOrBuilderin interfaceValueOuterClass.ValueOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ValueOuterClass.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ValueOuterClass.Value parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static ValueOuterClass.Value parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public ValueOuterClass.Value.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ValueOuterClass.Value.Builder newBuilder()
-
newBuilder
public static ValueOuterClass.Value.Builder newBuilder(ValueOuterClass.Value prototype)
-
toBuilder
public ValueOuterClass.Value.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ValueOuterClass.Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ValueOuterClass.Value getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ValueOuterClass.Value> parser()
-
getParserForType
public com.google.protobuf.Parser<ValueOuterClass.Value> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ValueOuterClass.Value getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-