Class EntityMove.Builder (2.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public EntityMove build()
Returns
TypeDescription
EntityMove

buildPartial()

public EntityMove buildPartial()
Returns
TypeDescription
EntityMove

clear()

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

clearField(Descriptors.FieldDescriptor field)

public EntityMove.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EntityMove.Builder
Overrides

clearNewSchema()

public EntityMove.Builder clearNewSchema()

Required. The new schema

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

Returns
TypeDescription
EntityMove.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public EntityMove getDefaultInstanceForType()
Returns
TypeDescription
EntityMove

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getNewSchema()

public String getNewSchema()

Required. The new schema

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

Returns
TypeDescription
String

The newSchema.

getNewSchemaBytes()

public ByteString getNewSchemaBytes()

Required. The new schema

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

Returns
TypeDescription
ByteString

The bytes for newSchema.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EntityMove other)

public EntityMove.Builder mergeFrom(EntityMove other)
Parameter
NameDescription
otherEntityMove
Returns
TypeDescription
EntityMove.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The newSchema to set.

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

The bytes for newSchema to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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