Package com.google.cloud.datafusion.v1
Enum Instance.DisabledReason
- java.lang.Object
-
- java.lang.Enum<Instance.DisabledReason>
-
- com.google.cloud.datafusion.v1.Instance.DisabledReason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Instance.DisabledReason>
- Enclosing class:
- Instance
public static enum Instance.DisabledReason extends Enum<Instance.DisabledReason> implements com.google.protobuf.ProtocolMessageEnum
The reason for disabling the instance if the state is DISABLED.
Protobuf enumgoogle.cloud.datafusion.v1.Instance.DisabledReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLED_REASON_UNSPECIFIEDThis is an unknown reason for disabling.KMS_KEY_ISSUEThe KMS key used by the instance is either revoked or denied access toUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDISABLED_REASON_UNSPECIFIED_VALUEThis is an unknown reason for disabling.static intKMS_KEY_ISSUE_VALUEThe KMS key used by the instance is either revoked or denied access to
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Instance.DisabledReasonforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Instance.DisabledReason>internalGetValueMap()static Instance.DisabledReasonvalueOf(int value)Deprecated.static Instance.DisabledReasonvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Instance.DisabledReasonvalueOf(String name)Returns the enum constant of this type with the specified name.static Instance.DisabledReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED_REASON_UNSPECIFIED
public static final Instance.DisabledReason DISABLED_REASON_UNSPECIFIED
This is an unknown reason for disabling.
DISABLED_REASON_UNSPECIFIED = 0;
-
KMS_KEY_ISSUE
public static final Instance.DisabledReason KMS_KEY_ISSUE
The KMS key used by the instance is either revoked or denied access to
KMS_KEY_ISSUE = 1;
-
UNRECOGNIZED
public static final Instance.DisabledReason UNRECOGNIZED
-
-
Field Detail
-
DISABLED_REASON_UNSPECIFIED_VALUE
public static final int DISABLED_REASON_UNSPECIFIED_VALUE
This is an unknown reason for disabling.
DISABLED_REASON_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
KMS_KEY_ISSUE_VALUE
public static final int KMS_KEY_ISSUE_VALUE
The KMS key used by the instance is either revoked or denied access to
KMS_KEY_ISSUE = 1;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Instance.DisabledReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Instance.DisabledReason c : Instance.DisabledReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Instance.DisabledReason 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 Instance.DisabledReason 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 Instance.DisabledReason 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<Instance.DisabledReason> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Instance.DisabledReason 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
-
-