Class BigQueryDestinationConfig.Builder (1.5.0)

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

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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 Overrides

build()

public BigQueryDestinationConfig build()
Returns

buildPartial()

public BigQueryDestinationConfig buildPartial()
Returns

clear()

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

clearDatasetConfig()

public BigQueryDestinationConfig.Builder clearDatasetConfig()
Returns

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSingleTargetDataset()

public BigQueryDestinationConfig.Builder clearSingleTargetDataset()

Single destination dataset.

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

Returns

clearSourceHierarchyDatasets()

public BigQueryDestinationConfig.Builder clearSourceHierarchyDatasets()

Source hierarchy datasets.

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

Returns

clone()

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

getDefaultInstanceForType()

public BigQueryDestinationConfig getDefaultInstanceForType()
Returns

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

getSingleTargetDatasetOrBuilder()

public BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder()

Single destination dataset.

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

Returns

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

getSourceHierarchyDatasetsOrBuilder()

public BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder()

Source hierarchy datasets.

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

Returns

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

mergeFrom(BigQueryDestinationConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

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 Returns

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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 Returns

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 Returns

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 Returns

setUnknownFields(UnknownFieldSet unknownFields)

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