Class MultiEntityRename (2.52.0)

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

Static Fields

NEW_NAME_PATTERN_FIELD_NUMBER

public static final int NEW_NAME_PATTERN_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_NAME_TRANSFORMATION_FIELD_NUMBER

public static final int SOURCE_NAME_TRANSFORMATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static MultiEntityRename getDefaultInstance()
Returns
Type Description
MultiEntityRename

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static MultiEntityRename.Builder newBuilder()
Returns
Type Description
MultiEntityRename.Builder

newBuilder(MultiEntityRename prototype)

public static MultiEntityRename.Builder newBuilder(MultiEntityRename prototype)
Parameter
Name Description
prototype MultiEntityRename
Returns
Type Description
MultiEntityRename.Builder

parseDelimitedFrom(InputStream input)

public static MultiEntityRename parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static MultiEntityRename parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiEntityRename parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiEntityRename parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static MultiEntityRename parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static MultiEntityRename parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
MultiEntityRename
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<MultiEntityRename> parser()
Returns
Type Description
Parser<MultiEntityRename>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public MultiEntityRename getDefaultInstanceForType()
Returns
Type Description
MultiEntityRename

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()
Returns
Type Description
Parser<MultiEntityRename>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceNameTransformation()

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];

Returns
Type Description
EntityNameTransformation

The sourceNameTransformation.

getSourceNameTransformationValue()

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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public MultiEntityRename.Builder newBuilderForType()
Returns
Type Description
MultiEntityRename.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiEntityRename.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
MultiEntityRename.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public MultiEntityRename.Builder toBuilder()
Returns
Type Description
MultiEntityRename.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException