Class SingleEntityRename.Builder (2.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SingleEntityRename.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

build()

public SingleEntityRename build()
Returns
TypeDescription
SingleEntityRename

buildPartial()

public SingleEntityRename buildPartial()
Returns
TypeDescription
SingleEntityRename

clear()

public SingleEntityRename.Builder clear()
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SingleEntityRename.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SingleEntityRename.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SingleEntityRename.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

clone()

public SingleEntityRename.Builder clone()
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

getDefaultInstanceForType()

public SingleEntityRename getDefaultInstanceForType()
Returns
TypeDescription
SingleEntityRename

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SingleEntityRename other)

public SingleEntityRename.Builder mergeFrom(SingleEntityRename other)
Parameter
NameDescription
otherSingleEntityRename
Returns
TypeDescription
SingleEntityRename.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SingleEntityRename.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SingleEntityRename.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SingleEntityRename.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SingleEntityRename.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SingleEntityRename.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The newName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for newName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SingleEntityRename.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SingleEntityRename.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SingleEntityRename.Builder
Overrides