public static enum LedgerOffsetOuterClass.LedgerOffset.ValueCase extends java.lang.Enum<LedgerOffsetOuterClass.LedgerOffset.ValueCase> implements com.google.protobuf.Internal.EnumLite
Enum Constant and Description |
---|
ABSOLUTE |
BOUNDARY |
VALUE_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static LedgerOffsetOuterClass.LedgerOffset.ValueCase |
forNumber(int value) |
int |
getNumber() |
static LedgerOffsetOuterClass.LedgerOffset.ValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LedgerOffsetOuterClass.LedgerOffset.ValueCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LedgerOffsetOuterClass.LedgerOffset.ValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LedgerOffsetOuterClass.LedgerOffset.ValueCase ABSOLUTE
public static final LedgerOffsetOuterClass.LedgerOffset.ValueCase BOUNDARY
public static final LedgerOffsetOuterClass.LedgerOffset.ValueCase VALUE_NOT_SET
public static LedgerOffsetOuterClass.LedgerOffset.ValueCase[] values()
for (LedgerOffsetOuterClass.LedgerOffset.ValueCase c : LedgerOffsetOuterClass.LedgerOffset.ValueCase.values()) System.out.println(c);
public static LedgerOffsetOuterClass.LedgerOffset.ValueCase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null@Deprecated public static LedgerOffsetOuterClass.LedgerOffset.ValueCase valueOf(int value)
forNumber(int)
instead.public static LedgerOffsetOuterClass.LedgerOffset.ValueCase forNumber(int value)
public int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite