Class DatabaseEntity.Builder (2.17.0)

public static final class DatabaseEntity.Builder extends GeneratedMessageV3.Builder<DatabaseEntity.Builder> implements DatabaseEntityOrBuilder

The base entity type for all the database related entities. The message contains the entity name, the name of its parent, the entity type, and the specific details per entity type.

Protobuf type google.cloud.clouddms.v1.DatabaseEntity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllMappings(Iterable<? extends EntityMapping> values)

public DatabaseEntity.Builder addAllMappings(Iterable<? extends EntityMapping> values)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.clouddms.v1.EntityMapping>
Returns
TypeDescription
DatabaseEntity.Builder

addMappings(EntityMapping value)

public DatabaseEntity.Builder addMappings(EntityMapping value)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
valueEntityMapping
Returns
TypeDescription
DatabaseEntity.Builder

addMappings(EntityMapping.Builder builderForValue)

public DatabaseEntity.Builder addMappings(EntityMapping.Builder builderForValue)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
builderForValueEntityMapping.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addMappings(int index, EntityMapping value)

public DatabaseEntity.Builder addMappings(int index, EntityMapping value)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameters
NameDescription
indexint
valueEntityMapping
Returns
TypeDescription
DatabaseEntity.Builder

addMappings(int index, EntityMapping.Builder builderForValue)

public DatabaseEntity.Builder addMappings(int index, EntityMapping.Builder builderForValue)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameters
NameDescription
indexint
builderForValueEntityMapping.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addMappingsBuilder()

public EntityMapping.Builder addMappingsBuilder()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
EntityMapping.Builder

addMappingsBuilder(int index)

public EntityMapping.Builder addMappingsBuilder(int index)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityMapping.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatabaseEntity build()
Returns
TypeDescription
DatabaseEntity

buildPartial()

public DatabaseEntity buildPartial()
Returns
TypeDescription
DatabaseEntity

clear()

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

clearDatabaseFunction()

public DatabaseEntity.Builder clearDatabaseFunction()

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Returns
TypeDescription
DatabaseEntity.Builder

clearDatabasePackage()

public DatabaseEntity.Builder clearDatabasePackage()

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Returns
TypeDescription
DatabaseEntity.Builder

clearEntityBody()

public DatabaseEntity.Builder clearEntityBody()
Returns
TypeDescription
DatabaseEntity.Builder

clearEntityType()

public DatabaseEntity.Builder clearEntityType()

The type of the database entity (table, view, index, ...).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMappings()

public DatabaseEntity.Builder clearMappings()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
DatabaseEntity.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParentEntity()

public DatabaseEntity.Builder clearParentEntity()

The full name of the parent entity (e.g. schema name).

string parent_entity = 2;

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

clearSchema()

public DatabaseEntity.Builder clearSchema()

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Returns
TypeDescription
DatabaseEntity.Builder

clearSequence()

public DatabaseEntity.Builder clearSequence()

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Returns
TypeDescription
DatabaseEntity.Builder

clearShortName()

public DatabaseEntity.Builder clearShortName()

The short name (e.g. table name) of the entity.

string short_name = 1;

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

clearStoredProcedure()

public DatabaseEntity.Builder clearStoredProcedure()

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Returns
TypeDescription
DatabaseEntity.Builder

clearSynonym()

public DatabaseEntity.Builder clearSynonym()

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Returns
TypeDescription
DatabaseEntity.Builder

clearTable()

public DatabaseEntity.Builder clearTable()

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Returns
TypeDescription
DatabaseEntity.Builder

clearTree()

public DatabaseEntity.Builder clearTree()

The type of tree the entity belongs to.

.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

clearView()

public DatabaseEntity.Builder clearView()

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Returns
TypeDescription
DatabaseEntity.Builder

clone()

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

getDatabaseFunction()

public FunctionEntity getDatabaseFunction()

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Returns
TypeDescription
FunctionEntity

The databaseFunction.

getDatabaseFunctionBuilder()

public FunctionEntity.Builder getDatabaseFunctionBuilder()

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Returns
TypeDescription
FunctionEntity.Builder

getDatabaseFunctionOrBuilder()

public FunctionEntityOrBuilder getDatabaseFunctionOrBuilder()

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Returns
TypeDescription
FunctionEntityOrBuilder

getDatabasePackage()

public PackageEntity getDatabasePackage()

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Returns
TypeDescription
PackageEntity

The databasePackage.

getDatabasePackageBuilder()

public PackageEntity.Builder getDatabasePackageBuilder()

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Returns
TypeDescription
PackageEntity.Builder

getDatabasePackageOrBuilder()

public PackageEntityOrBuilder getDatabasePackageOrBuilder()

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Returns
TypeDescription
PackageEntityOrBuilder

getDefaultInstanceForType()

