Package com.daml.ledger.api.v1
Interface ValueOuterClass.VariantOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValueOuterClass.Variant
,ValueOuterClass.Variant.Builder
- Enclosing class:
- ValueOuterClass
public static interface ValueOuterClass.VariantOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getConstructor()
Determines which of the Variant's alternatives is encoded in this message.com.google.protobuf.ByteString
getConstructorBytes()
Determines which of the Variant's alternatives is encoded in this message.ValueOuterClass.Value
getValue()
The value encoded within the Variant.ValueOuterClass.ValueOrBuilder
getValueOrBuilder()
The value encoded within the Variant.ValueOuterClass.Identifier
getVariantId()
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.IdentifierOrBuilder
getVariantIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.boolean
hasValue()
The value encoded within the Variant.boolean
hasVariantId()
Omitted from the transaction stream when verbose streaming is not enabled.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasVariantId
boolean hasVariantId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier variant_id = 1 [json_name = "variantId"];
- Returns:
- Whether the variantId field is set.
-
getVariantId
ValueOuterClass.Identifier getVariantId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier variant_id = 1 [json_name = "variantId"];
- Returns:
- The variantId.
-
getVariantIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getVariantIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.Identifier variant_id = 1 [json_name = "variantId"];
-
getConstructor
java.lang.String getConstructor()
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
- Returns:
- The constructor.
-
getConstructorBytes
com.google.protobuf.ByteString getConstructorBytes()
Determines which of the Variant's alternatives is encoded in this message. Must be a valid NameString. Required
string constructor = 2 [json_name = "constructor"];
- Returns:
- The bytes for constructor.
-
hasValue
boolean hasValue()
The value encoded within the Variant. Required
.com.daml.ledger.api.v1.Value value = 3 [json_name = "value"];
- Returns:
- Whether the value field is set.
-
getValue
ValueOuterClass.Value getValue()
The value encoded within the Variant. Required
.com.daml.ledger.api.v1.Value value = 3 [json_name = "value"];
- Returns:
- The value.
-
getValueOrBuilder
ValueOuterClass.ValueOrBuilder getValueOrBuilder()
The value encoded within the Variant. Required
.com.daml.ledger.api.v1.Value value = 3 [json_name = "value"];
-
-