Class BigQueryDestinationConfig.Builder (1.2.2)

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

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryDestinationConfig build()
Returns
TypeDescription
BigQueryDestinationConfig

buildPartial()

public BigQueryDestinationConfig buildPartial()
Returns
TypeDescription
BigQueryDestinationConfig

clear()

public BigQueryDestinationConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
BigQueryDestinationConfig.Builder

clearDatasetConfig()

public BigQueryDestinationConfig.Builder clearDatasetConfig()
Returns
TypeDescription
BigQueryDestinationConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSingleTargetDataset()

public BigQueryDestinationConfig.Builder clearSingleTargetDataset()

Single destination dataset.

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

Returns
TypeDescription
BigQueryDestinationConfig.Builder

clearSourceHierarchyDatasets()

public BigQueryDestinationConfig.Builder clearSourceHierarchyDatasets()

Source hierarchy datasets.

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

Returns
TypeDescription
BigQueryDestinationConfig.Builder

clone()

public BigQueryDestinationConfig.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getDatasetConfigCase()

public BigQueryDestinationConfig.DatasetConfigCase getDatasetConfigCase()
Returns
TypeDescription
BigQueryDestinationConfig.DatasetConfigCase

getDefaultInstanceForType()

public BigQueryDestinationConfig getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDestinationConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSingleTargetDataset()

public BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset()

Single destination dataset.

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

Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset

The singleTargetDataset.

getSingleTargetDatasetBuilder()

public BigQueryDestinationConfig.SingleTargetDataset.Builder getSingleTargetDatasetBuilder()

Single destination dataset.

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

Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDataset.Builder

getSingleTargetDatasetOrBuilder()

public BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder()

Single destination dataset.

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

Returns
TypeDescription
BigQueryDestinationConfig.SingleTargetDatasetOrBuilder

getSourceHierarchyDatasets()

public BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets()

Source hierarchy datasets.

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

Returns
TypeDescription
BigQueryDestinationConfig.SourceHierarchyDatasets

The sourceHierarchyDatasets.

getSourceHierarchyDatasetsBuilder()

public BigQueryDestinationConfig.SourceHierarchyDatasets.Builder getSourceHierarchyDatasetsBuilder()

Source hierarchy datasets.

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

Returns
TypeDescription
BigQueryDestinationConfig.SourceHierarchyDatasets.Builder

getSourceHierarchyDatasetsOrBuilder()

public BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder()

Source hierarchy datasets.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceHierarchyDatasets field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueDuration
Returns
TypeDescription
BigQueryDestinationConfig.Builder

mergeFrom(BigQueryDestinationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BigQueryDestinationConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueBigQueryDestinationConfig.SingleTargetDataset
Returns
TypeDescription
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
NameDescription
valueBigQueryDestinationConfig.SourceHierarchyDatasets
Returns
TypeDescription
BigQueryDestinationConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BigQueryDestinationConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBigQueryDestinationConfig.SingleTargetDataset
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryDestinationConfig.SingleTargetDataset.Builder
Returns
TypeDescription
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
NameDescription
valueBigQueryDestinationConfig.SourceHierarchyDatasets
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryDestinationConfig.SourceHierarchyDatasets.Builder
Returns
TypeDescription
BigQueryDestinationConfig.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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