Package xyz.block.ftl.v1.schema
Enum FromOffset
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum FromOffset implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.v1.schema.FromOffset
-
-
Field Summary
Fields Modifier and Type Field Description public final static intFROM_OFFSET_BEGINNING_VALUEpublic final static intFROM_OFFSET_LATEST_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description FROM_OFFSET_BEGINNINGFROM_OFFSET_BEGINNING = 0;FROM_OFFSET_LATESTFROM_OFFSET_LATEST = 1;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static FromOffsetvalueOf(int value)static FromOffsetforNumber(int value)static Internal.EnumLiteMap<FromOffset>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static FromOffsetvalueOf(Descriptors.EnumValueDescriptor desc)static Array<FromOffset>values()Returns an array containing the constants of this enum type, in the order they're declared. static FromOffsetvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static FromOffset valueOf(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
forNumber
static FromOffset forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
The enum associated with the given numeric wire value.
-
internalGetValueMap
static Internal.EnumLiteMap<FromOffset> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static FromOffset valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<FromOffset> values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.
- Returns:
an array containing the constants of this enum type, in the order they're declared
-
valueOf
static FromOffset valueOf(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.)
- Returns:
the enum constant with the specified name
-
-
-
-