Class BigQueryDataset.Builder (3.17.2)

public static final class BigQueryDataset.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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