Class BigQueryDestinationConfig (1.31.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
TypeDescription
int

SINGLE_TARGET_DATASET_FIELD_NUMBER

public static final int SINGLE_TARGET_DATASET_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER

public static final int SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryDestinationConfig getDefaultInstance()
Returns
TypeDescription
BigQueryDestinationConfig

getDescriptor()

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

newBuilder()

public static BigQueryDestinationConfig.Builder newBuilder()
Returns
TypeDescription
BigQueryDestinationConfig.Builder

newBuilder(BigQueryDestinationConfig prototype)

public static BigQueryDestinationConfig.Builder newBuilder(BigQueryDestinationConfig prototype)
Parameter
NameDescription
prototypeBigQueryDestinationConfig
Returns
TypeDescription
BigQueryDestinationConfig.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BigQueryDestinationConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryDestinationConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryDestinationConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BigQueryDestinationConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BigQueryDestinationConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryDestinationConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryDestinationConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BigQueryDestinationConfig> parser()
Returns
TypeDescription
Parser<BigQueryDestinationConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DurationOrBuilder

getDatasetConfigCase()

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

getDefaultInstanceForType()

public BigQueryDestinationConfig getDefaultInstanceForType()
Returns
TypeDescription
BigQueryDestinationConfig

getParserForType()

public Parser<BigQueryDestinationConfig> getParserForType()
Returns
TypeDescription
Parser<BigQueryDestinationConfig>
Overrides

getSerializedSize()

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

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryDestinationConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryDestinationConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException