Package com.daml.ledger.api.v2
Class ValueOuterClass.Value
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.daml.ledger.api.v2.ValueOuterClass.Value
- All Implemented Interfaces:
ValueOuterClass.ValueOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,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 <= 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
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Encodes values that the ledger accepts as command arguments and emits as contract arguments.static enum
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,
BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFields
Fields inherited from class com.google.protobuf.AbstractMessage
memoizedSize
Fields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
getBool()
True or false.Identifier of an on-ledger contract.com.google.protobuf.ByteString
Identifier of an on-ledger contract.int
getDate()
Days since the unix epoch.static ValueOuterClass.Value
static final com.google.protobuf.Descriptors.Descriptor
getEnum()
The Enum typeThe Enum typeThe GenMap typeThe GenMap typelong
getInt64()
sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
getList()
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.ByteString
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 SomeThe Optional type, None or Somecom.google.protobuf.Parser<ValueOuterClass.Value>
getParty()
An agent operating on the ledger.com.google.protobuf.ByteString
An 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"];
int
getText()
A string.com.google.protobuf.ByteString
A string.The TextMap typeThe TextMap typelong
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.EmptyOrBuilder
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"];
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
boolean
hasBool()
True or false.boolean
Identifier of an on-ledger contract.boolean
hasDate()
Days since the unix epoch.boolean
hasEnum()
The Enum typeboolean
The GenMap typeint
hashCode()
boolean
hasInt64()
sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
boolean
hasList()
Represents a homogeneous list of values.boolean
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).boolean
The Optional type, None or Someboolean
hasParty()
An agent operating on the ledger.boolean
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
boolean
hasText()
A string.boolean
The TextMap typeboolean
Microseconds since the UNIX epoch.boolean
hasUnit()
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.FieldAccessorTable
final boolean
newBuilder
(ValueOuterClass.Value prototype) protected ValueOuterClass.Value.Builder
newBuilderForType
(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected Object
newInstance
(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ValueOuterClass.Value
parseDelimitedFrom
(InputStream input) static ValueOuterClass.Value
parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueOuterClass.Value
parseFrom
(byte[] data) static ValueOuterClass.Value
parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueOuterClass.Value
parseFrom
(com.google.protobuf.ByteString data) static ValueOuterClass.Value
parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueOuterClass.Value
parseFrom
(com.google.protobuf.CodedInputStream input) static ValueOuterClass.Value
parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueOuterClass.Value
parseFrom
(InputStream input) static ValueOuterClass.Value
parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ValueOuterClass.Value
parseFrom
(ByteBuffer data) static ValueOuterClass.Value
parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ValueOuterClass.Value>
parser()
void
writeTo
(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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
Methods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeTo
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
UNIT_FIELD_NUMBER
public static final int UNIT_FIELD_NUMBER- See Also:
-
BOOL_FIELD_NUMBER
public static final int BOOL_FIELD_NUMBER- See Also:
-
INT64_FIELD_NUMBER
public static final int INT64_FIELD_NUMBER- See Also:
-
DATE_FIELD_NUMBER
public static final int DATE_FIELD_NUMBER- See Also:
-
TIMESTAMP_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER- See Also:
-
NUMERIC_FIELD_NUMBER
public static final int NUMERIC_FIELD_NUMBER- See Also:
-
PARTY_FIELD_NUMBER
public static final int PARTY_FIELD_NUMBER- See Also:
-
TEXT_FIELD_NUMBER
public static final int TEXT_FIELD_NUMBER- See Also:
-
CONTRACT_ID_FIELD_NUMBER
public static final int CONTRACT_ID_FIELD_NUMBER- See Also:
-
OPTIONAL_FIELD_NUMBER
public static final int OPTIONAL_FIELD_NUMBER- See Also:
-
LIST_FIELD_NUMBER
public static final int LIST_FIELD_NUMBER- See Also:
-
TEXT_MAP_FIELD_NUMBER
public static final int TEXT_MAP_FIELD_NUMBER- See Also:
-
GEN_MAP_FIELD_NUMBER
public static final int GEN_MAP_FIELD_NUMBER- See Also:
-
RECORD_FIELD_NUMBER
public static final int RECORD_FIELD_NUMBER- See Also:
-
VARIANT_FIELD_NUMBER
public static final int VARIANT_FIELD_NUMBER- See Also:
-
ENUM_FIELD_NUMBER
public static final int ENUM_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getSumCase
- Specified by:
getSumCase
in interfaceValueOuterClass.ValueOrBuilder
-
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:
hasUnit
in 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:
getUnit
in 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 = 1 [json_name = "unit"];
- Specified by:
getUnitOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasBool
public boolean hasBool()True or false.
bool bool = 2 [json_name = "bool"];
- Specified by:
hasBool
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- Whether the bool field is set.
-
getBool
public boolean getBool()True or false.
bool bool = 2 [json_name = "bool"];
- Specified by:
getBool
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The bool.
-
hasInt64
public boolean hasInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
- Specified by:
hasInt64
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- Whether the int64 field is set.
-
getInt64
public long getInt64()sint64 int64 = 3 [json_name = "int64", jstype = JS_STRING];
- Specified by:
getInt64
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The int64.
-
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:
hasDate
in 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:
getDate
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The date.
-
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:
hasTimestamp
in 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:
getTimestamp
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The timestamp.
-
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:
hasNumeric
in 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:
getNumeric
in 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:
getNumericBytes
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The bytes for numeric.
-
hasParty
public boolean hasParty()An agent operating on the ledger. Must be a valid PartyIdString.
string party = 7 [json_name = "party"];
- Specified by:
hasParty
in 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:
getParty
in 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:
getPartyBytes
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The bytes for party.
-
hasText
public boolean hasText()A string.
string text = 8 [json_name = "text"];
- Specified by:
hasText
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- Whether the text field is set.
-
getText
A string.
string text = 8 [json_name = "text"];
- Specified by:
getText
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The text.
-
getTextBytes
public com.google.protobuf.ByteString getTextBytes()A string.
string text = 8 [json_name = "text"];
- Specified by:
getTextBytes
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The bytes for text.
-
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:
hasContractId
in 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:
getContractId
in 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:
getContractIdBytes
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The bytes for contractId.
-
hasOptional
public boolean hasOptional()The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];
- Specified by:
hasOptional
in 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:
getOptional
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The optional.
-
getOptionalOrBuilder
The Optional type, None or Some
.com.daml.ledger.api.v2.Optional optional = 10 [json_name = "optional"];
- Specified by:
getOptionalOrBuilder
in 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:
hasList
in 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:
getList
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The list.
-
getListOrBuilder
Represents a homogeneous list of values.
.com.daml.ledger.api.v2.List list = 11 [json_name = "list"];
- Specified by:
getListOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasTextMap
public boolean hasTextMap()The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
- Specified by:
hasTextMap
in 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:
getTextMap
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The textMap.
-
getTextMapOrBuilder
The TextMap type
.com.daml.ledger.api.v2.TextMap text_map = 12 [json_name = "textMap"];
- Specified by:
getTextMapOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasGenMap
public boolean hasGenMap()The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
- Specified by:
hasGenMap
in 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:
getGenMap
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The genMap.
-
getGenMapOrBuilder
The GenMap type
.com.daml.ledger.api.v2.GenMap gen_map = 13 [json_name = "genMap"];
- Specified by:
getGenMapOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasRecord
public boolean hasRecord().com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
- Specified by:
hasRecord
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- Whether the record field is set.
-
getRecord
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
- Specified by:
getRecord
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The record.
-
getRecordOrBuilder
.com.daml.ledger.api.v2.Record record = 14 [json_name = "record"];
- Specified by:
getRecordOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasVariant
public boolean hasVariant().com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
- Specified by:
hasVariant
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- Whether the variant field is set.
-
getVariant
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
- Specified by:
getVariant
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The variant.
-
getVariantOrBuilder
.com.daml.ledger.api.v2.Variant variant = 15 [json_name = "variant"];
- Specified by:
getVariantOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
hasEnum
public boolean hasEnum()The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
- Specified by:
hasEnum
in 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:
getEnum
in interfaceValueOuterClass.ValueOrBuilder
- Returns:
- The enum.
-
getEnumOrBuilder
The Enum type
.com.daml.ledger.api.v2.Enum enum = 16 [json_name = "enum"];
- Specified by:
getEnumOrBuilder
in interfaceValueOuterClass.ValueOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ValueOuterClass.Value parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ValueOuterClass.Value parseFrom(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
- Throws:
IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ValueOuterClass.Value parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ValueOuterClass.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ValueOuterClass.Value.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-