Class DataplexExternalTable.Builder (1.59.0)

public static final class DataplexExternalTable.Builder extends GeneratedMessageV3.Builder<DataplexExternalTable.Builder> implements DataplexExternalTableOrBuilder

External table registered by Dataplex. Dataplex publishes data discovered from an asset into multiple other systems (BigQuery, DPMS) in form of tables. We call them "external tables". External tables are also synced into the Data Catalog. This message contains pointers to those external tables (fully qualified name, resource name et cetera) within the Data Catalog.

Protobuf type google.cloud.datacatalog.v1.DataplexExternalTable

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexExternalTable build()
Returns
Type Description
DataplexExternalTable

buildPartial()

public DataplexExternalTable buildPartial()
Returns
Type Description
DataplexExternalTable

clear()

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

clearDataCatalogEntry()

public DataplexExternalTable.Builder clearDataCatalogEntry()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullyQualifiedName()

public DataplexExternalTable.Builder clearFullyQualifiedName()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

clearGoogleCloudResource()

public DataplexExternalTable.Builder clearGoogleCloudResource()

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystem()

public DataplexExternalTable.Builder clearSystem()

Service in which the external table is registered.

.google.cloud.datacatalog.v1.IntegratedSystem system = 1;

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

clone()

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

getDataCatalogEntry()

public String getDataCatalogEntry()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
Type Description
String

The dataCatalogEntry.

getDataCatalogEntryBytes()

public ByteString getDataCatalogEntryBytes()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
Type Description
ByteString

The bytes for dataCatalogEntry.

getDefaultInstanceForType()

public DataplexExternalTable getDefaultInstanceForType()
Returns
Type Description
DataplexExternalTable

getDescriptorForType()

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

getFullyQualifiedName()

public String getFullyQualifiedName()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Returns
Type Description
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Returns
Type Description
ByteString

The bytes for fullyQualifiedName.

getGoogleCloudResource()

public String getGoogleCloudResource()

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Returns
Type Description
String

The googleCloudResource.

getGoogleCloudResourceBytes()

public ByteString getGoogleCloudResourceBytes()

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Returns
Type Description
ByteString

The bytes for googleCloudResource.

getSystem()

public IntegratedSystem getSystem()

Service in which the external table is registered.

.google.cloud.datacatalog.v1.IntegratedSystem system = 1;

Returns
Type Description
IntegratedSystem

The system.

getSystemValue()

public int getSystemValue()

Service in which the external table is registered.

.google.cloud.datacatalog.v1.IntegratedSystem system = 1;

Returns
Type Description
int

The enum numeric value on the wire for system.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataplexExternalTable other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataCatalogEntry(String value)

public DataplexExternalTable.Builder setDataCatalogEntry(String value)

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Parameter
Name Description
value String

The dataCatalogEntry to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setDataCatalogEntryBytes(ByteString value)

public DataplexExternalTable.Builder setDataCatalogEntryBytes(ByteString value)

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Parameter
Name Description
value ByteString

The bytes for dataCatalogEntry to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFullyQualifiedName(String value)

public DataplexExternalTable.Builder setFullyQualifiedName(String value)

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Parameter
Name Description
value String

The fullyQualifiedName to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setFullyQualifiedNameBytes(ByteString value)

public DataplexExternalTable.Builder setFullyQualifiedNameBytes(ByteString value)

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Parameter
Name Description
value ByteString

The bytes for fullyQualifiedName to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setGoogleCloudResource(String value)

public DataplexExternalTable.Builder setGoogleCloudResource(String value)

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Parameter
Name Description
value String

The googleCloudResource to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setGoogleCloudResourceBytes(ByteString value)

public DataplexExternalTable.Builder setGoogleCloudResourceBytes(ByteString value)

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Parameter
Name Description
value ByteString

The bytes for googleCloudResource to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

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

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

setSystem(IntegratedSystem value)

public DataplexExternalTable.Builder setSystem(IntegratedSystem value)

Service in which the external table is registered.

.google.cloud.datacatalog.v1.IntegratedSystem system = 1;

Parameter
Name Description
value IntegratedSystem

The system to set.

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setSystemValue(int value)

public DataplexExternalTable.Builder setSystemValue(int value)

Service in which the external table is registered.

.google.cloud.datacatalog.v1.IntegratedSystem system = 1;

Parameter
Name Description
value int

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

Returns
Type Description
DataplexExternalTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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