Class SingleEntityRename.Builder (2.47.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SingleEntityRename.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SingleEntityRename.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SingleEntityRename.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public SingleEntityRename.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SingleEntityRename.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SingleEntityRename.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SingleEntityRename.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SingleEntityRename.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SingleEntityRename.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SingleEntityRename.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SingleEntityRename.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SingleEntityRename.Builder
Overrides