public final class MultiEntityRename extends GeneratedMessageV3 implements MultiEntityRenameOrBuilder
Options to configure rule type MultiEntityRename.
The rule is used to rename multiple entities.
The rule filter field can refer to one or more entities.
The rule scope can be one of: Database, Schema, Table, Column, Constraint,
Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT
Protobuf type google.cloud.clouddms.v1.MultiEntityRename
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
NEW_NAME_PATTERN_FIELD_NUMBER
public static final int NEW_NAME_PATTERN_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SOURCE_NAME_TRANSFORMATION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MultiEntityRename getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MultiEntityRename.Builder newBuilder()
newBuilder(MultiEntityRename prototype)
public static MultiEntityRename.Builder newBuilder(MultiEntityRename prototype)
public static MultiEntityRename parseDelimitedFrom(InputStream input)
public static MultiEntityRename parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MultiEntityRename parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MultiEntityRename parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MultiEntityRename parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MultiEntityRename parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MultiEntityRename parseFrom(CodedInputStream input)
public static MultiEntityRename parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MultiEntityRename parseFrom(InputStream input)
public static MultiEntityRename parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MultiEntityRename parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MultiEntityRename parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MultiEntityRename> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public MultiEntityRename getDefaultInstanceForType()
getNewNamePattern()
public String getNewNamePattern()
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
String | The newNamePattern.
|
getNewNamePatternBytes()
public ByteString getNewNamePatternBytes()
Optional. The pattern used to generate the new entity's name. This pattern
must include the characters '{name}', which will be replaced with the name
of the original entity. For example, the pattern 't_{name}' for an entity
name jobs would be converted to 't_jobs'.
If unspecified, the default value for this field is '{name}'
string new_name_pattern = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
ByteString | The bytes for newNamePattern.
|
getParserForType()
public Parser<MultiEntityRename> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
public EntityNameTransformation getSourceNameTransformation()
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
public int getSourceNameTransformationValue()
Optional. Additional transformation that can be done on the source entity
name before it is being used by the new_name_pattern, for example lower
case. If no transformation is desired, use NO_TRANSFORMATION
.google.cloud.clouddms.v1.EntityNameTransformation source_name_transformation = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for sourceNameTransformation.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MultiEntityRename.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MultiEntityRename.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MultiEntityRename.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides