Class SingleEntityRename (2.23.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static SingleEntityRename getDefaultInstance()
Returns
TypeDescription
SingleEntityRename

getDescriptor()

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

newBuilder()

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

newBuilder(SingleEntityRename prototype)

public static SingleEntityRename.Builder newBuilder(SingleEntityRename prototype)
Parameter
NameDescription
prototypeSingleEntityRename
Returns
TypeDescription
SingleEntityRename.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SingleEntityRename getDefaultInstanceForType()
Returns
TypeDescription
SingleEntityRename

getNewName()

public String getNewName()

Required. The new name of the destination entity

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

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for newName.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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