Package com.google.cloud.datastream.v1
Class BigQueryDestinationConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.datastream.v1.BigQueryDestinationConfig
-
- All Implemented Interfaces:
BigQueryDestinationConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class BigQueryDestinationConfig extends com.google.protobuf.GeneratedMessageV3 implements BigQueryDestinationConfigOrBuilder
BigQuery destination configuration
Protobuf typegoogle.cloud.datastream.v1.BigQueryDestinationConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BigQueryDestinationConfig.Builder
BigQuery destination configurationstatic class
BigQueryDestinationConfig.DatasetConfigCase
static class
BigQueryDestinationConfig.SingleTargetDataset
A single target dataset to which all data will be streamed.static interface
BigQueryDestinationConfig.SingleTargetDatasetOrBuilder
static class
BigQueryDestinationConfig.SourceHierarchyDatasets
Destination datasets are created so that hierarchy of the destination data objects matches the source hierarchy.static interface
BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
DATA_FRESHNESS_FIELD_NUMBER
static int
SINGLE_TARGET_DATASET_FIELD_NUMBER
static int
SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
com.google.protobuf.Duration
getDataFreshness()
The guaranteed data freshness (in seconds) when querying tables created by the stream.com.google.protobuf.DurationOrBuilder
getDataFreshnessOrBuilder()
The guaranteed data freshness (in seconds) when querying tables created by the stream.BigQueryDestinationConfig.DatasetConfigCase
getDatasetConfigCase()
static BigQueryDestinationConfig
getDefaultInstance()
BigQueryDestinationConfig
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<BigQueryDestinationConfig>
getParserForType()
int
getSerializedSize()
BigQueryDestinationConfig.SingleTargetDataset
getSingleTargetDataset()
Single destination dataset.BigQueryDestinationConfig.SingleTargetDatasetOrBuilder
getSingleTargetDatasetOrBuilder()
Single destination dataset.BigQueryDestinationConfig.SourceHierarchyDatasets
getSourceHierarchyDatasets()
Source hierarchy datasets.BigQueryDestinationConfig.SourceHierarchyDatasetsOrBuilder
getSourceHierarchyDatasetsOrBuilder()
Source hierarchy datasets.boolean
hasDataFreshness()
The guaranteed data freshness (in seconds) when querying tables created by the stream.int
hashCode()
boolean
hasSingleTargetDataset()
Single destination dataset.boolean
hasSourceHierarchyDatasets()
Source hierarchy datasets.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static BigQueryDestinationConfig.Builder
newBuilder()
static BigQueryDestinationConfig.Builder
newBuilder(BigQueryDestinationConfig prototype)
BigQueryDestinationConfig.Builder
newBuilderForType()
protected BigQueryDestinationConfig.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static BigQueryDestinationConfig
parseDelimitedFrom(InputStream input)
static BigQueryDestinationConfig
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryDestinationConfig
parseFrom(byte[] data)
static BigQueryDestinationConfig
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryDestinationConfig
parseFrom(com.google.protobuf.ByteString data)
static BigQueryDestinationConfig
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryDestinationConfig
parseFrom(com.google.protobuf.CodedInputStream input)
static BigQueryDestinationConfig
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryDestinationConfig
parseFrom(InputStream input)
static BigQueryDestinationConfig
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static BigQueryDestinationConfig
parseFrom(ByteBuffer data)
static BigQueryDestinationConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<BigQueryDestinationConfig>
parser()
BigQueryDestinationConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SINGLE_TARGET_DATASET_FIELD_NUMBER
public static final int SINGLE_TARGET_DATASET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER
public static final int SOURCE_HIERARCHY_DATASETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATA_FRESHNESS_FIELD_NUMBER
public static final int DATA_FRESHNESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
getDatasetConfigCase
public BigQueryDestinationConfig.DatasetConfigCase getDatasetConfigCase()
- Specified by:
getDatasetConfigCase
in interfaceBigQueryDestinationConfigOrBuilder
-
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.
-
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.
-
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.
-
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
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static BigQueryDestinationConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static BigQueryDestinationConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static BigQueryDestinationConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public BigQueryDestinationConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static BigQueryDestinationConfig.Builder newBuilder()
-
newBuilder
public static BigQueryDestinationConfig.Builder newBuilder(BigQueryDestinationConfig prototype)
-
toBuilder
public BigQueryDestinationConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected BigQueryDestinationConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static BigQueryDestinationConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<BigQueryDestinationConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<BigQueryDestinationConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public BigQueryDestinationConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-