Class DataplexTableSpec.Builder (1.55.0)

public static final class DataplexTableSpec.Builder extends GeneratedMessageV3.Builder<DataplexTableSpec.Builder> implements DataplexTableSpecOrBuilder

Entry specification for a Dataplex table.

Protobuf type google.cloud.datacatalog.v1.DataplexTableSpec

Static Methods

getDescriptor()

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

Methods

addAllExternalTables(Iterable<? extends DataplexExternalTable> values)

public DataplexTableSpec.Builder addAllExternalTables(Iterable<? extends DataplexExternalTable> values)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.datacatalog.v1.DataplexExternalTable>
Returns
Type Description
DataplexTableSpec.Builder

addExternalTables(DataplexExternalTable value)

public DataplexTableSpec.Builder addExternalTables(DataplexExternalTable value)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
value DataplexExternalTable
Returns
Type Description
DataplexTableSpec.Builder

addExternalTables(DataplexExternalTable.Builder builderForValue)

public DataplexTableSpec.Builder addExternalTables(DataplexExternalTable.Builder builderForValue)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
builderForValue DataplexExternalTable.Builder
Returns
Type Description
DataplexTableSpec.Builder

addExternalTables(int index, DataplexExternalTable value)

public DataplexTableSpec.Builder addExternalTables(int index, DataplexExternalTable value)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameters
Name Description
index int
value DataplexExternalTable
Returns
Type Description
DataplexTableSpec.Builder

addExternalTables(int index, DataplexExternalTable.Builder builderForValue)

public DataplexTableSpec.Builder addExternalTables(int index, DataplexExternalTable.Builder builderForValue)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameters
Name Description
index int
builderForValue DataplexExternalTable.Builder
Returns
Type Description
DataplexTableSpec.Builder

addExternalTablesBuilder()

public DataplexExternalTable.Builder addExternalTablesBuilder()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
DataplexExternalTable.Builder

addExternalTablesBuilder(int index)

public DataplexExternalTable.Builder addExternalTablesBuilder(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexTableSpec build()
Returns
Type Description
DataplexTableSpec

buildPartial()

public DataplexTableSpec buildPartial()
Returns
Type Description
DataplexTableSpec

clear()

public DataplexTableSpec.Builder clear()
Returns
Type Description
DataplexTableSpec.Builder
Overrides

clearDataplexSpec()

public DataplexTableSpec.Builder clearDataplexSpec()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexTableSpec.Builder

clearExternalTables()

public DataplexTableSpec.Builder clearExternalTables()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
DataplexTableSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUserManaged()

public DataplexTableSpec.Builder clearUserManaged()

Indicates if the table schema is managed by the user or not.

bool user_managed = 3;

Returns
Type Description
DataplexTableSpec.Builder

This builder for chaining.

clone()

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

getDataplexSpec()

public DataplexSpec getDataplexSpec()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexSpec

The dataplexSpec.

getDataplexSpecBuilder()

public DataplexSpec.Builder getDataplexSpecBuilder()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexSpec.Builder

getDataplexSpecOrBuilder()

public DataplexSpecOrBuilder getDataplexSpecOrBuilder()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
DataplexSpecOrBuilder

getDefaultInstanceForType()

public DataplexTableSpec getDefaultInstanceForType()
Returns
Type Description
DataplexTableSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExternalTables(int index)

public DataplexExternalTable getExternalTables(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTable

getExternalTablesBuilder(int index)

public DataplexExternalTable.Builder getExternalTablesBuilder(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTable.Builder

getExternalTablesBuilderList()

public List<DataplexExternalTable.Builder> getExternalTablesBuilderList()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
List<Builder>

getExternalTablesCount()

public int getExternalTablesCount()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
int

getExternalTablesList()

public List<DataplexExternalTable> getExternalTablesList()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
List<DataplexExternalTable>

getExternalTablesOrBuilder(int index)

public DataplexExternalTableOrBuilder getExternalTablesOrBuilder(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexExternalTableOrBuilder

getExternalTablesOrBuilderList()

public List<? extends DataplexExternalTableOrBuilder> getExternalTablesOrBuilderList()

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Returns
Type Description
List<? extends com.google.cloud.datacatalog.v1.DataplexExternalTableOrBuilder>

getUserManaged()

public boolean getUserManaged()

Indicates if the table schema is managed by the user or not.

bool user_managed = 3;

Returns
Type Description
boolean

The userManaged.

hasDataplexSpec()

public boolean hasDataplexSpec()

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Returns
Type Description
boolean

Whether the dataplexSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataplexSpec(DataplexSpec value)

public DataplexTableSpec.Builder mergeDataplexSpec(DataplexSpec value)

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Parameter
Name Description
value DataplexSpec
Returns
Type Description
DataplexTableSpec.Builder

mergeFrom(DataplexTableSpec other)

public DataplexTableSpec.Builder mergeFrom(DataplexTableSpec other)
Parameter
Name Description
other DataplexTableSpec
Returns
Type Description
DataplexTableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataplexTableSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataplexTableSpec.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeExternalTables(int index)

public DataplexTableSpec.Builder removeExternalTables(int index)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameter
Name Description
index int
Returns
Type Description
DataplexTableSpec.Builder

setDataplexSpec(DataplexSpec value)

public DataplexTableSpec.Builder setDataplexSpec(DataplexSpec value)

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Parameter
Name Description
value DataplexSpec
Returns
Type Description
DataplexTableSpec.Builder

setDataplexSpec(DataplexSpec.Builder builderForValue)

public DataplexTableSpec.Builder setDataplexSpec(DataplexSpec.Builder builderForValue)

Common Dataplex fields.

.google.cloud.datacatalog.v1.DataplexSpec dataplex_spec = 2;

Parameter
Name Description
builderForValue DataplexSpec.Builder
Returns
Type Description
DataplexTableSpec.Builder

setExternalTables(int index, DataplexExternalTable value)

public DataplexTableSpec.Builder setExternalTables(int index, DataplexExternalTable value)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameters
Name Description
index int
value DataplexExternalTable
Returns
Type Description
DataplexTableSpec.Builder

setExternalTables(int index, DataplexExternalTable.Builder builderForValue)

public DataplexTableSpec.Builder setExternalTables(int index, DataplexExternalTable.Builder builderForValue)

List of external tables registered by Dataplex in other systems based on the same underlying data.

External tables allow to query this data in those systems.

repeated .google.cloud.datacatalog.v1.DataplexExternalTable external_tables = 1;

Parameters
Name Description
index int
builderForValue DataplexExternalTable.Builder
Returns
Type Description
DataplexTableSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setUserManaged(boolean value)

public DataplexTableSpec.Builder setUserManaged(boolean value)

Indicates if the table schema is managed by the user or not.

bool user_managed = 3;

Parameter
Name Description
value boolean

The userManaged to set.

Returns
Type Description
DataplexTableSpec.Builder

This builder for chaining.