Package s2.v1alpha
Interface ReadRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReadRequest,ReadRequest.Builder
public interface ReadRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetLimit()Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.longStarting sequence number (inclusive).Stream name.com.google.protobuf.ByteStringStream name.booleanhasLimit()Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStream
String getStream()Stream name.
string stream = 1;- Returns:
- The stream.
-
getStreamBytes
com.google.protobuf.ByteString getStreamBytes()Stream name.
string stream = 1;- Returns:
- The bytes for stream.
-
getStartSeqNum
long getStartSeqNum()Starting sequence number (inclusive).
uint64 start_seq_num = 2;- Returns:
- The startSeqNum.
-
hasLimit
boolean hasLimit()Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.
.s2.v1alpha.ReadLimit limit = 3;- Returns:
- Whether the limit field is set.
-
getLimit
ReadLimit getLimit()Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.
.s2.v1alpha.ReadLimit limit = 3;- Returns:
- The limit.
-
getLimitOrBuilder
ReadLimitOrBuilder getLimitOrBuilder()Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.
.s2.v1alpha.ReadLimit limit = 3;
-