public static enum InjectFaultRequest.FaultType extends Enum<InjectFaultRequest.FaultType> implements com.google.protobuf.ProtocolMessageEnum
FaultType contains all valid types of faults that can be injected to an instance.Protobuf enum
google.cloud.alloydb.v1.InjectFaultRequest.FaultType| Enum Constant and Description |
|---|
FAULT_TYPE_UNSPECIFIED
The fault type is unknown.
|
STOP_VM
Stop the VM
STOP_VM = 1; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
FAULT_TYPE_UNSPECIFIED_VALUE
The fault type is unknown.
|
static int |
STOP_VM_VALUE
Stop the VM
STOP_VM = 1; |
| Modifier and Type | Method and Description |
|---|---|
static InjectFaultRequest.FaultType |
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<InjectFaultRequest.FaultType> |
internalGetValueMap() |
static InjectFaultRequest.FaultType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InjectFaultRequest.FaultType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InjectFaultRequest.FaultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InjectFaultRequest.FaultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InjectFaultRequest.FaultType FAULT_TYPE_UNSPECIFIED
The fault type is unknown.
FAULT_TYPE_UNSPECIFIED = 0;public static final InjectFaultRequest.FaultType STOP_VM
Stop the VM
STOP_VM = 1;public static final InjectFaultRequest.FaultType UNRECOGNIZED
public static final int FAULT_TYPE_UNSPECIFIED_VALUE
The fault type is unknown.
FAULT_TYPE_UNSPECIFIED = 0;public static final int STOP_VM_VALUE
Stop the VM
STOP_VM = 1;public static InjectFaultRequest.FaultType[] values()
for (InjectFaultRequest.FaultType c : InjectFaultRequest.FaultType.values()) System.out.println(c);
public static InjectFaultRequest.FaultType 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 InjectFaultRequest.FaultType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InjectFaultRequest.FaultType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InjectFaultRequest.FaultType> 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 InjectFaultRequest.FaultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.