@@ -14,10 +14,10 @@ message GetObjectRequest {
14
14
// Authorization and billing can also be performed at the `store_id` level.
15
15
string store_id = 1 ;
16
16
17
- // `Key` for which the value is to be fetched.
17
+ // The key of the value to be fetched.
18
18
//
19
- // If the specified `key` does not exist, returns `ErrorResponse` with ` NO_SUCH_KEY_EXCEPTION` as
20
- // `ErrorCode `.
19
+ // If the specified `key` does not exist, returns `ErrorCode. NO_SUCH_KEY_EXCEPTION` in the
20
+ // the `ErrorResponse `.
21
21
//
22
22
// Consistency Guarantee:
23
23
// Get(read) operations against a `key` are consistent reads and will reflect all previous writes,
@@ -266,21 +266,21 @@ enum ErrorCode {
266
266
// Default protobuf Enum value. Will not be used as `ErrorCode` by server.
267
267
UNKNOWN = 0 ;
268
268
269
- // CONFLICT_EXCEPTION is used when the request contains mismatched version (either key or global)
269
+ // Used when the request contains mismatched version (either key or global)
270
270
// in `PutObjectRequest`. For more info refer `PutObjectRequest`.
271
271
CONFLICT_EXCEPTION = 1 ;
272
272
273
- // INVALID_REQUEST_EXCEPTION is used in the following cases:
273
+ // Used in the following cases:
274
274
// - The request was missing a required argument.
275
275
// - The specified argument was invalid, incomplete or in the wrong format.
276
276
// - The request body of api cannot be deserialized into corresponding protobuf object.
277
277
INVALID_REQUEST_EXCEPTION = 2 ;
278
278
279
- // An internal server error occurred, client is probably at no fault and can safely retry this
280
- // error with exponential backoff.
279
+ // Used when an internal server error occurred, client is probably at no fault and can safely retry
280
+ // this error with exponential backoff.
281
281
INTERNAL_SERVER_EXCEPTION = 3 ;
282
282
283
- // NO_SUCH_KEY_EXCEPTION is used when the specified `key` in a `GetObjectRequest` does not exist.
283
+ // Used when the specified `key` in a `GetObjectRequest` does not exist.
284
284
NO_SUCH_KEY_EXCEPTION = 4 ;
285
285
}
286
286
0 commit comments