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.analyticshub.v1.Listing.BigQueryDatasetSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Listing.BigQueryDatasetSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public Listing.BigQueryDatasetSource build()
Returns
buildPartial()
public Listing.BigQueryDatasetSource buildPartial()
Returns
clear()
public Listing.BigQueryDatasetSource.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public Listing.BigQueryDatasetSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing.BigQueryDatasetSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Listing.BigQueryDatasetSource.Builder clone()
Returns
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
Type | Description |
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
getDefaultInstanceForType()
public Listing.BigQueryDatasetSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(Listing.BigQueryDatasetSource other)
public Listing.BigQueryDatasetSource.Builder mergeFrom(Listing.BigQueryDatasetSource other)
Parameter
Returns
public Listing.BigQueryDatasetSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Listing.BigQueryDatasetSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing.BigQueryDatasetSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Name | Description |
value | String
The dataset to set.
|
Returns
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
Name | Description |
value | ByteString
The bytes for dataset to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Listing.BigQueryDatasetSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing.BigQueryDatasetSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing.BigQueryDatasetSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides