Class BigQueryDestinationConfig.Builder (1.54.0)

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

BigQuery destination configuration

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDestinationConfig build()
Returns
Type Description
BigQueryDestinationConfig

buildPartial()

public BigQueryDestinationConfig buildPartial()
Returns
Type Description
BigQueryDestinationConfig

clear()

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

clearAppendOnly()

public BigQueryDestinationConfig.Builder clearAppendOnly()

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Returns
Type Description
BigQueryDestinationConfig.Builder

clearDataFreshness()

public BigQueryDestinationConfig.Builder clearDataFreshness()

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Returns
Type Description
BigQueryDestinationConfig.Builder

clearDatasetConfig()

public BigQueryDestinationConfig.Builder clearDatasetConfig()
Returns
Type Description
BigQueryDestinationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearMerge()

public BigQueryDestinationConfig.Builder clearMerge()

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Returns
Type Description
BigQueryDestinationConfig.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSingleTargetDataset()

public BigQueryDestinationConfig.Builder clearSingleTargetDataset()

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Returns
Type Description
BigQueryDestinationConfig.Builder

clearSourceHierarchyDatasets()

public BigQueryDestinationConfig.Builder clearSourceHierarchyDatasets()

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Returns
Type Description
BigQueryDestinationConfig.Builder

clearWriteMode()

public BigQueryDestinationConfig.Builder clearWriteMode()
Returns
Type Description
BigQueryDestinationConfig.Builder

clone()

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

getAppendOnly()

public BigQueryDestinationConfig.AppendOnly getAppendOnly()

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Returns
Type Description
BigQueryDestinationConfig.AppendOnly

The appendOnly.

getAppendOnlyBuilder()

public BigQueryDestinationConfig.AppendOnly.Builder getAppendOnlyBuilder()

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Returns
Type Description
BigQueryDestinationConfig.AppendOnly.Builder

getAppendOnlyOrBuilder()

public BigQueryDestinationConfig.AppendOnlyOrBuilder getAppendOnlyOrBuilder()

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Returns
Type Description
BigQueryDestinationConfig.AppendOnlyOrBuilder

getDataFreshness()

public Duration getDataFreshness()

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Returns
Type Description
Duration

The dataFreshness.

getDataFreshnessBuilder()

public Duration.Builder getDataFreshnessBuilder()

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Returns
Type Description
Builder

getDataFreshnessOrBuilder()

public DurationOrBuilder getDataFreshnessOrBuilder()

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Returns
Type Description
DurationOrBuilder

getDatasetConfigCase()

public BigQueryDestinationConfig.DatasetConfigCase getDatasetConfigCase()
Returns
Type Description
BigQueryDestinationConfig.DatasetConfigCase

getDefaultInstanceForType()

public BigQueryDestinationConfig getDefaultInstanceForType()
Returns
Type Description
BigQueryDestinationConfig

getDescriptorForType()

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

getMerge()

public BigQueryDestinationConfig.Merge getMerge()

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Returns
Type Description
BigQueryDestinationConfig.Merge

The merge.

getMergeBuilder()

public BigQueryDestinationConfig.Merge.Builder getMergeBuilder()

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Returns
Type Description
BigQueryDestinationConfig.Merge.Builder

getMergeOrBuilder()

public BigQueryDestinationConfig.MergeOrBuilder getMergeOrBuilder()

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Returns
Type Description
BigQueryDestinationConfig.MergeOrBuilder

getSingleTargetDataset()

public BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset()

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset

The singleTargetDataset.

getSingleTargetDatasetBuilder()

public BigQueryDestinationConfig.SingleTargetDataset.Builder getSingleTargetDatasetBuilder()

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDataset.Builder

getSingleTargetDatasetOrBuilder()

public BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder()

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Returns
Type Description
BigQueryDestinationConfig.SingleTargetDatasetOrBuilder

getSourceHierarchyDatasets()

public BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets()

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Returns
Type Description
BigQueryDestinationConfig.SourceHierarchyDatasets

The sourceHierarchyDatasets.

getSourceHierarchyDatasetsBuilder()

public BigQueryDestinationConfig.SourceHierarchyDatasets.Builder getSourceHierarchyDatasetsBuilder()

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Returns
Type Description
BigQueryDestinationConfig.SourceHierarchyDatasets.Builder

getSourceHierarchyDatasetsOrBuilder()

public BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder()

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Returns
Type Description
BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder

getWriteModeCase()

public BigQueryDestinationConfig.WriteModeCase getWriteModeCase()
Returns
Type Description
BigQueryDestinationConfig.WriteModeCase

hasAppendOnly()

public boolean hasAppendOnly()

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Returns
Type Description
boolean

Whether the appendOnly field is set.

hasDataFreshness()

public boolean hasDataFreshness()

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Returns
Type Description
boolean

Whether the dataFreshness field is set.

hasMerge()

public boolean hasMerge()

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Returns
Type Description
boolean

Whether the merge field is set.

