public static enum OperationStatus.ErrorCode extends Enum<OperationStatus.ErrorCode> implements ProtocolMessageEnum
google.cloud.gaming.v1alpha.OperationStatus.ErrorCode
Enum Constant and Description |
---|
CLUSTER_CONNECTION
CLUSTER_CONNECTION = 3; |
ERROR_CODE_UNSPECIFIED
ERROR_CODE_UNSPECIFIED = 0; |
INTERNAL_ERROR
INTERNAL_ERROR = 1; |
PERMISSION_DENIED
PERMISSION_DENIED = 2; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER_CONNECTION_VALUE
CLUSTER_CONNECTION = 3; |
static int |
ERROR_CODE_UNSPECIFIED_VALUE
ERROR_CODE_UNSPECIFIED = 0; |
static int |
INTERNAL_ERROR_VALUE
INTERNAL_ERROR = 1; |
static int |
PERMISSION_DENIED_VALUE
PERMISSION_DENIED = 2; |
Modifier and Type | Method and Description |
---|---|
static OperationStatus.ErrorCode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<OperationStatus.ErrorCode> |
internalGetValueMap() |
static OperationStatus.ErrorCode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static OperationStatus.ErrorCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OperationStatus.ErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationStatus.ErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationStatus.ErrorCode ERROR_CODE_UNSPECIFIED
ERROR_CODE_UNSPECIFIED = 0;
public static final OperationStatus.ErrorCode INTERNAL_ERROR
INTERNAL_ERROR = 1;
public static final OperationStatus.ErrorCode PERMISSION_DENIED
PERMISSION_DENIED = 2;
public static final OperationStatus.ErrorCode CLUSTER_CONNECTION
CLUSTER_CONNECTION = 3;
public static final OperationStatus.ErrorCode UNRECOGNIZED
public static final int ERROR_CODE_UNSPECIFIED_VALUE
ERROR_CODE_UNSPECIFIED = 0;
public static final int INTERNAL_ERROR_VALUE
INTERNAL_ERROR = 1;
public static final int PERMISSION_DENIED_VALUE
PERMISSION_DENIED = 2;
public static final int CLUSTER_CONNECTION_VALUE
CLUSTER_CONNECTION = 3;
public static OperationStatus.ErrorCode[] values()
for (OperationStatus.ErrorCode c : OperationStatus.ErrorCode.values()) System.out.println(c);
public static OperationStatus.ErrorCode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static OperationStatus.ErrorCode valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static OperationStatus.ErrorCode forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<OperationStatus.ErrorCode> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static OperationStatus.ErrorCode valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2020 Google LLC. All rights reserved.