Class BigQueryDatasetReference.Builder (0.31.0)

public static final class BigQueryDatasetReference.Builder extends GeneratedMessage.Builder<BigQueryDatasetReference.Builder> implements BigQueryDatasetReferenceOrBuilder

Message representing a reference to a single BigQuery dataset.

Protobuf type google.cloud.geminidataanalytics.v1beta.BigQueryDatasetReference

Static Methods

getDescriptor()

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

Methods

build()

public BigQueryDatasetReference build()
Returns
Type Description
BigQueryDatasetReference

buildPartial()

public BigQueryDatasetReference buildPartial()
Returns
Type Description
BigQueryDatasetReference

clear()

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

clearDatasetId()

public BigQueryDatasetReference.Builder clearDatasetId()

Required. The dataset ID.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.

clearProjectId()

public BigQueryDatasetReference.Builder clearProjectId()

Required. The project ID that the dataset belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.

getDatasetId()

public String getDatasetId()

Required. The dataset ID.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Required. The dataset ID.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryDatasetReference getDefaultInstanceForType()
Returns
Type Description
BigQueryDatasetReference

getDescriptorForType()

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

getProjectId()

public String getProjectId()

Required. The project ID that the dataset belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The projectId.

getProjectIdBytes()

public ByteString getProjectIdBytes()

Required. The project ID that the dataset belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for projectId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQueryDatasetReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setDatasetId(String value)

public BigQueryDatasetReference.Builder setDatasetId(String value)

Required. The dataset ID.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public BigQueryDatasetReference.Builder setDatasetIdBytes(ByteString value)

Required. The dataset ID.

string dataset_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.

setProjectId(String value)

public BigQueryDatasetReference.Builder setProjectId(String value)

Required. The project ID that the dataset belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The projectId to set.

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.

setProjectIdBytes(ByteString value)

public BigQueryDatasetReference.Builder setProjectIdBytes(ByteString value)

Required. The project ID that the dataset belongs to.

string project_id = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for projectId to set.

Returns
Type Description
BigQueryDatasetReference.Builder

This builder for chaining.