Enum Policy.GlobalPolicyEvaluationMode
- java.lang.Object
-
- java.lang.Enum<Policy.GlobalPolicyEvaluationMode>
-
- com.google.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Policy.GlobalPolicyEvaluationMode>
- Enclosing class:
- Policy
public static enum Policy.GlobalPolicyEvaluationMode extends Enum<Policy.GlobalPolicyEvaluationMode> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumgoogle.cloud.binaryauthorization.v1beta1.Policy.GlobalPolicyEvaluationMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDisables system policy evaluation.ENABLEEnables system policy evaluation.GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIEDNot specified: DISABLE is assumed.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDISABLE_VALUEDisables system policy evaluation.static intENABLE_VALUEEnables system policy evaluation.static intGLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUENot specified: DISABLE is assumed.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Policy.GlobalPolicyEvaluationModeforNumber(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<Policy.GlobalPolicyEvaluationMode>internalGetValueMap()static Policy.GlobalPolicyEvaluationModevalueOf(int value)Deprecated.static Policy.GlobalPolicyEvaluationModevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Policy.GlobalPolicyEvaluationModevalueOf(String name)Returns the enum constant of this type with the specified name.static Policy.GlobalPolicyEvaluationMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED
public static final Policy.GlobalPolicyEvaluationMode GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED
Not specified: DISABLE is assumed.
GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED = 0;
-
ENABLE
public static final Policy.GlobalPolicyEvaluationMode ENABLE
Enables system policy evaluation.
ENABLE = 1;
-
DISABLE
public static final Policy.GlobalPolicyEvaluationMode DISABLE
Disables system policy evaluation.
DISABLE = 2;
-
UNRECOGNIZED
public static final Policy.GlobalPolicyEvaluationMode UNRECOGNIZED
-
-
Field Detail
-
GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE
public static final int GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED_VALUE
Not specified: DISABLE is assumed.
GLOBAL_POLICY_EVALUATION_MODE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
ENABLE_VALUE
public static final int ENABLE_VALUE
Enables system policy evaluation.
ENABLE = 1;- See Also:
- Constant Field Values
-
DISABLE_VALUE
public static final int DISABLE_VALUE
Disables system policy evaluation.
DISABLE = 2;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Policy.GlobalPolicyEvaluationMode[] 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 (Policy.GlobalPolicyEvaluationMode c : Policy.GlobalPolicyEvaluationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Policy.GlobalPolicyEvaluationMode 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 Policy.GlobalPolicyEvaluationMode 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 Policy.GlobalPolicyEvaluationMode 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<Policy.GlobalPolicyEvaluationMode> 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 Policy.GlobalPolicyEvaluationMode 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
-
-