Class BigQueryDestinationConfig.Builder (1.46.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

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

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

clone()

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

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

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

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.

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

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

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

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

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