public static final class MappingRuleFilter.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder> implements MappingRuleFilterOrBuilder
A filter defining the entities that a mapping rule should be applied to. When more than one field is specified, the rule is applied only to entities which match all the fields.Protobuf type
google.cloud.clouddms.v1.MappingRuleFiltergetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MappingRuleFilter build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MappingRuleFilter buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MappingRuleFilter.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder mergeFrom(MappingRuleFilter other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public MappingRuleFilter.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MappingRuleFilter.Builder>IOExceptionpublic String getParentEntity()
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];getParentEntity in interface MappingRuleFilterOrBuilderpublic com.google.protobuf.ByteString getParentEntityBytes()
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];getParentEntityBytes in interface MappingRuleFilterOrBuilderpublic MappingRuleFilter.Builder setParentEntity(String value)
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];value - The parentEntity to set.public MappingRuleFilter.Builder clearParentEntity()
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];public MappingRuleFilter.Builder setParentEntityBytes(com.google.protobuf.ByteString value)
Optional. The rule should be applied to entities whose parent entity (fully qualified name) matches the given value. For example, if the rule applies to a table entity, the expected value should be a schema (schema). If the rule applies to a column or index entity, the expected value can be either a schema (schema) or a table (schema.table)
string parent_entity = 1 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for parentEntity to set.public String getEntityNamePrefix()
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];getEntityNamePrefix in interface MappingRuleFilterOrBuilderpublic com.google.protobuf.ByteString getEntityNamePrefixBytes()
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];getEntityNamePrefixBytes in interface MappingRuleFilterOrBuilderpublic MappingRuleFilter.Builder setEntityNamePrefix(String value)
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];value - The entityNamePrefix to set.public MappingRuleFilter.Builder clearEntityNamePrefix()
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];public MappingRuleFilter.Builder setEntityNamePrefixBytes(com.google.protobuf.ByteString value)
Optional. The rule should be applied to entities whose non-qualified name starts with the given prefix.
string entity_name_prefix = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entityNamePrefix to set.public String getEntityNameSuffix()
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];getEntityNameSuffix in interface MappingRuleFilterOrBuilderpublic com.google.protobuf.ByteString getEntityNameSuffixBytes()
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];getEntityNameSuffixBytes in interface MappingRuleFilterOrBuilderpublic MappingRuleFilter.Builder setEntityNameSuffix(String value)
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];value - The entityNameSuffix to set.public MappingRuleFilter.Builder clearEntityNameSuffix()
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];public MappingRuleFilter.Builder setEntityNameSuffixBytes(com.google.protobuf.ByteString value)
Optional. The rule should be applied to entities whose non-qualified name ends with the given suffix.
string entity_name_suffix = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entityNameSuffix to set.public String getEntityNameContains()
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];getEntityNameContains in interface MappingRuleFilterOrBuilderpublic com.google.protobuf.ByteString getEntityNameContainsBytes()
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];getEntityNameContainsBytes in interface MappingRuleFilterOrBuilderpublic MappingRuleFilter.Builder setEntityNameContains(String value)
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];value - The entityNameContains to set.public MappingRuleFilter.Builder clearEntityNameContains()
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];public MappingRuleFilter.Builder setEntityNameContainsBytes(com.google.protobuf.ByteString value)
Optional. The rule should be applied to entities whose non-qualified name contains the given string.
string entity_name_contains = 4 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for entityNameContains to set.public com.google.protobuf.ProtocolStringList getEntitiesList()
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];getEntitiesList in interface MappingRuleFilterOrBuilderpublic int getEntitiesCount()
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];getEntitiesCount in interface MappingRuleFilterOrBuilderpublic String getEntities(int index)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];getEntities in interface MappingRuleFilterOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getEntitiesBytes(int index)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];getEntitiesBytes in interface MappingRuleFilterOrBuilderindex - The index of the value to return.public MappingRuleFilter.Builder setEntities(int index, String value)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];index - The index to set the value at.value - The entities to set.public MappingRuleFilter.Builder addEntities(String value)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];value - The entities to add.public MappingRuleFilter.Builder addAllEntities(Iterable<String> values)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];values - The entities to add.public MappingRuleFilter.Builder clearEntities()
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];public MappingRuleFilter.Builder addEntitiesBytes(com.google.protobuf.ByteString value)
Optional. The rule should be applied to specific entities defined by their fully qualified names.
repeated string entities = 5 [(.google.api.field_behavior) = OPTIONAL];value - The bytes of the entities to add.public final MappingRuleFilter.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>public final MappingRuleFilter.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MappingRuleFilter.Builder>Copyright © 2024 Google LLC. All rights reserved.