Package xyz.block.ftl.admin.v1
Enum SubscriptionOffset
-
- All Implemented Interfaces:
-
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum
public enum SubscriptionOffset implements ProtocolMessageEnumProtobuf enum
xyz.block.ftl.admin.v1.SubscriptionOffset
-
-
Field Summary
Fields Modifier and Type Field Description public final static intSUBSCRIPTION_OFFSET_UNSPECIFIED_VALUEpublic final static intSUBSCRIPTION_OFFSET_EARLIEST_VALUEpublic final static intSUBSCRIPTION_OFFSET_LATEST_VALUE
-
Enum Constant Summary
Enum Constants Enum Constant Description SUBSCRIPTION_OFFSET_UNSPECIFIEDSUBSCRIPTION_OFFSET_UNSPECIFIED = 0;SUBSCRIPTION_OFFSET_EARLIESTSUBSCRIPTION_OFFSET_EARLIEST = 1;SUBSCRIPTION_OFFSET_LATESTSUBSCRIPTION_OFFSET_LATEST = 2;UNRECOGNIZED
-
Method Summary
Modifier and Type Method Description final intgetNumber()static SubscriptionOffsetvalueOf(int value)static SubscriptionOffsetforNumber(int value)static Internal.EnumLiteMap<SubscriptionOffset>internalGetValueMap()final Descriptors.EnumValueDescriptorgetValueDescriptor()final Descriptors.EnumDescriptorgetDescriptorForType()final static Descriptors.EnumDescriptorgetDescriptor()static SubscriptionOffsetvalueOf(Descriptors.EnumValueDescriptor desc)static Array<SubscriptionOffset>values()Returns an array containing the constants of this enum type, in the order they're declared. static SubscriptionOffsetvalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getNumber
final int getNumber()
-
valueOf
@Deprecated() static SubscriptionOffset 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 SubscriptionOffset 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<SubscriptionOffset> internalGetValueMap()
-
getValueDescriptor
final Descriptors.EnumValueDescriptor getValueDescriptor()
-
getDescriptorForType
final Descriptors.EnumDescriptor getDescriptorForType()
-
getDescriptor
final static Descriptors.EnumDescriptor getDescriptor()
-
valueOf
static SubscriptionOffset valueOf(Descriptors.EnumValueDescriptor desc)
-
values
static Array<SubscriptionOffset> 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 SubscriptionOffset 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
-
-
-
-