public DatabaseEntity getDefaultInstanceForType()
Returns
TypeDescription
DatabaseEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEntityBodyCase()

public DatabaseEntity.EntityBodyCase getEntityBodyCase()
Returns
TypeDescription
DatabaseEntity.EntityBodyCase

getEntityType()

public DatabaseEntityType getEntityType()

The type of the database entity (table, view, index, ...).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
TypeDescription
DatabaseEntityType

The entityType.

getEntityTypeValue()

public int getEntityTypeValue()

The type of the database entity (table, view, index, ...).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for entityType.

getMappings(int index)

public EntityMapping getMappings(int index)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityMapping

getMappingsBuilder(int index)

public EntityMapping.Builder getMappingsBuilder(int index)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityMapping.Builder

getMappingsBuilderList()

public List<EntityMapping.Builder> getMappingsBuilderList()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
List<Builder>

getMappingsCount()

public int getMappingsCount()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
int

getMappingsList()

public List<EntityMapping> getMappingsList()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
List<EntityMapping>

getMappingsOrBuilder(int index)

public EntityMappingOrBuilder getMappingsOrBuilder(int index)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityMappingOrBuilder

getMappingsOrBuilderList()

public List<? extends EntityMappingOrBuilder> getMappingsOrBuilderList()

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Returns
TypeDescription
List<? extends com.google.cloud.clouddms.v1.EntityMappingOrBuilder>

getParentEntity()

public String getParentEntity()

The full name of the parent entity (e.g. schema name).

string parent_entity = 2;

Returns
TypeDescription
String

The parentEntity.

getParentEntityBytes()

public ByteString getParentEntityBytes()

The full name of the parent entity (e.g. schema name).

string parent_entity = 2;

Returns
TypeDescription
ByteString

The bytes for parentEntity.

getSchema()

public SchemaEntity getSchema()

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Returns
TypeDescription
SchemaEntity

The schema.

getSchemaBuilder()

public SchemaEntity.Builder getSchemaBuilder()

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Returns
TypeDescription
SchemaEntity.Builder

getSchemaOrBuilder()

public SchemaEntityOrBuilder getSchemaOrBuilder()

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Returns
TypeDescription
SchemaEntityOrBuilder

getSequence()

public SequenceEntity getSequence()

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Returns
TypeDescription
SequenceEntity

The sequence.

getSequenceBuilder()

public SequenceEntity.Builder getSequenceBuilder()

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Returns
TypeDescription
SequenceEntity.Builder

getSequenceOrBuilder()

public SequenceEntityOrBuilder getSequenceOrBuilder()

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Returns
TypeDescription
SequenceEntityOrBuilder

getShortName()

public String getShortName()

The short name (e.g. table name) of the entity.

string short_name = 1;

Returns
TypeDescription
String

The shortName.

getShortNameBytes()

public ByteString getShortNameBytes()

The short name (e.g. table name) of the entity.

string short_name = 1;

Returns
TypeDescription
ByteString

The bytes for shortName.

getStoredProcedure()

public StoredProcedureEntity getStoredProcedure()

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Returns
TypeDescription
StoredProcedureEntity

The storedProcedure.

getStoredProcedureBuilder()

public StoredProcedureEntity.Builder getStoredProcedureBuilder()

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Returns
TypeDescription
StoredProcedureEntity.Builder

getStoredProcedureOrBuilder()

public StoredProcedureEntityOrBuilder getStoredProcedureOrBuilder()

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Returns
TypeDescription
StoredProcedureEntityOrBuilder

getSynonym()

public SynonymEntity getSynonym()

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Returns
TypeDescription
SynonymEntity

The synonym.

getSynonymBuilder()

public SynonymEntity.Builder getSynonymBuilder()

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Returns
TypeDescription
SynonymEntity.Builder

getSynonymOrBuilder()

public SynonymEntityOrBuilder getSynonymOrBuilder()

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Returns
TypeDescription
SynonymEntityOrBuilder

getTable()

public TableEntity getTable()

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Returns
TypeDescription
TableEntity

The table.

getTableBuilder()

public TableEntity.Builder getTableBuilder()

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Returns
TypeDescription
TableEntity.Builder

getTableOrBuilder()

public TableEntityOrBuilder getTableOrBuilder()

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Returns
TypeDescription
TableEntityOrBuilder

getTree()

public DatabaseEntity.TreeType getTree()

The type of tree the entity belongs to.

.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;

Returns
TypeDescription
DatabaseEntity.TreeType

The tree.

getTreeValue()

public int getTreeValue()

The type of tree the entity belongs to.

.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;

Returns
TypeDescription
int

The enum numeric value on the wire for tree.

getView()

public ViewEntity getView()

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Returns
TypeDescription
ViewEntity

The view.

getViewBuilder()

public ViewEntity.Builder getViewBuilder()

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Returns
TypeDescription
ViewEntity.Builder

