File tree

15 files changed

+422
-380
lines changed

15 files changed

+422
-380
lines changed
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public final ServerCallable<ReadObjectRequest, ReadObjectResponse> read
190190
* that method an `WriteObjectSpec.` They should then attach the returned `upload_id` to the first
191191
* message of each following call to `Create`. If there is an error or the connection is broken
192192
* during the resumable `Create()`, the client should check the status of the `Create()` by
193-
* calling `QueryWriteStatus()` and continue writing from the returned `committed_size`. This may
193+
* calling `QueryWriteStatus()` and continue writing from the returned `persisted_size`. This may
194194
* be less than the amount of data the client previously sent.
195195
*
196196
* <p>The service will not view the object as complete until the client has sent a
@@ -294,7 +294,7 @@ public final StartResumableWriteResponse startResumableWrite(StartResumableWrite
294294

295295
// AUTO-GENERATED DOCUMENTATION AND METHOD.
296296
/**
297-
* Determines the `committed_size` for an object that is being written, which can then be used as
297+
* Determines the `persisted_size` for an object that is being written, which can then be used as
298298
* the `write_offset` for the next `Write()` call.
299299
*
300300
* <p>If the object does not exist (i.e., the object has been deleted, or the first `Write()` has
@@ -303,7 +303,7 @@ public final StartResumableWriteResponse startResumableWrite(StartResumableWrite
303303
* <p>The client &#42;&#42;may&#42;&#42; call `QueryWriteStatus()` at any time to determine how
304304
* much data has been processed for this object. This is useful if the client is buffering data
305305
* and needs to know which data can be safely evicted. For any sequence of `QueryWriteStatus()`
306-
* calls for a given object name, the sequence of returned `committed_size` values will be
306+
* calls for a given object name, the sequence of returned `persisted_size` values will be
307307
* non-decreasing.
308308
*
309309
* <p>Sample code:
@@ -327,7 +327,7 @@ public final QueryWriteStatusResponse queryWriteStatus(String uploadId) {
327327

328328
// AUTO-GENERATED DOCUMENTATION AND METHOD.
329329
/**
330-
* Determines the `committed_size` for an object that is being written, which can then be used as
330+
* Determines the `persisted_size` for an object that is being written, which can then be used as
331331
* the `write_offset` for the next `Write()` call.
332332
*
333333
* <p>If the object does not exist (i.e., the object has been deleted, or the first `Write()` has
@@ -336,7 +336,7 @@ public final QueryWriteStatusResponse queryWriteStatus(String uploadId) {
336336
* <p>The client &#42;&#42;may&#42;&#42; call `QueryWriteStatus()` at any time to determine how
337337
* much data has been processed for this object. This is useful if the client is buffering data
338338
* and needs to know which data can be safely evicted. For any sequence of `QueryWriteStatus()`
339-
* calls for a given object name, the sequence of returned `committed_size` values will be
339+
* calls for a given object name, the sequence of returned `persisted_size` values will be
340340
* non-decreasing.
341341
*
342342
* <p>Sample code:
@@ -362,7 +362,7 @@ public final QueryWriteStatusResponse queryWriteStatus(QueryWriteStatusRequest r
362362

363363
// AUTO-GENERATED DOCUMENTATION AND METHOD.
364364
/**
365-
* Determines the `committed_size` for an object that is being written, which can then be used as
365+
* Determines the `persisted_size` for an object that is being written, which can then be used as
366366
* the `write_offset` for the next `Write()` call.
367367
*
368368
* <p>If the object does not exist (i.e., the object has been deleted, or the first `Write()` has
@@ -371,7 +371,7 @@ public final QueryWriteStatusResponse queryWriteStatus(QueryWriteStatusRequest r
371371
* <p>The client &#42;&#42;may&#42;&#42; call `QueryWriteStatus()` at any time to determine how
372372
* much data has been processed for this object. This is useful if the client is buffering data
373373
* and needs to know which data can be safely evicted. For any sequence of `QueryWriteStatus()`
374-
* calls for a given object name, the sequence of returned `committed_size` values will be
374+
* calls for a given object name, the sequence of returned `persisted_size` values will be
375375
* non-decreasing.
376376
*
377377
* <p>Sample code:
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ public void readObject(
287287
* each following call to `Create`. If there is an error or the connection is
288288
* broken during the resumable `Create()`, the client should check the status
289289
* of the `Create()` by calling `QueryWriteStatus()` and continue writing from
290-
* the returned `committed_size`. This may be less than the amount of data the
290+
* the returned `persisted_size`. This may be less than the amount of data the
291291
* client previously sent.
292292
* The service will not view the object as complete until the client has
293293
* sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any
@@ -324,7 +324,7 @@ public void startResumableWrite(
324324
*
325325
*
326326
* <pre>
327-
* Determines the `committed_size` for an object that is being written, which
327+
* Determines the `persisted_size` for an object that is being written, which
328328
* can then be used as the `write_offset` for the next `Write()` call.
329329
* If the object does not exist (i.e., the object has been deleted, or the
330330
* first `Write()` has not yet reached the service), this method returns the
@@ -333,7 +333,7 @@ public void startResumableWrite(
333333
* much data has been processed for this object. This is useful if the
334334
* client is buffering data and needs to know which data can be safely
335335
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
336-
* object name, the sequence of returned `committed_size` values will be
336+
* object name, the sequence of returned `persisted_size` values will be
337337
* non-decreasing.
338338
* </pre>
339339
*/
@@ -426,7 +426,7 @@ public void readObject(
426426
* each following call to `Create`. If there is an error or the connection is
427427
* broken during the resumable `Create()`, the client should check the status
428428
* of the `Create()` by calling `QueryWriteStatus()` and continue writing from
429-
* the returned `committed_size`. This may be less than the amount of data the
429+
* the returned `persisted_size`. This may be less than the amount of data the
430430
* client previously sent.
431431
* The service will not view the object as complete until the client has
432432
* sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any
@@ -465,7 +465,7 @@ public void startResumableWrite(
465465
*
466466
*
467467
* <pre>
468-
* Determines the `committed_size` for an object that is being written, which
468+
* Determines the `persisted_size` for an object that is being written, which
469469
* can then be used as the `write_offset` for the next `Write()` call.
470470
* If the object does not exist (i.e., the object has been deleted, or the
471471
* first `Write()` has not yet reached the service), this method returns the
@@ -474,7 +474,7 @@ public void startResumableWrite(
474474
* much data has been processed for this object. This is useful if the
475475
* client is buffering data and needs to know which data can be safely
476476
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
477-
* object name, the sequence of returned `committed_size` values will be
477+
* object name, the sequence of returned `persisted_size` values will be
478478
* non-decreasing.
479479
* </pre>
480480
*/
@@ -539,7 +539,7 @@ public com.google.storage.v2.StartResumableWriteResponse startResumableWrite(
539539
*
540540
*
541541
* <pre>
542-
* Determines the `committed_size` for an object that is being written, which
542+
* Determines the `persisted_size` for an object that is being written, which
543543
* can then be used as the `write_offset` for the next `Write()` call.
544544
* If the object does not exist (i.e., the object has been deleted, or the
545545
* first `Write()` has not yet reached the service), this method returns the
@@ -548,7 +548,7 @@ public com.google.storage.v2.StartResumableWriteResponse startResumableWrite(
548548
* much data has been processed for this object. This is useful if the
549549
* client is buffering data and needs to know which data can be safely
550550
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
551-
* object name, the sequence of returned `committed_size` values will be
551+
* object name, the sequence of returned `persisted_size` values will be
552552
* non-decreasing.
553553
* </pre>
554554
*/
@@ -597,7 +597,7 @@ protected StorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
597597
*
598598
*
599599
* <pre>
600-
* Determines the `committed_size` for an object that is being written, which
600+
* Determines the `persisted_size` for an object that is being written, which
601601
* can then be used as the `write_offset` for the next `Write()` call.
602602
* If the object does not exist (i.e., the object has been deleted, or the
603603
* first `Write()` has not yet reached the service), this method returns the
@@ -606,7 +606,7 @@ protected StorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c
606606
* much data has been processed for this object. This is useful if the
607607
* client is buffering data and needs to know which data can be safely
608608
* evicted. For any sequence of `QueryWriteStatus()` calls for a given
609-
* object name, the sequence of returned `committed_size` values will be
609+
* object name, the sequence of returned `persisted_size` values will be
610610
* non-decreasing.
611611
* </pre>
612612
*/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- see https://www.mojohaus.org/clirr-maven-plugin/examples/ignored-differences.html -->
3+
<differences>
4+
<!--
5+
- Rename committed_size -> persisted_size
6+
- * QueryWriteStatusResponse
7+
- * WriteObjectResponse
8+
-->
9+
10+
<!-- remove committed_size -->
11+
<difference>
12+
<differenceType>6001</differenceType>
13+
<className>com/google/storage/v2/*</className>
14+
<field>COMMITTED_SIZE</field>
15+
</difference>
16+
<difference>
17+
<differenceType>6011</differenceType>
18+
<className>com/google/storage/v2/*</className>
19+
<field>COMMITTED_SIZE_FIELD_NUMBER</field>
20+
</difference>
21+
<difference>
22+
<differenceType>7002</differenceType>
23+
<className>com/google/storage/v2/*</className>
24+
<method>* *CommittedSize(*)</method>
25+
</difference>
26+
<!-- add PersistedSize -->
27+
<difference>
28+
<differenceType>7012</differenceType>
29+
<className>com/google/storage/v2/*</className>
30+
<method>* *PersistedSize(*)</method>
31+
</difference>
32+
33+
<!--
34+
- Change type String key_sha256 -> bytes key_sha256_bytes
35+
- * Object.CustomerEncryption
36+
-->
37+
<!---->
38+
39+
<!-- remove key_sha256 -->
40+
<difference>
41+
<differenceType>6011</differenceType>
42+
<className>com/google/storage/v2/Object$CustomerEncryption*</className>
43+
<field>KEY_SHA256_FIELD_NUMBER</field>
44+
</difference>
45+
<difference>
46+
<differenceType>7002</differenceType>
47+
<className>com/google/storage/v2/Object$CustomerEncryption*</className>
48+
<method>* *KeySha256(*)</method>
49+
</difference>
50+
<!-- add PersistedSize -->
51+
<difference>
52+
<differenceType>7012</differenceType>
53+
<className>com/google/storage/v2/Object$CustomerEncryption*</className>
54+
<method>* *KeySha256Bytes(*)</method>
55+
</difference>
56+
</differences>

0 commit comments

Comments
 (0)