Class MigrationConfig.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<MigrationConfig.Builder>
com.google.cloud.datacatalog.v1.MigrationConfig.Builder
All Implemented Interfaces:
MigrationConfigOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
MigrationConfig

public static final class MigrationConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<MigrationConfig.Builder> implements MigrationConfigOrBuilder
 The configuration related to the migration to Dataplex applied to an
 organization or project.
 It is the response message for
 [SetConfig][google.cloud.datacatalog.v1.DataCatalog.SetConfig] and
 [RetrieveEffectiveConfig][google.cloud.datacatalog.v1.DataCatalog.RetrieveEffectiveConfig].
 
Protobuf type google.cloud.datacatalog.v1.MigrationConfig
  • 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<MigrationConfig.Builder>
    • clear

      public MigrationConfig.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<MigrationConfig.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<MigrationConfig.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public MigrationConfig.Builder mergeFrom(MigrationConfig other)
    • isInitialized

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

      public MigrationConfig.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<MigrationConfig.Builder>
      Throws:
      IOException
    • getTagTemplateMigrationValue

      public int getTagTemplateMigrationValue()
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;
      Specified by:
      getTagTemplateMigrationValue in interface MigrationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for tagTemplateMigration.
    • setTagTemplateMigrationValue

      public MigrationConfig.Builder setTagTemplateMigrationValue(int value)
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;
      Parameters:
      value - The enum numeric value on the wire for tagTemplateMigration to set.
      Returns:
      This builder for chaining.
    • getTagTemplateMigration

      public TagTemplateMigration getTagTemplateMigration()
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;
      Specified by:
      getTagTemplateMigration in interface MigrationConfigOrBuilder
      Returns:
      The tagTemplateMigration.
    • setTagTemplateMigration

      public MigrationConfig.Builder setTagTemplateMigration(TagTemplateMigration value)
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;
      Parameters:
      value - The tagTemplateMigration to set.
      Returns:
      This builder for chaining.
    • clearTagTemplateMigration

      public MigrationConfig.Builder clearTagTemplateMigration()
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;
      Returns:
      This builder for chaining.
    • getCatalogUiExperienceValue

      public int getCatalogUiExperienceValue()
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;
      Specified by:
      getCatalogUiExperienceValue in interface MigrationConfigOrBuilder
      Returns:
      The enum numeric value on the wire for catalogUiExperience.
    • setCatalogUiExperienceValue

      public MigrationConfig.Builder setCatalogUiExperienceValue(int value)
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;
      Parameters:
      value - The enum numeric value on the wire for catalogUiExperience to set.
      Returns:
      This builder for chaining.
    • getCatalogUiExperience

      public CatalogUIExperience getCatalogUiExperience()
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;
      Specified by:
      getCatalogUiExperience in interface MigrationConfigOrBuilder
      Returns:
      The catalogUiExperience.
    • setCatalogUiExperience

      public MigrationConfig.Builder setCatalogUiExperience(CatalogUIExperience value)
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;
      Parameters:
      value - The catalogUiExperience to set.
      Returns:
      This builder for chaining.
    • clearCatalogUiExperience

      public MigrationConfig.Builder clearCatalogUiExperience()
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;
      Returns:
      This builder for chaining.
    • hasTemplateMigrationEnabledTime

      public boolean hasTemplateMigrationEnabledTime()
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
      Specified by:
      hasTemplateMigrationEnabledTime in interface MigrationConfigOrBuilder
      Returns:
      Whether the templateMigrationEnabledTime field is set.
    • getTemplateMigrationEnabledTime

      public com.google.protobuf.Timestamp getTemplateMigrationEnabledTime()
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
      Specified by:
      getTemplateMigrationEnabledTime in interface MigrationConfigOrBuilder
      Returns:
      The templateMigrationEnabledTime.
    • setTemplateMigrationEnabledTime

      public MigrationConfig.Builder setTemplateMigrationEnabledTime(com.google.protobuf.Timestamp value)
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
    • setTemplateMigrationEnabledTime

      public MigrationConfig.Builder setTemplateMigrationEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue)
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
    • mergeTemplateMigrationEnabledTime

      public MigrationConfig.Builder mergeTemplateMigrationEnabledTime(com.google.protobuf.Timestamp value)
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
    • clearTemplateMigrationEnabledTime

      public MigrationConfig.Builder clearTemplateMigrationEnabledTime()
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
    • getTemplateMigrationEnabledTimeBuilder

      public com.google.protobuf.Timestamp.Builder getTemplateMigrationEnabledTimeBuilder()
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
    • getTemplateMigrationEnabledTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTemplateMigrationEnabledTimeOrBuilder()
       The time when the Tag Template migration was enabled.
       If the Tag Template migration is not enabled, this field is not set.
       
      .google.protobuf.Timestamp template_migration_enabled_time = 3;
      Specified by:
      getTemplateMigrationEnabledTimeOrBuilder in interface MigrationConfigOrBuilder