- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DatabaseEntity.BuilderImplements
DatabaseEntityOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
values | Iterable<? extends com.google.cloud.clouddms.v1.EntityMapping> |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | EntityMapping |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | EntityMapping.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | EntityMapping |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | EntityMapping.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
EntityMapping.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
build()
public DatabaseEntity build()
Returns | |
---|---|
Type | Description |
DatabaseEntity |
buildPartial()
public DatabaseEntity buildPartial()
Returns | |
---|---|
Type | Description |
DatabaseEntity |
clear()
public DatabaseEntity.Builder clear()
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearDatabaseFunction()
public DatabaseEntity.Builder clearDatabaseFunction()
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearDatabasePackage()
public DatabaseEntity.Builder clearDatabasePackage()
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearEntityBody()
public DatabaseEntity.Builder clearEntityBody()
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public DatabaseEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearParentEntity()
public DatabaseEntity.Builder clearParentEntity()
The full name of the parent entity (e.g. schema name).
string parent_entity = 2;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
clearSchema()
public DatabaseEntity.Builder clearSchema()
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearSequence()
public DatabaseEntity.Builder clearSequence()
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearShortName()
public DatabaseEntity.Builder clearShortName()
The short name (e.g. table name) of the entity.
string short_name = 1;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
clearStoredProcedure()
public DatabaseEntity.Builder clearStoredProcedure()
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearSynonym()
public DatabaseEntity.Builder clearSynonym()
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearTable()
public DatabaseEntity.Builder clearTable()
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clearTree()
public DatabaseEntity.Builder clearTree()
The type of tree the entity belongs to.
.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
clearView()
public DatabaseEntity.Builder clearView()
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
clone()
public DatabaseEntity.Builder clone()
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
getDatabaseFunction()
public FunctionEntity getDatabaseFunction()
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Returns | |
---|---|
Type | Description |
FunctionEntity | The databaseFunction. |
getDatabaseFunctionBuilder()
public FunctionEntity.Builder getDatabaseFunctionBuilder()
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Returns | |
---|---|
Type | Description |
FunctionEntity.Builder |
getDatabaseFunctionOrBuilder()
public FunctionEntityOrBuilder getDatabaseFunctionOrBuilder()
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Returns | |
---|---|
Type | Description |
FunctionEntityOrBuilder |
getDatabasePackage()
public PackageEntity getDatabasePackage()
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Returns | |
---|---|
Type | Description |
PackageEntity | The databasePackage. |
getDatabasePackageBuilder()
public PackageEntity.Builder getDatabasePackageBuilder()
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Returns | |
---|---|
Type | Description |
PackageEntity.Builder |
getDatabasePackageOrBuilder()
public PackageEntityOrBuilder getDatabasePackageOrBuilder()
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Returns | |
---|---|
Type | Description |
PackageEntityOrBuilder |
getDefaultInstanceForType()
public DatabaseEntity getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
DatabaseEntity |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getEntityBodyCase()
public DatabaseEntity.EntityBodyCase getEntityBodyCase()
Returns | |
---|---|
Type | Description |
DatabaseEntity.EntityBodyCase |
getEntityType()
public DatabaseEntityType getEntityType()
The type of the database entity (table, view, index, ...).
.google.cloud.clouddms.v1.DatabaseEntityType entity_type = 4;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String | The parentEntity. |
getParentEntityBytes()
public ByteString getParentEntityBytes()
The full name of the parent entity (e.g. schema name).
string parent_entity = 2;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for parentEntity. |
getSchema()
public SchemaEntity getSchema()
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Returns | |
---|---|
Type | Description |
SchemaEntity | The schema. |
getSchemaBuilder()
public SchemaEntity.Builder getSchemaBuilder()
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Returns | |
---|---|
Type | Description |
SchemaEntity.Builder |
getSchemaOrBuilder()
public SchemaEntityOrBuilder getSchemaOrBuilder()
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Returns | |
---|---|
Type | Description |
SchemaEntityOrBuilder |
getSequence()
public SequenceEntity getSequence()
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Returns | |
---|---|
Type | Description |
SequenceEntity | The sequence. |
getSequenceBuilder()
public SequenceEntity.Builder getSequenceBuilder()
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Returns | |
---|---|
Type | Description |
SequenceEntity.Builder |
getSequenceOrBuilder()
public SequenceEntityOrBuilder getSequenceOrBuilder()
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Returns | |
---|---|
Type | Description |
SequenceEntityOrBuilder |
getShortName()
public String getShortName()
The short name (e.g. table name) of the entity.
string short_name = 1;
Returns | |
---|---|
Type | Description |
String | The shortName. |
getShortNameBytes()
public ByteString getShortNameBytes()
The short name (e.g. table name) of the entity.
string short_name = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for shortName. |
getStoredProcedure()
public StoredProcedureEntity getStoredProcedure()
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Returns | |
---|---|
Type | Description |
StoredProcedureEntity | The storedProcedure. |
getStoredProcedureBuilder()
public StoredProcedureEntity.Builder getStoredProcedureBuilder()
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Returns | |
---|---|
Type | Description |
StoredProcedureEntity.Builder |
getStoredProcedureOrBuilder()
public StoredProcedureEntityOrBuilder getStoredProcedureOrBuilder()
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Returns | |
---|---|
Type | Description |
StoredProcedureEntityOrBuilder |
getSynonym()
public SynonymEntity getSynonym()
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Returns | |
---|---|
Type | Description |
SynonymEntity | The synonym. |
getSynonymBuilder()
public SynonymEntity.Builder getSynonymBuilder()
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Returns | |
---|---|
Type | Description |
SynonymEntity.Builder |
getSynonymOrBuilder()
public SynonymEntityOrBuilder getSynonymOrBuilder()
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Returns | |
---|---|
Type | Description |
SynonymEntityOrBuilder |
getTable()
public TableEntity getTable()
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Returns | |
---|---|
Type | Description |
TableEntity | The table. |
getTableBuilder()
public TableEntity.Builder getTableBuilder()
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Returns | |
---|---|
Type | Description |
TableEntity.Builder |
getTableOrBuilder()
public TableEntityOrBuilder getTableOrBuilder()
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Returns | |
---|---|
Type | Description |
TableEntityOrBuilder |
getTree()
public DatabaseEntity.TreeType getTree()
The type of tree the entity belongs to.
.google.cloud.clouddms.v1.DatabaseEntity.TreeType tree = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
int | The enum numeric value on the wire for tree. |
getView()
public ViewEntity getView()
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Returns | |
---|---|
Type | Description |
ViewEntity | The view. |
getViewBuilder()
public ViewEntity.Builder getViewBuilder()
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Returns | |
---|---|
Type | Description |
ViewEntity.Builder |
getViewOrBuilder()
public ViewEntityOrBuilder getViewOrBuilder()
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Returns | |
---|---|
Type | Description |
ViewEntityOrBuilder |
hasDatabaseFunction()
public boolean hasDatabaseFunction()
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Returns | |
---|---|
Type | Description |
boolean | Whether the databaseFunction field is set. |
hasDatabasePackage()
public boolean hasDatabasePackage()
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Returns | |
---|---|
Type | Description |
boolean | Whether the databasePackage field is set. |
hasSchema()
public boolean hasSchema()
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Returns | |
---|---|
Type | Description |
boolean | Whether the schema field is set. |
hasSequence()
public boolean hasSequence()
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Returns | |
---|---|
Type | Description |
boolean | Whether the sequence field is set. |
hasStoredProcedure()
public boolean hasStoredProcedure()
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Returns | |
---|---|
Type | Description |
boolean | Whether the storedProcedure field is set. |
hasSynonym()
public boolean hasSynonym()
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Returns | |
---|---|
Type | Description |
boolean | Whether the synonym field is set. |
hasTable()
public boolean hasTable()
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Returns | |
---|---|
Type | Description |
boolean | Whether the table field is set. |
hasView()
public boolean hasView()
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Returns | |
---|---|
Type | Description |
boolean | Whether the view field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDatabaseFunction(FunctionEntity value)
public DatabaseEntity.Builder mergeDatabaseFunction(FunctionEntity value)
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Parameter | |
---|---|
Name | Description |
value | FunctionEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeDatabasePackage(PackageEntity value)
public DatabaseEntity.Builder mergeDatabasePackage(PackageEntity value)
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Parameter | |
---|---|
Name | Description |
value | PackageEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeFrom(DatabaseEntity other)
public DatabaseEntity.Builder mergeFrom(DatabaseEntity other)
Parameter | |
---|---|
Name | Description |
other | DatabaseEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public DatabaseEntity.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeSchema(SchemaEntity value)
public DatabaseEntity.Builder mergeSchema(SchemaEntity value)
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Parameter | |
---|---|
Name | Description |
value | SchemaEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeSequence(SequenceEntity value)
public DatabaseEntity.Builder mergeSequence(SequenceEntity value)
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Parameter | |
---|---|
Name | Description |
value | SequenceEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeStoredProcedure(StoredProcedureEntity value)
public DatabaseEntity.Builder mergeStoredProcedure(StoredProcedureEntity value)
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Parameter | |
---|---|
Name | Description |
value | StoredProcedureEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeSynonym(SynonymEntity value)
public DatabaseEntity.Builder mergeSynonym(SynonymEntity value)
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Parameter | |
---|---|
Name | Description |
value | SynonymEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeTable(TableEntity value)
public DatabaseEntity.Builder mergeTable(TableEntity value)
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Parameter | |
---|---|
Name | Description |
value | TableEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
mergeView(ViewEntity value)
public DatabaseEntity.Builder mergeView(ViewEntity value)
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Parameter | |
---|---|
Name | Description |
value | ViewEntity |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setDatabaseFunction(FunctionEntity value)
public DatabaseEntity.Builder setDatabaseFunction(FunctionEntity value)
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Parameter | |
---|---|
Name | Description |
value | FunctionEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setDatabaseFunction(FunctionEntity.Builder builderForValue)
public DatabaseEntity.Builder setDatabaseFunction(FunctionEntity.Builder builderForValue)
Function.
.google.cloud.clouddms.v1.FunctionEntity database_function = 107;
Parameter | |
---|---|
Name | Description |
builderForValue | FunctionEntity.Builder |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setDatabasePackage(PackageEntity value)
public DatabaseEntity.Builder setDatabasePackage(PackageEntity value)
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Parameter | |
---|---|
Name | Description |
value | PackageEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setDatabasePackage(PackageEntity.Builder builderForValue)
public DatabaseEntity.Builder setDatabasePackage(PackageEntity.Builder builderForValue)
Package.
.google.cloud.clouddms.v1.PackageEntity database_package = 109;
Parameter | |
---|---|
Name | Description |
builderForValue | PackageEntity.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | DatabaseEntityType The entityType to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for entityType to set. |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
value | EntityMapping |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int |
builderForValue | EntityMapping.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The parentEntity to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for parentEntity to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSchema(SchemaEntity value)
public DatabaseEntity.Builder setSchema(SchemaEntity value)
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Parameter | |
---|---|
Name | Description |
value | SchemaEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSchema(SchemaEntity.Builder builderForValue)
public DatabaseEntity.Builder setSchema(SchemaEntity.Builder builderForValue)
Schema.
.google.cloud.clouddms.v1.SchemaEntity schema = 102;
Parameter | |
---|---|
Name | Description |
builderForValue | SchemaEntity.Builder |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSequence(SequenceEntity value)
public DatabaseEntity.Builder setSequence(SequenceEntity value)
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Parameter | |
---|---|
Name | Description |
value | SequenceEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSequence(SequenceEntity.Builder builderForValue)
public DatabaseEntity.Builder setSequence(SequenceEntity.Builder builderForValue)
Sequence.
.google.cloud.clouddms.v1.SequenceEntity sequence = 105;
Parameter | |
---|---|
Name | Description |
builderForValue | SequenceEntity.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | String The shortName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for shortName to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | StoredProcedureEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setStoredProcedure(StoredProcedureEntity.Builder builderForValue)
public DatabaseEntity.Builder setStoredProcedure(StoredProcedureEntity.Builder builderForValue)
Stored procedure.
.google.cloud.clouddms.v1.StoredProcedureEntity stored_procedure = 106;
Parameter | |
---|---|
Name | Description |
builderForValue | StoredProcedureEntity.Builder |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSynonym(SynonymEntity value)
public DatabaseEntity.Builder setSynonym(SynonymEntity value)
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Parameter | |
---|---|
Name | Description |
value | SynonymEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setSynonym(SynonymEntity.Builder builderForValue)
public DatabaseEntity.Builder setSynonym(SynonymEntity.Builder builderForValue)
Synonym.
.google.cloud.clouddms.v1.SynonymEntity synonym = 108;
Parameter | |
---|---|
Name | Description |
builderForValue | SynonymEntity.Builder |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setTable(TableEntity value)
public DatabaseEntity.Builder setTable(TableEntity value)
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Parameter | |
---|---|
Name | Description |
value | TableEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setTable(TableEntity.Builder builderForValue)
public DatabaseEntity.Builder setTable(TableEntity.Builder builderForValue)
Table.
.google.cloud.clouddms.v1.TableEntity table = 103;
Parameter | |
---|---|
Name | Description |
builderForValue | TableEntity.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | DatabaseEntity.TreeType The tree to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for tree to set. |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setView(ViewEntity value)
public DatabaseEntity.Builder setView(ViewEntity value)
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Parameter | |
---|---|
Name | Description |
value | ViewEntity |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |
setView(ViewEntity.Builder builderForValue)
public DatabaseEntity.Builder setView(ViewEntity.Builder builderForValue)
View.
.google.cloud.clouddms.v1.ViewEntity view = 104;
Parameter | |
---|---|
Name | Description |
builderForValue | ViewEntity.Builder |
Returns | |
---|---|
Type | Description |
DatabaseEntity.Builder |