hasSingleTargetDataset()

public boolean hasSingleTargetDataset()

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Returns
Type Description
boolean

Whether the singleTargetDataset field is set.

hasSourceHierarchyDatasets()

public boolean hasSourceHierarchyDatasets()

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Returns
Type Description
boolean

Whether the sourceHierarchyDatasets field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAppendOnly(BigQueryDestinationConfig.AppendOnly value)

public BigQueryDestinationConfig.Builder mergeAppendOnly(BigQueryDestinationConfig.AppendOnly value)

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Parameter
Name Description
value BigQueryDestinationConfig.AppendOnly
Returns
Type Description
BigQueryDestinationConfig.Builder

mergeDataFreshness(Duration value)

public BigQueryDestinationConfig.Builder mergeDataFreshness(Duration value)

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Parameter
Name Description
value Duration
Returns
Type Description
BigQueryDestinationConfig.Builder

mergeFrom(BigQueryDestinationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMerge(BigQueryDestinationConfig.Merge value)

public BigQueryDestinationConfig.Builder mergeMerge(BigQueryDestinationConfig.Merge value)

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Parameter
Name Description
value BigQueryDestinationConfig.Merge
Returns
Type Description
BigQueryDestinationConfig.Builder

mergeSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)

public BigQueryDestinationConfig.Builder mergeSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Parameter
Name Description
value BigQueryDestinationConfig.SingleTargetDataset
Returns
Type Description
BigQueryDestinationConfig.Builder

mergeSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)

public BigQueryDestinationConfig.Builder mergeSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Parameter
Name Description
value BigQueryDestinationConfig.SourceHierarchyDatasets
Returns
Type Description
BigQueryDestinationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppendOnly(BigQueryDestinationConfig.AppendOnly value)

public BigQueryDestinationConfig.Builder setAppendOnly(BigQueryDestinationConfig.AppendOnly value)

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Parameter
Name Description
value BigQueryDestinationConfig.AppendOnly
Returns
Type Description
BigQueryDestinationConfig.Builder

setAppendOnly(BigQueryDestinationConfig.AppendOnly.Builder builderForValue)

public BigQueryDestinationConfig.Builder setAppendOnly(BigQueryDestinationConfig.AppendOnly.Builder builderForValue)

Append only mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.AppendOnly append_only = 302;

Parameter
Name Description
builderForValue BigQueryDestinationConfig.AppendOnly.Builder
Returns
Type Description
BigQueryDestinationConfig.Builder

setDataFreshness(Duration value)

public BigQueryDestinationConfig.Builder setDataFreshness(Duration value)

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Parameter
Name Description
value Duration
Returns
Type Description
BigQueryDestinationConfig.Builder

setDataFreshness(Duration.Builder builderForValue)

public BigQueryDestinationConfig.Builder setDataFreshness(Duration.Builder builderForValue)

The guaranteed data freshness (in seconds) when querying tables created by the stream. Editing this field will only affect new tables created in the future, but existing tables will not be impacted. Lower values mean that queries will return fresher data, but may result in higher cost.

.google.protobuf.Duration data_freshness = 300;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
BigQueryDestinationConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMerge(BigQueryDestinationConfig.Merge value)

public BigQueryDestinationConfig.Builder setMerge(BigQueryDestinationConfig.Merge value)

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Parameter
Name Description
value BigQueryDestinationConfig.Merge
Returns
Type Description
BigQueryDestinationConfig.Builder

setMerge(BigQueryDestinationConfig.Merge.Builder builderForValue)

public BigQueryDestinationConfig.Builder setMerge(BigQueryDestinationConfig.Merge.Builder builderForValue)

The standard mode

.google.cloud.datastream.v1.BigQueryDestinationConfig.Merge merge = 301;

Parameter
Name Description
builderForValue BigQueryDestinationConfig.Merge.Builder
Returns
Type Description
BigQueryDestinationConfig.Builder

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

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

setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)

public BigQueryDestinationConfig.Builder setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Parameter
Name Description
value BigQueryDestinationConfig.SingleTargetDataset
Returns
Type Description
BigQueryDestinationConfig.Builder

setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset.Builder builderForValue)

public BigQueryDestinationConfig.Builder setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset.Builder builderForValue)

Single destination dataset.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;

Parameter
Name Description
builderForValue BigQueryDestinationConfig.SingleTargetDataset.Builder
Returns
Type Description
BigQueryDestinationConfig.Builder

setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)

public BigQueryDestinationConfig.Builder setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Parameter
Name Description
value BigQueryDestinationConfig.SourceHierarchyDatasets
Returns
Type Description
BigQueryDestinationConfig.Builder

setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets.Builder builderForValue)

public BigQueryDestinationConfig.Builder setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets.Builder builderForValue)

Source hierarchy datasets.

.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;

Parameter
Name Description
builderForValue BigQueryDestinationConfig.SourceHierarchyDatasets.Builder
Returns
Type Description
BigQueryDestinationConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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