public final class Stream extends com.google.protobuf.GeneratedMessageV3 implements StreamOrBuilder
A resource representing streaming data from a source to a destination.Protobuf type
google.cloud.datastream.v1.Stream| Modifier and Type | Class and Description |
|---|---|
static class |
Stream.BackfillAllStrategy
Backfill strategy to automatically backfill the Stream's objects.
|
static interface |
Stream.BackfillAllStrategyOrBuilder |
static class |
Stream.BackfillNoneStrategy
Backfill strategy to disable automatic backfill for the Stream's objects.
|
static interface |
Stream.BackfillNoneStrategyOrBuilder |
static class |
Stream.BackfillStrategyCase |
static class |
Stream.Builder
A resource representing streaming data from a source to a destination.
|
static class |
Stream.State
Stream state.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BACKFILL_ALL_FIELD_NUMBER |
static int |
BACKFILL_NONE_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
CUSTOMER_MANAGED_ENCRYPTION_KEY_FIELD_NUMBER |
static int |
DESTINATION_CONFIG_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
ERRORS_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
SOURCE_CONFIG_FIELD_NUMBER |
static int |
STATE_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels.
|
boolean |
equals(Object obj) |
Stream.BackfillAllStrategy |
getBackfillAll()
Automatically backfill objects included in the stream source
configuration.
|
Stream.BackfillAllStrategyOrBuilder |
getBackfillAllOrBuilder()
Automatically backfill objects included in the stream source
configuration.
|
Stream.BackfillNoneStrategy |
getBackfillNone()
Do not automatically backfill any objects.
|
Stream.BackfillNoneStrategyOrBuilder |
getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
|
Stream.BackfillStrategyCase |
getBackfillStrategyCase() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
String |
getCustomerManagedEncryptionKey()
Immutable.
|
com.google.protobuf.ByteString |
getCustomerManagedEncryptionKeyBytes()
Immutable.
|
static Stream |
getDefaultInstance() |
Stream |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DestinationConfig |
getDestinationConfig()
Required.
|
DestinationConfigOrBuilder |
getDestinationConfigOrBuilder()
Required.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
Error |
getErrors(int index)
Output only.
|
int |
getErrorsCount()
Output only.
|
List<Error> |
getErrorsList()
Output only.
|
ErrorOrBuilder |
getErrorsOrBuilder(int index)
Output only.
|
List<? extends ErrorOrBuilder> |
getErrorsOrBuilderList()
Output only.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels.
|
Map<String,String> |
getLabelsMap()
Labels.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels.
|
String |
getLabelsOrThrow(String key)
Labels.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<Stream> |
getParserForType() |
int |
getSerializedSize() |
SourceConfig |
getSourceConfig()
Required.
|
SourceConfigOrBuilder |
getSourceConfigOrBuilder()
Required.
|
Stream.State |
getState()
The state of the stream.
|
int |
getStateValue()
The state of the stream.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasBackfillAll()
Automatically backfill objects included in the stream source
configuration.
|
boolean |
hasBackfillNone()
Do not automatically backfill any objects.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasCustomerManagedEncryptionKey()
Immutable.
|
boolean |
hasDestinationConfig()
Required.
|
int |
hashCode() |
boolean |
hasSourceConfig()
Required.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Stream.Builder |
newBuilder() |
static Stream.Builder |
newBuilder(Stream prototype) |
Stream.Builder |
newBuilderForType() |
protected Stream.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Stream |
parseDelimitedFrom(InputStream input) |
static Stream |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream |
parseFrom(byte[] data) |
static Stream |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream |
parseFrom(ByteBuffer data) |
static Stream |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream |
parseFrom(com.google.protobuf.ByteString data) |
static Stream |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Stream |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Stream |
parseFrom(InputStream input) |
static Stream |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Stream> |
parser() |
Stream.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int SOURCE_CONFIG_FIELD_NUMBER
public static final int DESTINATION_CONFIG_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
public static final int BACKFILL_ALL_FIELD_NUMBER
public static final int BACKFILL_NONE_FIELD_NUMBER
public static final int ERRORS_FIELD_NUMBER
public static final int CUSTOMER_MANAGED_ENCRYPTION_KEY_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Stream.BackfillStrategyCase getBackfillStrategyCase()
getBackfillStrategyCase in interface StreamOrBuilderpublic String getName()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface StreamOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The stream's name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface StreamOrBuilderpublic boolean hasCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface StreamOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface StreamOrBuilderpublic com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The creation time of the stream.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface StreamOrBuilderpublic boolean hasUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface StreamOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface StreamOrBuilderpublic com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last update time of the stream.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface StreamOrBuilderpublic int getLabelsCount()
StreamOrBuilderLabels.
map<string, string> labels = 4;getLabelsCount in interface StreamOrBuilderpublic boolean containsLabels(String key)
Labels.
map<string, string> labels = 4;containsLabels in interface StreamOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface StreamOrBuilderpublic Map<String,String> getLabelsMap()
Labels.
map<string, string> labels = 4;getLabelsMap in interface StreamOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels.
map<string, string> labels = 4;getLabelsOrDefault in interface StreamOrBuilderpublic String getLabelsOrThrow(String key)
Labels.
map<string, string> labels = 4;getLabelsOrThrow in interface StreamOrBuilderpublic String getDisplayName()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayName in interface StreamOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
Required. Display name.
string display_name = 5 [(.google.api.field_behavior) = REQUIRED];getDisplayNameBytes in interface StreamOrBuilderpublic boolean hasSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
hasSourceConfig in interface StreamOrBuilderpublic SourceConfig getSourceConfig()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
getSourceConfig in interface StreamOrBuilderpublic SourceConfigOrBuilder getSourceConfigOrBuilder()
Required. Source connection profile configuration.
.google.cloud.datastream.v1.SourceConfig source_config = 6 [(.google.api.field_behavior) = REQUIRED];
getSourceConfigOrBuilder in interface StreamOrBuilderpublic boolean hasDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
hasDestinationConfig in interface StreamOrBuilderpublic DestinationConfig getDestinationConfig()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
getDestinationConfig in interface StreamOrBuilderpublic DestinationConfigOrBuilder getDestinationConfigOrBuilder()
Required. Destination connection profile configuration.
.google.cloud.datastream.v1.DestinationConfig destination_config = 7 [(.google.api.field_behavior) = REQUIRED];
getDestinationConfigOrBuilder in interface StreamOrBuilderpublic int getStateValue()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;getStateValue in interface StreamOrBuilderpublic Stream.State getState()
The state of the stream.
.google.cloud.datastream.v1.Stream.State state = 8;getState in interface StreamOrBuilderpublic boolean hasBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;hasBackfillAll in interface StreamOrBuilderpublic Stream.BackfillAllStrategy getBackfillAll()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;getBackfillAll in interface StreamOrBuilderpublic Stream.BackfillAllStrategyOrBuilder getBackfillAllOrBuilder()
Automatically backfill objects included in the stream source configuration. Specific objects can be excluded.
.google.cloud.datastream.v1.Stream.BackfillAllStrategy backfill_all = 101;getBackfillAllOrBuilder in interface StreamOrBuilderpublic boolean hasBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;hasBackfillNone in interface StreamOrBuilderpublic Stream.BackfillNoneStrategy getBackfillNone()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;getBackfillNone in interface StreamOrBuilderpublic Stream.BackfillNoneStrategyOrBuilder getBackfillNoneOrBuilder()
Do not automatically backfill any objects.
.google.cloud.datastream.v1.Stream.BackfillNoneStrategy backfill_none = 102;getBackfillNoneOrBuilder in interface StreamOrBuilderpublic List<Error> getErrorsList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsList in interface StreamOrBuilderpublic List<? extends ErrorOrBuilder> getErrorsOrBuilderList()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsOrBuilderList in interface StreamOrBuilderpublic int getErrorsCount()
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsCount in interface StreamOrBuilderpublic Error getErrors(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrors in interface StreamOrBuilderpublic ErrorOrBuilder getErrorsOrBuilder(int index)
Output only. Errors on the Stream.
repeated .google.cloud.datastream.v1.Error errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorsOrBuilder in interface StreamOrBuilderpublic boolean hasCustomerManagedEncryptionKey()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];
hasCustomerManagedEncryptionKey in interface StreamOrBuilderpublic String getCustomerManagedEncryptionKey()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];
getCustomerManagedEncryptionKey in interface StreamOrBuilderpublic com.google.protobuf.ByteString getCustomerManagedEncryptionKeyBytes()
Immutable. A reference to a KMS encryption key. If provided, it will be used to encrypt the data. If left blank, data will be encrypted using an internal Stream-specific encryption key provisioned through KMS.
optional string customer_managed_encryption_key = 10 [(.google.api.field_behavior) = IMMUTABLE];
getCustomerManagedEncryptionKeyBytes in interface StreamOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Stream parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Stream parseFrom(InputStream input) throws IOException
IOExceptionpublic static Stream parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Stream parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Stream parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Stream parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Stream parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Stream.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Stream.Builder newBuilder()
public static Stream.Builder newBuilder(Stream prototype)
public Stream.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Stream.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Stream getDefaultInstance()
public static com.google.protobuf.Parser<Stream> parser()
public com.google.protobuf.Parser<Stream> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Stream getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.