Package io.streamnative.oxia.proto
Interface WriteRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WriteRequest,WriteRequest.Builder
public interface WriteRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetDeleteRanges(int index) The delete range requestsintThe delete range requestsThe delete range requestsgetDeleteRangesOrBuilder(int index) The delete range requestsList<? extends DeleteRangeRequestOrBuilder>The delete range requestsgetDeletes(int index) The delete requestsintThe delete requestsThe delete requestsgetDeletesOrBuilder(int index) The delete requestsList<? extends DeleteRequestOrBuilder>The delete requestsgetPuts(int index) The put requestsintThe put requestsThe put requestsgetPutsOrBuilder(int index) The put requestsList<? extends PutRequestOrBuilder>The put 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.
-
getPutsList
List<PutRequest> getPutsList()The put requests
repeated .io.streamnative.oxia.proto.PutRequest puts = 2; -
getPuts
The put requests
repeated .io.streamnative.oxia.proto.PutRequest puts = 2; -
getPutsCount
int getPutsCount()The put requests
repeated .io.streamnative.oxia.proto.PutRequest puts = 2; -
getPutsOrBuilderList
List<? extends PutRequestOrBuilder> getPutsOrBuilderList()The put requests
repeated .io.streamnative.oxia.proto.PutRequest puts = 2; -
getPutsOrBuilder
The put requests
repeated .io.streamnative.oxia.proto.PutRequest puts = 2; -
getDeletesList
List<DeleteRequest> getDeletesList()The delete requests
repeated .io.streamnative.oxia.proto.DeleteRequest deletes = 3; -
getDeletes
The delete requests
repeated .io.streamnative.oxia.proto.DeleteRequest deletes = 3; -
getDeletesCount
int getDeletesCount()The delete requests
repeated .io.streamnative.oxia.proto.DeleteRequest deletes = 3; -
getDeletesOrBuilderList
List<? extends DeleteRequestOrBuilder> getDeletesOrBuilderList()The delete requests
repeated .io.streamnative.oxia.proto.DeleteRequest deletes = 3; -
getDeletesOrBuilder
The delete requests
repeated .io.streamnative.oxia.proto.DeleteRequest deletes = 3; -
getDeleteRangesList
List<DeleteRangeRequest> getDeleteRangesList()The delete range requests
repeated .io.streamnative.oxia.proto.DeleteRangeRequest delete_ranges = 4; -
getDeleteRanges
The delete range requests
repeated .io.streamnative.oxia.proto.DeleteRangeRequest delete_ranges = 4; -
getDeleteRangesCount
int getDeleteRangesCount()The delete range requests
repeated .io.streamnative.oxia.proto.DeleteRangeRequest delete_ranges = 4; -
getDeleteRangesOrBuilderList
List<? extends DeleteRangeRequestOrBuilder> getDeleteRangesOrBuilderList()The delete range requests
repeated .io.streamnative.oxia.proto.DeleteRangeRequest delete_ranges = 4; -
getDeleteRangesOrBuilder
The delete range requests
repeated .io.streamnative.oxia.proto.DeleteRangeRequest delete_ranges = 4;
-