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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReadLimit
getLimit()
Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.ReadLimitOrBuilder
getLimitOrBuilder()
Limit on how many records can be returned upto a maximum of 1000, or 1MiB of metered bytes.long
getStartSeqNum()
Starting sequence number (inclusive).java.lang.String
getStream()
Stream name.com.google.protobuf.ByteString
getStreamBytes()
Stream name.boolean
hasLimit()
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.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getStream
java.lang.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;
-
-