getViewOrBuilder()

public ViewEntityOrBuilder getViewOrBuilder()

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Returns
TypeDescription
ViewEntityOrBuilder

hasDatabaseFunction()

public boolean hasDatabaseFunction()

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Returns
TypeDescription
boolean

Whether the databaseFunction field is set.

hasDatabasePackage()

public boolean hasDatabasePackage()

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Returns
TypeDescription
boolean

Whether the databasePackage field is set.

hasSchema()

public boolean hasSchema()

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Returns
TypeDescription
boolean

Whether the schema field is set.

hasSequence()

public boolean hasSequence()

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Returns
TypeDescription
boolean

Whether the sequence field is set.

hasStoredProcedure()

public boolean hasStoredProcedure()

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Returns
TypeDescription
boolean

Whether the storedProcedure field is set.

hasSynonym()

public boolean hasSynonym()

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Returns
TypeDescription
boolean

Whether the synonym field is set.

hasTable()

public boolean hasTable()

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Returns
TypeDescription
boolean

Whether the table field is set.

hasView()

public boolean hasView()

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Returns
TypeDescription
boolean

Whether the view field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDatabaseFunction(FunctionEntity value)

public DatabaseEntity.Builder mergeDatabaseFunction(FunctionEntity value)

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Parameter
NameDescription
valueFunctionEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeDatabasePackage(PackageEntity value)

public DatabaseEntity.Builder mergeDatabasePackage(PackageEntity value)

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Parameter
NameDescription
valuePackageEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeFrom(DatabaseEntity other)

public DatabaseEntity.Builder mergeFrom(DatabaseEntity other)
Parameter
NameDescription
otherDatabaseEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSchema(SchemaEntity value)

public DatabaseEntity.Builder mergeSchema(SchemaEntity value)

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Parameter
NameDescription
valueSchemaEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeSequence(SequenceEntity value)

public DatabaseEntity.Builder mergeSequence(SequenceEntity value)

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Parameter
NameDescription
valueSequenceEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeStoredProcedure(StoredProcedureEntity value)

public DatabaseEntity.Builder mergeStoredProcedure(StoredProcedureEntity value)

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Parameter
NameDescription
valueStoredProcedureEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeSynonym(SynonymEntity value)

public DatabaseEntity.Builder mergeSynonym(SynonymEntity value)

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Parameter
NameDescription
valueSynonymEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeTable(TableEntity value)

public DatabaseEntity.Builder mergeTable(TableEntity value)

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Parameter
NameDescription
valueTableEntity
Returns
TypeDescription
DatabaseEntity.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeView(ViewEntity value)

public DatabaseEntity.Builder mergeView(ViewEntity value)

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Parameter
NameDescription
valueViewEntity
Returns
TypeDescription
DatabaseEntity.Builder

removeMappings(int index)

public DatabaseEntity.Builder removeMappings(int index)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntity.Builder

setDatabaseFunction(FunctionEntity value)

public DatabaseEntity.Builder setDatabaseFunction(FunctionEntity value)

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Parameter
NameDescription
valueFunctionEntity
Returns
TypeDescription
DatabaseEntity.Builder

setDatabaseFunction(FunctionEntity.Builder builderForValue)

public DatabaseEntity.Builder setDatabaseFunction(FunctionEntity.Builder builderForValue)

Function.

.google.cloud.clouddms.v1.FunctionEntity database_function = 107;

Parameter
NameDescription
builderForValueFunctionEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setDatabasePackage(PackageEntity value)

public DatabaseEntity.Builder setDatabasePackage(PackageEntity value)

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Parameter
NameDescription
valuePackageEntity
Returns
TypeDescription
DatabaseEntity.Builder

setDatabasePackage(PackageEntity.Builder builderForValue)

public DatabaseEntity.Builder setDatabasePackage(PackageEntity.Builder builderForValue)

Package.

.google.cloud.clouddms.v1.PackageEntity database_package = 109;

Parameter
NameDescription
builderForValuePackageEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setEntityType(DatabaseEntityType value)

public DatabaseEntity.Builder setEntityType(DatabaseEntityType value)

The type of the database entity (table, view, index, ...).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Parameter
NameDescription
valueDatabaseEntityType

The entityType to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setEntityTypeValue(int value)

public DatabaseEntity.Builder setEntityTypeValue(int value)

The type of the database entity (table, view, index, ...).

.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;

Parameter
NameDescription
valueint

The enum numeric value on the wire for entityType to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMappings(int index, EntityMapping value)

public DatabaseEntity.Builder setMappings(int index, EntityMapping value)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameters
NameDescription
indexint
valueEntityMapping
Returns
TypeDescription
DatabaseEntity.Builder

setMappings(int index, EntityMapping.Builder builderForValue)

