Class SingleEntityRename (2.51.0)

public final class SingleEntityRename extends GeneratedMessageV3 implements SingleEntityRenameOrBuilder

Options to configure rule type SingleEntityRename. The rule is used to rename an entity.

The rule filter field can refer to only one entity.

The rule scope can be one of: Database, Schema, Table, Column, Constraint, Index, View, Function, Stored Procedure, Materialized View, Sequence, UDT, Synonym

Protobuf type google.cloud.clouddms.v1.SingleEntityRename

Static Fields

NEW_NAME_FIELD_NUMBER

public static final int NEW_NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SingleEntityRename getDefaultInstance()
Returns
Type Description
SingleEntityRename

getDescriptor()

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

newBuilder()

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

newBuilder(SingleEntityRename prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SingleEntityRename getDefaultInstanceForType()
Returns
Type Description
SingleEntityRename

getNewName()

public String getNewName()

Required. The new name of the destination entity

string new_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The newName.

getNewNameBytes()

public ByteString getNewNameBytes()

Required. The new name of the destination entity

string new_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for newName.

getParserForType()

public Parser<SingleEntityRename> getParserForType()
Returns
Type Description
Parser<SingleEntityRename>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 SingleEntityRename.Builder newBuilderForType()
Returns
Type Description
SingleEntityRename.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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