Package com.google.cloud.datacatalog.v1
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 Summary
Modifier and TypeMethodDescriptionbuild()clear()Opt-in status for the UI switch to Dataplex.Opt-in status for the migration of Tag Templates to Dataplex.The time when the Tag Template migration was enabled.Opt-in status for the UI switch to Dataplex.intOpt-in status for the UI switch to Dataplex.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOpt-in status for the migration of Tag Templates to Dataplex.intOpt-in status for the migration of Tag Templates to Dataplex.com.google.protobuf.TimestampThe time when the Tag Template migration was enabled.com.google.protobuf.Timestamp.BuilderThe time when the Tag Template migration was enabled.com.google.protobuf.TimestampOrBuilderThe time when the Tag Template migration was enabled.booleanThe time when the Tag Template migration was enabled.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(MigrationConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeTemplateMigrationEnabledTime(com.google.protobuf.Timestamp value) The time when the Tag Template migration was enabled.Opt-in status for the UI switch to Dataplex.setCatalogUiExperienceValue(int value) Opt-in status for the UI switch to Dataplex.Opt-in status for the migration of Tag Templates to Dataplex.setTagTemplateMigrationValue(int value) Opt-in status for the migration of Tag Templates to Dataplex.setTemplateMigrationEnabledTime(com.google.protobuf.Timestamp value) The time when the Tag Template migration was enabled.setTemplateMigrationEnabledTime(com.google.protobuf.Timestamp.Builder builderForValue) The time when the Tag Template migration was enabled.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<MigrationConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<MigrationConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<MigrationConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<MigrationConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.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:
getTagTemplateMigrationValuein interfaceMigrationConfigOrBuilder- Returns:
- The enum numeric value on the wire for tagTemplateMigration.
-
setTagTemplateMigrationValue
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
Opt-in status for the migration of Tag Templates to Dataplex.
.google.cloud.datacatalog.v1.TagTemplateMigration tag_template_migration = 1;- Specified by:
getTagTemplateMigrationin interfaceMigrationConfigOrBuilder- Returns:
- The tagTemplateMigration.
-
setTagTemplateMigration
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
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:
getCatalogUiExperienceValuein interfaceMigrationConfigOrBuilder- Returns:
- The enum numeric value on the wire for catalogUiExperience.
-
setCatalogUiExperienceValue
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
Opt-in status for the UI switch to Dataplex.
.google.cloud.datacatalog.v1.CatalogUIExperience catalog_ui_experience = 2;- Specified by:
getCatalogUiExperiencein interfaceMigrationConfigOrBuilder- Returns:
- The catalogUiExperience.
-
setCatalogUiExperience
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
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:
hasTemplateMigrationEnabledTimein interfaceMigrationConfigOrBuilder- 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:
getTemplateMigrationEnabledTimein interfaceMigrationConfigOrBuilder- Returns:
- The templateMigrationEnabledTime.
-
setTemplateMigrationEnabledTime
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
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:
getTemplateMigrationEnabledTimeOrBuilderin interfaceMigrationConfigOrBuilder
-