- 2.77.0 (latest)
 - 2.75.0
 - 2.74.0
 - 2.73.0
 - 2.72.0
 - 2.71.0
 - 2.69.0
 - 2.67.0
 - 2.66.0
 - 2.63.0
 - 2.62.0
 - 2.61.0
 - 2.59.0
 - 2.58.0
 - 2.57.0
 - 2.56.0
 - 2.55.0
 - 2.54.0
 - 2.53.0
 - 2.52.0
 - 2.51.0
 - 2.50.0
 - 2.48.0
 - 2.47.0
 - 2.46.0
 - 2.45.0
 - 2.44.0
 - 2.43.0
 - 2.42.0
 - 2.41.0
 - 2.40.0
 - 2.39.0
 - 2.38.0
 - 2.36.0
 - 2.35.0
 - 2.34.0
 - 2.33.0
 - 2.32.0
 - 2.31.0
 - 2.30.0
 - 2.29.0
 - 2.28.0
 - 2.27.0
 - 2.26.0
 - 2.23.0
 - 2.22.0
 - 2.21.0
 - 2.20.0
 - 2.19.0
 - 2.18.0
 - 2.17.0
 - 2.16.0
 - 2.15.0
 - 2.14.0
 - 2.13.0
 - 2.12.0
 - 2.11.0
 - 2.10.0
 - 2.8.0
 - 2.7.0
 - 2.6.0
 - 2.5.0
 - 2.4.0
 - 2.3.0
 - 2.2.8
 - 2.1.9
 
public static final class MappingRuleFilter.Builder extends GeneratedMessageV3.Builder<MappingRuleFilter.Builder> implements MappingRuleFilterOrBuilderA 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.MappingRuleFilter
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MappingRuleFilter.BuilderImplements
MappingRuleFilterOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
Methods
addAllEntities(Iterable<String> values)
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];
| Parameter | |
|---|---|
| Name | Description | 
values | 
        Iterable<String>The entities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
addEntities(String value)
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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe entities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
addEntitiesBytes(ByteString value)
public MappingRuleFilter.Builder addEntitiesBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes of the entities to add.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MappingRuleFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
build()
public MappingRuleFilter build()| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter | 
        |
buildPartial()
public MappingRuleFilter buildPartial()| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter | 
        |
clear()
public MappingRuleFilter.Builder clear()| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
clearEntities()
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];
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
clearEntityNameContains()
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];
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
clearEntityNamePrefix()
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];
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
clearEntityNameSuffix()
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];
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
clearField(Descriptors.FieldDescriptor field)
public MappingRuleFilter.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
clearOneof(Descriptors.OneofDescriptor oneof)
public MappingRuleFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
oneof | 
        OneofDescriptor | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
clearParentEntity()
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];
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
clone()
public MappingRuleFilter.Builder clone()| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
getDefaultInstanceForType()
public MappingRuleFilter getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter | 
        |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
Descriptor | 
        |
getEntities(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the element to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
String | 
        The entities at the given index.  | 
      
getEntitiesBytes(int index)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
index | 
        intThe index of the value to return.  | 
      
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes of the entities at the given index.  | 
      
getEntitiesCount()
public 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];
| Returns | |
|---|---|
| Type | Description | 
int | 
        The count of entities.  | 
      
getEntitiesList()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ProtocolStringList | 
        A list containing the entities.  | 
      
getEntityNameContains()
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The entityNameContains.  | 
      
getEntityNameContainsBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for entityNameContains.  | 
      
getEntityNamePrefix()
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The entityNamePrefix.  | 
      
getEntityNamePrefixBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for entityNamePrefix.  | 
      
getEntityNameSuffix()
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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The entityNameSuffix.  | 
      
getEntityNameSuffixBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for entityNameSuffix.  | 
      
getParentEntity()
public 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];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The parentEntity.  | 
      
getParentEntityBytes()
public 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];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for parentEntity.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
FieldAccessorTable | 
        |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
boolean | 
        |
mergeFrom(MappingRuleFilter other)
public MappingRuleFilter.Builder mergeFrom(MappingRuleFilter other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        MappingRuleFilter | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MappingRuleFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
input | 
        CodedInputStream | 
      
extensionRegistry | 
        ExtensionRegistryLite | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
| Exceptions | |
|---|---|
| Type | Description | 
IOException | 
        |
mergeFrom(Message other)
public MappingRuleFilter.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
other | 
        Message | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MappingRuleFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
setEntities(int index, String value)
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];
| Parameters | |
|---|---|
| Name | Description | 
index | 
        intThe index to set the value at.  | 
      
value | 
        StringThe entities to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNameContains(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe entityNameContains to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNameContainsBytes(ByteString value)
public MappingRuleFilter.Builder setEntityNameContainsBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for entityNameContains to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNamePrefix(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe entityNamePrefix to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNamePrefixBytes(ByteString value)
public MappingRuleFilter.Builder setEntityNamePrefixBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for entityNamePrefix to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNameSuffix(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe entityNameSuffix to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setEntityNameSuffixBytes(ByteString value)
public MappingRuleFilter.Builder setEntityNameSuffixBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for entityNameSuffix to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setField(Descriptors.FieldDescriptor field, Object value)
public MappingRuleFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
setParentEntity(String value)
public 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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        StringThe parentEntity to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setParentEntityBytes(ByteString value)
public MappingRuleFilter.Builder setParentEntityBytes(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];
| Parameter | |
|---|---|
| Name | Description | 
value | 
        ByteStringThe bytes for parentEntity to set.  | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        This builder for chaining.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MappingRuleFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
field | 
        FieldDescriptor | 
      
index | 
        int | 
      
value | 
        Object | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |
setUnknownFields(UnknownFieldSet unknownFields)
public final MappingRuleFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
unknownFields | 
        UnknownFieldSet | 
      
| Returns | |
|---|---|
| Type | Description | 
MappingRuleFilter.Builder | 
        |