Class SetConfigRequest.Builder

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

public static final class SetConfigRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<SetConfigRequest.Builder> implements SetConfigRequestOrBuilder
 Request message for
 [SetConfig][google.cloud.datacatalog.v1.DataCatalog.SetConfig].
 
Protobuf type google.cloud.datacatalog.v1.SetConfigRequest
  • 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<SetConfigRequest.Builder>
    • clear

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

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

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

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

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

      public SetConfigRequest.Builder mergeFrom(SetConfigRequest other)
    • isInitialized

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

      public SetConfigRequest.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<SetConfigRequest.Builder>
      Throws:
      IOException
    • getConfigurationCase

      public SetConfigRequest.ConfigurationCase getConfigurationCase()
      Specified by:
      getConfigurationCase in interface SetConfigRequestOrBuilder
    • clearConfiguration

      public SetConfigRequest.Builder clearConfiguration()
    • getName

      public String getName()
       Required. The organization or project whose config is being specified.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getName in interface SetConfigRequestOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Required. The organization or project whose config is being specified.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getNameBytes in interface SetConfigRequestOrBuilder
      Returns:
      The bytes for name.
    • setName

      public SetConfigRequest.Builder setName(String value)
       Required. The organization or project whose config is being specified.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public SetConfigRequest.Builder clearName()
       Required. The organization or project whose config is being specified.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setNameBytes

      public SetConfigRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
       Required. The organization or project whose config is being specified.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTagTemplateMigration

      public boolean hasTagTemplateMigration()
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 2;
      Specified by:
      hasTagTemplateMigration in interface SetConfigRequestOrBuilder
      Returns:
      Whether the tagTemplateMigration field is set.
    • getTagTemplateMigrationValue

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

      public SetConfigRequest.Builder setTagTemplateMigrationValue(int value)
       Opt-in status for the migration of Tag Templates to Dataplex.
       
      .google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 2;
      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 = 2;
      Specified by:
      getTagTemplateMigration in interface SetConfigRequestOrBuilder
      Returns:
      The tagTemplateMigration.
    • setTagTemplateMigration

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

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

      public boolean hasCatalogUiExperience()
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 3;
      Specified by:
      hasCatalogUiExperience in interface SetConfigRequestOrBuilder
      Returns:
      Whether the catalogUiExperience field is set.
    • getCatalogUiExperienceValue

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

      public SetConfigRequest.Builder setCatalogUiExperienceValue(int value)
       Opt-in status for the UI switch to Dataplex.
       
      .google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 3;
      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 = 3;
      Specified by:
      getCatalogUiExperience in interface SetConfigRequestOrBuilder
      Returns:
      The catalogUiExperience.
    • setCatalogUiExperience

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

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