Class DatabaseEntity.Builder (2.35.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

addAllEntityDdl(Iterable<? extends EntityDdl> values)

public DatabaseEntity.Builder addAllEntityDdl(Iterable<? extends EntityDdl> values)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

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

addAllIssues(Iterable<? extends EntityIssue> values)

public DatabaseEntity.Builder addAllIssues(Iterable<? extends EntityIssue> values)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

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

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

addEntityDdl(EntityDdl value)

public DatabaseEntity.Builder addEntityDdl(EntityDdl value)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
valueEntityDdl
Returns
TypeDescription
DatabaseEntity.Builder

addEntityDdl(EntityDdl.Builder builderForValue)

public DatabaseEntity.Builder addEntityDdl(EntityDdl.Builder builderForValue)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
builderForValueEntityDdl.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addEntityDdl(int index, EntityDdl value)

public DatabaseEntity.Builder addEntityDdl(int index, EntityDdl value)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameters
NameDescription
indexint
valueEntityDdl
Returns
TypeDescription
DatabaseEntity.Builder

addEntityDdl(int index, EntityDdl.Builder builderForValue)

public DatabaseEntity.Builder addEntityDdl(int index, EntityDdl.Builder builderForValue)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameters
NameDescription
indexint
builderForValueEntityDdl.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addEntityDdlBuilder()

public EntityDdl.Builder addEntityDdlBuilder()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Returns
TypeDescription
EntityDdl.Builder

addEntityDdlBuilder(int index)

public EntityDdl.Builder addEntityDdlBuilder(int index)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityDdl.Builder

addIssues(EntityIssue value)

public DatabaseEntity.Builder addIssues(EntityIssue value)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
valueEntityIssue
Returns
TypeDescription
DatabaseEntity.Builder

addIssues(EntityIssue.Builder builderForValue)

public DatabaseEntity.Builder addIssues(EntityIssue.Builder builderForValue)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
builderForValueEntityIssue.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addIssues(int index, EntityIssue value)

public DatabaseEntity.Builder addIssues(int index, EntityIssue value)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameters
NameDescription
indexint
valueEntityIssue
Returns
TypeDescription
DatabaseEntity.Builder

addIssues(int index, EntityIssue.Builder builderForValue)

public DatabaseEntity.Builder addIssues(int index, EntityIssue.Builder builderForValue)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameters
NameDescription
indexint
builderForValueEntityIssue.Builder
Returns
TypeDescription
DatabaseEntity.Builder

addIssuesBuilder()

public EntityIssue.Builder addIssuesBuilder()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Returns
TypeDescription
EntityIssue.Builder

addIssuesBuilder(int index)

public EntityIssue.Builder addIssuesBuilder(int index)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityIssue.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

clearDatabase()

public DatabaseEntity.Builder clearDatabase()

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Returns
TypeDescription
DatabaseEntity.Builder

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

clearEntityDdl()

public DatabaseEntity.Builder clearEntityDdl()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

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

clearIssues()

public DatabaseEntity.Builder clearIssues()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Returns
TypeDescription
DatabaseEntity.Builder

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

clearMaterializedView()

public DatabaseEntity.Builder clearMaterializedView()

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

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.

clearUdt()

public DatabaseEntity.Builder clearUdt()

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Returns
TypeDescription
DatabaseEntity.Builder

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

getDatabase()

public DatabaseInstanceEntity getDatabase()

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Returns
TypeDescription
DatabaseInstanceEntity

The database.

getDatabaseBuilder()

public DatabaseInstanceEntity.Builder getDatabaseBuilder()

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Returns
TypeDescription
DatabaseInstanceEntity.Builder

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

getDatabaseOrBuilder()

public DatabaseInstanceEntityOrBuilder getDatabaseOrBuilder()

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Returns
TypeDescription
DatabaseInstanceEntityOrBuilder

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

getEntityDdl(int index)

public EntityDdl getEntityDdl(int index)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityDdl

getEntityDdlBuilder(int index)

public EntityDdl.Builder getEntityDdlBuilder(int index)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityDdl.Builder

getEntityDdlBuilderList()

public List<EntityDdl.Builder> getEntityDdlBuilderList()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Returns
TypeDescription
List<Builder>

getEntityDdlCount()

public int getEntityDdlCount()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Returns
TypeDescription
int

getEntityDdlList()

public List<EntityDdl> getEntityDdlList()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Returns
TypeDescription
List<EntityDdl>

getEntityDdlOrBuilder(int index)

public EntityDdlOrBuilder getEntityDdlOrBuilder(int index)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityDdlOrBuilder

getEntityDdlOrBuilderList()

public List<? extends EntityDdlOrBuilder> getEntityDdlOrBuilderList()

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

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

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.

getIssues(int index)

public EntityIssue getIssues(int index)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityIssue

getIssuesBuilder(int index)

public EntityIssue.Builder getIssuesBuilder(int index)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityIssue.Builder

getIssuesBuilderList()

public List<EntityIssue.Builder> getIssuesBuilderList()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Returns
TypeDescription
List<Builder>

getIssuesCount()

public int getIssuesCount()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Returns
TypeDescription
int

getIssuesList()

public List<EntityIssue> getIssuesList()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Returns
TypeDescription
List<EntityIssue>

getIssuesOrBuilder(int index)

public EntityIssueOrBuilder getIssuesOrBuilder(int index)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityIssueOrBuilder

getIssuesOrBuilderList()

public List<? extends EntityIssueOrBuilder> getIssuesOrBuilderList()

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

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

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>

getMaterializedView()

public MaterializedViewEntity getMaterializedView()

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Returns
TypeDescription
MaterializedViewEntity

The materializedView.

getMaterializedViewBuilder()

public MaterializedViewEntity.Builder getMaterializedViewBuilder()

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Returns
TypeDescription
MaterializedViewEntity.Builder

getMaterializedViewOrBuilder()

public MaterializedViewEntityOrBuilder getMaterializedViewOrBuilder()

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Returns
TypeDescription
MaterializedViewEntityOrBuilder

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.

getUdt()

public UDTEntity getUdt()

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Returns
TypeDescription
UDTEntity

The udt.

getUdtBuilder()

public UDTEntity.Builder getUdtBuilder()

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Returns
TypeDescription
UDTEntity.Builder

getUdtOrBuilder()

public UDTEntityOrBuilder getUdtOrBuilder()

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Returns
TypeDescription
UDTEntityOrBuilder

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

hasDatabase()

public boolean hasDatabase()

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Returns
TypeDescription
boolean

Whether the database field is set.

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.

hasMaterializedView()

public boolean hasMaterializedView()

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Returns
TypeDescription
boolean

Whether the materializedView 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.

hasUdt()

public boolean hasUdt()

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Returns
TypeDescription
boolean

Whether the udt 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

mergeDatabase(DatabaseInstanceEntity value)

public DatabaseEntity.Builder mergeDatabase(DatabaseInstanceEntity value)

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Parameter
NameDescription
valueDatabaseInstanceEntity
Returns
TypeDescription
DatabaseEntity.Builder

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

mergeMaterializedView(MaterializedViewEntity value)

public DatabaseEntity.Builder mergeMaterializedView(MaterializedViewEntity value)

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Parameter
NameDescription
valueMaterializedViewEntity
Returns
TypeDescription
DatabaseEntity.Builder

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

mergeUdt(UDTEntity value)

public DatabaseEntity.Builder mergeUdt(UDTEntity value)

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Parameter
NameDescription
valueUDTEntity
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

removeEntityDdl(int index)

public DatabaseEntity.Builder removeEntityDdl(int index)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
DatabaseEntity.Builder

removeIssues(int index)

public DatabaseEntity.Builder removeIssues(int index)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameter
NameDescription
indexint
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

setDatabase(DatabaseInstanceEntity value)

public DatabaseEntity.Builder setDatabase(DatabaseInstanceEntity value)

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Parameter
NameDescription
valueDatabaseInstanceEntity
Returns
TypeDescription
DatabaseEntity.Builder

setDatabase(DatabaseInstanceEntity.Builder builderForValue)

public DatabaseEntity.Builder setDatabase(DatabaseInstanceEntity.Builder builderForValue)

Database.

.google.cloud.clouddms.v1.DatabaseInstanceEntity database = 101;

Parameter
NameDescription
builderForValueDatabaseInstanceEntity.Builder
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

setEntityDdl(int index, EntityDdl value)

public DatabaseEntity.Builder setEntityDdl(int index, EntityDdl value)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameters
NameDescription
indexint
valueEntityDdl
Returns
TypeDescription
DatabaseEntity.Builder

setEntityDdl(int index, EntityDdl.Builder builderForValue)

public DatabaseEntity.Builder setEntityDdl(int index, EntityDdl.Builder builderForValue)

Details about the entity DDL script. Multiple DDL scripts are provided for child entities such as a table entity will have one DDL for the table with additional DDLs for each index, constraint and such.

repeated .google.cloud.clouddms.v1.EntityDdl entity_ddl = 6;

Parameters
NameDescription
indexint
builderForValueEntityDdl.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

setIssues(int index, EntityIssue value)

public DatabaseEntity.Builder setIssues(int index, EntityIssue value)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameters
NameDescription
indexint
valueEntityIssue
Returns
TypeDescription
DatabaseEntity.Builder

setIssues(int index, EntityIssue.Builder builderForValue)

public DatabaseEntity.Builder setIssues(int index, EntityIssue.Builder builderForValue)

Details about the various issues found for the entity.

repeated .google.cloud.clouddms.v1.EntityIssue issues = 7;

Parameters
NameDescription
indexint
builderForValueEntityIssue.Builder
Returns
TypeDescription
DatabaseEntity.Builder

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

setMaterializedView(MaterializedViewEntity value)

public DatabaseEntity.Builder setMaterializedView(MaterializedViewEntity value)

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Parameter
NameDescription
valueMaterializedViewEntity
Returns
TypeDescription
DatabaseEntity.Builder

setMaterializedView(MaterializedViewEntity.Builder builderForValue)

public DatabaseEntity.Builder setMaterializedView(MaterializedViewEntity.Builder builderForValue)

Materialized view.

.google.cloud.clouddms.v1.MaterializedViewEntity materialized_view = 111;

Parameter
NameDescription
builderForValueMaterializedViewEntity.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.

setUdt(UDTEntity value)

public DatabaseEntity.Builder setUdt(UDTEntity value)

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Parameter
NameDescription
valueUDTEntity
Returns
TypeDescription
DatabaseEntity.Builder

setUdt(UDTEntity.Builder builderForValue)

public DatabaseEntity.Builder setUdt(UDTEntity.Builder builderForValue)

UDT.

.google.cloud.clouddms.v1.UDTEntity udt = 110;

Parameter
NameDescription
builderForValueUDTEntity.Builder
Returns
TypeDescription
DatabaseEntity.Builder

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