Package com.google.cloud.datastream.v1
Class BigQueryDestinationConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
- com.google.cloud.datastream.v1.BigQueryDestinationConfig.Builder
-
- All Implemented Interfaces:
BigQueryDestinationConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- BigQueryDestinationConfig
public static final class BigQueryDestinationConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder> implements BigQueryDestinationConfigOrBuilder
BigQuery destination configuration
Protobuf typegoogle.cloud.datastream.v1.BigQueryDestinationConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
clear
public BigQueryDestinationConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
getDefaultInstanceForType
public BigQueryDestinationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public BigQueryDestinationConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BigQueryDestinationConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BigQueryDestinationConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
setField
public BigQueryDestinationConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
clearField
public BigQueryDestinationConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
clearOneof
public BigQueryDestinationConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
setRepeatedField
public BigQueryDestinationConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
addRepeatedField
public BigQueryDestinationConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
mergeFrom
public BigQueryDestinationConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQueryDestinationConfig.Builder>
-
mergeFrom
public BigQueryDestinationConfig.Builder mergeFrom(BigQueryDestinationConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
mergeFrom
public BigQueryDestinationConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<BigQueryDestinationConfig.Builder>
- Throws:
IOException
-
getDatasetConfigCase
public BigQueryDestinationConfig.DatasetConfigCase getDatasetConfigCase()
- Specified by:
getDatasetConfigCase
in interfaceBigQueryDestinationConfigOrBuilder
-
clearDatasetConfig
public BigQueryDestinationConfig.Builder clearDatasetConfig()
-
hasSingleTargetDataset
public boolean hasSingleTargetDataset()
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
- Specified by:
hasSingleTargetDataset
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- Whether the singleTargetDataset field is set.
-
getSingleTargetDataset
public BigQueryDestinationConfig.SingleTargetDataset getSingleTargetDataset()
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
- Specified by:
getSingleTargetDataset
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- The singleTargetDataset.
-
setSingleTargetDataset
public BigQueryDestinationConfig.Builder setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
-
setSingleTargetDataset
public BigQueryDestinationConfig.Builder setSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset.Builder builderForValue)
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
-
mergeSingleTargetDataset
public BigQueryDestinationConfig.Builder mergeSingleTargetDataset(BigQueryDestinationConfig.SingleTargetDataset value)
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
-
clearSingleTargetDataset
public BigQueryDestinationConfig.Builder clearSingleTargetDataset()
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
-
getSingleTargetDatasetBuilder
public BigQueryDestinationConfig.SingleTargetDataset.Builder getSingleTargetDatasetBuilder()
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
-
getSingleTargetDatasetOrBuilder
public BigQueryDestinationConfig.SingleTargetDatasetOrBuilder getSingleTargetDatasetOrBuilder()
Single destination dataset.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SingleTargetDataset single_target_dataset = 201;
- Specified by:
getSingleTargetDatasetOrBuilder
in interfaceBigQueryDestinationConfigOrBuilder
-
hasSourceHierarchyDatasets
public boolean hasSourceHierarchyDatasets()
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
- Specified by:
hasSourceHierarchyDatasets
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- Whether the sourceHierarchyDatasets field is set.
-
getSourceHierarchyDatasets
public BigQueryDestinationConfig.SourceHierarchyDatasets getSourceHierarchyDatasets()
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
- Specified by:
getSourceHierarchyDatasets
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- The sourceHierarchyDatasets.
-
setSourceHierarchyDatasets
public BigQueryDestinationConfig.Builder setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
-
setSourceHierarchyDatasets
public BigQueryDestinationConfig.Builder setSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets.Builder builderForValue)
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
-
mergeSourceHierarchyDatasets
public BigQueryDestinationConfig.Builder mergeSourceHierarchyDatasets(BigQueryDestinationConfig.SourceHierarchyDatasets value)
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
-
clearSourceHierarchyDatasets
public BigQueryDestinationConfig.Builder clearSourceHierarchyDatasets()
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
-
getSourceHierarchyDatasetsBuilder
public BigQueryDestinationConfig.SourceHierarchyDatasets.Builder getSourceHierarchyDatasetsBuilder()
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
-
getSourceHierarchyDatasetsOrBuilder
public BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder getSourceHierarchyDatasetsOrBuilder()
Source hierarchy datasets.
.google.cloud.datastream.v1.BigQueryDestinationConfig.SourceHierarchyDatasets source_hierarchy_datasets = 202;
- Specified by:
getSourceHierarchyDatasetsOrBuilder
in interfaceBigQueryDestinationConfigOrBuilder
-
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;
- Specified by:
hasDataFreshness
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- Whether the dataFreshness field is set.
-
getDataFreshness
public com.google.protobuf.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;
- Specified by:
getDataFreshness
in interfaceBigQueryDestinationConfigOrBuilder
- Returns:
- The dataFreshness.
-
setDataFreshness
public BigQueryDestinationConfig.Builder setDataFreshness(com.google.protobuf.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;
-
setDataFreshness
public BigQueryDestinationConfig.Builder setDataFreshness(com.google.protobuf.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;
-
mergeDataFreshness
public BigQueryDestinationConfig.Builder mergeDataFreshness(com.google.protobuf.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;
-
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;
-
getDataFreshnessBuilder
public com.google.protobuf.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;
-
getDataFreshnessOrBuilder
public com.google.protobuf.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;
- Specified by:
getDataFreshnessOrBuilder
in interfaceBigQueryDestinationConfigOrBuilder
-
setUnknownFields
public final BigQueryDestinationConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
mergeUnknownFields
public final BigQueryDestinationConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<BigQueryDestinationConfig.Builder>
-
-