Class DataplexExternalTable.Builder (1.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataplexExternalTable build()
Returns
TypeDescription
DataplexExternalTable

buildPartial()

public DataplexExternalTable buildPartial()
Returns
TypeDescription
DataplexExternalTable

clear()

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

clearDataCatalogEntry()

public DataplexExternalTable.Builder clearDataCatalogEntry()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
TypeDescription
DataplexExternalTable.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFullyQualifiedName()

public DataplexExternalTable.Builder clearFullyQualifiedName()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSystem()

public DataplexExternalTable.Builder clearSystem()

Service in which the external table is registered.

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

Returns
TypeDescription
DataplexExternalTable.Builder

This builder for chaining.

clone()

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

getDataCatalogEntry()

public String getDataCatalogEntry()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
TypeDescription
String

The dataCatalogEntry.

getDataCatalogEntryBytes()

public ByteString getDataCatalogEntryBytes()

Name of the Data Catalog entry representing the external table.

string data_catalog_entry = 4;

Returns
TypeDescription
ByteString

The bytes for dataCatalogEntry.

getDefaultInstanceForType()

public DataplexExternalTable getDefaultInstanceForType()
Returns
TypeDescription
DataplexExternalTable

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFullyQualifiedName()

public String getFullyQualifiedName()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Returns
TypeDescription
String

The fullyQualifiedName.

getFullyQualifiedNameBytes()

public ByteString getFullyQualifiedNameBytes()

Fully qualified name (FQN) of the external table.

string fully_qualified_name = 28;

Returns
TypeDescription
ByteString

The bytes for fullyQualifiedName.

getGoogleCloudResource()

public String getGoogleCloudResource()

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

Returns
TypeDescription
String

The googleCloudResource.

getGoogleCloudResourceBytes()

public ByteString getGoogleCloudResourceBytes()

Google Cloud resource name of the external table.

string google_cloud_resource = 3;

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

The system.

getSystemValue()

public int getSystemValue()

Service in which the external table is registered.

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

Returns
TypeDescription
int

The enum numeric value on the wire for system.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DataplexExternalTable other)

public DataplexExternalTable.Builder mergeFrom(DataplexExternalTable other)
Parameter
NameDescription
otherDataplexExternalTable
Returns
TypeDescription
DataplexExternalTable.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The dataCatalogEntry to set.

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

The bytes for dataCatalogEntry to set.

Returns
TypeDescription
DataplexExternalTable.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DataplexExternalTable.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fullyQualifiedName to set.

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

The bytes for fullyQualifiedName to set.

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

The googleCloudResource to set.

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

The bytes for googleCloudResource to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueIntegratedSystem

The system to set.

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

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

Returns
TypeDescription
DataplexExternalTable.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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