public static enum LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary extends java.lang.Enum<LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary> implements com.google.protobuf.ProtocolMessageEnum
com.daml.ledger.api.v1.LedgerOffset.LedgerBoundary
Enum Constant and Description |
---|
LEDGER_BEGIN
Refers to the first transaction.
|
LEDGER_END
Refers to the currently last transaction, which is a moving target.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
LEDGER_BEGIN_VALUE
Refers to the first transaction.
|
static int |
LEDGER_END_VALUE
Refers to the currently last transaction, which is a moving target.
|
Modifier and Type | Method and Description |
---|---|
static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary> |
internalGetValueMap() |
static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary LEDGER_BEGIN
Refers to the first transaction.
LEDGER_BEGIN = 0;
public static final LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary LEDGER_END
Refers to the currently last transaction, which is a moving target.
LEDGER_END = 1;
public static final LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary UNRECOGNIZED
public static final int LEDGER_BEGIN_VALUE
Refers to the first transaction.
LEDGER_BEGIN = 0;
public static final int LEDGER_END_VALUE
Refers to the currently last transaction, which is a moving target.
LEDGER_END = 1;
public static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary[] values()
for (LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary c : LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary.values()) System.out.println(c);
public static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary 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 nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary valueOf(int value)
forNumber(int)
instead.public static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LedgerOffsetOuterClass.LedgerOffset.LedgerBoundary valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)