Class SingleEntityRename.Builder (2.82.0)

public static final class SingleEntityRename.Builder extends GeneratedMessage.Builder<SingleEntityRename.Builder> 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 Methods

getDescriptor()

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

Methods

build()

public SingleEntityRename build()
Returns
Type Description
SingleEntityRename

buildPartial()

public SingleEntityRename buildPartial()
Returns
Type Description
SingleEntityRename

clear()

public SingleEntityRename.Builder clear()
Returns
Type Description
SingleEntityRename.Builder
Overrides

clearNewName()

public SingleEntityRename.Builder clearNewName()

Required. The new name of the destination entity

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

Returns
Type Description
SingleEntityRename.Builder

This builder for chaining.

getDefaultInstanceForType()

public SingleEntityRename getDefaultInstanceForType()
Returns
Type Description
SingleEntityRename

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SingleEntityRename other)

public SingleEntityRename.Builder mergeFrom(SingleEntityRename other)
Parameter
Name Description
other SingleEntityRename
Returns
Type Description
SingleEntityRename.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SingleEntityRename.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SingleEntityRename.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SingleEntityRename.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SingleEntityRename.Builder
Overrides

setNewName(String value)

public SingleEntityRename.Builder setNewName(String value)

Required. The new name of the destination entity

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

Parameter
Name Description
value String

The newName to set.

Returns
Type Description
SingleEntityRename.Builder

This builder for chaining.

setNewNameBytes(ByteString value)

public SingleEntityRename.Builder setNewNameBytes(ByteString value)

Required. The new name of the destination entity

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

Parameter
Name Description
value ByteString

The bytes for newName to set.

Returns
Type Description
SingleEntityRename.Builder

This builder for chaining.