Package com.google.cloud.compute.v1
Enum ReservationSubBlocksReportFaultyRequestFaultReason.Behavior
java.lang.Object
java.lang.Enum<ReservationSubBlocksReportFaultyRequestFaultReason.Behavior>
com.google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequestFaultReason.Behavior
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ReservationSubBlocksReportFaultyRequestFaultReason.Behavior>
- Enclosing class:
- ReservationSubBlocksReportFaultyRequestFaultReason
public static enum ReservationSubBlocksReportFaultyRequestFaultReason.Behavior
extends Enum<ReservationSubBlocksReportFaultyRequestFaultReason.Behavior>
implements com.google.protobuf.ProtocolMessageEnum
The behavior of the fault experienced with the subBlock.Protobuf enum
google.cloud.compute.v1.ReservationSubBlocksReportFaultyRequestFaultReason.Behavior-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFAULT_BEHAVIOR_UNSPECIFIED = 447660743;The subBlock experienced a GPU error.The subBlock experienced performance issues.The subBlock experienced silent data corruption.The subBlock experienced a switch failure.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intFAULT_BEHAVIOR_UNSPECIFIED = 447660743;static final intThe subBlock experienced a GPU error.static final intThe subBlock experienced performance issues.static final intThe subBlock experienced silent data corruption.static final intThe subBlock experienced a switch failure.static final intA value indicating that the enum field is not set. -
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<ReservationSubBlocksReportFaultyRequestFaultReason.Behavior>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_BEHAVIOR
A value indicating that the enum field is not set.
UNDEFINED_BEHAVIOR = 0; -
FAULT_BEHAVIOR_UNSPECIFIED
public static final ReservationSubBlocksReportFaultyRequestFaultReason.Behavior FAULT_BEHAVIOR_UNSPECIFIEDFAULT_BEHAVIOR_UNSPECIFIED = 447660743; -
GPU_ERROR
The subBlock experienced a GPU error.
GPU_ERROR = 198817909; -
PERFORMANCE
The subBlock experienced performance issues.
PERFORMANCE = 135701520; -
SILENT_DATA_CORRUPTION
public static final ReservationSubBlocksReportFaultyRequestFaultReason.Behavior SILENT_DATA_CORRUPTIONThe subBlock experienced silent data corruption.
SILENT_DATA_CORRUPTION = 111360678; -
SWITCH_FAILURE
The subBlock experienced a switch failure.
SWITCH_FAILURE = 254909279; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_BEHAVIOR_VALUE
public static final int UNDEFINED_BEHAVIOR_VALUEA value indicating that the enum field is not set.
UNDEFINED_BEHAVIOR = 0;- See Also:
-
FAULT_BEHAVIOR_UNSPECIFIED_VALUE
public static final int FAULT_BEHAVIOR_UNSPECIFIED_VALUEFAULT_BEHAVIOR_UNSPECIFIED = 447660743;- See Also:
-
GPU_ERROR_VALUE
public static final int GPU_ERROR_VALUEThe subBlock experienced a GPU error.
GPU_ERROR = 198817909;- See Also:
-
PERFORMANCE_VALUE
public static final int PERFORMANCE_VALUEThe subBlock experienced performance issues.
PERFORMANCE = 135701520;- See Also:
-
SILENT_DATA_CORRUPTION_VALUE
public static final int SILENT_DATA_CORRUPTION_VALUEThe subBlock experienced silent data corruption.
SILENT_DATA_CORRUPTION = 111360678;- See Also:
-
SWITCH_FAILURE_VALUE
public static final int SWITCH_FAILURE_VALUEThe subBlock experienced a switch failure.
SWITCH_FAILURE = 254909279;- 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
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 ReservationSubBlocksReportFaultyRequestFaultReason.Behavior 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
- 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<ReservationSubBlocksReportFaultyRequestFaultReason.Behavior> 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 ReservationSubBlocksReportFaultyRequestFaultReason.Behavior 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
-