Class Listing.BigQueryDatasetSource.SelectedResource.Builder (0.43.0)

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

Resource in this dataset that are selectively shared.

Protobuf type google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.SelectedResource

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.BigQueryDatasetSource.SelectedResource.Builder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Listing.BigQueryDatasetSource.SelectedResource build()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource

buildPartial()

public Listing.BigQueryDatasetSource.SelectedResource buildPartial()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource

clear()

public Listing.BigQueryDatasetSource.SelectedResource.Builder clear()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Listing.BigQueryDatasetSource.SelectedResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Listing.BigQueryDatasetSource.SelectedResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

clearResource()

public Listing.BigQueryDatasetSource.SelectedResource.Builder clearResource()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder

clearTable()

public Listing.BigQueryDatasetSource.SelectedResource.Builder clearTable()

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder

This builder for chaining.

clone()

public Listing.BigQueryDatasetSource.SelectedResource.Builder clone()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

getDefaultInstanceForType()

public Listing.BigQueryDatasetSource.SelectedResource getDefaultInstanceForType()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource

getDescriptorForType()

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

getResourceCase()

public Listing.BigQueryDatasetSource.SelectedResource.ResourceCase getResourceCase()
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.ResourceCase

getTable()

public String getTable()

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The table.

getTableBytes()

public ByteString getTableBytes()

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for table.

hasTable()

public boolean hasTable()

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the table field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Listing.BigQueryDatasetSource.SelectedResource other)

public Listing.BigQueryDatasetSource.SelectedResource.Builder mergeFrom(Listing.BigQueryDatasetSource.SelectedResource other)
Parameter
Name Description
other Listing.BigQueryDatasetSource.SelectedResource
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Listing.BigQueryDatasetSource.SelectedResource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Listing.BigQueryDatasetSource.SelectedResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTable(String value)

public Listing.BigQueryDatasetSource.SelectedResource.Builder setTable(String value)

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The table to set.

Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder

This builder for chaining.

setTableBytes(ByteString value)

public Listing.BigQueryDatasetSource.SelectedResource.Builder setTableBytes(ByteString value)

Optional. Format: For table: projects/{projectId}/datasets/{datasetId}/tables/{tableId} Example:"projects/test_project/datasets/test_dataset/tables/test_table"

string table = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for table to set.

Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Listing.BigQueryDatasetSource.SelectedResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Listing.BigQueryDatasetSource.SelectedResource.Builder
Overrides