Class PolicyControllerState

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.gkehub.configmanagement.v1beta.PolicyControllerState
All Implemented Interfaces:
PolicyControllerStateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class PolicyControllerState extends com.google.protobuf.GeneratedMessage implements PolicyControllerStateOrBuilder
 State for PolicyControllerState.
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.PolicyControllerState
See Also:
  • Field Details

    • VERSION_FIELD_NUMBER

      public static final int VERSION_FIELD_NUMBER
      See Also:
    • DEPLOYMENT_STATE_FIELD_NUMBER

      public static final int DEPLOYMENT_STATE_FIELD_NUMBER
      See Also:
    • MIGRATION_FIELD_NUMBER

      public static final int MIGRATION_FIELD_NUMBER
      See Also:
  • 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
    • hasVersion

      public boolean hasVersion()
       The version of Gatekeeper Policy Controller deployed.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerVersion version = 1;
      Specified by:
      hasVersion in interface PolicyControllerStateOrBuilder
      Returns:
      Whether the version field is set.
    • getVersion

      public PolicyControllerVersion getVersion()
       The version of Gatekeeper Policy Controller deployed.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerVersion version = 1;
      Specified by:
      getVersion in interface PolicyControllerStateOrBuilder
      Returns:
      The version.
    • getVersionOrBuilder

      public PolicyControllerVersionOrBuilder getVersionOrBuilder()
       The version of Gatekeeper Policy Controller deployed.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerVersion version = 1;
      Specified by:
      getVersionOrBuilder in interface PolicyControllerStateOrBuilder
    • hasDeploymentState

      public boolean hasDeploymentState()
       The state about the policy controller installation.
       
      .google.cloud.gkehub.configmanagement.v1beta.GatekeeperDeploymentState deployment_state = 2;
      Specified by:
      hasDeploymentState in interface PolicyControllerStateOrBuilder
      Returns:
      Whether the deploymentState field is set.
    • getDeploymentState

      public GatekeeperDeploymentState getDeploymentState()
       The state about the policy controller installation.
       
      .google.cloud.gkehub.configmanagement.v1beta.GatekeeperDeploymentState deployment_state = 2;
      Specified by:
      getDeploymentState in interface PolicyControllerStateOrBuilder
      Returns:
      The deploymentState.
    • getDeploymentStateOrBuilder

      public GatekeeperDeploymentStateOrBuilder getDeploymentStateOrBuilder()
       The state about the policy controller installation.
       
      .google.cloud.gkehub.configmanagement.v1beta.GatekeeperDeploymentState deployment_state = 2;
      Specified by:
      getDeploymentStateOrBuilder in interface PolicyControllerStateOrBuilder
    • hasMigration

      public boolean hasMigration()
       Record state of ACM -> PoCo Hub migration for this feature.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration migration = 4;
      Specified by:
      hasMigration in interface PolicyControllerStateOrBuilder
      Returns:
      Whether the migration field is set.
    • getMigration

      public PolicyControllerMigration getMigration()
       Record state of ACM -> PoCo Hub migration for this feature.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration migration = 4;
      Specified by:
      getMigration in interface PolicyControllerStateOrBuilder
      Returns:
      The migration.
    • getMigrationOrBuilder

      public PolicyControllerMigrationOrBuilder getMigrationOrBuilder()
       Record state of ACM -> PoCo Hub migration for this feature.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration migration = 4;
      Specified by:
      getMigrationOrBuilder in interface PolicyControllerStateOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static PolicyControllerState parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static PolicyControllerState parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerState parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyControllerState parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static PolicyControllerState parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerState parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static PolicyControllerState parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public PolicyControllerState.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static PolicyControllerState.Builder newBuilder()
    • newBuilder

      public static PolicyControllerState.Builder newBuilder(PolicyControllerState prototype)
    • toBuilder

      public PolicyControllerState.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected PolicyControllerState.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static PolicyControllerState getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<PolicyControllerState> parser()
    • getParserForType

      public com.google.protobuf.Parser<PolicyControllerState> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public PolicyControllerState getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder