Package com.daml.ledger.api.v2
Interface ValueOuterClass.RecordFieldOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValueOuterClass.RecordField
,ValueOuterClass.RecordField.Builder
- Enclosing class:
- ValueOuterClass
public static interface ValueOuterClass.RecordFieldOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLabel()
When reading a transaction stream, it's omitted if verbose streaming is not enabled.com.google.protobuf.ByteString
When reading a transaction stream, it's omitted if verbose streaming is not enabled.getValue()
A nested value of a record.A nested value of a record.boolean
hasValue()
A nested value of a record.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLabel
String getLabel()When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a command, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Returns:
- The label.
-
getLabelBytes
com.google.protobuf.ByteString getLabelBytes()When reading a transaction stream, it's omitted if verbose streaming is not enabled. When submitting a command, it's optional: - if all keys within a single record are present, the order in which fields appear does not matter. however, each key must appear exactly once. - if any of the keys within a single record are omitted, the order of fields MUST match the order of declaration in the Daml template. Must be a valid NameString
string label = 1 [json_name = "label"];
- Returns:
- The bytes for label.
-
hasValue
boolean hasValue()A nested value of a record. Required
.com.daml.ledger.api.v2.Value value = 2 [json_name = "value"];
- Returns:
- Whether the value field is set.
-
getValue
ValueOuterClass.Value getValue()A nested value of a record. Required
.com.daml.ledger.api.v2.Value value = 2 [json_name = "value"];
- Returns:
- The value.
-
getValueOrBuilder
ValueOuterClass.ValueOrBuilder getValueOrBuilder()A nested value of a record. Required
.com.daml.ledger.api.v2.Value value = 2 [json_name = "value"];
-