Class DatabaseTableSpec.Builder (1.45.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatabaseTableSpec build()
Returns
TypeDescription
DatabaseTableSpec

buildPartial()

public DatabaseTableSpec buildPartial()
Returns
TypeDescription
DatabaseTableSpec

clear()

public DatabaseTableSpec.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DatabaseTableSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearType()

public DatabaseTableSpec.Builder clearType()

Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
DatabaseTableSpec.Builder

This builder for chaining.

clone()

public DatabaseTableSpec.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataplexTableSpecOrBuilder

getDefaultInstanceForType()

public DatabaseTableSpec getDefaultInstanceForType()
Returns
TypeDescription
DatabaseTableSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getType()

public DatabaseTableSpec.TableType getType()

Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
DatabaseTableSpec.TableType

The type.

getTypeValue()

public int getTypeValue()

Type of this table.

.google.cloud.datacatalog.v1.DatabaseTableSpec.TableType type = 1;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the dataplexTable field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDatabaseTableSpec.DatabaseViewSpec
Returns
TypeDescription
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
NameDescription
valueDataplexTableSpec
Returns
TypeDescription
DatabaseTableSpec.Builder

mergeFrom(DatabaseTableSpec other)

public DatabaseTableSpec.Builder mergeFrom(DatabaseTableSpec other)
Parameter
NameDescription
otherDatabaseTableSpec
Returns
TypeDescription
DatabaseTableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDatabaseTableSpec.DatabaseViewSpec
Returns
TypeDescription
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
NameDescription
builderForValueDatabaseTableSpec.DatabaseViewSpec.Builder
Returns
TypeDescription
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
NameDescription
valueDataplexTableSpec
Returns
TypeDescription
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
NameDescription
builderForValueDataplexTableSpec.Builder
Returns
TypeDescription
DatabaseTableSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DatabaseTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueDatabaseTableSpec.TableType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
DatabaseTableSpec.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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