Class DatabaseTableSpec.Builder (1.9.3)

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

clearDataplexTable()

public DatabaseTableSpec.Builder clearDataplexTable()

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

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

getDataplexTable()

public DataplexTableSpec getDataplexTable()

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

Returns
TypeDescription
DataplexTableSpec

The dataplexTable.

getDataplexTableBuilder()

public DataplexTableSpec.Builder getDataplexTableBuilder()

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

Returns
TypeDescription
DataplexTableSpec.Builder

getDataplexTableOrBuilder()

public DataplexTableSpecOrBuilder getDataplexTableOrBuilder()

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

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.

hasDataplexTable()

public boolean hasDataplexTable()

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

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

mergeDataplexTable(DataplexTableSpec value)

public DatabaseTableSpec.Builder mergeDataplexTable(DataplexTableSpec value)

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

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

setDataplexTable(DataplexTableSpec value)

public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec value)

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

Parameter
NameDescription
valueDataplexTableSpec
Returns
TypeDescription
DatabaseTableSpec.Builder

setDataplexTable(DataplexTableSpec.Builder builderForValue)

public DatabaseTableSpec.Builder setDataplexTable(DataplexTableSpec.Builder builderForValue)

Fields specific to a Dataplex table and present only in the Dataplex table entries.

.google.cloud.datacatalog.v1.DataplexTableSpec dataplex_table = 2;

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