Enum HubConfig.InstallSpec
java.lang.Object
java.lang.Enum<HubConfig.InstallSpec>
com.google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<HubConfig.InstallSpec>
- Enclosing class:
- HubConfig
public static enum HubConfig.InstallSpec
extends Enum<HubConfig.InstallSpec>
implements com.google.protobuf.ProtocolMessageEnum
The set of installation specs that the Hub Feature controller may actuate.Protobuf enum
google.cloud.gkehub.policycontroller.v1beta.HubConfig.InstallSpec-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRequest to stop all reconciliation actions by PoCo Hub controller.Request to install and enable Policy Controller.Request to uninstall Policy Controller.Request to suspend Policy Controller i.e. its webhooks.Spec is unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRequest to stop all reconciliation actions by PoCo Hub controller.static final intRequest to install and enable Policy Controller.static final intRequest to uninstall Policy Controller.static final intRequest to suspend Policy Controller i.e. its webhooks.static final intSpec is unknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic HubConfig.InstallSpecforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<HubConfig.InstallSpec>static HubConfig.InstallSpecvalueOf(int value) Deprecated.static HubConfig.InstallSpecvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static HubConfig.InstallSpecReturns the enum constant of this type with the specified name.static HubConfig.InstallSpec[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTALL_SPEC_UNSPECIFIED
Spec is unknown.
INSTALL_SPEC_UNSPECIFIED = 0; -
INSTALL_SPEC_NOT_INSTALLED
Request to uninstall Policy Controller.
INSTALL_SPEC_NOT_INSTALLED = 1; -
INSTALL_SPEC_ENABLED
Request to install and enable Policy Controller.
INSTALL_SPEC_ENABLED = 2; -
INSTALL_SPEC_SUSPENDED
Request to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.
INSTALL_SPEC_SUSPENDED = 3; -
INSTALL_SPEC_DETACHED
Request to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources.
INSTALL_SPEC_DETACHED = 4; -
UNRECOGNIZED
-
-
Field Details
-
INSTALL_SPEC_UNSPECIFIED_VALUE
public static final int INSTALL_SPEC_UNSPECIFIED_VALUESpec is unknown.
INSTALL_SPEC_UNSPECIFIED = 0;- See Also:
-
INSTALL_SPEC_NOT_INSTALLED_VALUE
public static final int INSTALL_SPEC_NOT_INSTALLED_VALUERequest to uninstall Policy Controller.
INSTALL_SPEC_NOT_INSTALLED = 1;- See Also:
-
INSTALL_SPEC_ENABLED_VALUE
public static final int INSTALL_SPEC_ENABLED_VALUERequest to install and enable Policy Controller.
INSTALL_SPEC_ENABLED = 2;- See Also:
-
INSTALL_SPEC_SUSPENDED_VALUE
public static final int INSTALL_SPEC_SUSPENDED_VALUERequest to suspend Policy Controller i.e. its webhooks. If Policy Controller is not installed, it will be installed but suspended.
INSTALL_SPEC_SUSPENDED = 3;- See Also:
-
INSTALL_SPEC_DETACHED_VALUE
public static final int INSTALL_SPEC_DETACHED_VALUERequest to stop all reconciliation actions by PoCo Hub controller. This is a breakglass mechanism to stop PoCo Hub from affecting cluster resources.
INSTALL_SPEC_DETACHED = 4;- 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.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
-
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 HubConfig.InstallSpec 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
-