Package com.google.bigtable.v2
Class ReadChangeStreamRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.bigtable.v2.ReadChangeStreamRequest
-
- All Implemented Interfaces:
ReadChangeStreamRequestOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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 typegoogle.bigtable.v2.ReadChangeStreamRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReadChangeStreamRequest.BuilderNOTE: This API is intended to be used by Apache Beam BigtableIO.static classReadChangeStreamRequest.StartFromCase-
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 intAPP_PROFILE_ID_FIELD_NUMBERstatic intCONTINUATION_TOKENS_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intHEARTBEAT_DURATION_FIELD_NUMBERstatic intPARTITION_FIELD_NUMBERstatic intSTART_TIME_FIELD_NUMBERstatic intTABLE_NAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAppProfileId()This value specifies routing for replication.com.google.protobuf.ByteStringgetAppProfileIdBytes()This value specifies routing for replication.StreamContinuationTokensgetContinuationTokens()Tokens that describe how to resume reading a stream where reading previously left off.StreamContinuationTokensOrBuildergetContinuationTokensOrBuilder()Tokens that describe how to resume reading a stream where reading previously left off.static ReadChangeStreamRequestgetDefaultInstance()ReadChangeStreamRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()If specified, OK will be returned when the stream advances beyond this time.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()If specified, OK will be returned when the stream advances beyond this time.com.google.protobuf.DurationgetHeartbeatDuration()If specified, the duration between `Heartbeat` messages on the stream.com.google.protobuf.DurationOrBuildergetHeartbeatDurationOrBuilder()If specified, the duration between `Heartbeat` messages on the stream.com.google.protobuf.Parser<ReadChangeStreamRequest>getParserForType()StreamPartitiongetPartition()The partition to read changes from.StreamPartitionOrBuildergetPartitionOrBuilder()The partition to read changes from.intgetSerializedSize()ReadChangeStreamRequest.StartFromCasegetStartFromCase()com.google.protobuf.TimestampgetStartTime()Start reading the stream at the specified timestamp.com.google.protobuf.TimestampOrBuildergetStartTimeOrBuilder()Start reading the stream at the specified timestamp.StringgetTableName()Required.com.google.protobuf.ByteStringgetTableNameBytes()Required.booleanhasContinuationTokens()Tokens that describe how to resume reading a stream where reading previously left off.booleanhasEndTime()If specified, OK will be returned when the stream advances beyond this time.inthashCode()booleanhasHeartbeatDuration()If specified, the duration between `Heartbeat` messages on the stream.booleanhasPartition()The partition to read changes from.booleanhasStartTime()Start reading the stream at the specified timestamp.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ReadChangeStreamRequest.BuildernewBuilder()static ReadChangeStreamRequest.BuildernewBuilder(ReadChangeStreamRequest prototype)ReadChangeStreamRequest.BuildernewBuilderForType()protected ReadChangeStreamRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ReadChangeStreamRequestparseDelimitedFrom(InputStream input)static ReadChangeStreamRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadChangeStreamRequestparseFrom(byte[] data)static ReadChangeStreamRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadChangeStreamRequestparseFrom(com.google.protobuf.ByteString data)static ReadChangeStreamRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadChangeStreamRequestparseFrom(com.google.protobuf.CodedInputStream input)static ReadChangeStreamRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadChangeStreamRequestparseFrom(InputStream input)static ReadChangeStreamRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ReadChangeStreamRequestparseFrom(ByteBuffer data)static ReadChangeStreamRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ReadChangeStreamRequest>parser()ReadChangeStreamRequest.BuildertoBuilder()voidwriteTo(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
-
TABLE_NAME_FIELD_NUMBER
public static final int TABLE_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APP_PROFILE_ID_FIELD_NUMBER
public static final int APP_PROFILE_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_FIELD_NUMBER
public static final int PARTITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTINUATION_TOKENS_FIELD_NUMBER
public static final int CONTINUATION_TOKENS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HEARTBEAT_DURATION_FIELD_NUMBER
public static final int HEARTBEAT_DURATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStartFromCase
public ReadChangeStreamRequest.StartFromCase getStartFromCase()
- Specified by:
getStartFromCasein interfaceReadChangeStreamRequestOrBuilder
-
getTableName
public 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) = { ... }- Specified by:
getTableNamein interfaceReadChangeStreamRequestOrBuilder- Returns:
- The tableName.
-
getTableNameBytes
public 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) = { ... }- Specified by:
getTableNameBytesin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The bytes for tableName.
-
getAppProfileId
public 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;- Specified by:
getAppProfileIdin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The appProfileId.
-
getAppProfileIdBytes
public 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;- Specified by:
getAppProfileIdBytesin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The bytes for appProfileId.
-
hasPartition
public boolean hasPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;- Specified by:
hasPartitionin interfaceReadChangeStreamRequestOrBuilder- Returns:
- Whether the partition field is set.
-
getPartition
public StreamPartition getPartition()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;- Specified by:
getPartitionin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The partition.
-
getPartitionOrBuilder
public StreamPartitionOrBuilder getPartitionOrBuilder()
The partition to read changes from.
.google.bigtable.v2.StreamPartition partition = 3;- Specified by:
getPartitionOrBuilderin interfaceReadChangeStreamRequestOrBuilder
-
hasStartTime
public 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;- Specified by:
hasStartTimein interfaceReadChangeStreamRequestOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public 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;- Specified by:
getStartTimein interfaceReadChangeStreamRequestOrBuilder- Returns:
- The startTime.
-
getStartTimeOrBuilder
public 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;- Specified by:
getStartTimeOrBuilderin interfaceReadChangeStreamRequestOrBuilder
-
hasContinuationTokens
public 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;- Specified by:
hasContinuationTokensin interfaceReadChangeStreamRequestOrBuilder- Returns:
- Whether the continuationTokens field is set.
-
getContinuationTokens
public 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;- Specified by:
getContinuationTokensin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The continuationTokens.
-
getContinuationTokensOrBuilder
public 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;- Specified by:
getContinuationTokensOrBuilderin interfaceReadChangeStreamRequestOrBuilder
-
hasEndTime
public 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;- Specified by:
hasEndTimein interfaceReadChangeStreamRequestOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public 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;- Specified by:
getEndTimein interfaceReadChangeStreamRequestOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public 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;- Specified by:
getEndTimeOrBuilderin interfaceReadChangeStreamRequestOrBuilder
-
hasHeartbeatDuration
public boolean hasHeartbeatDuration()
If specified, the duration between `Heartbeat` messages on the stream. Otherwise, defaults to 5 seconds.
.google.protobuf.Duration heartbeat_duration = 7;- Specified by:
hasHeartbeatDurationin interfaceReadChangeStreamRequestOrBuilder- Returns:
- Whether the heartbeatDuration field is set.
-
getHeartbeatDuration
public 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;- Specified by:
getHeartbeatDurationin interfaceReadChangeStreamRequestOrBuilder- Returns:
- The heartbeatDuration.
-
getHeartbeatDurationOrBuilder
public 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;- Specified by:
getHeartbeatDurationOrBuilderin interfaceReadChangeStreamRequestOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadChangeStreamRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadChangeStreamRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadChangeStreamRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadChangeStreamRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReadChangeStreamRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReadChangeStreamRequest.Builder newBuilder()
-
newBuilder
public static ReadChangeStreamRequest.Builder newBuilder(ReadChangeStreamRequest prototype)
-
toBuilder
public ReadChangeStreamRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadChangeStreamRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReadChangeStreamRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReadChangeStreamRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<ReadChangeStreamRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReadChangeStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-