Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 684735565
Change-Id: Ia324628db3e7ad4348f043df68197109545096a4
  • Loading branch information
Tensorstore Team authored and copybara-github committed Oct 11, 2024
1 parent 1650362 commit b2b7c21
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tensorstore/kvstore/tsgrpc/kvstore.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ package tensorstore_grpc.kvstore;
import "google/protobuf/timestamp.proto";
import "tensorstore/kvstore/tsgrpc/common.proto";

// option cc_api_version = 2;

// Proto-api for a remote key-value store
service KvStoreService {
/// Attempts to read the specified key.
Expand Down Expand Up @@ -86,14 +84,16 @@ message ReadResponse {
/// requested and the condition was not satisfied. The `value` member
/// must be empty.
UNSPECIFIED = 0;

/// Indicates a missing value (not an error). The `value` member must be
/// empty.
MISSING = 1;

/// Indicates a value is present.
VALUE = 2;
}
State state = 3;

State state = 3;
bytes value = 4 [ctype = CORD];
}

Expand All @@ -111,7 +111,6 @@ message WriteRequest {
/// - The special value of `StorageGeneration::NoValue()` specifies a
/// condition that the `key` does not have an existing value.
bytes generation_if_equal = 2;

bytes value = 3 [ctype = CORD];
}

Expand Down Expand Up @@ -160,5 +159,6 @@ message ListResponse {
bytes key = 1;
int64 size = 2;
}

repeated Entry entry = 2;
}

0 comments on commit b2b7c21

Please sign in to comment.