public static interface ValueOuterClass.ValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
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.Enum |
getEnum()
The Enum type
|
ValueOuterClass.EnumOrBuilder |
getEnumOrBuilder()
The Enum type
|
ValueOuterClass.GenMap |
getGenMap()
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.ListOrBuilder |
getListOrBuilder()
Represents a homogeneous list of values.
|
ValueOuterClass.Map |
getMap()
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.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.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.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.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"]; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasRecord()
.com.daml.ledger.api.v1.Record record = 1[json_name = "record"];
ValueOuterClass.Record getRecord()
.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"];
boolean hasVariant()
.com.daml.ledger.api.v1.Variant variant = 2[json_name = "variant"];
ValueOuterClass.Variant getVariant()
.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"];
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"];
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"];
boolean hasList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];
ValueOuterClass.List getList()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];
ValueOuterClass.ListOrBuilder getListOrBuilder()
Represents a homogeneous list of values.
.com.daml.ledger.api.v1.List list = 4[json_name = "list"];
long getInt64()
sint64 int64 = 5[json_name = "int64", jstype = JS_STRING];
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"];
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"];
java.lang.String getText()
A string.
string text = 8[json_name = "text"];
com.google.protobuf.ByteString getTextBytes()
A string.
string text = 8[json_name = "text"];
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];
java.lang.String getParty()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];
com.google.protobuf.ByteString getPartyBytes()
An agent operating on the ledger. Must be a valid PartyIdString.
string party = 11[json_name = "party"];
boolean getBool()
True or false.
bool bool = 12[json_name = "bool"];
boolean hasUnit()
This value is used for example for choices that don't take any arguments.
.google.protobuf.Empty unit = 13[json_name = "unit"];
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"];
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"];
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"];
boolean hasOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];
ValueOuterClass.Optional getOptional()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];
ValueOuterClass.OptionalOrBuilder getOptionalOrBuilder()
The Optional type, None or Some
.com.daml.ledger.api.v1.Optional optional = 15[json_name = "optional"];
boolean hasMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];
ValueOuterClass.Map getMap()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];
ValueOuterClass.MapOrBuilder getMapOrBuilder()
The Map type
.com.daml.ledger.api.v1.Map map = 16[json_name = "map"];
boolean hasEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];
ValueOuterClass.Enum getEnum()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];
ValueOuterClass.EnumOrBuilder getEnumOrBuilder()
The Enum type
.com.daml.ledger.api.v1.Enum enum = 17[json_name = "enum"];
boolean hasGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];
ValueOuterClass.GenMap getGenMap()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];
ValueOuterClass.GenMapOrBuilder getGenMapOrBuilder()
The GenMap type
.com.daml.ledger.api.v1.GenMap gen_map = 18[json_name = "genMap"];
ValueOuterClass.Value.SumCase getSumCase()