Package io.streamnative.oxia.proto
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 TypeMethodDescriptiongetGets(int index) The get requestsintThe get requestsThe get requestsgetGetsOrBuilder(int index) The get requestsList<? extends GetRequestOrBuilder>The get requestslongThe shard id.booleanThe shard id.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
-
hasShardId
boolean hasShardId()The shard id. This is optional allow for support for server-side hashing and proxying in the future.
optional int64 shard_id = 1;- Returns:
- Whether the shardId field is set.
-
getShardId
long getShardId()The shard id. This is optional allow for support for server-side hashing and proxying in the future.
optional int64 shard_id = 1;- Returns:
- The shardId.
-
getGetsList
List<GetRequest> getGetsList()The get requests
repeated .io.streamnative.oxia.proto.GetRequest gets = 2; -
getGets
The get requests
repeated .io.streamnative.oxia.proto.GetRequest gets = 2; -
getGetsCount
int getGetsCount()The get requests
repeated .io.streamnative.oxia.proto.GetRequest gets = 2; -
getGetsOrBuilderList
List<? extends GetRequestOrBuilder> getGetsOrBuilderList()The get requests
repeated .io.streamnative.oxia.proto.GetRequest gets = 2; -
getGetsOrBuilder
The get requests
repeated .io.streamnative.oxia.proto.GetRequest gets = 2;
-