public enum StreamOpType extends java.lang.Enum<StreamOpType> implements com.google.protobuf.ProtocolMessageEnum
staros.starlog.proto.StreamOpType| Enum Constant and Description |
|---|
CHECKIN_STREAM
CHECKIN_STREAM = 5; |
CLOSE_STREAM
CLOSE_STREAM = 3; |
CREATE_STREAM
CREATE_STREAM = 0; |
EXTEND_STREAM
EXTEND_STREAM = 4; |
OPEN_STREAM
OPEN_STREAM = 2; |
PURGE_STREAM
PURGE_STREAM = 6; |
REMOVE_STREAM
REMOVE_STREAM = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CHECKIN_STREAM_VALUE
CHECKIN_STREAM = 5; |
static int |
CLOSE_STREAM_VALUE
CLOSE_STREAM = 3; |
static int |
CREATE_STREAM_VALUE
CREATE_STREAM = 0; |
static int |
EXTEND_STREAM_VALUE
EXTEND_STREAM = 4; |
static int |
OPEN_STREAM_VALUE
OPEN_STREAM = 2; |
static int |
PURGE_STREAM_VALUE
PURGE_STREAM = 6; |
static int |
REMOVE_STREAM_VALUE
REMOVE_STREAM = 1; |
| Modifier and Type | Method and Description |
|---|---|
static StreamOpType |
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<StreamOpType> |
internalGetValueMap() |
static StreamOpType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static StreamOpType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static StreamOpType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StreamOpType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamOpType CREATE_STREAM
CREATE_STREAM = 0;public static final StreamOpType REMOVE_STREAM
REMOVE_STREAM = 1;public static final StreamOpType OPEN_STREAM
OPEN_STREAM = 2;public static final StreamOpType CLOSE_STREAM
CLOSE_STREAM = 3;public static final StreamOpType EXTEND_STREAM
EXTEND_STREAM = 4;public static final StreamOpType CHECKIN_STREAM
CHECKIN_STREAM = 5;public static final StreamOpType PURGE_STREAM
PURGE_STREAM = 6;public static final StreamOpType UNRECOGNIZED
public static final int CREATE_STREAM_VALUE
CREATE_STREAM = 0;public static final int REMOVE_STREAM_VALUE
REMOVE_STREAM = 1;public static final int OPEN_STREAM_VALUE
OPEN_STREAM = 2;public static final int CLOSE_STREAM_VALUE
CLOSE_STREAM = 3;public static final int EXTEND_STREAM_VALUE
EXTEND_STREAM = 4;public static final int CHECKIN_STREAM_VALUE
CHECKIN_STREAM = 5;public static final int PURGE_STREAM_VALUE
PURGE_STREAM = 6;public static StreamOpType[] values()
for (StreamOpType c : StreamOpType.values()) System.out.println(c);
public static StreamOpType 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.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static StreamOpType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static StreamOpType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<StreamOpType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static StreamOpType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024. All rights reserved.