Package com.daml.ledger.api.v1
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
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.Identifier
getEnumId()
Omitted from the transaction stream when verbose streaming is not enabled.ValueOuterClass.IdentifierOrBuilder
getEnumIdOrBuilder()
Omitted from the transaction stream when verbose streaming is not enabled.boolean
hasEnumId()
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
-
hasEnumId
boolean hasEnumId()
Omitted from the transaction stream when verbose streaming is not enabled. Optional when submitting commands.
.com.daml.ledger.api.v1.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.v1.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.v1.Identifier enum_id = 1 [json_name = "enumId"];
-
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.
-
-