Package com.daml.ledger.api.v2
Interface ValueOuterClass.EnumOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ValueOuterClass.Enum
,ValueOuterClass.Enum.Builder
- Enclosing class:
- ValueOuterClass
public static interface ValueOuterClass.EnumOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDetermines which of the Variant's alternatives is encoded in this message.com.google.protobuf.ByteString
Determines which of the Variant's alternatives is encoded in this message.Omitted from the transaction stream when verbose streaming is not enabled.Omitted from the transaction stream when verbose streaming is not enabled.boolean
Omitted from the transaction stream when verbose streaming is not enabled.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
-
hasEnumId
boolean hasEnumId()Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v2.Identifier enum_id = 1 [json_name = "enumId"];
- Returns:
- Whether the enumId field is set.
-
getEnumId
ValueOuterClass.Identifier getEnumId()Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v2.Identifier enum_id = 1 [json_name = "enumId"];
- Returns:
- The enumId.
-
getEnumIdOrBuilder
ValueOuterClass.IdentifierOrBuilder getEnumIdOrBuilder()Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v2.Identifier enum_id = 1 [json_name = "enumId"];
-
getConstructor
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.
-