package io.oxia.proto.v1

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

service OxiaAdmin

admin.proto:27

service OxiaClient

client.proto:34

* Oxia service that allows clients to discover shard-to-server assignments and submit batches of requests. Clients should connect to a random server to discover the shard-to-server assignments and then send the actual batched requests to the appropriate shard leader. In the future, this may be handled server-side in a proxy layer to allows clients to not be concerned with sharding.

message AntiAffinity

metadata.proto:41

Used in: Namespace

message CloseSessionRequest

client.proto:485

Used as request type in: OxiaClient.CloseSession, streamnative.oxia.proto.OxiaClient.CloseSession

message CloseSessionResponse

client.proto:490

Used as response type in: OxiaClient.CloseSession, streamnative.oxia.proto.OxiaClient.CloseSession

(message has no fields)

message ClusterConfiguration

metadata.proto:60

message ClusterStatus

metadata.proto:112

message CoordinatorInfo

metadata.proto:27

message CreateSessionRequest

client.proto:468

Used as request type in: OxiaClient.CreateSession, streamnative.oxia.proto.OxiaClient.CreateSession

message CreateSessionResponse

client.proto:474

Used as response type in: OxiaClient.CreateSession, streamnative.oxia.proto.OxiaClient.CreateSession

message DataServer

metadata.proto:36

Used in: CreateDataServerRequest, CreateDataServerResponse, DeleteDataServerResponse, GetDataServerResponse, ListDataServersResponse, PatchDataServerRequest, PatchDataServerResponse

message DataServerIdentity

metadata.proto:21

Used in: ClusterConfiguration, DataServer, ShardMetadata

message DataServerMetadata

metadata.proto:32

Used in: ClusterConfiguration, DataServer

message DeleteRangeRequest

client.proto:358

* Input to a delete range request. Key ranges assume a UTF-8 byte sort order.

Used in: WriteRequest

message DeleteRangeResponse

client.proto:368

* The response for a delete range request.

Used in: WriteResponse

message DeleteRequest

client.proto:292

* A delete request. Deletes the specified key.

Used in: WriteRequest

message DeleteResponse

client.proto:304

* The response to a delete request or an item in a response to the delete range request.

Used in: WriteResponse

message GetRequest

client.proto:329

* A get request. Gets the stat and optionally the value for the specified key.

Used in: ReadRequest

message GetResponse

client.proto:342

* The response to a get request.

Used in: RangeScanResponse, ReadResponse

message GetSequenceUpdatesRequest

client.proto:423

Used as request type in: OxiaClient.GetSequenceUpdates, streamnative.oxia.proto.OxiaClient.GetSequenceUpdates

message GetSequenceUpdatesResponse

client.proto:428

Used as response type in: OxiaClient.GetSequenceUpdates, streamnative.oxia.proto.OxiaClient.GetSequenceUpdates

message HashRange

metadata.proto:68

Used in: ShardMetadata

message Int32HashRange

client.proto:175

* Represents a range of hash values [min, max)

Used in: ShardAssignment, replication.AddFollowerRequest

message KeepAliveResponse

client.proto:483

Used as response type in: OxiaClient.KeepAlive, streamnative.oxia.proto.OxiaClient.KeepAlive

(message has no fields)

enum KeyComparisonType

client.proto:312

* The type of key comparison to apply in a get() request

Used in: GetRequest

message ListRequest

client.proto:376

* Input to a list request. Key ranges assume a UTF-8 byte sort order.

Used as request type in: OxiaClient.List, streamnative.oxia.proto.OxiaClient.List

message ListResponse

client.proto:393

* The response to a list request.

Used as response type in: OxiaClient.List, streamnative.oxia.proto.OxiaClient.List

message LoadBalancer

metadata.proto:55

Used in: ClusterConfiguration

message Namespace

metadata.proto:46

Used in: ClusterConfiguration, CreateNamespaceRequest, CreateNamespaceResponse, DeleteNamespaceResponse, GetNamespaceResponse, ListNamespacesResponse, PatchNamespaceRequest, PatchNamespaceResponse

message NamespaceShardsAssignment

