Class BigQueryDestinationConfig.SingleTargetDataset.Builder (1.30.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDestinationConfig.SingleTargetDataset build()
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset

buildPartial()

public BigQueryDestinationConfig.SingleTargetDataset buildPartial()
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset

clear()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clear()
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

clearDatasetId()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clearDatasetId()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public BigQueryDestinationConfig.SingleTargetDataset.Builder clone()
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

getDatasetId()

public String getDatasetId()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
TypeDescription
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

The dataset ID of the target dataset.

string dataset_id = 1;

Returns
TypeDescription
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public BigQueryDestinationConfig.SingleTargetDataset getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset

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

public BigQueryDestinationConfig.SingleTargetDataset.Builder mergeFrom(BigQueryDestinationConfig.SingleTargetDataset other)
Parameter
NameDescription
otherBigQueryDestinationConfig.SingleTargetDataset
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The datasetId to set.

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

The bytes for datasetId to set.

Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public BigQueryDestinationConfig.SingleTargetDataset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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