Class BigQueryDataset.Builder (3.15.17)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDataset build()
Returns
TypeDescription
BigQueryDataset

buildPartial()

public BigQueryDataset buildPartial()
Returns
TypeDescription
BigQueryDataset

clear()

public BigQueryDataset.Builder clear()
Returns
TypeDescription
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
TypeDescription
BigQueryDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BigQueryDataset.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryDataset getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDataset

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(BigQueryDataset other)

public BigQueryDataset.Builder mergeFrom(BigQueryDataset other)
Parameter
NameDescription
otherBigQueryDataset
Returns
TypeDescription
BigQueryDataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The datasetId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for datasetId to set.

Returns
TypeDescription
BigQueryDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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