client.proto:137

* The shards assignments for a given namespace

Used in: ShardAssignments

message NamespaceStatus

metadata.proto:107

Used in: ClusterStatus

message Notification

client.proto:526

Used in: NotificationEntry

message NotificationBatch

client.proto:505

Used as response type in: OxiaClient.GetNotifications, streamnative.oxia.proto.OxiaClient.GetNotifications

message NotificationEntry

client.proto:519

Used in: NotificationBatch

enum NotificationType

client.proto:492

Used in: Notification

message NotificationsRequest

client.proto:499

Used as request type in: OxiaClient.GetNotifications, streamnative.oxia.proto.OxiaClient.GetNotifications

message PutRequest

client.proto:241

* A put request. Persists the specified key and value

Used in: WriteRequest

message PutResponse

client.proto:278

* The response to a put request.

Used in: WriteResponse

message RangeScanRequest

client.proto:401

* Input to a range-scan request

Used as request type in: OxiaClient.RangeScan, streamnative.oxia.proto.OxiaClient.RangeScan

message RangeScanResponse

client.proto:418

* The response to a range-scan request.

Used as response type in: OxiaClient.RangeScan, streamnative.oxia.proto.OxiaClient.RangeScan

message ReadRequest

client.proto:216

* A batch read request. Applies the batches of requests.

Used as request type in: OxiaClient.Read, streamnative.oxia.proto.OxiaClient.Read

message ReadResponse

client.proto:228

* The response to a batch read request. Responses of each type respect the order of the original requests.

Used as response type in: OxiaClient.Read, streamnative.oxia.proto.OxiaClient.Read

message SecondaryIndex

client.proto:233

Used in: PutRequest, proto.StorageEntry

message SessionHeartbeat

client.proto:478

Used as request type in: OxiaClient.KeepAlive, streamnative.oxia.proto.OxiaClient.KeepAlive

message ShardAssignment

client.proto:153

* The assignment of a shard to a server.

Used in: NamespaceShardsAssignment

message ShardAssignments

client.proto:129

* The response to a shard assignments request.

Used as request type in: replication.OxiaCoordination.PushShardAssignments

Used as response type in: OxiaClient.GetShardAssignments, streamnative.oxia.proto.OxiaClient.GetShardAssignments

message ShardAssignmentsRequest

client.proto:122

* A shard assignments request. Gets all shard-to-server assignments as a stream. Each set of assignments in the response stream will contain all the assignments to bring the client up to date. For example, if a shard is split, the stream will return a single response containing all the new shard assignments as opposed to multiple stream responses, each containing a single shard assignment.

Used as request type in: OxiaClient.GetShardAssignments, streamnative.oxia.proto.OxiaClient.GetShardAssignments

enum ShardKeyRouter

client.proto:166

Used in: NamespaceShardsAssignment

message ShardMetadata

metadata.proto:96

Used in: NamespaceStatus

enum ShardStatus

metadata.proto:89

Used in: ShardMetadata

message SplitMetadata

metadata.proto:79

Used in: ShardMetadata

enum SplitPhase

metadata.proto:73

Used in: SplitMetadata

enum Status

client.proto:457

* Represents all the possible status.

Used in: DeleteRangeResponse, DeleteResponse, GetResponse, PutResponse

message Version

client.proto:435

* Version contains info about the state of a record.

Used in: GetResponse, PutResponse

message WriteRequest

client.proto:188

* A batch write request. Applies the batches of requests. Requests are processed in positional order within batches and the batch types are processed in the following order: puts, deletes, delete_ranges.

Used as request type in: OxiaClient.Write, OxiaClient.WriteStream, streamnative.oxia.proto.OxiaClient.Write, streamnative.oxia.proto.OxiaClient.WriteStream

Used as field type in: proto.WriteRequests

message WriteResponse

client.proto:204

* The response to a batch write request. Responses of each type respect the order of the original requests.

Used as response type in: OxiaClient.Write, OxiaClient.WriteStream, streamnative.oxia.proto.OxiaClient.Write, streamnative.oxia.proto.OxiaClient.WriteStream