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 Details

    • INSTALL_SPEC_UNSPECIFIED

      public static final HubConfig.InstallSpec INSTALL_SPEC_UNSPECIFIED
       Spec is unknown.
       
      INSTALL_SPEC_UNSPECIFIED = 0;
    • INSTALL_SPEC_NOT_INSTALLED

      public static final HubConfig.InstallSpec INSTALL_SPEC_NOT_INSTALLED
       Request to uninstall Policy Controller.
       
      INSTALL_SPEC_NOT_INSTALLED = 1;
    • INSTALL_SPEC_ENABLED

      public static final HubConfig.InstallSpec INSTALL_SPEC_ENABLED
       Request to install and enable Policy Controller.
       
      INSTALL_SPEC_ENABLED = 2;
    • INSTALL_SPEC_SUSPENDED

      public static final HubConfig.InstallSpec 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

      public static final HubConfig.InstallSpec 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

      public static final HubConfig.InstallSpec UNRECOGNIZED
  • Field Details

    • INSTALL_SPEC_UNSPECIFIED_VALUE

      public static final int INSTALL_SPEC_UNSPECIFIED_VALUE
       Spec is unknown.
       
      INSTALL_SPEC_UNSPECIFIED = 0;
      See Also:
    • INSTALL_SPEC_NOT_INSTALLED_VALUE

      public static final int INSTALL_SPEC_NOT_INSTALLED_VALUE
       Request to uninstall Policy Controller.
       
      INSTALL_SPEC_NOT_INSTALLED = 1;
      See Also:
    • INSTALL_SPEC_ENABLED_VALUE

      public static final int INSTALL_SPEC_ENABLED_VALUE
       Request to install and enable Policy Controller.
       
      INSTALL_SPEC_ENABLED = 2;
      See Also:
    • INSTALL_SPEC_SUSPENDED_VALUE

      public static final int INSTALL_SPEC_SUSPENDED_VALUE
       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;
      See Also:
    • INSTALL_SPEC_DETACHED_VALUE

      public static final int INSTALL_SPEC_DETACHED_VALUE
       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;
      See Also:
  • Method Details

    • values

      public static HubConfig.InstallSpec[] 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

      public static HubConfig.InstallSpec 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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static HubConfig.InstallSpec 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 name
      NullPointerException - if the argument is null
    • forNumber

      public static HubConfig.InstallSpec 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<HubConfig.InstallSpec> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null