Package com.daml.ledger.api.v1
Enum ValueOuterClass.Value.SumCase
- java.lang.Object
-
- java.lang.Enum<ValueOuterClass.Value.SumCase>
-
- com.daml.ledger.api.v1.ValueOuterClass.Value.SumCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<ValueOuterClass.Value.SumCase>
- Enclosing class:
- ValueOuterClass.Value
public static enum ValueOuterClass.Value.SumCase extends java.lang.Enum<ValueOuterClass.Value.SumCase> implements com.google.protobuf.Internal.EnumLite
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ValueOuterClass.Value.SumCase
forNumber(int value)
int
getNumber()
static ValueOuterClass.Value.SumCase
valueOf(int value)
Deprecated.static ValueOuterClass.Value.SumCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ValueOuterClass.Value.SumCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RECORD
public static final ValueOuterClass.Value.SumCase RECORD
-
VARIANT
public static final ValueOuterClass.Value.SumCase VARIANT
-
CONTRACT_ID
public static final ValueOuterClass.Value.SumCase CONTRACT_ID
-
LIST
public static final ValueOuterClass.Value.SumCase LIST
-
INT64
public static final ValueOuterClass.Value.SumCase INT64
-
NUMERIC
public static final ValueOuterClass.Value.SumCase NUMERIC
-
TEXT
public static final ValueOuterClass.Value.SumCase TEXT
-
TIMESTAMP
public static final ValueOuterClass.Value.SumCase TIMESTAMP
-
PARTY
public static final ValueOuterClass.Value.SumCase PARTY
-
BOOL
public static final ValueOuterClass.Value.SumCase BOOL
-
UNIT
public static final ValueOuterClass.Value.SumCase UNIT
-
DATE
public static final ValueOuterClass.Value.SumCase DATE
-
OPTIONAL
public static final ValueOuterClass.Value.SumCase OPTIONAL
-
MAP
public static final ValueOuterClass.Value.SumCase MAP
-
ENUM
public static final ValueOuterClass.Value.SumCase ENUM
-
GEN_MAP
public static final ValueOuterClass.Value.SumCase GEN_MAP
-
SUM_NOT_SET
public static final ValueOuterClass.Value.SumCase SUM_NOT_SET
-
-
Method Detail
-
values
public static ValueOuterClass.Value.SumCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ValueOuterClass.Value.SumCase c : ValueOuterClass.Value.SumCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValueOuterClass.Value.SumCase valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static ValueOuterClass.Value.SumCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static ValueOuterClass.Value.SumCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-