Class DataDiscoverySpec.BigQueryPublishingConfig.Builder (1.52.0)

public static final class DataDiscoverySpec.BigQueryPublishingConfig.Builder extends GeneratedMessageV3.Builder<DataDiscoverySpec.BigQueryPublishingConfig.Builder> implements DataDiscoverySpec.BigQueryPublishingConfigOrBuilder

Describes BigQuery publishing configurations.

Protobuf type google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DataDiscoverySpec.BigQueryPublishingConfig build()
Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig

buildPartial()

public DataDiscoverySpec.BigQueryPublishingConfig buildPartial()
Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig

clear()

public DataDiscoverySpec.BigQueryPublishingConfig.Builder clear()
Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder
Overrides

clearConnection()

public DataDiscoverySpec.BigQueryPublishingConfig.Builder clearConnection()

Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}

string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableType()

public DataDiscoverySpec.BigQueryPublishingConfig.Builder clearTableType()

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

clone()

public DataDiscoverySpec.BigQueryPublishingConfig.Builder clone()
Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder
Overrides

getConnection()

public String getConnection()

Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}

string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The connection.

getConnectionBytes()

public ByteString getConnectionBytes()

Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}

string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for connection.

getDefaultInstanceForType()

public DataDiscoverySpec.BigQueryPublishingConfig getDefaultInstanceForType()
Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig

getDescriptorForType()

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

getTableType()

public DataDiscoverySpec.BigQueryPublishingConfig.TableType getTableType()

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.TableType

The tableType.

getTableTypeValue()

public int getTableTypeValue()

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for tableType.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DataDiscoverySpec.BigQueryPublishingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConnection(String value)

public DataDiscoverySpec.BigQueryPublishingConfig.Builder setConnection(String value)

Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}

string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The connection to set.

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

setConnectionBytes(ByteString value)

public DataDiscoverySpec.BigQueryPublishingConfig.Builder setConnectionBytes(ByteString value)

Optional. The BigQuery connection used to create BigLake tables. Must be in the form projects/{project_id}/locations/{location_id}/connections/{connection_id}

string connection = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for connection to set.

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTableType(DataDiscoverySpec.BigQueryPublishingConfig.TableType value)

public DataDiscoverySpec.BigQueryPublishingConfig.Builder setTableType(DataDiscoverySpec.BigQueryPublishingConfig.TableType value)

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataDiscoverySpec.BigQueryPublishingConfig.TableType

The tableType to set.

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

setTableTypeValue(int value)

public DataDiscoverySpec.BigQueryPublishingConfig.Builder setTableTypeValue(int value)

Optional. Determines whether to publish discovered tables as BigLake external tables or non-BigLake external tables.

.google.cloud.dataplex.v1.DataDiscoverySpec.BigQueryPublishingConfig.TableType table_type = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
DataDiscoverySpec.BigQueryPublishingConfig.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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