Class MultiEntityRename (2.33.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
TypeDescription
int

SOURCE_NAME_TRANSFORMATION_FIELD_NUMBER

public static final int SOURCE_NAME_TRANSFORMATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static MultiEntityRename getDefaultInstance()
Returns
TypeDescription
MultiEntityRename

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static MultiEntityRename.Builder newBuilder()
Returns
TypeDescription
MultiEntityRename.Builder

newBuilder(MultiEntityRename prototype)

public static MultiEntityRename.Builder newBuilder(MultiEntityRename prototype)
Parameter
NameDescription
prototypeMultiEntityRename
Returns
TypeDescription
MultiEntityRename.Builder

parseDelimitedFrom(InputStream input)

public static MultiEntityRename parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static MultiEntityRename parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static MultiEntityRename parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static MultiEntityRename parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static MultiEntityRename parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static MultiEntityRename parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static MultiEntityRename parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
MultiEntityRename
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<MultiEntityRename> parser()
Returns
TypeDescription
Parser<MultiEntityRename>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public MultiEntityRename getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for newNamePattern.

getParserForType()

public Parser<MultiEntityRename> getParserForType()
Returns
TypeDescription
Parser<MultiEntityRename>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for sourceNameTransformation.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public MultiEntityRename.Builder newBuilderForType()
Returns
TypeDescription
MultiEntityRename.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected MultiEntityRename.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
MultiEntityRename.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public MultiEntityRename.Builder toBuilder()
Returns
TypeDescription
MultiEntityRename.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException