Class GatekeeperDeploymentState.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder>
com.google.cloud.gkehub.configmanagement.v1beta.GatekeeperDeploymentState.Builder
All Implemented Interfaces:
GatekeeperDeploymentStateOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
GatekeeperDeploymentState

public static final class GatekeeperDeploymentState.Builder extends com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder> implements GatekeeperDeploymentStateOrBuilder
 State of Policy Controller installation.
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.GatekeeperDeploymentState
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder>
    • getDefaultInstanceForType

      public GatekeeperDeploymentState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public GatekeeperDeploymentState build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public GatekeeperDeploymentState buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public GatekeeperDeploymentState.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GatekeeperDeploymentState.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<GatekeeperDeploymentState.Builder>
    • mergeFrom

      public GatekeeperDeploymentState.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<GatekeeperDeploymentState.Builder>
      Throws:
      IOException
    • getGatekeeperControllerManagerStateValue

      public int getGatekeeperControllerManagerStateValue()
       Status of gatekeeper-controller-manager pod.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;
      Specified by:
      getGatekeeperControllerManagerStateValue in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The enum numeric value on the wire for gatekeeperControllerManagerState.
    • setGatekeeperControllerManagerStateValue

      public GatekeeperDeploymentState.Builder setGatekeeperControllerManagerStateValue(int value)
       Status of gatekeeper-controller-manager pod.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;
      Parameters:
      value - The enum numeric value on the wire for gatekeeperControllerManagerState to set.
      Returns:
      This builder for chaining.
    • getGatekeeperControllerManagerState

      public DeploymentState getGatekeeperControllerManagerState()
       Status of gatekeeper-controller-manager pod.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;
      Specified by:
      getGatekeeperControllerManagerState in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The gatekeeperControllerManagerState.
    • setGatekeeperControllerManagerState

      public GatekeeperDeploymentState.Builder setGatekeeperControllerManagerState(DeploymentState value)
       Status of gatekeeper-controller-manager pod.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;
      Parameters:
      value - The gatekeeperControllerManagerState to set.
      Returns:
      This builder for chaining.
    • clearGatekeeperControllerManagerState

      public GatekeeperDeploymentState.Builder clearGatekeeperControllerManagerState()
       Status of gatekeeper-controller-manager pod.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_controller_manager_state = 1;
      Returns:
      This builder for chaining.
    • getGatekeeperAuditValue

      public int getGatekeeperAuditValue()
       Status of gatekeeper-audit deployment.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_audit = 2;
      Specified by:
      getGatekeeperAuditValue in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The enum numeric value on the wire for gatekeeperAudit.
    • setGatekeeperAuditValue

      public GatekeeperDeploymentState.Builder setGatekeeperAuditValue(int value)
       Status of gatekeeper-audit deployment.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_audit = 2;
      Parameters:
      value - The enum numeric value on the wire for gatekeeperAudit to set.
      Returns:
      This builder for chaining.
    • getGatekeeperAudit

      public DeploymentState getGatekeeperAudit()
       Status of gatekeeper-audit deployment.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_audit = 2;
      Specified by:
      getGatekeeperAudit in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The gatekeeperAudit.
    • setGatekeeperAudit

      public GatekeeperDeploymentState.Builder setGatekeeperAudit(DeploymentState value)
       Status of gatekeeper-audit deployment.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_audit = 2;
      Parameters:
      value - The gatekeeperAudit to set.
      Returns:
      This builder for chaining.
    • clearGatekeeperAudit

      public GatekeeperDeploymentState.Builder clearGatekeeperAudit()
       Status of gatekeeper-audit deployment.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_audit = 2;
      Returns:
      This builder for chaining.
    • getGatekeeperMutationValue

      public int getGatekeeperMutationValue()
       Status of the pod serving the mutation webhook.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_mutation = 3;
      Specified by:
      getGatekeeperMutationValue in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The enum numeric value on the wire for gatekeeperMutation.
    • setGatekeeperMutationValue

      public GatekeeperDeploymentState.Builder setGatekeeperMutationValue(int value)
       Status of the pod serving the mutation webhook.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_mutation = 3;
      Parameters:
      value - The enum numeric value on the wire for gatekeeperMutation to set.
      Returns:
      This builder for chaining.
    • getGatekeeperMutation

      public DeploymentState getGatekeeperMutation()
       Status of the pod serving the mutation webhook.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_mutation = 3;
      Specified by:
      getGatekeeperMutation in interface GatekeeperDeploymentStateOrBuilder
      Returns:
      The gatekeeperMutation.
    • setGatekeeperMutation

      public GatekeeperDeploymentState.Builder setGatekeeperMutation(DeploymentState value)
       Status of the pod serving the mutation webhook.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_mutation = 3;
      Parameters:
      value - The gatekeeperMutation to set.
      Returns:
      This builder for chaining.
    • clearGatekeeperMutation

      public GatekeeperDeploymentState.Builder clearGatekeeperMutation()
       Status of the pod serving the mutation webhook.
       
      .google.cloud.gkehub.configmanagement.v1beta.DeploymentState gatekeeper_mutation = 3;
      Returns:
      This builder for chaining.