Class PolicyControllerMigration.Builder

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

public static final class PolicyControllerMigration.Builder extends com.google.protobuf.GeneratedMessage.Builder<PolicyControllerMigration.Builder> implements PolicyControllerMigrationOrBuilder
 State for the migration of PolicyController from ACM -> PoCo Hub.
 
Protobuf type google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration
  • 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<PolicyControllerMigration.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<PolicyControllerMigration.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<PolicyControllerMigration.Builder>
    • getDefaultInstanceForType

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

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

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

      public PolicyControllerMigration.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<PolicyControllerMigration.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<PolicyControllerMigration.Builder>
    • mergeFrom

      public PolicyControllerMigration.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<PolicyControllerMigration.Builder>
      Throws:
      IOException
    • getStageValue

      public int getStageValue()
       Stage of the migration.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;
      Specified by:
      getStageValue in interface PolicyControllerMigrationOrBuilder
      Returns:
      The enum numeric value on the wire for stage.
    • setStageValue

      public PolicyControllerMigration.Builder setStageValue(int value)
       Stage of the migration.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;
      Parameters:
      value - The enum numeric value on the wire for stage to set.
      Returns:
      This builder for chaining.
    • getStage

       Stage of the migration.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;
      Specified by:
      getStage in interface PolicyControllerMigrationOrBuilder
      Returns:
      The stage.
    • setStage

       Stage of the migration.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;
      Parameters:
      value - The stage to set.
      Returns:
      This builder for chaining.
    • clearStage

      public PolicyControllerMigration.Builder clearStage()
       Stage of the migration.
       
      .google.cloud.gkehub.configmanagement.v1beta.PolicyControllerMigration.Stage stage = 1;
      Returns:
      This builder for chaining.
    • hasCopyTime

      public boolean hasCopyTime()
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
      Specified by:
      hasCopyTime in interface PolicyControllerMigrationOrBuilder
      Returns:
      Whether the copyTime field is set.
    • getCopyTime

      public com.google.protobuf.Timestamp getCopyTime()
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
      Specified by:
      getCopyTime in interface PolicyControllerMigrationOrBuilder
      Returns:
      The copyTime.
    • setCopyTime

      public PolicyControllerMigration.Builder setCopyTime(com.google.protobuf.Timestamp value)
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
    • setCopyTime

      public PolicyControllerMigration.Builder setCopyTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
    • mergeCopyTime

      public PolicyControllerMigration.Builder mergeCopyTime(com.google.protobuf.Timestamp value)
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
    • clearCopyTime

      public PolicyControllerMigration.Builder clearCopyTime()
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
    • getCopyTimeBuilder

      public com.google.protobuf.Timestamp.Builder getCopyTimeBuilder()
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
    • getCopyTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCopyTimeOrBuilder()
       Last time this membership spec was copied to PoCo feature.
       
      .google.protobuf.Timestamp copy_time = 2;
      Specified by:
      getCopyTimeOrBuilder in interface PolicyControllerMigrationOrBuilder