Class DatabaseTableSpec.Builder (1.50.0)

public static final class DatabaseTableSpec.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseTableSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

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
Overrides

clearDatabaseViewSpec()

public DatabaseTableSpec.Builder clearDatabaseViewSpec()

Spec what aplies 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

clearField(Descriptors.FieldDescriptor field)

public DatabaseTableSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

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.

clone()

public DatabaseTableSpec.Builder clone()
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

getDatabaseViewSpec()

public DatabaseTableSpec.DatabaseViewSpec getDatabaseViewSpec()

Spec what aplies 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 aplies 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 aplies 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
Overrides

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 aplies 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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)

public DatabaseTableSpec.Builder mergeDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)

Spec what aplies 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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatabaseTableSpec.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)

public DatabaseTableSpec.Builder setDatabaseViewSpec(DatabaseTableSpec.DatabaseViewSpec value)

Spec what aplies 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 aplies 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

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseTableSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

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

public DatabaseTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatabaseTableSpec.Builder
Overrides

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.TableType

The 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 int

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

Returns
Type Description
DatabaseTableSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseTableSpec.Builder
Overrides