Class BigQueryDataset.Builder (3.24.0)

public static final class BigQueryDataset.Builder extends GeneratedMessage.Builder<BigQueryDataset.Builder> implements BigQueryDatasetOrBuilder

Describes a BigQuery dataset that was created by a link.

Protobuf type google.logging.v2.BigQueryDataset

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryDataset build()
Returns
Type Description
BigQueryDataset

buildPartial()

public BigQueryDataset buildPartial()
Returns
Type Description
BigQueryDataset

clear()

public BigQueryDataset.Builder clear()
Returns
Type Description
BigQueryDataset.Builder
Overrides

clearDatasetId()

public BigQueryDataset.Builder clearDatasetId()

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).

The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"

string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BigQueryDataset.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).

The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"

string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).

The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"

string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryDataset getDefaultInstanceForType()
Returns
Type Description
BigQueryDataset

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryDataset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetId(String value)

public BigQueryDataset.Builder setDatasetId(String value)

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).

The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"

string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
BigQueryDataset.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public BigQueryDataset.Builder setDatasetIdBytes(ByteString value)

Output only. The full resource name of the BigQuery dataset. The DATASET_ID will match the ID of the link, so the link must match the naming restrictions of BigQuery datasets (alphanumeric characters and underscores only).

The dataset will have a resource path of "bigquery.googleapis.com/projects/[PROJECT_ID]/datasets/[DATASET_ID]"

string dataset_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
BigQueryDataset.Builder

This builder for chaining.