Class BigQueryDestinationConfig (1.54.0)

public final class BigQueryDestinationConfig extends GeneratedMessageV3 implements BigQueryDestinationConfigOrBuilder

BigQuery destination configuration

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig

Static Fields

APPEND_ONLY_FIELD_NUMBER

public static final int APPEND_ONLY_FIELD_NUMBER
Field Value
Type Description
int

DATA_FRESHNESS_FIELD_NUMBER

public static final int DATA_FRESHNESS_FIELD_NUMBER
Field Value
Type Description
int

MERGE_FIELD_NUMBER

public static final int MERGE_FIELD_NUMBER
Field Value
Type Description
int

SINGLE_TARGET_DATASET_FIELD_NUMBER

public static final int SINGLE_TARGET_DATASET_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER

public static final int SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryDestinationConfig getDefaultInstance()
Returns
Type Description
BigQueryDestinationConfig

getDescriptor()

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

newBuilder()

public static BigQueryDestinationConfig.Builder newBuilder()
Returns
Type Description
BigQueryDestinationConfig.Builder

newBuilder(BigQueryDestinationConfig prototype)

public static BigQueryDestinationConfig.Builder newBuilder(BigQueryDestinationConfig prototype)
Parameter
Name Description
prototype BigQueryDestinationConfig
Returns
Type Description
BigQueryDestinationConfig.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigQueryDestinationConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryDestinationConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryDestinationConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigQueryDestinationConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigQueryDestinationConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryDestinationConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigQueryDestinationConfig> parser()
Returns
Type Description
Parser<BigQueryDestinationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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

getMerge()

public BigQueryDestinationConfig.Merge getMerge()

The standard mode

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

Returns
Type Description
BigQueryDestinationConfig.Merge

The merge.

getMergeOrBuilder()

public BigQueryDestinationConfig.MergeOrBuilder getMergeOrBuilder()

The standard mode

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

Returns
Type Description
BigQueryDestinationConfig.MergeOrBuilder

getParserForType()

public Parser<BigQueryDestinationConfig> getParserForType()
Returns
Type Description
Parser<BigQueryDestinationConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryDestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigQueryDestinationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException