Package io.hstream.internal
Enum StreamStats
- java.lang.Object
-
- java.lang.Enum<StreamStats>
-
- io.hstream.internal.StreamStats
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StreamStats>
public enum StreamStats extends Enum<StreamStats> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumhstream.server.StreamStats
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AppendFailedAppendFailed = 3;AppendInBytesAppendInBytes = 0;AppendInRecordsAppendInRecords = 1;AppendTotalAppendTotal = 2;ReadInBatchesReadInBatches = 5;ReadInBytesReadInBytes = 4;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intAppendFailed_VALUEAppendFailed = 3;static intAppendInBytes_VALUEAppendInBytes = 0;static intAppendInRecords_VALUEAppendInRecords = 1;static intAppendTotal_VALUEAppendTotal = 2;static intReadInBatches_VALUEReadInBatches = 5;static intReadInBytes_VALUEReadInBytes = 4;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static StreamStatsforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<StreamStats>internalGetValueMap()static StreamStatsvalueOf(int value)Deprecated.static StreamStatsvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static StreamStatsvalueOf(String name)Returns the enum constant of this type with the specified name.static StreamStats[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AppendInBytes
public static final StreamStats AppendInBytes
AppendInBytes = 0;
-
AppendInRecords
public static final StreamStats AppendInRecords
AppendInRecords = 1;
-
AppendTotal
public static final StreamStats AppendTotal
AppendTotal = 2;
-
AppendFailed
public static final StreamStats AppendFailed
AppendFailed = 3;
-
ReadInBytes
public static final StreamStats ReadInBytes
ReadInBytes = 4;
-
ReadInBatches
public static final StreamStats ReadInBatches
ReadInBatches = 5;
-
UNRECOGNIZED
public static final StreamStats UNRECOGNIZED
-
-
Field Detail
-
AppendInBytes_VALUE
public static final int AppendInBytes_VALUE
AppendInBytes = 0;- See Also:
- Constant Field Values
-
AppendInRecords_VALUE
public static final int AppendInRecords_VALUE
AppendInRecords = 1;- See Also:
- Constant Field Values
-
AppendTotal_VALUE
public static final int AppendTotal_VALUE
AppendTotal = 2;- See Also:
- Constant Field Values
-
AppendFailed_VALUE
public static final int AppendFailed_VALUE
AppendFailed = 3;- See Also:
- Constant Field Values
-
ReadInBytes_VALUE
public static final int ReadInBytes_VALUE
ReadInBytes = 4;- See Also:
- Constant Field Values
-
ReadInBatches_VALUE
public static final int ReadInBatches_VALUE
ReadInBatches = 5;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static StreamStats[] 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 (StreamStats c : StreamStats.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamStats 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static StreamStats 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 nameNullPointerException- if the argument is null
-
forNumber
public static StreamStats 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
public static com.google.protobuf.Internal.EnumLiteMap<StreamStats> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static StreamStats valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc- 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 nameNullPointerException- if the argument is null
-
-