public DatabaseEntity.Builder setMappings(int index, EntityMapping.Builder builderForValue)

Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source entities which were converted to form the draft entity. Destination entities will have no mapping details.

repeated .google.cloud.clouddms.v1.EntityMapping mappings = 5;

Parameters
NameDescription
indexint
builderForValueEntityMapping.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setParentEntity(String value)

public DatabaseEntity.Builder setParentEntity(String value)

The full name of the parent entity (e.g. schema name).

string parent_entity = 2;

Parameter
NameDescription
valueString

The parentEntity to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setParentEntityBytes(ByteString value)

public DatabaseEntity.Builder setParentEntityBytes(ByteString value)

The full name of the parent entity (e.g. schema name).

string parent_entity = 2;

Parameter
NameDescription
valueByteString

The bytes for parentEntity to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

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

public DatabaseEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatabaseEntity.Builder
Overrides

setSchema(SchemaEntity value)

public DatabaseEntity.Builder setSchema(SchemaEntity value)

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Parameter
NameDescription
valueSchemaEntity
Returns
TypeDescription
DatabaseEntity.Builder

setSchema(SchemaEntity.Builder builderForValue)

public DatabaseEntity.Builder setSchema(SchemaEntity.Builder builderForValue)

Schema.

.google.cloud.clouddms.v1.SchemaEntity schema = 102;

Parameter
NameDescription
builderForValueSchemaEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setSequence(SequenceEntity value)

public DatabaseEntity.Builder setSequence(SequenceEntity value)

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Parameter
NameDescription
valueSequenceEntity
Returns
TypeDescription
DatabaseEntity.Builder

setSequence(SequenceEntity.Builder builderForValue)

public DatabaseEntity.Builder setSequence(SequenceEntity.Builder builderForValue)

Sequence.

.google.cloud.clouddms.v1.SequenceEntity sequence = 105;

Parameter
NameDescription
builderForValueSequenceEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setShortName(String value)

public DatabaseEntity.Builder setShortName(String value)

The short name (e.g. table name) of the entity.

string short_name = 1;

Parameter
NameDescription
valueString

The shortName to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setShortNameBytes(ByteString value)

public DatabaseEntity.Builder setShortNameBytes(ByteString value)

The short name (e.g. table name) of the entity.

string short_name = 1;

Parameter
NameDescription
valueByteString

The bytes for shortName to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setStoredProcedure(StoredProcedureEntity value)

public DatabaseEntity.Builder setStoredProcedure(StoredProcedureEntity value)

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Parameter
NameDescription
valueStoredProcedureEntity
Returns
TypeDescription
DatabaseEntity.Builder

setStoredProcedure(StoredProcedureEntity.Builder builderForValue)

public DatabaseEntity.Builder setStoredProcedure(StoredProcedureEntity.Builder builderForValue)

Stored procedure.

.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;

Parameter
NameDescription
builderForValueStoredProcedureEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setSynonym(SynonymEntity value)

public DatabaseEntity.Builder setSynonym(SynonymEntity value)

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Parameter
NameDescription
valueSynonymEntity
Returns
TypeDescription
DatabaseEntity.Builder

setSynonym(SynonymEntity.Builder builderForValue)

public DatabaseEntity.Builder setSynonym(SynonymEntity.Builder builderForValue)

Synonym.

.google.cloud.clouddms.v1.SynonymEntity synonym = 108;

Parameter
NameDescription
builderForValueSynonymEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setTable(TableEntity value)

public DatabaseEntity.Builder setTable(TableEntity value)

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Parameter
NameDescription
valueTableEntity
Returns
TypeDescription
DatabaseEntity.Builder

setTable(TableEntity.Builder builderForValue)

public DatabaseEntity.Builder setTable(TableEntity.Builder builderForValue)

Table.

.google.cloud.clouddms.v1.TableEntity table = 103;

Parameter
NameDescription
builderForValueTableEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

setTree(DatabaseEntity.TreeType value)

public DatabaseEntity.Builder setTree(DatabaseEntity.TreeType value)

The type of tree the entity belongs to.

.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;

Parameter
NameDescription
valueDatabaseEntity.TreeType

The tree to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setTreeValue(int value)

public DatabaseEntity.Builder setTreeValue(int value)

The type of tree the entity belongs to.

.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;

Parameter
NameDescription
valueint

The enum numeric value on the wire for tree to set.

Returns
TypeDescription
DatabaseEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setView(ViewEntity value)

public DatabaseEntity.Builder setView(ViewEntity value)

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Parameter
NameDescription
valueViewEntity
Returns
TypeDescription
DatabaseEntity.Builder

setView(ViewEntity.Builder builderForValue)

public DatabaseEntity.Builder setView(ViewEntity.Builder builderForValue)

View.

.google.cloud.clouddms.v1.ViewEntity view = 104;

Parameter
NameDescription
builderForValueViewEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder