Class DataplexTableSpec.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.datacatalog.v1.DataplexExternalTable>
Returns
TypeDescription
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
NameDescription
valueDataplexExternalTable
Returns
TypeDescription
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
NameDescription
builderForValueDataplexExternalTable.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataplexExternalTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataplexExternalTable.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataplexExternalTable.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexTableSpec build()
Returns
TypeDescription
DataplexTableSpec

buildPartial()

public DataplexTableSpec buildPartial()
Returns
TypeDescription
DataplexTableSpec

clear()

public DataplexTableSpec.Builder clear()
Returns
TypeDescription
DataplexTableSpec.Builder
Overrides

clearDataplexSpec()

public DataplexTableSpec.Builder clearDataplexSpec()

Common Dataplex fields.

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

Returns
TypeDescription
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
TypeDescription
DataplexTableSpec.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DataplexTableSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DataplexTableSpec.Builder

This builder for chaining.

clone()

public DataplexTableSpec.Builder clone()
Returns
TypeDescription
DataplexTableSpec.Builder
Overrides

getDataplexSpec()

public DataplexSpec getDataplexSpec()

Common Dataplex fields.

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

Returns
TypeDescription
DataplexSpec

The dataplexSpec.

getDataplexSpecBuilder()

public DataplexSpec.Builder getDataplexSpecBuilder()

Common Dataplex fields.

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

Returns
TypeDescription
DataplexSpec.Builder

getDataplexSpecOrBuilder()

public DataplexSpecOrBuilder getDataplexSpecOrBuilder()

Common Dataplex fields.

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

Returns
TypeDescription
DataplexSpecOrBuilder

getDefaultInstanceForType()

public DataplexTableSpec getDefaultInstanceForType()
Returns
TypeDescription
DataplexTableSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The userManaged.

hasDataplexSpec()

public boolean hasDataplexSpec()

Common Dataplex fields.

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

Returns
TypeDescription
boolean

Whether the dataplexSpec field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeDataplexSpec(DataplexSpec value)

public DataplexTableSpec.Builder mergeDataplexSpec(DataplexSpec value)

Common Dataplex fields.

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

Parameter
NameDescription
valueDataplexSpec
Returns
TypeDescription
DataplexTableSpec.Builder

mergeFrom(DataplexTableSpec other)

public DataplexTableSpec.Builder mergeFrom(DataplexTableSpec other)
Parameter
NameDescription
otherDataplexTableSpec
Returns
TypeDescription
DataplexTableSpec.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataplexTableSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
DataplexTableSpec.Builder

setDataplexSpec(DataplexSpec value)

public DataplexTableSpec.Builder setDataplexSpec(DataplexSpec value)

Common Dataplex fields.

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

Parameter
NameDescription
valueDataplexSpec
Returns
TypeDescription
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
NameDescription
builderForValueDataplexSpec.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueDataplexExternalTable
Returns
TypeDescription
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
NameDescription
indexint
builderForValueDataplexExternalTable.Builder
Returns
TypeDescription
DataplexTableSpec.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DataplexTableSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataplexTableSpec.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataplexTableSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The userManaged to set.

Returns
TypeDescription
DataplexTableSpec.Builder

This builder for chaining.