Class EntityMove.Builder (2.43.0)

public static final class EntityMove.Builder extends GeneratedMessageV3.Builder<EntityMove.Builder> implements EntityMoveOrBuilder

Options to configure rule type EntityMove. The rule is used to move an entity to a new schema.

The rule filter field can refer to one or more entities.

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

Protobuf type google.cloud.clouddms.v1.EntityMove

Implements

EntityMoveOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityMove build()
Returns
Type Description
EntityMove

buildPartial()

public EntityMove buildPartial()
Returns
Type Description
EntityMove

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EntityMove.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EntityMove.Builder
Overrides

clearNewSchema()

public EntityMove.Builder clearNewSchema()

Required. The new schema

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

Returns
Type Description
EntityMove.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EntityMove getDefaultInstanceForType()
Returns
Type Description
EntityMove

getDescriptorForType()

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

getNewSchema()

public String getNewSchema()

Required. The new schema

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

Returns
Type Description
String

The newSchema.

getNewSchemaBytes()

public ByteString getNewSchemaBytes()

Required. The new schema

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

Returns
Type Description
ByteString

The bytes for newSchema.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EntityMove other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setNewSchema(String value)

public EntityMove.Builder setNewSchema(String value)

Required. The new schema

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

Parameter
Name Description
value String

The newSchema to set.

Returns
Type Description
EntityMove.Builder

This builder for chaining.

setNewSchemaBytes(ByteString value)

public EntityMove.Builder setNewSchemaBytes(ByteString value)

Required. The new schema

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

Parameter
Name Description
value ByteString

The bytes for newSchema to set.

Returns
Type Description
EntityMove.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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