Class BigQueryDestinationConfig.SingleTargetDataset.Builder (1.45.0)

public static final class BigQueryDestinationConfig.SingleTargetDataset.Builder extends GeneratedMessageV3.Builder<BigQueryDestinationConfig.SingleTargetDataset.Builder> implements BigQueryDestinationConfig.SingleTargetDatasetOrBuilder

A single target dataset to which all data will be streamed.

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDestinationConfig.SingleTargetDataset build()
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset

buildPartial()

public BigQueryDestinationConfig.SingleTargetDataset buildPartial()
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset

clear()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clear()
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

clearDatasetId()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clearDatasetId()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clone()
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

getDatasetId()

public String getDatasetId()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryDestinationConfig.SingleTargetDataset getDefaultInstanceForType()
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset

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(BigQueryDestinationConfig.SingleTargetDataset other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryDestinationConfig.SingleTargetDataset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

setDatasetId(String value)

public BigQueryDestinationConfig.SingleTargetDataset.Builder setDatasetId(String value)

The dataset ID of the target dataset.

string dataset_id = 1;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public BigQueryDestinationConfig.SingleTargetDataset.Builder setDatasetIdBytes(ByteString value)

The dataset ID of the target dataset.

string dataset_id = 1;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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