public final class ReadChangeStreamRequest extends com.google.protobuf.GeneratedMessageV3 implements ReadChangeStreamRequestOrBuilder
NOTE: This API is intended to be used by Apache Beam BigtableIO. Request message for Bigtable.ReadChangeStream.Protobuf type
google.bigtable.v2.ReadChangeStreamRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ReadChangeStreamRequest.Builder
NOTE: This API is intended to be used by Apache Beam BigtableIO.
|
static class |
ReadChangeStreamRequest.StartFromCase |
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 |
APP_PROFILE_ID_FIELD_NUMBER |
static int |
CONTINUATION_TOKENS_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
HEARTBEAT_DURATION_FIELD_NUMBER |
static int |
PARTITION_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
TABLE_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAppProfileId()
This value specifies routing for replication.
|
com.google.protobuf.ByteString |
getAppProfileIdBytes()
This value specifies routing for replication.
|
StreamContinuationTokens |
getContinuationTokens()
Tokens that describe how to resume reading a stream where reading
previously left off.
|
StreamContinuationTokensOrBuilder |
getContinuationTokensOrBuilder()
Tokens that describe how to resume reading a stream where reading
previously left off.
|
static ReadChangeStreamRequest |
getDefaultInstance() |
ReadChangeStreamRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
If specified, OK will be returned when the stream advances beyond
this time.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
If specified, OK will be returned when the stream advances beyond
this time.
|
com.google.protobuf.Duration |
getHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream.
|
com.google.protobuf.DurationOrBuilder |
getHeartbeatDurationOrBuilder()
If specified, the duration between `Heartbeat` messages on the stream.
|
com.google.protobuf.Parser<ReadChangeStreamRequest> |
getParserForType() |
StreamPartition |
getPartition()
The partition to read changes from.
|
StreamPartitionOrBuilder |
getPartitionOrBuilder()
The partition to read changes from.
|
int |
getSerializedSize() |
ReadChangeStreamRequest.StartFromCase |
getStartFromCase() |
com.google.protobuf.Timestamp |
getStartTime()
Start reading the stream at the specified timestamp.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
Start reading the stream at the specified timestamp.
|
String |
getTableName()
Required.
|
com.google.protobuf.ByteString |
getTableNameBytes()
Required.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasContinuationTokens()
Tokens that describe how to resume reading a stream where reading
previously left off.
|
boolean |
hasEndTime()
If specified, OK will be returned when the stream advances beyond
this time.
|
int |
hashCode() |
boolean |
hasHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream.
|
boolean |
hasPartition()
The partition to read changes from.
|
boolean |
hasStartTime()
Start reading the stream at the specified timestamp.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReadChangeStreamRequest.Builder |
newBuilder() |
static ReadChangeStreamRequest.Builder |
newBuilder(ReadChangeStreamRequest prototype) |
ReadChangeStreamRequest.Builder |
newBuilderForType() |
protected ReadChangeStreamRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ReadChangeStreamRequest |
parseDelimitedFrom(InputStream input) |
static ReadChangeStreamRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamRequest |
parseFrom(byte[] data) |
static ReadChangeStreamRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamRequest |
parseFrom(ByteBuffer data) |
static ReadChangeStreamRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ReadChangeStreamRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReadChangeStreamRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReadChangeStreamRequest |
parseFrom(InputStream input) |
static ReadChangeStreamRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReadChangeStreamRequest> |
parser() |
ReadChangeStreamRequest.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, internalGetMapField, 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 TABLE_NAME_FIELD_NUMBER
public static final int APP_PROFILE_ID_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int CONTINUATION_TOKENS_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int HEARTBEAT_DURATION_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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ReadChangeStreamRequest.StartFromCase getStartFromCase()
getStartFromCase in interface ReadChangeStreamRequestOrBuilderpublic String getTableName()
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getTableName in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.ByteString getTableNameBytes()
Required. The unique name of the table from which to read a change stream. Values are of the form `projects/<project>/instances/<instance>/tables/<table>`. Change streaming must be enabled on the table.
string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getTableNameBytes in interface ReadChangeStreamRequestOrBuilderpublic String getAppProfileId()
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;getAppProfileId in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.ByteString getAppProfileIdBytes()
This value specifies routing for replication. If not specified, the "default" application profile will be used. Single cluster routing must be configured on the profile.
string app_profile_id = 2;getAppProfileIdBytes in interface ReadChangeStreamRequestOrBuilderpublic boolean hasPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;hasPartition in interface ReadChangeStreamRequestOrBuilderpublic StreamPartition getPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;getPartition in interface ReadChangeStreamRequestOrBuilderpublic StreamPartitionOrBuilder getPartitionOrBuilder()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;getPartitionOrBuilder in interface ReadChangeStreamRequestOrBuilderpublic boolean hasStartTime()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;hasStartTime in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.Timestamp getStartTime()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;getStartTime in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Start reading the stream at the specified timestamp. This timestamp must be within the change stream retention period, less than or equal to the current time, and after change stream creation, whichever is greater. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp start_time = 4;getStartTimeOrBuilder in interface ReadChangeStreamRequestOrBuilderpublic boolean hasContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;hasContinuationTokens in interface ReadChangeStreamRequestOrBuilderpublic StreamContinuationTokens getContinuationTokens()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;getContinuationTokens in interface ReadChangeStreamRequestOrBuilderpublic StreamContinuationTokensOrBuilder getContinuationTokensOrBuilder()
Tokens that describe how to resume reading a stream where reading previously left off. If specified, changes will be read starting at the the position. Tokens are delivered on the stream as part of `Heartbeat` and `CloseStream` messages. If a single token is provided, the token’s partition must exactly match the request’s partition. If multiple tokens are provided, as in the case of a partition merge, the union of the token partitions must exactly cover the request’s partition. Otherwise, INVALID_ARGUMENT will be returned.
.google.bigtable.v2.StreamContinuationTokens continuation_tokens = 6;getContinuationTokensOrBuilder in interface ReadChangeStreamRequestOrBuilderpublic boolean hasEndTime()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;hasEndTime in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.Timestamp getEndTime()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;getEndTime in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
If specified, OK will be returned when the stream advances beyond this time. Otherwise, changes will be continuously delivered on the stream. This value is inclusive and will be truncated to microsecond granularity.
.google.protobuf.Timestamp end_time = 5;getEndTimeOrBuilder in interface ReadChangeStreamRequestOrBuilderpublic boolean hasHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;hasHeartbeatDuration in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.Duration getHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;getHeartbeatDuration in interface ReadChangeStreamRequestOrBuilderpublic com.google.protobuf.DurationOrBuilder getHeartbeatDurationOrBuilder()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;getHeartbeatDurationOrBuilder in interface ReadChangeStreamRequestOrBuilderpublic 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 ReadChangeStreamRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReadChangeStreamRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ReadChangeStreamRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ReadChangeStreamRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ReadChangeStreamRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReadChangeStreamRequest.Builder newBuilder()
public static ReadChangeStreamRequest.Builder newBuilder(ReadChangeStreamRequest prototype)
public ReadChangeStreamRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReadChangeStreamRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReadChangeStreamRequest getDefaultInstance()
public static com.google.protobuf.Parser<ReadChangeStreamRequest> parser()
public com.google.protobuf.Parser<ReadChangeStreamRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReadChangeStreamRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.