Class Listing.BigQueryDatasetSource.Builder (1.0.0)

public static final class Listing.BigQueryDatasetSource.Builder extends GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Builder> implements Listing.BigQueryDatasetSourceOrBuilder

A reference to a shared dataset. It is an existing BigQuery dataset with a collection of objects such as tables and views that you want to share with subscribers. When subscriber's subscribe to a listing, Analytics Hub creates a linked dataset in the subscriber's project. A Linked dataset is an opaque, read-only BigQuery dataset that serves as a symbolic link to a shared dataset.

Protobuf type google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Listing.BigQueryDatasetSource build()
Returns
TypeDescription
Listing.BigQueryDatasetSource

buildPartial()

public Listing.BigQueryDatasetSource buildPartial()
Returns
TypeDescription
Listing.BigQueryDatasetSource

clear()

public Listing.BigQueryDatasetSource.Builder clear()
Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder
Overrides

clearDataset()

public Listing.BigQueryDatasetSource.Builder clearDataset()

Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public Listing.BigQueryDatasetSource.Builder clone()
Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder
Overrides

getDataset()

public String getDataset()

Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The dataset.

getDatasetBytes()

public ByteString getDatasetBytes()

Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123

string dataset = 1 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for dataset.

getDefaultInstanceForType()

public Listing.BigQueryDatasetSource getDefaultInstanceForType()
Returns
TypeDescription
Listing.BigQueryDatasetSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Listing.BigQueryDatasetSource other)

public Listing.BigQueryDatasetSource.Builder mergeFrom(Listing.BigQueryDatasetSource other)
Parameter
NameDescription
otherListing.BigQueryDatasetSource
Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.BigQueryDatasetSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder
Overrides

setDataset(String value)

public Listing.BigQueryDatasetSource.Builder setDataset(String value)

Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The dataset to set.

Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder

This builder for chaining.

setDatasetBytes(ByteString value)

public Listing.BigQueryDatasetSource.Builder setDatasetBytes(ByteString value)

Resource name of the dataset source for this listing. e.g. projects/myproject/datasets/123

string dataset = 1 [(.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for dataset to set.

Returns
TypeDescription
Listing.BigQueryDatasetSource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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