Package com.google.bigtable.v2
Interface StreamContinuationTokenOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
StreamContinuationToken
,StreamContinuationToken.Builder
public interface StreamContinuationTokenOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe partition that this token applies to.The partition that this token applies to.getToken()
An encoded position in the stream to restart reading from.com.google.protobuf.ByteString
An encoded position in the stream to restart reading from.boolean
The partition that this token applies to.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPartition
boolean hasPartition()The partition that this token applies to.
.google.bigtable.v2.StreamPartition partition = 1;
- Returns:
- Whether the partition field is set.
-
getPartition
StreamPartition getPartition()The partition that this token applies to.
.google.bigtable.v2.StreamPartition partition = 1;
- Returns:
- The partition.
-
getPartitionOrBuilder
StreamPartitionOrBuilder getPartitionOrBuilder()The partition that this token applies to.
.google.bigtable.v2.StreamPartition partition = 1;
-
getToken
String getToken()An encoded position in the stream to restart reading from.
string token = 2;
- Returns:
- The token.
-
getTokenBytes
com.google.protobuf.ByteString getTokenBytes()An encoded position in the stream to restart reading from.
string token = 2;
- Returns:
- The bytes for token.
-