public static final class DatabaseTableSpec.Builder extends GeneratedMessage.Builder<DatabaseTableSpec.Builder> implements DatabaseTableSpecOrBuilder Specification that applies to a table resource. Valid only
for entries with the TABLE type.
Protobuf type google.cloud.datacatalog.v1.DatabaseTableSpec
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DatabaseTableSpec.BuilderImplements
DatabaseTableSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public DatabaseTableSpec build()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec |
|
buildPartial()
public DatabaseTableSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec |
|
clear()
public DatabaseTableSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
clearDatabaseViewSpec()
public DatabaseTableSpec.Builder clearDatabaseViewSpec()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
clearDataplexTable()
public DatabaseTableSpec.Builder clearDataplexTable()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
clearType()
public DatabaseTableSpec.Builder clearType()Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
This builder for chaining. |
getDatabaseViewSpec()
public DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec |
The databaseViewSpec. |
getDatabaseViewSpecBuilder()
public DatabaseTableSpec.DatabaseViewSpec.Builder getDatabaseViewSpecBuilder()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpec.Builder |
|
getDatabaseViewSpecOrBuilder()
public DatabaseTableSpec.DatabaseViewSpecOrBuilder getDatabaseViewSpecOrBuilder()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.DatabaseViewSpecOrBuilder |
|
getDataplexTable()
public DataplexTableSpec getDataplexTable()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataplexTableSpec |
The dataplexTable. |
getDataplexTableBuilder()
public DataplexTableSpec.Builder getDataplexTableBuilder()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataplexTableSpec.Builder |
|
getDataplexTableOrBuilder()
public DataplexTableSpecOrBuilder getDataplexTableOrBuilder()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
DataplexTableSpecOrBuilder |
|
getDefaultInstanceForType()
public DatabaseTableSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getType()
public DatabaseTableSpec.TableType getType()Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.TableType |
The type. |
getTypeValue()
public int getTypeValue()Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
hasDatabaseViewSpec()
public boolean hasDatabaseViewSpec()Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the databaseViewSpec field is set. |
hasDataplexTable()
public boolean hasDataplexTable()Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the dataplexTable field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)
public DatabaseTableSpec.Builder mergeDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseTableSpec.DatabaseViewSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
mergeDataplexTable(DataplexTableSpec value)
public DatabaseTableSpec.Builder mergeDataplexTable(DataplexTableSpec value)Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DataplexTableSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
mergeFrom(DatabaseTableSpec other)
public DatabaseTableSpec.Builder mergeFrom(DatabaseTableSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
DatabaseTableSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DatabaseTableSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DatabaseTableSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)
public DatabaseTableSpec.Builder setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseTableSpec.DatabaseViewSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue)
public DatabaseTableSpec.Builder setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec.Builder builderForValue)Spec what applies to tables that are actually views. Not set for "real" tables.
.google.cloud.datacatalog.v1.DatabaseTableSpec.DatabaseViewSpec database_view_spec = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DatabaseTableSpec.DatabaseViewSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
setDataplexTable(DataplexTableSpec value)
public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec value)Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
DataplexTableSpec |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
setDataplexTable(DataplexTableSpec.Builder builderForValue)
public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec.Builder builderForValue)Output only. Fields specific to a Dataplex table and present only in the Dataplex table entries.
.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DataplexTableSpec.Builder |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
|
setType(DatabaseTableSpec.TableType value)
public DatabaseTableSpec.Builder setType(DatabaseTableSpec.TableType value)Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
DatabaseTableSpec.TableTypeThe type to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
This builder for chaining. |
setTypeValue(int value)
public DatabaseTableSpec.Builder setTypeValue(int value)Type of this table.
.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for type to set. |
| Returns | |
|---|---|
| Type | Description |
DatabaseTableSpec.Builder |
This builder for chaining. |