public final class MappingRuleFilter extends GeneratedMessageV3 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.MappingRuleFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ENTITIES_FIELD_NUMBER
public static final int ENTITIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_NAME_CONTAINS_FIELD_NUMBER
public static final int ENTITY_NAME_CONTAINS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_NAME_PREFIX_FIELD_NUMBER
public static final int ENTITY_NAME_PREFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
ENTITY_NAME_SUFFIX_FIELD_NUMBER
public static final int ENTITY_NAME_SUFFIX_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
PARENT_ENTITY_FIELD_NUMBER
public static final int PARENT_ENTITY_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static MappingRuleFilter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MappingRuleFilter.Builder newBuilder()
newBuilder(MappingRuleFilter prototype)
public static MappingRuleFilter.Builder newBuilder(MappingRuleFilter prototype)
public static MappingRuleFilter parseDelimitedFrom(InputStream input)
public static MappingRuleFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MappingRuleFilter parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MappingRuleFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MappingRuleFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MappingRuleFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MappingRuleFilter parseFrom(CodedInputStream input)
public static MappingRuleFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MappingRuleFilter parseFrom(InputStream input)
public static MappingRuleFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MappingRuleFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MappingRuleFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MappingRuleFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public MappingRuleFilter getDefaultInstanceForType()
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 |
int
The 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 |
int
The 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];
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.
|
getParserForType()
public Parser<MappingRuleFilter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MappingRuleFilter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MappingRuleFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public MappingRuleFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides