Skip to content

Commit e4284b4

Browse files
shikharactions-user
authored andcommitted
sync protos
GitOrigin-RevId: 2c0222e10b656cfaff682bfa28a4ea63f631a9e8
1 parent 35beb68 commit e4284b4

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

s2/v1/openapi.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,7 +1166,7 @@
11661166
{
11671167
"name": "s2-format",
11681168
"in": "header",
1169-
"description": "Recognized when the Content-Type is `application/json`.\njson: UTF-8 data\njson-binsafe: Base64-encoded binary data",
1169+
"description": "Define treatment of blob fields when using JSON content type:\n`raw` (default) or `base64`.",
11701170
"required": false,
11711171
"schema": {
11721172
"$ref": "#/components/schemas/S2Format"
@@ -1333,7 +1333,7 @@
13331333
{
13341334
"name": "s2-format",
13351335
"in": "header",
1336-
"description": "Recognized when the Content-Type is `application/json`.\njson: UTF-8 data\njson-binsafe: Base64-encoded binary data",
1336+
"description": "Define treatment of blob fields when using JSON content type:\n`raw` (default) or `base64`.",
13371337
"required": false,
13381338
"schema": {
13391339
"$ref": "#/components/schemas/S2Format"
@@ -2209,8 +2209,8 @@
22092209
"S2Format": {
22102210
"type": "string",
22112211
"enum": [
2212-
"json",
2213-
"json-binsafe"
2212+
"raw",
2213+
"base64"
22142214
]
22152215
},
22162216
"SequencedRecord": {

s2/v1/s2.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ message AppendInput {
4242
// Enforce that the sequence number issued to the first record matches.
4343
optional uint64 match_seq_num = 2;
4444
// Enforce a fencing token which must have been previously set by a `fence` command record.
45-
optional bytes fencing_token = 3;
45+
optional string fencing_token = 3;
4646
}
4747

4848
// Success response message to an Append request.

s2/v1alpha/s2.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ message AppendInput {
451451
// Enforce that the sequence number issued to the first record matches.
452452
optional uint64 match_seq_num = 3;
453453
// Enforce a fencing token which must have been previously set by a `fence` command record.
454-
optional bytes fencing_token = 4;
454+
optional string fencing_token = 4;
455455
}
456456

457457
// Output from append response.

0 commit comments

Comments
 (0)