Class BigQueryDestinationConfig (1.44.0)

public final class BigQueryDestinationConfig extends GeneratedMessageV3 implements BigQueryDestinationConfigOrBuilder

BigQuery destination configuration

Protobuf type google.cloud.datastream.v1.BigQueryDestinationConfig

Static Fields

DATA_FRESHNESS_FIELD_NUMBER

public static final int DATA_FRESHNESS_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

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

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

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.

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