public static enum Accelerator.State extends Enum<Accelerator.State> implements com.google.protobuf.ProtocolMessageEnum
Different values possible for the state of an acceleratorProtobuf enum
google.cloud.datafusion.v1.Accelerator.State| Enum Constant and Description |
|---|
DISABLED
Indicates that the accelerator is disabled and not available to use
|
ENABLED
Indicates that the accelerator is enabled and available to use
|
STATE_UNSPECIFIED
Default value, do not use
|
UNKNOWN
Indicates that accelerator state is currently unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISABLED_VALUE
Indicates that the accelerator is disabled and not available to use
|
static int |
ENABLED_VALUE
Indicates that the accelerator is enabled and available to use
|
static int |
STATE_UNSPECIFIED_VALUE
Default value, do not use
|
static int |
UNKNOWN_VALUE
Indicates that accelerator state is currently unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static Accelerator.State |
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<Accelerator.State> |
internalGetValueMap() |
static Accelerator.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Accelerator.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Accelerator.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Accelerator.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Accelerator.State STATE_UNSPECIFIED
Default value, do not use
STATE_UNSPECIFIED = 0;public static final Accelerator.State ENABLED
Indicates that the accelerator is enabled and available to use
ENABLED = 1;public static final Accelerator.State DISABLED
Indicates that the accelerator is disabled and not available to use
DISABLED = 2;public static final Accelerator.State UNKNOWN
Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state
UNKNOWN = 3;public static final Accelerator.State UNRECOGNIZED
public static final int STATE_UNSPECIFIED_VALUE
Default value, do not use
STATE_UNSPECIFIED = 0;public static final int ENABLED_VALUE
Indicates that the accelerator is enabled and available to use
ENABLED = 1;public static final int DISABLED_VALUE
Indicates that the accelerator is disabled and not available to use
DISABLED = 2;public static final int UNKNOWN_VALUE
Indicates that accelerator state is currently unknown. Requests for enable, disable could be retried while in this state
UNKNOWN = 3;public static Accelerator.State[] values()
for (Accelerator.State c : Accelerator.State.values()) System.out.println(c);
public static Accelerator.State 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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static Accelerator.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Accelerator.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Accelerator.State> 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 Accelerator.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.