Package com.google.cloud.compute.v1
Enum AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State
java.lang.Object
java.lang.Enum<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State>
com.google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State>
- Enclosing class:
- AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState
public static enum AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State
extends Enum<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State>
implements com.google.protobuf.ProtocolMessageEnum
The state of the accelerator topology.Protobuf enum
google.cloud.compute.v1.AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe accelerator topology is available.The accelerator topology is degraded.The accelerator topology is running.The state of the topology is unspecified.A value indicating that the enum field is not set.This value has been deprecated and is no longer used. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe accelerator topology is available.static final intThe accelerator topology is degraded.static final intThe accelerator topology is running.static final intThe state of the topology is unspecified.static final intA value indicating that the enum field is not set.static final intThis value has been deprecated and is no longer used. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_STATE
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State UNDEFINED_STATEA value indicating that the enum field is not set.
UNDEFINED_STATE = 0; -
AVAILABLE
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State AVAILABLEThe accelerator topology is available.
AVAILABLE = 442079913; -
DEGRADED
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State DEGRADEDThe accelerator topology is degraded. The underlying capacity is not in a healthy state and is not available.
DEGRADED = 396890926; -
RUNNING
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State RUNNINGThe accelerator topology is running. If there are both running and degraded hosts within a topology, DEGRADED state will be returned.
RUNNING = 121282975; -
TOPOLOGY_STATE_UNSPECIFIED
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State TOPOLOGY_STATE_UNSPECIFIEDThe state of the topology is unspecified.
TOPOLOGY_STATE_UNSPECIFIED = 188327545; -
UNHEALTHY
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State UNHEALTHYThis value has been deprecated and is no longer used.
UNHEALTHY = 462118084; -
UNRECOGNIZED
public static final AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_STATE_VALUE
public static final int UNDEFINED_STATE_VALUEA value indicating that the enum field is not set.
UNDEFINED_STATE = 0;- See Also:
-
AVAILABLE_VALUE
public static final int AVAILABLE_VALUEThe accelerator topology is available.
AVAILABLE = 442079913;- See Also:
-
DEGRADED_VALUE
public static final int DEGRADED_VALUEThe accelerator topology is degraded. The underlying capacity is not in a healthy state and is not available.
DEGRADED = 396890926;- See Also:
-
RUNNING_VALUE
public static final int RUNNING_VALUEThe accelerator topology is running. If there are both running and degraded hosts within a topology, DEGRADED state will be returned.
RUNNING = 121282975;- See Also:
-
TOPOLOGY_STATE_UNSPECIFIED_VALUE
public static final int TOPOLOGY_STATE_UNSPECIFIED_VALUEThe state of the topology is unspecified.
TOPOLOGY_STATE_UNSPECIFIED = 188327545;- See Also:
-
UNHEALTHY_VALUE
public static final int UNHEALTHY_VALUEThis value has been deprecated and is no longer used.
UNHEALTHY = 462118084;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State 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 AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State 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 AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State 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<AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState.State 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
-