Class EntityMove.Builder (2.82.0)

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

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

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.

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

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.