Package io.hstream.internal
Enum ShardOffset.OffsetCase
- java.lang.Object
- 
- java.lang.Enum<ShardOffset.OffsetCase>
- 
- io.hstream.internal.ShardOffset.OffsetCase
 
 
- 
- All Implemented Interfaces:
- com.google.protobuf.Internal.EnumLite,- Serializable,- Comparable<ShardOffset.OffsetCase>
 - Enclosing class:
- ShardOffset
 
 public static enum ShardOffset.OffsetCase extends Enum<ShardOffset.OffsetCase> implements com.google.protobuf.Internal.EnumLite 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description OFFSET_NOT_SETRECORDOFFSETSPECIALOFFSETTIMESTAMPOFFSET
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ShardOffset.OffsetCaseforNumber(int value)intgetNumber()static ShardOffset.OffsetCasevalueOf(int value)Deprecated.static ShardOffset.OffsetCasevalueOf(String name)Returns the enum constant of this type with the specified name.static ShardOffset.OffsetCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
SPECIALOFFSETpublic static final ShardOffset.OffsetCase SPECIALOFFSET 
 - 
RECORDOFFSETpublic static final ShardOffset.OffsetCase RECORDOFFSET 
 - 
TIMESTAMPOFFSETpublic static final ShardOffset.OffsetCase TIMESTAMPOFFSET 
 - 
OFFSET_NOT_SETpublic static final ShardOffset.OffsetCase OFFSET_NOT_SET 
 
- 
 - 
Method Detail- 
valuespublic static ShardOffset.OffsetCase[] 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 (ShardOffset.OffsetCase c : ShardOffset.OffsetCase.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ShardOffset.OffsetCase 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.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
valueOf@Deprecated public static ShardOffset.OffsetCase 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:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
forNumberpublic static ShardOffset.OffsetCase forNumber(int value) 
 - 
getNumberpublic int getNumber() - Specified by:
- getNumberin interface- com.google.protobuf.Internal.EnumLite
 
 
- 
 
-