From 31c1b18acc3c118e39eb613a82ee292f3e246b8f Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 5 Dec 2022 18:00:03 -0500 Subject: [PATCH] feat: add {Compose,Rewrite,StartResumableWrite}Request.object_checksums and Bucket.RetentionPolicy.retention_duration (#1790) * ComposeObjectRequest.object_checksums * provide checksum validation values for ComposeObject operations * RewriteObjectRequest.object_checksums * provide checksum validation values for RewriteObject operations * StartResumableWriteRequest.object_checksums * provide checksum validation values when starting a ResumableWrite session * Bucket.RetentionPolicy.retention_duration * Add new retention_duration field that is explicitly a Duration superseding retention_period which is an int64 of seconds. docs: Clarified the object can be deleted via DeleteObject docs: Clarified relative resource names in gRPC IAM RPCs feat: Added object_checksums for compose/rewrite/startResumableWrite request docs: Updated the document link for `Naming Guidelines` fix: Removed WriteObject routing annotations feat: Added a new retention_duration field of Duration type PiperOrigin-RevId: 492231039 Source-Link: https://github.com/googleapis/googleapis/commit/82a7568a886973f7f0b6a47c35e3b73b03a87fb7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/2ecf909ca662ba304842ce6d041e92920be1e9b8 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMmVjZjkwOWNhNjYyYmEzMDQ4NDJjZTZkMDQxZTkyOTIwYmUxZTliOCJ9 Co-authored-by: BenWhitehead --- .../com/google/storage/v2/StorageClient.java | 60 +- .../storage/v2/stub/GrpcStorageStub.java | 17 - .../google/storage/v2/StorageClientTest.java | 9 + .../com/google/storage/v2/StorageGrpc.java | 36 + .../clirr-ignored-differences.xml | 12 + .../java/com/google/storage/v2/Bucket.java | 784 +++++++++--- .../storage/v2/BucketAccessControl.java | 28 +- .../v2/BucketAccessControlOrBuilder.java | 8 +- .../google/storage/v2/BucketOrBuilder.java | 57 +- .../v2/CancelResumableWriteRequest.java | 28 +- .../CancelResumableWriteRequestOrBuilder.java | 8 +- .../storage/v2/ComposeObjectRequest.java | 316 ++++- .../v2/ComposeObjectRequestOrBuilder.java | 38 + .../storage/v2/CreateBucketRequest.java | 42 +- .../v2/CreateBucketRequestOrBuilder.java | 12 +- .../storage/v2/CreateHmacKeyRequest.java | 42 +- .../v2/CreateHmacKeyRequestOrBuilder.java | 12 +- .../storage/v2/DeleteObjectRequest.java | 28 +- .../v2/DeleteObjectRequestOrBuilder.java | 8 +- .../google/storage/v2/HmacKeyMetadata.java | 42 +- .../storage/v2/HmacKeyMetadataOrBuilder.java | 12 +- .../google/storage/v2/ListObjectsRequest.java | 126 +- .../v2/ListObjectsRequestOrBuilder.java | 36 +- .../v2/LockBucketRetentionPolicyRequest.java | 16 +- ...BucketRetentionPolicyRequestOrBuilder.java | 4 +- .../com/google/storage/v2/Notification.java | 21 +- .../storage/v2/NotificationOrBuilder.java | 6 +- .../java/com/google/storage/v2/Object.java | 376 +++--- .../storage/v2/ObjectAccessControl.java | 28 +- .../v2/ObjectAccessControlOrBuilder.java | 8 +- .../google/storage/v2/ObjectOrBuilder.java | 94 +- .../storage/v2/QueryWriteStatusRequest.java | 28 +- .../v2/QueryWriteStatusRequestOrBuilder.java | 8 +- .../storage/v2/RewriteObjectRequest.java | 315 ++++- .../v2/RewriteObjectRequestOrBuilder.java | 48 +- .../v2/StartResumableWriteRequest.java | 340 +++++- .../StartResumableWriteRequestOrBuilder.java | 53 +- .../com/google/storage/v2/StorageProto.java | 1063 +++++++++-------- .../google/storage/v2/WriteObjectRequest.java | 16 +- .../v2/WriteObjectRequestOrBuilder.java | 4 +- .../proto/google/storage/v2/storage.proto | 416 +++---- 41 files changed, 3060 insertions(+), 1545 deletions(-) diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageClient.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageClient.java index 636c1ce82..51b7167e1 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageClient.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageClient.java @@ -829,7 +829,9 @@ public final Bucket lockBucketRetentionPolicy(LockBucketRetentionPolicyRequest r // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the IAM policy for a specified bucket or object. + * Gets the IAM policy for a specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -860,7 +862,9 @@ public final Policy getIamPolicy(ResourceName resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the IAM policy for a specified bucket or object. + * Gets the IAM policy for a specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -888,7 +892,9 @@ public final Policy getIamPolicy(String resource) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the IAM policy for a specified bucket or object. + * Gets the IAM policy for a specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -919,7 +925,9 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Gets the IAM policy for a specified bucket or object. + * Gets the IAM policy for a specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -949,7 +957,9 @@ public final UnaryCallable getIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an IAM policy for the specified bucket or object. + * Updates an IAM policy for the specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -985,7 +995,9 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an IAM policy for the specified bucket or object. + * Updates an IAM policy for the specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -1018,7 +1030,9 @@ public final Policy setIamPolicy(String resource, Policy policy) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an IAM policy for the specified bucket or object. + * Updates an IAM policy for the specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -1050,7 +1064,9 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** - * Updates an IAM policy for the specified bucket or object. + * Updates an IAM policy for the specified bucket or object. The `resource` field in the request + * should be projects/_/buckets/<bucket_name> for a bucket or + * projects/_/buckets/<bucket_name>/objects/<object_name> for an object. * *

Sample code: * @@ -1082,7 +1098,9 @@ public final UnaryCallable setIamPolicyCallable() { // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Tests a set of permissions on the given bucket or object to see which, if any, are held by the - * caller. + * caller. The `resource` field in the request should be projects/_/buckets/<bucket_name> + * for a bucket or projects/_/buckets/<bucket_name>/objects/<object_name> for an + * object. * *

Sample code: * @@ -1120,7 +1138,9 @@ public final TestIamPermissionsResponse testIamPermissions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Tests a set of permissions on the given bucket or object to see which, if any, are held by the - * caller. + * caller. The `resource` field in the request should be projects/_/buckets/<bucket_name> + * for a bucket or projects/_/buckets/<bucket_name>/objects/<object_name> for an + * object. * *

Sample code: * @@ -1158,7 +1178,9 @@ public final TestIamPermissionsResponse testIamPermissions( // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Tests a set of permissions on the given bucket or object to see which, if any, are held by the - * caller. + * caller. The `resource` field in the request should be projects/_/buckets/<bucket_name> + * for a bucket or projects/_/buckets/<bucket_name>/objects/<object_name> for an + * object. * *

Sample code: * @@ -1190,7 +1212,9 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq // AUTO-GENERATED DOCUMENTATION AND METHOD. /** * Tests a set of permissions on the given bucket or object to see which, if any, are held by the - * caller. + * caller. The `resource` field in the request should be projects/_/buckets/<bucket_name> + * for a bucket or projects/_/buckets/<bucket_name>/objects/<object_name> for an + * object. * *

Sample code: * @@ -1861,6 +1885,7 @@ public final ListNotificationsPagedResponse listNotifications(ListNotificationsR * CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") * .toString()) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * Object response = storageClient.composeObject(request); * } @@ -1897,6 +1922,7 @@ public final Object composeObject(ComposeObjectRequest request) { * CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") * .toString()) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * ApiFuture future = storageClient.composeObjectCallable().futureCall(request); * // Do something. @@ -1929,7 +1955,8 @@ public final UnaryCallable composeObjectCallable() * } * * @param bucket Required. Name of the bucket in which the object resides. - * @param object Required. The name of the object to delete (when not using a resumable write). + * @param object Required. The name of the finalized object to delete. Note: If you want to delete + * an unfinalized resumable upload please use `CancelResumableWrite`. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final void deleteObject(String bucket, String object) { @@ -1960,7 +1987,8 @@ public final void deleteObject(String bucket, String object) { * } * * @param bucket Required. Name of the bucket in which the object resides. - * @param object Required. The name of the object to delete (when not using a resumable write). + * @param object Required. The name of the finalized object to delete. Note: If you want to delete + * an unfinalized resumable upload please use `CancelResumableWrite`. * @param generation If present, permanently deletes a specific revision of this object (as * opposed to the latest version, the default). * @throws com.google.api.gax.rpc.ApiException if the remote call fails @@ -2717,6 +2745,7 @@ public final UnaryCallable listObjectsC * .setCopySourceEncryptionKeyBytes(ByteString.EMPTY) * .setCopySourceEncryptionKeySha256Bytes(ByteString.EMPTY) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * RewriteResponse response = storageClient.rewriteObject(request); * } @@ -2768,6 +2797,7 @@ public final RewriteResponse rewriteObject(RewriteObjectRequest request) { * .setCopySourceEncryptionKeyBytes(ByteString.EMPTY) * .setCopySourceEncryptionKeySha256Bytes(ByteString.EMPTY) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * ApiFuture future = storageClient.rewriteObjectCallable().futureCall(request); * // Do something. @@ -2797,6 +2827,7 @@ public final UnaryCallable rewriteObjectC * StartResumableWriteRequest.newBuilder() * .setWriteObjectSpec(WriteObjectSpec.newBuilder().build()) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * StartResumableWriteResponse response = storageClient.startResumableWrite(request); * } @@ -2827,6 +2858,7 @@ public final StartResumableWriteResponse startResumableWrite(StartResumableWrite * StartResumableWriteRequest.newBuilder() * .setWriteObjectSpec(WriteObjectSpec.newBuilder().build()) * .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + * .setObjectChecksums(ObjectChecksums.newBuilder().build()) * .build(); * ApiFuture future = * storageClient.startResumableWriteCallable().futureCall(request); diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java index cd33ebcaf..2b568627a 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageStub.java @@ -471,10 +471,6 @@ public class GrpcStorageStub extends StorageStub { PathTemplate.create("{bucket=**}"); private static final PathTemplate UPDATE_OBJECT_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); - private static final PathTemplate WRITE_OBJECT_0_PATH_TEMPLATE = - PathTemplate.create("{bucket=**}"); - private static final PathTemplate WRITE_OBJECT_1_PATH_TEMPLATE = - PathTemplate.create("{bucket=projects/*/buckets/*}/**"); private static final PathTemplate LIST_OBJECTS_0_PATH_TEMPLATE = PathTemplate.create("{bucket=**}"); private static final PathTemplate REWRITE_OBJECT_0_PATH_TEMPLATE = @@ -751,19 +747,6 @@ protected GrpcStorageStub( GrpcCallSettings writeObjectTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(writeObjectMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - if (request.getWriteObjectSpec() != null - && request.getWriteObjectSpec().getResource() != null) { - builder.add( - request.getWriteObjectSpec().getResource().getBucket(), - "bucket", - WRITE_OBJECT_0_PATH_TEMPLATE); - } - builder.add(request.getUploadId(), "bucket", WRITE_OBJECT_1_PATH_TEMPLATE); - return builder.build(); - }) .build(); GrpcCallSettings listObjectsTransportSettings = GrpcCallSettings.newBuilder() diff --git a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/StorageClientTest.java b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/StorageClientTest.java index b4a7c6ddf..9f1c7c9aa 100644 --- a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/StorageClientTest.java +++ b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/StorageClientTest.java @@ -1368,6 +1368,7 @@ public void composeObjectTest() throws Exception { CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") .toString()) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); Object actualResponse = client.composeObject(request); @@ -1387,6 +1388,7 @@ public void composeObjectTest() throws Exception { Assert.assertEquals(request.getKmsKey(), actualRequest.getKmsKey()); Assert.assertEquals( request.getCommonObjectRequestParams(), actualRequest.getCommonObjectRequestParams()); + Assert.assertEquals(request.getObjectChecksums(), actualRequest.getObjectChecksums()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -1410,6 +1412,7 @@ public void composeObjectExceptionTest() throws Exception { CryptoKeyName.of("[PROJECT]", "[LOCATION]", "[KEY_RING]", "[CRYPTO_KEY]") .toString()) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); client.composeObject(request); Assert.fail("No exception raised"); @@ -1997,6 +2000,7 @@ public void rewriteObjectTest() throws Exception { .setCopySourceEncryptionKeyBytes(ByteString.EMPTY) .setCopySourceEncryptionKeySha256Bytes(ByteString.EMPTY) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); RewriteResponse actualResponse = client.rewriteObject(request); @@ -2043,6 +2047,7 @@ public void rewriteObjectTest() throws Exception { actualRequest.getCopySourceEncryptionKeySha256Bytes()); Assert.assertEquals( request.getCommonObjectRequestParams(), actualRequest.getCommonObjectRequestParams()); + Assert.assertEquals(request.getObjectChecksums(), actualRequest.getObjectChecksums()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -2081,6 +2086,7 @@ public void rewriteObjectExceptionTest() throws Exception { .setCopySourceEncryptionKeyBytes(ByteString.EMPTY) .setCopySourceEncryptionKeySha256Bytes(ByteString.EMPTY) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); client.rewriteObject(request); Assert.fail("No exception raised"); @@ -2099,6 +2105,7 @@ public void startResumableWriteTest() throws Exception { StartResumableWriteRequest.newBuilder() .setWriteObjectSpec(WriteObjectSpec.newBuilder().build()) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); StartResumableWriteResponse actualResponse = client.startResumableWrite(request); @@ -2111,6 +2118,7 @@ public void startResumableWriteTest() throws Exception { Assert.assertEquals(request.getWriteObjectSpec(), actualRequest.getWriteObjectSpec()); Assert.assertEquals( request.getCommonObjectRequestParams(), actualRequest.getCommonObjectRequestParams()); + Assert.assertEquals(request.getObjectChecksums(), actualRequest.getObjectChecksums()); Assert.assertTrue( channelProvider.isHeaderSent( ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), @@ -2127,6 +2135,7 @@ public void startResumableWriteExceptionTest() throws Exception { StartResumableWriteRequest.newBuilder() .setWriteObjectSpec(WriteObjectSpec.newBuilder().build()) .setCommonObjectRequestParams(CommonObjectRequestParams.newBuilder().build()) + .setObjectChecksums(ObjectChecksums.newBuilder().build()) .build(); client.startResumableWrite(request); Assert.fail("No exception raised"); diff --git a/grpc-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageGrpc.java b/grpc-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageGrpc.java index 74422ea15..d55f766cd 100644 --- a/grpc-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageGrpc.java +++ b/grpc-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageGrpc.java @@ -1430,6 +1430,9 @@ public void lockBucketRetentionPolicy( * *
      * Gets the IAM policy for a specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void getIamPolicy( @@ -1444,6 +1447,9 @@ public void getIamPolicy( * *
      * Updates an IAM policy for the specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void setIamPolicy( @@ -1459,6 +1465,9 @@ public void setIamPolicy( *
      * Tests a set of permissions on the given bucket or object to see which, if
      * any, are held by the caller.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void testIamPermissions( @@ -2152,6 +2161,9 @@ public void lockBucketRetentionPolicy( * *
      * Gets the IAM policy for a specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void getIamPolicy( @@ -2168,6 +2180,9 @@ public void getIamPolicy( * *
      * Updates an IAM policy for the specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void setIamPolicy( @@ -2185,6 +2200,9 @@ public void setIamPolicy( *
      * Tests a set of permissions on the given bucket or object to see which, if
      * any, are held by the caller.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public void testIamPermissions( @@ -2715,6 +2733,9 @@ public com.google.storage.v2.Bucket lockBucketRetentionPolicy( * *
      * Gets the IAM policy for a specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { @@ -2727,6 +2748,9 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque * *
      * Updates an IAM policy for the specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { @@ -2740,6 +2764,9 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque *
      * Tests a set of permissions on the given bucket or object to see which, if
      * any, are held by the caller.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( @@ -3146,6 +3173,9 @@ protected StorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c * *
      * Gets the IAM policy for a specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3159,6 +3189,9 @@ protected StorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c * *
      * Updates an IAM policy for the specified bucket or object.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -3173,6 +3206,9 @@ protected StorageFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions c *
      * Tests a set of permissions on the given bucket or object to see which, if
      * any, are held by the caller.
+     * The `resource` field in the request should be
+     * projects/_/buckets/<bucket_name> for a bucket or
+     * projects/_/buckets/<bucket_name>/objects/<object_name> for an object.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/proto-google-cloud-storage-v2/clirr-ignored-differences.xml b/proto-google-cloud-storage-v2/clirr-ignored-differences.xml index 70e35c153..41c35b797 100644 --- a/proto-google-cloud-storage-v2/clirr-ignored-differences.xml +++ b/proto-google-cloud-storage-v2/clirr-ignored-differences.xml @@ -1,5 +1,17 @@ + + + 7012 + com/google/storage/v2/* + * *RetentionDuration*(*) + + + + 7012 + com/google/storage/v2/* + * *ObjectChecksums*(*) + diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Bucket.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Bucket.java index 5ce2c9075..b15e081b7 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Bucket.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Bucket.java @@ -3014,8 +3014,9 @@ public interface UniformBucketLevelAccessOrBuilder * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3028,8 +3029,9 @@ public interface UniformBucketLevelAccessOrBuilder * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3042,8 +3044,9 @@ public interface UniformBucketLevelAccessOrBuilder * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3124,8 +3127,9 @@ public boolean getEnabled() { * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3141,8 +3145,9 @@ public boolean hasLockTime() { * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3158,8 +3163,9 @@ public com.google.protobuf.Timestamp getLockTime() { * *
        * The deadline time for changing
-       * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-       * Mutable until the specified deadline is reached, but not afterward.
+       * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+       * `false`. Mutable until the specified deadline is reached, but not
+       * afterward.
        * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3609,8 +3615,9 @@ public Builder clearEnabled() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3625,8 +3632,9 @@ public boolean hasLockTime() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3647,8 +3655,9 @@ public com.google.protobuf.Timestamp getLockTime() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3671,8 +3680,9 @@ public Builder setLockTime(com.google.protobuf.Timestamp value) { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3692,8 +3702,9 @@ public Builder setLockTime(com.google.protobuf.Timestamp.Builder builderForValue * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3720,8 +3731,9 @@ public Builder mergeLockTime(com.google.protobuf.Timestamp value) { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3742,8 +3754,9 @@ public Builder clearLockTime() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3758,8 +3771,9 @@ public com.google.protobuf.Timestamp.Builder getLockTimeBuilder() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -3778,8 +3792,9 @@ public com.google.protobuf.TimestampOrBuilder getLockTimeOrBuilder() { * *
          * The deadline time for changing
-         * `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-         * Mutable until the specified deadline is reached, but not afterward.
+         * `iam_config.uniform_bucket_level_access.enabled` from `true` to
+         * `false`. Mutable until the specified deadline is reached, but not
+         * afterward.
          * 
* * .google.protobuf.Timestamp lock_time = 2; @@ -11877,6 +11892,53 @@ public interface RetentionPolicyOrBuilder * @return The retentionPeriod. */ long getRetentionPeriod(); + + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return Whether the retentionDuration field is set. + */ + boolean hasRetentionDuration(); + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return The retentionDuration. + */ + com.google.protobuf.Duration getRetentionDuration(); + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + com.google.protobuf.DurationOrBuilder getRetentionDurationOrBuilder(); } /** * @@ -12034,6 +12096,66 @@ public long getRetentionPeriod() { return retentionPeriod_; } + public static final int RETENTION_DURATION_FIELD_NUMBER = 4; + private com.google.protobuf.Duration retentionDuration_; + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return Whether the retentionDuration field is set. + */ + @java.lang.Override + public boolean hasRetentionDuration() { + return retentionDuration_ != null; + } + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return The retentionDuration. + */ + @java.lang.Override + public com.google.protobuf.Duration getRetentionDuration() { + return retentionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionDuration_; + } + /** + * + * + *
+     * The duration that objects need to be retained. Retention duration must be
+     * greater than zero and less than 100 years. Note that enforcement of
+     * retention periods less than a day is not guaranteed. Such periods should
+     * only be used for testing purposes. Any `nanos` value specified will be
+     * rounded down to the nearest second.
+     * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getRetentionDurationOrBuilder() { + return getRetentionDuration(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -12057,6 +12179,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeInt64(3, retentionPeriod_); } + if (retentionDuration_ != null) { + output.writeMessage(4, getRetentionDuration()); + } getUnknownFields().writeTo(output); } @@ -12075,6 +12200,9 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, retentionPeriod_); } + if (retentionDuration_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getRetentionDuration()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -12100,6 +12228,10 @@ public boolean equals(final java.lang.Object obj) { if (hasRetentionPeriod()) { if (getRetentionPeriod() != other.getRetentionPeriod()) return false; } + if (hasRetentionDuration() != other.hasRetentionDuration()) return false; + if (hasRetentionDuration()) { + if (!getRetentionDuration().equals(other.getRetentionDuration())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -12121,6 +12253,10 @@ public int hashCode() { hash = (37 * hash) + RETENTION_PERIOD_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRetentionPeriod()); } + if (hasRetentionDuration()) { + hash = (37 * hash) + RETENTION_DURATION_FIELD_NUMBER; + hash = (53 * hash) + getRetentionDuration().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -12271,6 +12407,12 @@ public Builder clear() { retentionPeriod_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); + if (retentionDurationBuilder_ == null) { + retentionDuration_ = null; + } else { + retentionDuration_ = null; + retentionDurationBuilder_ = null; + } return this; } @@ -12310,6 +12452,11 @@ public com.google.storage.v2.Bucket.RetentionPolicy buildPartial() { result.retentionPeriod_ = retentionPeriod_; to_bitField0_ |= 0x00000001; } + if (retentionDurationBuilder_ == null) { + result.retentionDuration_ = retentionDuration_; + } else { + result.retentionDuration_ = retentionDurationBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -12371,6 +12518,9 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.RetentionPolicy other) { if (other.hasRetentionPeriod()) { setRetentionPeriod(other.getRetentionPeriod()); } + if (other.hasRetentionDuration()) { + mergeRetentionDuration(other.getRetentionDuration()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -12415,6 +12565,13 @@ public Builder mergeFrom( bitField0_ |= 0x00000001; break; } // case 24 + case 34: + { + input.readMessage( + getRetentionDurationFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -12759,6 +12916,227 @@ public Builder clearRetentionPeriod() { return this; } + private com.google.protobuf.Duration retentionDuration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + retentionDurationBuilder_; + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return Whether the retentionDuration field is set. + */ + public boolean hasRetentionDuration() { + return retentionDurationBuilder_ != null || retentionDuration_ != null; + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + * + * @return The retentionDuration. + */ + public com.google.protobuf.Duration getRetentionDuration() { + if (retentionDurationBuilder_ == null) { + return retentionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionDuration_; + } else { + return retentionDurationBuilder_.getMessage(); + } + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public Builder setRetentionDuration(com.google.protobuf.Duration value) { + if (retentionDurationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + retentionDuration_ = value; + onChanged(); + } else { + retentionDurationBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public Builder setRetentionDuration(com.google.protobuf.Duration.Builder builderForValue) { + if (retentionDurationBuilder_ == null) { + retentionDuration_ = builderForValue.build(); + onChanged(); + } else { + retentionDurationBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public Builder mergeRetentionDuration(com.google.protobuf.Duration value) { + if (retentionDurationBuilder_ == null) { + if (retentionDuration_ != null) { + retentionDuration_ = + com.google.protobuf.Duration.newBuilder(retentionDuration_) + .mergeFrom(value) + .buildPartial(); + } else { + retentionDuration_ = value; + } + onChanged(); + } else { + retentionDurationBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public Builder clearRetentionDuration() { + if (retentionDurationBuilder_ == null) { + retentionDuration_ = null; + onChanged(); + } else { + retentionDuration_ = null; + retentionDurationBuilder_ = null; + } + + return this; + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public com.google.protobuf.Duration.Builder getRetentionDurationBuilder() { + + onChanged(); + return getRetentionDurationFieldBuilder().getBuilder(); + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + public com.google.protobuf.DurationOrBuilder getRetentionDurationOrBuilder() { + if (retentionDurationBuilder_ != null) { + return retentionDurationBuilder_.getMessageOrBuilder(); + } else { + return retentionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : retentionDuration_; + } + } + /** + * + * + *
+       * The duration that objects need to be retained. Retention duration must be
+       * greater than zero and less than 100 years. Note that enforcement of
+       * retention periods less than a day is not guaranteed. Such periods should
+       * only be used for testing purposes. Any `nanos` value specified will be
+       * rounded down to the nearest second.
+       * 
+ * + * .google.protobuf.Duration retention_duration = 4; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + getRetentionDurationFieldBuilder() { + if (retentionDurationBuilder_ == null) { + retentionDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getRetentionDuration(), getParentForChildren(), isClean()); + retentionDuration_ = null; + } + return retentionDurationBuilder_; + } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -15036,10 +15414,10 @@ public interface AutoclassOrBuilder * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15053,10 +15431,10 @@ public interface AutoclassOrBuilder * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15070,10 +15448,10 @@ public interface AutoclassOrBuilder * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15153,10 +15531,10 @@ public boolean getEnabled() { * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15173,10 +15551,10 @@ public boolean hasToggleTime() { * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15193,10 +15571,10 @@ public com.google.protobuf.Timestamp getToggleTime() { * * *
-     * Output only. Latest instant at which the `enabled` field was set to true after being
-     * disabled/unconfigured or set to false after being enabled. If Autoclass
-     * is enabled when the bucket is created, the toggle_time is set to the
-     * bucket creation time.
+     * Output only. Latest instant at which the `enabled` field was set to true
+     * after being disabled/unconfigured or set to false after being enabled. If
+     * Autoclass is enabled when the bucket is created, the toggle_time is set
+     * to the bucket creation time.
      * 
* * @@ -15635,10 +16013,10 @@ public Builder clearEnabled() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15654,10 +16032,10 @@ public boolean hasToggleTime() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15679,10 +16057,10 @@ public com.google.protobuf.Timestamp getToggleTime() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15706,10 +16084,10 @@ public Builder setToggleTime(com.google.protobuf.Timestamp value) { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15730,10 +16108,10 @@ public Builder setToggleTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15761,10 +16139,10 @@ public Builder mergeToggleTime(com.google.protobuf.Timestamp value) { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15786,10 +16164,10 @@ public Builder clearToggleTime() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15805,10 +16183,10 @@ public com.google.protobuf.Timestamp.Builder getToggleTimeBuilder() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15828,10 +16206,10 @@ public com.google.protobuf.TimestampOrBuilder getToggleTimeOrBuilder() { * * *
-       * Output only. Latest instant at which the `enabled` field was set to true after being
-       * disabled/unconfigured or set to false after being enabled. If Autoclass
-       * is enabled when the bucket is created, the toggle_time is set to the
-       * bucket creation time.
+       * Output only. Latest instant at which the `enabled` field was set to true
+       * after being disabled/unconfigured or set to false after being enabled. If
+       * Autoclass is enabled when the bucket is created, the toggle_time is set
+       * to the bucket creation time.
        * 
* * @@ -15974,9 +16352,9 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-   * `name` field. For globally unique buckets, this is equal to the "bucket
-   * name" of other Cloud Storage APIs. Example: "pub".
+   * Output only. The user-chosen part of the bucket name. The `{bucket}`
+   * portion of the `name` field. For globally unique buckets, this is equal to
+   * the "bucket name" of other Cloud Storage APIs. Example: "pub".
    * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -15999,9 +16377,9 @@ public java.lang.String getBucketId() { * * *
-   * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-   * `name` field. For globally unique buckets, this is equal to the "bucket
-   * name" of other Cloud Storage APIs. Example: "pub".
+   * Output only. The user-chosen part of the bucket name. The `{bucket}`
+   * portion of the `name` field. For globally unique buckets, this is equal to
+   * the "bucket name" of other Cloud Storage APIs. Example: "pub".
    * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -16157,8 +16535,9 @@ public long getMetageneration() { * * *
-   * Immutable. The location of the bucket. Object data for objects in the bucket resides
-   * in physical storage within this region.  Defaults to `US`. See the
+   * Immutable. The location of the bucket. Object data for objects in the
+   * bucket resides in physical storage within this region.  Defaults to `US`.
+   * See the
    * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
    * guide] for the authoritative list. Attempting to update this field after
    * the bucket is created will result in an error.
@@ -16184,8 +16563,9 @@ public java.lang.String getLocation() {
    *
    *
    * 
-   * Immutable. The location of the bucket. Object data for objects in the bucket resides
-   * in physical storage within this region.  Defaults to `US`. See the
+   * Immutable. The location of the bucket. Object data for objects in the
+   * bucket resides in physical storage within this region.  Defaults to `US`.
+   * See the
    * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
    * guide] for the authoritative list. Attempting to update this field after
    * the bucket is created will result in an error.
@@ -16214,7 +16594,8 @@ public com.google.protobuf.ByteString getLocationBytes() {
    *
    *
    * 
-   * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+   * Output only. The location type of the bucket (region, dual-region,
+   * multi-region, etc).
    * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -16237,7 +16618,8 @@ public java.lang.String getLocationType() { * * *
-   * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+   * Output only. The location type of the bucket (region, dual-region,
+   * multi-region, etc).
    * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -16382,7 +16764,7 @@ public com.google.protobuf.ByteString getRpoBytes() { * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16397,7 +16779,7 @@ public java.util.List getAclList() { * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16413,7 +16795,7 @@ public java.util.List getAclList() { * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16428,7 +16810,7 @@ public int getAclCount() { * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16443,7 +16825,7 @@ public com.google.storage.v2.BucketAccessControl getAcl(int index) { * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16461,7 +16843,7 @@ public com.google.storage.v2.BucketAccessControlOrBuilder getAclOrBuilder(int in * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16476,7 +16858,7 @@ public java.util.List getDefaultObjec * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16492,7 +16874,7 @@ public java.util.List getDefaultObjec * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16507,7 +16889,7 @@ public int getDefaultObjectAclCount() { * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -16522,7 +16904,7 @@ public com.google.storage.v2.ObjectAccessControl getDefaultObjectAcl(int index) * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -17058,7 +17440,8 @@ public com.google.storage.v2.Bucket.LoggingOrBuilder getLoggingOrBuilder() { * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -17073,7 +17456,8 @@ public boolean hasOwner() { * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -17088,7 +17472,8 @@ public com.google.storage.v2.Owner getOwner() { * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -18784,9 +19169,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-     * `name` field. For globally unique buckets, this is equal to the "bucket
-     * name" of other Cloud Storage APIs. Example: "pub".
+     * Output only. The user-chosen part of the bucket name. The `{bucket}`
+     * portion of the `name` field. For globally unique buckets, this is equal to
+     * the "bucket name" of other Cloud Storage APIs. Example: "pub".
      * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -18808,9 +19193,9 @@ public java.lang.String getBucketId() { * * *
-     * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-     * `name` field. For globally unique buckets, this is equal to the "bucket
-     * name" of other Cloud Storage APIs. Example: "pub".
+     * Output only. The user-chosen part of the bucket name. The `{bucket}`
+     * portion of the `name` field. For globally unique buckets, this is equal to
+     * the "bucket name" of other Cloud Storage APIs. Example: "pub".
      * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -18832,9 +19217,9 @@ public com.google.protobuf.ByteString getBucketIdBytes() { * * *
-     * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-     * `name` field. For globally unique buckets, this is equal to the "bucket
-     * name" of other Cloud Storage APIs. Example: "pub".
+     * Output only. The user-chosen part of the bucket name. The `{bucket}`
+     * portion of the `name` field. For globally unique buckets, this is equal to
+     * the "bucket name" of other Cloud Storage APIs. Example: "pub".
      * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -18855,9 +19240,9 @@ public Builder setBucketId(java.lang.String value) { * * *
-     * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-     * `name` field. For globally unique buckets, this is equal to the "bucket
-     * name" of other Cloud Storage APIs. Example: "pub".
+     * Output only. The user-chosen part of the bucket name. The `{bucket}`
+     * portion of the `name` field. For globally unique buckets, this is equal to
+     * the "bucket name" of other Cloud Storage APIs. Example: "pub".
      * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -18874,9 +19259,9 @@ public Builder clearBucketId() { * * *
-     * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-     * `name` field. For globally unique buckets, this is equal to the "bucket
-     * name" of other Cloud Storage APIs. Example: "pub".
+     * Output only. The user-chosen part of the bucket name. The `{bucket}`
+     * portion of the `name` field. For globally unique buckets, this is equal to
+     * the "bucket name" of other Cloud Storage APIs. Example: "pub".
      * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19200,8 +19585,9 @@ public Builder clearMetageneration() { * * *
-     * Immutable. The location of the bucket. Object data for objects in the bucket resides
-     * in physical storage within this region.  Defaults to `US`. See the
+     * Immutable. The location of the bucket. Object data for objects in the
+     * bucket resides in physical storage within this region.  Defaults to `US`.
+     * See the
      * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
      * guide] for the authoritative list. Attempting to update this field after
      * the bucket is created will result in an error.
@@ -19226,8 +19612,9 @@ public java.lang.String getLocation() {
      *
      *
      * 
-     * Immutable. The location of the bucket. Object data for objects in the bucket resides
-     * in physical storage within this region.  Defaults to `US`. See the
+     * Immutable. The location of the bucket. Object data for objects in the
+     * bucket resides in physical storage within this region.  Defaults to `US`.
+     * See the
      * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
      * guide] for the authoritative list. Attempting to update this field after
      * the bucket is created will result in an error.
@@ -19252,8 +19639,9 @@ public com.google.protobuf.ByteString getLocationBytes() {
      *
      *
      * 
-     * Immutable. The location of the bucket. Object data for objects in the bucket resides
-     * in physical storage within this region.  Defaults to `US`. See the
+     * Immutable. The location of the bucket. Object data for objects in the
+     * bucket resides in physical storage within this region.  Defaults to `US`.
+     * See the
      * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
      * guide] for the authoritative list. Attempting to update this field after
      * the bucket is created will result in an error.
@@ -19277,8 +19665,9 @@ public Builder setLocation(java.lang.String value) {
      *
      *
      * 
-     * Immutable. The location of the bucket. Object data for objects in the bucket resides
-     * in physical storage within this region.  Defaults to `US`. See the
+     * Immutable. The location of the bucket. Object data for objects in the
+     * bucket resides in physical storage within this region.  Defaults to `US`.
+     * See the
      * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
      * guide] for the authoritative list. Attempting to update this field after
      * the bucket is created will result in an error.
@@ -19298,8 +19687,9 @@ public Builder clearLocation() {
      *
      *
      * 
-     * Immutable. The location of the bucket. Object data for objects in the bucket resides
-     * in physical storage within this region.  Defaults to `US`. See the
+     * Immutable. The location of the bucket. Object data for objects in the
+     * bucket resides in physical storage within this region.  Defaults to `US`.
+     * See the
      * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
      * guide] for the authoritative list. Attempting to update this field after
      * the bucket is created will result in an error.
@@ -19326,7 +19716,8 @@ public Builder setLocationBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+     * Output only. The location type of the bucket (region, dual-region,
+     * multi-region, etc).
      * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19348,7 +19739,8 @@ public java.lang.String getLocationType() { * * *
-     * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+     * Output only. The location type of the bucket (region, dual-region,
+     * multi-region, etc).
      * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19370,7 +19762,8 @@ public com.google.protobuf.ByteString getLocationTypeBytes() { * * *
-     * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+     * Output only. The location type of the bucket (region, dual-region,
+     * multi-region, etc).
      * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19391,7 +19784,8 @@ public Builder setLocationType(java.lang.String value) { * * *
-     * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+     * Output only. The location type of the bucket (region, dual-region,
+     * multi-region, etc).
      * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19408,7 +19802,8 @@ public Builder clearLocationType() { * * *
-     * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+     * Output only. The location type of the bucket (region, dual-region,
+     * multi-region, etc).
      * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -19710,7 +20105,7 @@ private void ensureAclIsMutable() { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19728,7 +20123,7 @@ public java.util.List getAclList() { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19746,7 +20141,7 @@ public int getAclCount() { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19764,7 +20159,7 @@ public com.google.storage.v2.BucketAccessControl getAcl(int index) { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19788,7 +20183,7 @@ public Builder setAcl(int index, com.google.storage.v2.BucketAccessControl value * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19810,7 +20205,7 @@ public Builder setAcl( * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19834,7 +20229,7 @@ public Builder addAcl(com.google.storage.v2.BucketAccessControl value) { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19858,7 +20253,7 @@ public Builder addAcl(int index, com.google.storage.v2.BucketAccessControl value * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19879,7 +20274,7 @@ public Builder addAcl(com.google.storage.v2.BucketAccessControl.Builder builderF * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19901,7 +20296,7 @@ public Builder addAcl( * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19923,7 +20318,7 @@ public Builder addAllAcl( * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19944,7 +20339,7 @@ public Builder clearAcl() { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19965,7 +20360,7 @@ public Builder removeAcl(int index) { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19979,7 +20374,7 @@ public com.google.storage.v2.BucketAccessControl.Builder getAclBuilder(int index * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -19997,7 +20392,7 @@ public com.google.storage.v2.BucketAccessControlOrBuilder getAclOrBuilder(int in * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20016,7 +20411,7 @@ public com.google.storage.v2.BucketAccessControlOrBuilder getAclOrBuilder(int in * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20031,7 +20426,7 @@ public com.google.storage.v2.BucketAccessControl.Builder addAclBuilder() { * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20046,7 +20441,7 @@ public com.google.storage.v2.BucketAccessControl.Builder addAclBuilder(int index * *
      * Access controls on the bucket.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20095,7 +20490,7 @@ private void ensureDefaultObjectAclIsMutable() { * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20113,7 +20508,7 @@ public java.util.List getDefaultObjec * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20131,7 +20526,7 @@ public int getDefaultObjectAclCount() { * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20149,7 +20544,7 @@ public com.google.storage.v2.ObjectAccessControl getDefaultObjectAcl(int index) * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20173,7 +20568,7 @@ public Builder setDefaultObjectAcl(int index, com.google.storage.v2.ObjectAccess * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20195,7 +20590,7 @@ public Builder setDefaultObjectAcl( * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20219,7 +20614,7 @@ public Builder addDefaultObjectAcl(com.google.storage.v2.ObjectAccessControl val * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20243,7 +20638,7 @@ public Builder addDefaultObjectAcl(int index, com.google.storage.v2.ObjectAccess * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20265,7 +20660,7 @@ public Builder addDefaultObjectAcl( * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20287,7 +20682,7 @@ public Builder addDefaultObjectAcl( * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20309,7 +20704,7 @@ public Builder addAllDefaultObjectAcl( * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20330,7 +20725,7 @@ public Builder clearDefaultObjectAcl() { * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20351,7 +20746,7 @@ public Builder removeDefaultObjectAcl(int index) { * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20365,7 +20760,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder getDefaultObjectAclBuil * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20384,7 +20779,7 @@ public com.google.storage.v2.ObjectAccessControlOrBuilder getDefaultObjectAclOrB * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20403,7 +20798,7 @@ public com.google.storage.v2.ObjectAccessControlOrBuilder getDefaultObjectAclOrB * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20418,7 +20813,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder addDefaultObjectAclBuil * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -20433,7 +20828,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder addDefaultObjectAclBuil * *
      * Default access controls to apply to new objects when no ACL is provided.
-     * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+     * If iam_config.uniform_bucket_level_access is enabled on this bucket,
      * requests to set, read, or modify acl is an error.
      * 
* @@ -22316,7 +22711,8 @@ public com.google.storage.v2.Bucket.LoggingOrBuilder getLoggingOrBuilder() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22331,7 +22727,8 @@ public boolean hasOwner() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22350,7 +22747,8 @@ public com.google.storage.v2.Owner getOwner() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22373,7 +22771,8 @@ public Builder setOwner(com.google.storage.v2.Owner value) { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22393,7 +22792,8 @@ public Builder setOwner(com.google.storage.v2.Owner.Builder builderForValue) { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22417,7 +22817,8 @@ public Builder mergeOwner(com.google.storage.v2.Owner value) { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22438,7 +22839,8 @@ public Builder clearOwner() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22453,7 +22855,8 @@ public com.google.storage.v2.Owner.Builder getOwnerBuilder() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -22470,7 +22873,8 @@ public com.google.storage.v2.OwnerOrBuilder getOwnerOrBuilder() { * * *
-     * Output only. The owner of the bucket. This is always the project team's owner group.
+     * Output only. The owner of the bucket. This is always the project team's
+     * owner group.
      * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControl.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControl.java index ce18deb98..734923a71 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControl.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControl.java @@ -261,8 +261,8 @@ public com.google.protobuf.ByteString getEntityBytes() { * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -285,8 +285,8 @@ public java.lang.String getEntityAlt() { * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1481,8 +1481,8 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1504,8 +1504,8 @@ public java.lang.String getEntityAlt() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1527,8 +1527,8 @@ public com.google.protobuf.ByteString getEntityAltBytes() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1549,8 +1549,8 @@ public Builder setEntityAlt(java.lang.String value) { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1567,8 +1567,8 @@ public Builder clearEntityAlt() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControlOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControlOrBuilder.java index 2ba5df902..6b7573f3d 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControlOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketAccessControlOrBuilder.java @@ -136,8 +136,8 @@ public interface BucketAccessControlOrBuilder * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -149,8 +149,8 @@ public interface BucketAccessControlOrBuilder * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketOrBuilder.java index 91b60db26..5daa83078 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketOrBuilder.java @@ -52,9 +52,9 @@ public interface BucketOrBuilder * * *
-   * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-   * `name` field. For globally unique buckets, this is equal to the "bucket
-   * name" of other Cloud Storage APIs. Example: "pub".
+   * Output only. The user-chosen part of the bucket name. The `{bucket}`
+   * portion of the `name` field. For globally unique buckets, this is equal to
+   * the "bucket name" of other Cloud Storage APIs. Example: "pub".
    * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -66,9 +66,9 @@ public interface BucketOrBuilder * * *
-   * Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-   * `name` field. For globally unique buckets, this is equal to the "bucket
-   * name" of other Cloud Storage APIs. Example: "pub".
+   * Output only. The user-chosen part of the bucket name. The `{bucket}`
+   * portion of the `name` field. For globally unique buckets, this is equal to
+   * the "bucket name" of other Cloud Storage APIs. Example: "pub".
    * 
* * string bucket_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -158,8 +158,9 @@ public interface BucketOrBuilder * * *
-   * Immutable. The location of the bucket. Object data for objects in the bucket resides
-   * in physical storage within this region.  Defaults to `US`. See the
+   * Immutable. The location of the bucket. Object data for objects in the
+   * bucket resides in physical storage within this region.  Defaults to `US`.
+   * See the
    * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
    * guide] for the authoritative list. Attempting to update this field after
    * the bucket is created will result in an error.
@@ -174,8 +175,9 @@ public interface BucketOrBuilder
    *
    *
    * 
-   * Immutable. The location of the bucket. Object data for objects in the bucket resides
-   * in physical storage within this region.  Defaults to `US`. See the
+   * Immutable. The location of the bucket. Object data for objects in the
+   * bucket resides in physical storage within this region.  Defaults to `US`.
+   * See the
    * [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
    * guide] for the authoritative list. Attempting to update this field after
    * the bucket is created will result in an error.
@@ -191,7 +193,8 @@ public interface BucketOrBuilder
    *
    *
    * 
-   * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+   * Output only. The location type of the bucket (region, dual-region,
+   * multi-region, etc).
    * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -203,7 +206,8 @@ public interface BucketOrBuilder * * *
-   * Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+   * Output only. The location type of the bucket (region, dual-region,
+   * multi-region, etc).
    * 
* * string location_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -287,7 +291,7 @@ public interface BucketOrBuilder * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -299,7 +303,7 @@ public interface BucketOrBuilder * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -311,7 +315,7 @@ public interface BucketOrBuilder * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -323,7 +327,7 @@ public interface BucketOrBuilder * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -336,7 +340,7 @@ public interface BucketOrBuilder * *
    * Access controls on the bucket.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -349,7 +353,7 @@ public interface BucketOrBuilder * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -361,7 +365,7 @@ public interface BucketOrBuilder * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -373,7 +377,7 @@ public interface BucketOrBuilder * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -385,7 +389,7 @@ public interface BucketOrBuilder * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -398,7 +402,7 @@ public interface BucketOrBuilder * *
    * Default access controls to apply to new objects when no ACL is provided.
-   * If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+   * If iam_config.uniform_bucket_level_access is enabled on this bucket,
    * requests to set, read, or modify acl is an error.
    * 
* @@ -796,7 +800,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -808,7 +813,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -820,7 +826,8 @@ java.lang.String getLabelsOrDefault( * * *
-   * Output only. The owner of the bucket. This is always the project team's owner group.
+   * Output only. The owner of the bucket. This is always the project team's
+   * owner group.
    * 
* * .google.storage.v2.Owner owner = 19 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequest.java index 70f255efa..a525e210f 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequest.java @@ -74,8 +74,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The upload_id of the resumable upload to cancel. This should be copied
-   * from the `upload_id` field of `StartResumableWriteResponse`.
+   * Required. The upload_id of the resumable upload to cancel. This should be
+   * copied from the `upload_id` field of `StartResumableWriteResponse`.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -98,8 +98,8 @@ public java.lang.String getUploadId() { * * *
-   * Required. The upload_id of the resumable upload to cancel. This should be copied
-   * from the `upload_id` field of `StartResumableWriteResponse`.
+   * Required. The upload_id of the resumable upload to cancel. This should be
+   * copied from the `upload_id` field of `StartResumableWriteResponse`.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -455,8 +455,8 @@ public Builder mergeFrom( * * *
-     * Required. The upload_id of the resumable upload to cancel. This should be copied
-     * from the `upload_id` field of `StartResumableWriteResponse`.
+     * Required. The upload_id of the resumable upload to cancel. This should be
+     * copied from the `upload_id` field of `StartResumableWriteResponse`.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -478,8 +478,8 @@ public java.lang.String getUploadId() { * * *
-     * Required. The upload_id of the resumable upload to cancel. This should be copied
-     * from the `upload_id` field of `StartResumableWriteResponse`.
+     * Required. The upload_id of the resumable upload to cancel. This should be
+     * copied from the `upload_id` field of `StartResumableWriteResponse`.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -501,8 +501,8 @@ public com.google.protobuf.ByteString getUploadIdBytes() { * * *
-     * Required. The upload_id of the resumable upload to cancel. This should be copied
-     * from the `upload_id` field of `StartResumableWriteResponse`.
+     * Required. The upload_id of the resumable upload to cancel. This should be
+     * copied from the `upload_id` field of `StartResumableWriteResponse`.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -523,8 +523,8 @@ public Builder setUploadId(java.lang.String value) { * * *
-     * Required. The upload_id of the resumable upload to cancel. This should be copied
-     * from the `upload_id` field of `StartResumableWriteResponse`.
+     * Required. The upload_id of the resumable upload to cancel. This should be
+     * copied from the `upload_id` field of `StartResumableWriteResponse`.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -541,8 +541,8 @@ public Builder clearUploadId() { * * *
-     * Required. The upload_id of the resumable upload to cancel. This should be copied
-     * from the `upload_id` field of `StartResumableWriteResponse`.
+     * Required. The upload_id of the resumable upload to cancel. This should be
+     * copied from the `upload_id` field of `StartResumableWriteResponse`.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequestOrBuilder.java index 764914329..11d2a6918 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface CancelResumableWriteRequestOrBuilder * * *
-   * Required. The upload_id of the resumable upload to cancel. This should be copied
-   * from the `upload_id` field of `StartResumableWriteResponse`.
+   * Required. The upload_id of the resumable upload to cancel. This should be
+   * copied from the `upload_id` field of `StartResumableWriteResponse`.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,8 +40,8 @@ public interface CancelResumableWriteRequestOrBuilder * * *
-   * Required. The upload_id of the resumable upload to cancel. This should be copied
-   * from the `upload_id` field of `StartResumableWriteResponse`.
+   * Required. The upload_id of the resumable upload to cancel. This should be
+   * copied from the `upload_id` field of `StartResumableWriteResponse`.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequest.java index a3250a4c9..4567bc54d 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequest.java @@ -78,8 +78,8 @@ public interface SourceObjectOrBuilder * * *
-     * Required. The source object's name. All source objects must reside in the same
-     * bucket.
+     * Required. The source object's name. All source objects must reside in the
+     * same bucket.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -91,8 +91,8 @@ public interface SourceObjectOrBuilder * * *
-     * Required. The source object's name. All source objects must reside in the same
-     * bucket.
+     * Required. The source object's name. All source objects must reside in the
+     * same bucket.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -846,8 +846,8 @@ public com.google.protobuf.Parser getParserForType() { * * *
-     * Required. The source object's name. All source objects must reside in the same
-     * bucket.
+     * Required. The source object's name. All source objects must reside in the
+     * same bucket.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -870,8 +870,8 @@ public java.lang.String getName() { * * *
-     * Required. The source object's name. All source objects must reside in the same
-     * bucket.
+     * Required. The source object's name. All source objects must reside in the
+     * same bucket.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1364,8 +1364,8 @@ public Builder mergeFrom( * * *
-       * Required. The source object's name. All source objects must reside in the same
-       * bucket.
+       * Required. The source object's name. All source objects must reside in the
+       * same bucket.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1387,8 +1387,8 @@ public java.lang.String getName() { * * *
-       * Required. The source object's name. All source objects must reside in the same
-       * bucket.
+       * Required. The source object's name. All source objects must reside in the
+       * same bucket.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1410,8 +1410,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-       * Required. The source object's name. All source objects must reside in the same
-       * bucket.
+       * Required. The source object's name. All source objects must reside in the
+       * same bucket.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1432,8 +1432,8 @@ public Builder setName(java.lang.String value) { * * *
-       * Required. The source object's name. All source objects must reside in the same
-       * bucket.
+       * Required. The source object's name. All source objects must reside in the
+       * same bucket.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -1450,8 +1450,8 @@ public Builder clearName() { * * *
-       * Required. The source object's name. All source objects must reside in the same
-       * bucket.
+       * Required. The source object's name. All source objects must reside in the
+       * same bucket.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -2152,6 +2152,57 @@ public com.google.storage.v2.CommonObjectRequestParams getCommonObjectRequestPar return getCommonObjectRequestParams(); } + public static final int OBJECT_CHECKSUMS_FIELD_NUMBER = 10; + private com.google.storage.v2.ObjectChecksums objectChecksums_; + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return Whether the objectChecksums field is set. + */ + @java.lang.Override + public boolean hasObjectChecksums() { + return objectChecksums_ != null; + } + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return The objectChecksums. + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + return getObjectChecksums(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2187,6 +2238,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPredefinedAcl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 9, destinationPredefinedAcl_); } + if (objectChecksums_ != null) { + output.writeMessage(10, getObjectChecksums()); + } getUnknownFields().writeTo(output); } @@ -2220,6 +2274,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, destinationPredefinedAcl_); } + if (objectChecksums_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getObjectChecksums()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2256,6 +2313,10 @@ public boolean equals(final java.lang.Object obj) { if (!getCommonObjectRequestParams().equals(other.getCommonObjectRequestParams())) return false; } + if (hasObjectChecksums() != other.hasObjectChecksums()) return false; + if (hasObjectChecksums()) { + if (!getObjectChecksums().equals(other.getObjectChecksums())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2291,6 +2352,10 @@ public int hashCode() { hash = (37 * hash) + COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getCommonObjectRequestParams().hashCode(); } + if (hasObjectChecksums()) { + hash = (37 * hash) + OBJECT_CHECKSUMS_FIELD_NUMBER; + hash = (53 * hash) + getObjectChecksums().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -2456,6 +2521,12 @@ public Builder clear() { commonObjectRequestParams_ = null; commonObjectRequestParamsBuilder_ = null; } + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } return this; } @@ -2514,6 +2585,11 @@ public com.google.storage.v2.ComposeObjectRequest buildPartial() { } else { result.commonObjectRequestParams_ = commonObjectRequestParamsBuilder_.build(); } + if (objectChecksumsBuilder_ == null) { + result.objectChecksums_ = objectChecksums_; + } else { + result.objectChecksums_ = objectChecksumsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -2611,6 +2687,9 @@ public Builder mergeFrom(com.google.storage.v2.ComposeObjectRequest other) { if (other.hasCommonObjectRequestParams()) { mergeCommonObjectRequestParams(other.getCommonObjectRequestParams()); } + if (other.hasObjectChecksums()) { + mergeObjectChecksums(other.getObjectChecksums()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -2688,6 +2767,12 @@ public Builder mergeFrom( break; } // case 74 + case 82: + { + input.readMessage(getObjectChecksumsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 82 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -3857,6 +3942,201 @@ public Builder clearCommonObjectRequestParams() { return commonObjectRequestParamsBuilder_; } + private com.google.storage.v2.ObjectChecksums objectChecksums_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + objectChecksumsBuilder_; + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return Whether the objectChecksums field is set. + */ + public boolean hasObjectChecksums() { + return objectChecksumsBuilder_ != null || objectChecksums_ != null; + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return The objectChecksums. + */ + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } else { + return objectChecksumsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public Builder setObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + objectChecksums_ = value; + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public Builder setObjectChecksums( + com.google.storage.v2.ObjectChecksums.Builder builderForValue) { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = builderForValue.build(); + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public Builder mergeObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (objectChecksums_ != null) { + objectChecksums_ = + com.google.storage.v2.ObjectChecksums.newBuilder(objectChecksums_) + .mergeFrom(value) + .buildPartial(); + } else { + objectChecksums_ = value; + } + onChanged(); + } else { + objectChecksumsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public Builder clearObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + onChanged(); + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public com.google.storage.v2.ObjectChecksums.Builder getObjectChecksumsBuilder() { + + onChanged(); + return getObjectChecksumsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + if (objectChecksumsBuilder_ != null) { + return objectChecksumsBuilder_.getMessageOrBuilder(); + } else { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be validated against the
+     * combined checksums of the component objects.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + getObjectChecksumsFieldBuilder() { + if (objectChecksumsBuilder_ == null) { + objectChecksumsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder>( + getObjectChecksums(), getParentForChildren(), isClean()); + objectChecksums_ = null; + } + return objectChecksumsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequestOrBuilder.java index 7d9f6ab15..9e95be159 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ComposeObjectRequestOrBuilder.java @@ -264,4 +264,42 @@ com.google.storage.v2.ComposeObjectRequest.SourceObjectOrBuilder getSourceObject * .google.storage.v2.CommonObjectRequestParams common_object_request_params = 7; */ com.google.storage.v2.CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder(); + + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return Whether the objectChecksums field is set. + */ + boolean hasObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + * + * @return The objectChecksums. + */ + com.google.storage.v2.ObjectChecksums getObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be validated against the
+   * combined checksums of the component objects.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 10; + */ + com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequest.java index 5525380b3..51e8175f0 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequest.java @@ -184,9 +184,9 @@ public com.google.storage.v2.BucketOrBuilder getBucketOrBuilder() { * * *
-   * Required. The ID to use for this bucket, which will become the final component of
-   * the bucket's resource name. For example, the value `foo` might result in
-   * a bucket with the name `projects/123456/buckets/foo`.
+   * Required. The ID to use for this bucket, which will become the final
+   * component of the bucket's resource name. For example, the value `foo` might
+   * result in a bucket with the name `projects/123456/buckets/foo`.
    * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -209,9 +209,9 @@ public java.lang.String getBucketId() { * * *
-   * Required. The ID to use for this bucket, which will become the final component of
-   * the bucket's resource name. For example, the value `foo` might result in
-   * a bucket with the name `projects/123456/buckets/foo`.
+   * Required. The ID to use for this bucket, which will become the final
+   * component of the bucket's resource name. For example, the value `foo` might
+   * result in a bucket with the name `projects/123456/buckets/foo`.
    * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1095,9 +1095,9 @@ public com.google.storage.v2.BucketOrBuilder getBucketOrBuilder() { * * *
-     * Required. The ID to use for this bucket, which will become the final component of
-     * the bucket's resource name. For example, the value `foo` might result in
-     * a bucket with the name `projects/123456/buckets/foo`.
+     * Required. The ID to use for this bucket, which will become the final
+     * component of the bucket's resource name. For example, the value `foo` might
+     * result in a bucket with the name `projects/123456/buckets/foo`.
      * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1119,9 +1119,9 @@ public java.lang.String getBucketId() { * * *
-     * Required. The ID to use for this bucket, which will become the final component of
-     * the bucket's resource name. For example, the value `foo` might result in
-     * a bucket with the name `projects/123456/buckets/foo`.
+     * Required. The ID to use for this bucket, which will become the final
+     * component of the bucket's resource name. For example, the value `foo` might
+     * result in a bucket with the name `projects/123456/buckets/foo`.
      * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1143,9 +1143,9 @@ public com.google.protobuf.ByteString getBucketIdBytes() { * * *
-     * Required. The ID to use for this bucket, which will become the final component of
-     * the bucket's resource name. For example, the value `foo` might result in
-     * a bucket with the name `projects/123456/buckets/foo`.
+     * Required. The ID to use for this bucket, which will become the final
+     * component of the bucket's resource name. For example, the value `foo` might
+     * result in a bucket with the name `projects/123456/buckets/foo`.
      * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1166,9 +1166,9 @@ public Builder setBucketId(java.lang.String value) { * * *
-     * Required. The ID to use for this bucket, which will become the final component of
-     * the bucket's resource name. For example, the value `foo` might result in
-     * a bucket with the name `projects/123456/buckets/foo`.
+     * Required. The ID to use for this bucket, which will become the final
+     * component of the bucket's resource name. For example, the value `foo` might
+     * result in a bucket with the name `projects/123456/buckets/foo`.
      * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -1185,9 +1185,9 @@ public Builder clearBucketId() { * * *
-     * Required. The ID to use for this bucket, which will become the final component of
-     * the bucket's resource name. For example, the value `foo` might result in
-     * a bucket with the name `projects/123456/buckets/foo`.
+     * Required. The ID to use for this bucket, which will become the final
+     * component of the bucket's resource name. For example, the value `foo` might
+     * result in a bucket with the name `projects/123456/buckets/foo`.
      * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequestOrBuilder.java index 1dd1bc522..d12100a72 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateBucketRequestOrBuilder.java @@ -100,9 +100,9 @@ public interface CreateBucketRequestOrBuilder * * *
-   * Required. The ID to use for this bucket, which will become the final component of
-   * the bucket's resource name. For example, the value `foo` might result in
-   * a bucket with the name `projects/123456/buckets/foo`.
+   * Required. The ID to use for this bucket, which will become the final
+   * component of the bucket's resource name. For example, the value `foo` might
+   * result in a bucket with the name `projects/123456/buckets/foo`.
    * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; @@ -114,9 +114,9 @@ public interface CreateBucketRequestOrBuilder * * *
-   * Required. The ID to use for this bucket, which will become the final component of
-   * the bucket's resource name. For example, the value `foo` might result in
-   * a bucket with the name `projects/123456/buckets/foo`.
+   * Required. The ID to use for this bucket, which will become the final
+   * component of the bucket's resource name. For example, the value `foo` might
+   * result in a bucket with the name `projects/123456/buckets/foo`.
    * 
* * string bucket_id = 3 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequest.java index 63e74c9db..4a359e6d8 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequest.java @@ -74,9 +74,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The project that the HMAC-owning service account lives in, in the format of
-   * "projects/<projectIdentifier>".
-   * <projectIdentifier> can be the project ID or project number.
+   * Required. The project that the HMAC-owning service account lives in, in the
+   * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+   * project ID or project number.
    * 
* * @@ -101,9 +101,9 @@ public java.lang.String getProject() { * * *
-   * Required. The project that the HMAC-owning service account lives in, in the format of
-   * "projects/<projectIdentifier>".
-   * <projectIdentifier> can be the project ID or project number.
+   * Required. The project that the HMAC-owning service account lives in, in the
+   * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+   * project ID or project number.
    * 
* * @@ -530,9 +530,9 @@ public Builder mergeFrom( * * *
-     * Required. The project that the HMAC-owning service account lives in, in the format of
-     * "projects/<projectIdentifier>".
-     * <projectIdentifier> can be the project ID or project number.
+     * Required. The project that the HMAC-owning service account lives in, in the
+     * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+     * project ID or project number.
      * 
* * @@ -556,9 +556,9 @@ public java.lang.String getProject() { * * *
-     * Required. The project that the HMAC-owning service account lives in, in the format of
-     * "projects/<projectIdentifier>".
-     * <projectIdentifier> can be the project ID or project number.
+     * Required. The project that the HMAC-owning service account lives in, in the
+     * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+     * project ID or project number.
      * 
* * @@ -582,9 +582,9 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Required. The project that the HMAC-owning service account lives in, in the format of
-     * "projects/<projectIdentifier>".
-     * <projectIdentifier> can be the project ID or project number.
+     * Required. The project that the HMAC-owning service account lives in, in the
+     * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+     * project ID or project number.
      * 
* * @@ -607,9 +607,9 @@ public Builder setProject(java.lang.String value) { * * *
-     * Required. The project that the HMAC-owning service account lives in, in the format of
-     * "projects/<projectIdentifier>".
-     * <projectIdentifier> can be the project ID or project number.
+     * Required. The project that the HMAC-owning service account lives in, in the
+     * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+     * project ID or project number.
      * 
* * @@ -628,9 +628,9 @@ public Builder clearProject() { * * *
-     * Required. The project that the HMAC-owning service account lives in, in the format of
-     * "projects/<projectIdentifier>".
-     * <projectIdentifier> can be the project ID or project number.
+     * Required. The project that the HMAC-owning service account lives in, in the
+     * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+     * project ID or project number.
      * 
* * diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequestOrBuilder.java index a1b9cdc32..eb241f060 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyRequestOrBuilder.java @@ -27,9 +27,9 @@ public interface CreateHmacKeyRequestOrBuilder * * *
-   * Required. The project that the HMAC-owning service account lives in, in the format of
-   * "projects/<projectIdentifier>".
-   * <projectIdentifier> can be the project ID or project number.
+   * Required. The project that the HMAC-owning service account lives in, in the
+   * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+   * project ID or project number.
    * 
* * @@ -43,9 +43,9 @@ public interface CreateHmacKeyRequestOrBuilder * * *
-   * Required. The project that the HMAC-owning service account lives in, in the format of
-   * "projects/<projectIdentifier>".
-   * <projectIdentifier> can be the project ID or project number.
+   * Required. The project that the HMAC-owning service account lives in, in the
+   * format of "projects/<projectIdentifier>". <projectIdentifier> can be the
+   * project ID or project number.
    * 
* * diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequest.java index 9321d4720..ad7225992 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequest.java @@ -125,7 +125,9 @@ public com.google.protobuf.ByteString getBucketBytes() { * * *
-   * Required. The name of the object to delete (when not using a resumable write).
+   * Required. The name of the finalized object to delete.
+   * Note: If you want to delete an unfinalized resumable upload please use
+   * `CancelResumableWrite`.
    * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -148,7 +150,9 @@ public java.lang.String getObject() { * * *
-   * Required. The name of the object to delete (when not using a resumable write).
+   * Required. The name of the finalized object to delete.
+   * Note: If you want to delete an unfinalized resumable upload please use
+   * `CancelResumableWrite`.
    * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1025,7 +1029,9 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The name of the object to delete (when not using a resumable write).
+     * Required. The name of the finalized object to delete.
+     * Note: If you want to delete an unfinalized resumable upload please use
+     * `CancelResumableWrite`.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1047,7 +1053,9 @@ public java.lang.String getObject() { * * *
-     * Required. The name of the object to delete (when not using a resumable write).
+     * Required. The name of the finalized object to delete.
+     * Note: If you want to delete an unfinalized resumable upload please use
+     * `CancelResumableWrite`.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1069,7 +1077,9 @@ public com.google.protobuf.ByteString getObjectBytes() { * * *
-     * Required. The name of the object to delete (when not using a resumable write).
+     * Required. The name of the finalized object to delete.
+     * Note: If you want to delete an unfinalized resumable upload please use
+     * `CancelResumableWrite`.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1090,7 +1100,9 @@ public Builder setObject(java.lang.String value) { * * *
-     * Required. The name of the object to delete (when not using a resumable write).
+     * Required. The name of the finalized object to delete.
+     * Note: If you want to delete an unfinalized resumable upload please use
+     * `CancelResumableWrite`.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -1107,7 +1119,9 @@ public Builder clearObject() { * * *
-     * Required. The name of the object to delete (when not using a resumable write).
+     * Required. The name of the finalized object to delete.
+     * Note: If you want to delete an unfinalized resumable upload please use
+     * `CancelResumableWrite`.
      * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequestOrBuilder.java index e0f4d1220..7c25ed32b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteObjectRequestOrBuilder.java @@ -52,7 +52,9 @@ public interface DeleteObjectRequestOrBuilder * * *
-   * Required. The name of the object to delete (when not using a resumable write).
+   * Required. The name of the finalized object to delete.
+   * Note: If you want to delete an unfinalized resumable upload please use
+   * `CancelResumableWrite`.
    * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -64,7 +66,9 @@ public interface DeleteObjectRequestOrBuilder * * *
-   * Required. The name of the object to delete (when not using a resumable write).
+   * Required. The name of the finalized object to delete.
+   * Note: If you want to delete an unfinalized resumable upload please use
+   * `CancelResumableWrite`.
    * 
* * string object = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadata.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadata.java index 04615f421..0a0b09733 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadata.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadata.java @@ -180,9 +180,9 @@ public com.google.protobuf.ByteString getAccessIdBytes() { * * *
-   * Immutable. Identifies the project that owns the service account of the specified HMAC
-   * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-   * be the project ID or project number.
+   * Immutable. Identifies the project that owns the service account of the
+   * specified HMAC key, in the format "projects/<projectIdentifier>".
+   * <projectIdentifier> can be the project ID or project number.
    * 
* * @@ -207,9 +207,9 @@ public java.lang.String getProject() { * * *
-   * Immutable. Identifies the project that owns the service account of the specified HMAC
-   * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-   * be the project ID or project number.
+   * Immutable. Identifies the project that owns the service account of the
+   * specified HMAC key, in the format "projects/<projectIdentifier>".
+   * <projectIdentifier> can be the project ID or project number.
    * 
* * @@ -1210,9 +1210,9 @@ public Builder setAccessIdBytes(com.google.protobuf.ByteString value) { * * *
-     * Immutable. Identifies the project that owns the service account of the specified HMAC
-     * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-     * be the project ID or project number.
+     * Immutable. Identifies the project that owns the service account of the
+     * specified HMAC key, in the format "projects/<projectIdentifier>".
+     * <projectIdentifier> can be the project ID or project number.
      * 
* * @@ -1236,9 +1236,9 @@ public java.lang.String getProject() { * * *
-     * Immutable. Identifies the project that owns the service account of the specified HMAC
-     * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-     * be the project ID or project number.
+     * Immutable. Identifies the project that owns the service account of the
+     * specified HMAC key, in the format "projects/<projectIdentifier>".
+     * <projectIdentifier> can be the project ID or project number.
      * 
* * @@ -1262,9 +1262,9 @@ public com.google.protobuf.ByteString getProjectBytes() { * * *
-     * Immutable. Identifies the project that owns the service account of the specified HMAC
-     * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-     * be the project ID or project number.
+     * Immutable. Identifies the project that owns the service account of the
+     * specified HMAC key, in the format "projects/<projectIdentifier>".
+     * <projectIdentifier> can be the project ID or project number.
      * 
* * @@ -1287,9 +1287,9 @@ public Builder setProject(java.lang.String value) { * * *
-     * Immutable. Identifies the project that owns the service account of the specified HMAC
-     * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-     * be the project ID or project number.
+     * Immutable. Identifies the project that owns the service account of the
+     * specified HMAC key, in the format "projects/<projectIdentifier>".
+     * <projectIdentifier> can be the project ID or project number.
      * 
* * @@ -1308,9 +1308,9 @@ public Builder clearProject() { * * *
-     * Immutable. Identifies the project that owns the service account of the specified HMAC
-     * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-     * be the project ID or project number.
+     * Immutable. Identifies the project that owns the service account of the
+     * specified HMAC key, in the format "projects/<projectIdentifier>".
+     * <projectIdentifier> can be the project ID or project number.
      * 
* * diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadataOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadataOrBuilder.java index a3ab3e0e7..41e7deae8 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadataOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/HmacKeyMetadataOrBuilder.java @@ -81,9 +81,9 @@ public interface HmacKeyMetadataOrBuilder * * *
-   * Immutable. Identifies the project that owns the service account of the specified HMAC
-   * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-   * be the project ID or project number.
+   * Immutable. Identifies the project that owns the service account of the
+   * specified HMAC key, in the format "projects/<projectIdentifier>".
+   * <projectIdentifier> can be the project ID or project number.
    * 
* * @@ -97,9 +97,9 @@ public interface HmacKeyMetadataOrBuilder * * *
-   * Immutable. Identifies the project that owns the service account of the specified HMAC
-   * key, in the format "projects/<projectIdentifier>". <projectIdentifier> can
-   * be the project ID or project number.
+   * Immutable. Identifies the project that owns the service account of the
+   * specified HMAC key, in the format "projects/<projectIdentifier>".
+   * <projectIdentifier> can be the project ID or project number.
    * 
* * diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequest.java index 4e3a7a0d4..15adfcadf 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequest.java @@ -408,13 +408,13 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * * *
-   * Filter results to objects whose names are lexicographically equal to or
-   * after lexicographic_start. If lexicographic_end is also set, the objects
-   * listed have names between lexicographic_start (inclusive) and
+   * Optional. Filter results to objects whose names are lexicographically equal
+   * to or after lexicographic_start. If lexicographic_end is also set, the
+   * objects listed have names between lexicographic_start (inclusive) and
    * lexicographic_end (exclusive).
    * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicStart. */ @@ -434,13 +434,13 @@ public java.lang.String getLexicographicStart() { * * *
-   * Filter results to objects whose names are lexicographically equal to or
-   * after lexicographic_start. If lexicographic_end is also set, the objects
-   * listed have names between lexicographic_start (inclusive) and
+   * Optional. Filter results to objects whose names are lexicographically equal
+   * to or after lexicographic_start. If lexicographic_end is also set, the
+   * objects listed have names between lexicographic_start (inclusive) and
    * lexicographic_end (exclusive).
    * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicStart. */ @@ -463,13 +463,13 @@ public com.google.protobuf.ByteString getLexicographicStartBytes() { * * *
-   * Filter results to objects whose names are lexicographically before
-   * lexicographic_end. If lexicographic_start is also set, the objects listed
-   * have names between lexicographic_start (inclusive) and lexicographic_end
-   * (exclusive).
+   * Optional. Filter results to objects whose names are lexicographically
+   * before lexicographic_end. If lexicographic_start is also set, the objects
+   * listed have names between lexicographic_start (inclusive) and
+   * lexicographic_end (exclusive).
    * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicEnd. */ @@ -489,13 +489,13 @@ public java.lang.String getLexicographicEnd() { * * *
-   * Filter results to objects whose names are lexicographically before
-   * lexicographic_end. If lexicographic_start is also set, the objects listed
-   * have names between lexicographic_start (inclusive) and lexicographic_end
-   * (exclusive).
+   * Optional. Filter results to objects whose names are lexicographically
+   * before lexicographic_end. If lexicographic_start is also set, the objects
+   * listed have names between lexicographic_start (inclusive) and
+   * lexicographic_end (exclusive).
    * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicEnd. */ @@ -1920,13 +1920,13 @@ public com.google.protobuf.FieldMaskOrBuilder getReadMaskOrBuilder() { * * *
-     * Filter results to objects whose names are lexicographically equal to or
-     * after lexicographic_start. If lexicographic_end is also set, the objects
-     * listed have names between lexicographic_start (inclusive) and
+     * Optional. Filter results to objects whose names are lexicographically equal
+     * to or after lexicographic_start. If lexicographic_end is also set, the
+     * objects listed have names between lexicographic_start (inclusive) and
      * lexicographic_end (exclusive).
      * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicStart. */ @@ -1945,13 +1945,13 @@ public java.lang.String getLexicographicStart() { * * *
-     * Filter results to objects whose names are lexicographically equal to or
-     * after lexicographic_start. If lexicographic_end is also set, the objects
-     * listed have names between lexicographic_start (inclusive) and
+     * Optional. Filter results to objects whose names are lexicographically equal
+     * to or after lexicographic_start. If lexicographic_end is also set, the
+     * objects listed have names between lexicographic_start (inclusive) and
      * lexicographic_end (exclusive).
      * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicStart. */ @@ -1970,13 +1970,13 @@ public com.google.protobuf.ByteString getLexicographicStartBytes() { * * *
-     * Filter results to objects whose names are lexicographically equal to or
-     * after lexicographic_start. If lexicographic_end is also set, the objects
-     * listed have names between lexicographic_start (inclusive) and
+     * Optional. Filter results to objects whose names are lexicographically equal
+     * to or after lexicographic_start. If lexicographic_end is also set, the
+     * objects listed have names between lexicographic_start (inclusive) and
      * lexicographic_end (exclusive).
      * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The lexicographicStart to set. * @return This builder for chaining. @@ -1994,13 +1994,13 @@ public Builder setLexicographicStart(java.lang.String value) { * * *
-     * Filter results to objects whose names are lexicographically equal to or
-     * after lexicographic_start. If lexicographic_end is also set, the objects
-     * listed have names between lexicographic_start (inclusive) and
+     * Optional. Filter results to objects whose names are lexicographically equal
+     * to or after lexicographic_start. If lexicographic_end is also set, the
+     * objects listed have names between lexicographic_start (inclusive) and
      * lexicographic_end (exclusive).
      * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2014,13 +2014,13 @@ public Builder clearLexicographicStart() { * * *
-     * Filter results to objects whose names are lexicographically equal to or
-     * after lexicographic_start. If lexicographic_end is also set, the objects
-     * listed have names between lexicographic_start (inclusive) and
+     * Optional. Filter results to objects whose names are lexicographically equal
+     * to or after lexicographic_start. If lexicographic_end is also set, the
+     * objects listed have names between lexicographic_start (inclusive) and
      * lexicographic_end (exclusive).
      * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for lexicographicStart to set. * @return This builder for chaining. @@ -2041,13 +2041,13 @@ public Builder setLexicographicStartBytes(com.google.protobuf.ByteString value) * * *
-     * Filter results to objects whose names are lexicographically before
-     * lexicographic_end. If lexicographic_start is also set, the objects listed
-     * have names between lexicographic_start (inclusive) and lexicographic_end
-     * (exclusive).
+     * Optional. Filter results to objects whose names are lexicographically
+     * before lexicographic_end. If lexicographic_start is also set, the objects
+     * listed have names between lexicographic_start (inclusive) and
+     * lexicographic_end (exclusive).
      * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicEnd. */ @@ -2066,13 +2066,13 @@ public java.lang.String getLexicographicEnd() { * * *
-     * Filter results to objects whose names are lexicographically before
-     * lexicographic_end. If lexicographic_start is also set, the objects listed
-     * have names between lexicographic_start (inclusive) and lexicographic_end
-     * (exclusive).
+     * Optional. Filter results to objects whose names are lexicographically
+     * before lexicographic_end. If lexicographic_start is also set, the objects
+     * listed have names between lexicographic_start (inclusive) and
+     * lexicographic_end (exclusive).
      * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicEnd. */ @@ -2091,13 +2091,13 @@ public com.google.protobuf.ByteString getLexicographicEndBytes() { * * *
-     * Filter results to objects whose names are lexicographically before
-     * lexicographic_end. If lexicographic_start is also set, the objects listed
-     * have names between lexicographic_start (inclusive) and lexicographic_end
-     * (exclusive).
+     * Optional. Filter results to objects whose names are lexicographically
+     * before lexicographic_end. If lexicographic_start is also set, the objects
+     * listed have names between lexicographic_start (inclusive) and
+     * lexicographic_end (exclusive).
      * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The lexicographicEnd to set. * @return This builder for chaining. @@ -2115,13 +2115,13 @@ public Builder setLexicographicEnd(java.lang.String value) { * * *
-     * Filter results to objects whose names are lexicographically before
-     * lexicographic_end. If lexicographic_start is also set, the objects listed
-     * have names between lexicographic_start (inclusive) and lexicographic_end
-     * (exclusive).
+     * Optional. Filter results to objects whose names are lexicographically
+     * before lexicographic_end. If lexicographic_start is also set, the objects
+     * listed have names between lexicographic_start (inclusive) and
+     * lexicographic_end (exclusive).
      * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return This builder for chaining. */ @@ -2135,13 +2135,13 @@ public Builder clearLexicographicEnd() { * * *
-     * Filter results to objects whose names are lexicographically before
-     * lexicographic_end. If lexicographic_start is also set, the objects listed
-     * have names between lexicographic_start (inclusive) and lexicographic_end
-     * (exclusive).
+     * Optional. Filter results to objects whose names are lexicographically
+     * before lexicographic_end. If lexicographic_start is also set, the objects
+     * listed have names between lexicographic_start (inclusive) and
+     * lexicographic_end (exclusive).
      * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @param value The bytes for lexicographicEnd to set. * @return This builder for chaining. diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequestOrBuilder.java index f836678a8..187cfa59c 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsRequestOrBuilder.java @@ -234,13 +234,13 @@ public interface ListObjectsRequestOrBuilder * * *
-   * Filter results to objects whose names are lexicographically equal to or
-   * after lexicographic_start. If lexicographic_end is also set, the objects
-   * listed have names between lexicographic_start (inclusive) and
+   * Optional. Filter results to objects whose names are lexicographically equal
+   * to or after lexicographic_start. If lexicographic_end is also set, the
+   * objects listed have names between lexicographic_start (inclusive) and
    * lexicographic_end (exclusive).
    * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicStart. */ @@ -249,13 +249,13 @@ public interface ListObjectsRequestOrBuilder * * *
-   * Filter results to objects whose names are lexicographically equal to or
-   * after lexicographic_start. If lexicographic_end is also set, the objects
-   * listed have names between lexicographic_start (inclusive) and
+   * Optional. Filter results to objects whose names are lexicographically equal
+   * to or after lexicographic_start. If lexicographic_end is also set, the
+   * objects listed have names between lexicographic_start (inclusive) and
    * lexicographic_end (exclusive).
    * 
* - * string lexicographic_start = 10; + * string lexicographic_start = 10 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicStart. */ @@ -265,13 +265,13 @@ public interface ListObjectsRequestOrBuilder * * *
-   * Filter results to objects whose names are lexicographically before
-   * lexicographic_end. If lexicographic_start is also set, the objects listed
-   * have names between lexicographic_start (inclusive) and lexicographic_end
-   * (exclusive).
+   * Optional. Filter results to objects whose names are lexicographically
+   * before lexicographic_end. If lexicographic_start is also set, the objects
+   * listed have names between lexicographic_start (inclusive) and
+   * lexicographic_end (exclusive).
    * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The lexicographicEnd. */ @@ -280,13 +280,13 @@ public interface ListObjectsRequestOrBuilder * * *
-   * Filter results to objects whose names are lexicographically before
-   * lexicographic_end. If lexicographic_start is also set, the objects listed
-   * have names between lexicographic_start (inclusive) and lexicographic_end
-   * (exclusive).
+   * Optional. Filter results to objects whose names are lexicographically
+   * before lexicographic_end. If lexicographic_start is also set, the objects
+   * listed have names between lexicographic_start (inclusive) and
+   * lexicographic_end (exclusive).
    * 
* - * string lexicographic_end = 11; + * string lexicographic_end = 11 [(.google.api.field_behavior) = OPTIONAL]; * * @return The bytes for lexicographicEnd. */ diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequest.java index 0eb8b59eb..9ee3c28fb 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequest.java @@ -127,8 +127,8 @@ public com.google.protobuf.ByteString getBucketBytes() { * * *
-   * Required. Makes the operation conditional on whether bucket's current metageneration
-   * matches the given value. Must be positive.
+   * Required. Makes the operation conditional on whether bucket's current
+   * metageneration matches the given value. Must be positive.
    * 
* * int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -613,8 +613,8 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. Makes the operation conditional on whether bucket's current metageneration
-     * matches the given value. Must be positive.
+     * Required. Makes the operation conditional on whether bucket's current
+     * metageneration matches the given value. Must be positive.
      * 
* * int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -629,8 +629,8 @@ public long getIfMetagenerationMatch() { * * *
-     * Required. Makes the operation conditional on whether bucket's current metageneration
-     * matches the given value. Must be positive.
+     * Required. Makes the operation conditional on whether bucket's current
+     * metageneration matches the given value. Must be positive.
      * 
* * int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED]; @@ -648,8 +648,8 @@ public Builder setIfMetagenerationMatch(long value) { * * *
-     * Required. Makes the operation conditional on whether bucket's current metageneration
-     * matches the given value. Must be positive.
+     * Required. Makes the operation conditional on whether bucket's current
+     * metageneration matches the given value. Must be positive.
      * 
* * int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequestOrBuilder.java index f266938e2..7a5eae42f 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/LockBucketRetentionPolicyRequestOrBuilder.java @@ -56,8 +56,8 @@ public interface LockBucketRetentionPolicyRequestOrBuilder * * *
-   * Required. Makes the operation conditional on whether bucket's current metageneration
-   * matches the given value. Must be positive.
+   * Required. Makes the operation conditional on whether bucket's current
+   * metageneration matches the given value. Must be positive.
    * 
* * int64 if_metageneration_match = 2 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Notification.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Notification.java index 459695864..5ce84b546 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Notification.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Notification.java @@ -144,7 +144,8 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+   * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+   * as:
    * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
    * 
* @@ -168,7 +169,8 @@ public java.lang.String getTopic() { * * *
-   * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+   * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+   * as:
    * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
    * 
* @@ -1148,7 +1150,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+     * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+     * as:
      * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
      * 
* @@ -1171,7 +1174,8 @@ public java.lang.String getTopic() { * * *
-     * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+     * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+     * as:
      * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
      * 
* @@ -1194,7 +1198,8 @@ public com.google.protobuf.ByteString getTopicBytes() { * * *
-     * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+     * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+     * as:
      * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
      * 
* @@ -1216,7 +1221,8 @@ public Builder setTopic(java.lang.String value) { * * *
-     * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+     * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+     * as:
      * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
      * 
* @@ -1234,7 +1240,8 @@ public Builder clearTopic() { * * *
-     * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+     * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+     * as:
      * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
      * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationOrBuilder.java index 367f1e408..4298302be 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationOrBuilder.java @@ -58,7 +58,8 @@ public interface NotificationOrBuilder * * *
-   * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+   * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+   * as:
    * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
    * 
* @@ -71,7 +72,8 @@ public interface NotificationOrBuilder * * *
-   * Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+   * Required. The Pub/Sub topic to which this subscription publishes. Formatted
+   * as:
    * '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
    * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Object.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Object.java index 6d81467b8..9e207bf51 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Object.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Object.java @@ -93,9 +93,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { * * *
-   * Immutable. The name of this object. Nearly any sequence of unicode characters is
-   * valid. See
-   * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * Immutable. The name of this object. Nearly any sequence of unicode
+   * characters is valid. See
+   * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -122,9 +122,9 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Immutable. The name of this object. Nearly any sequence of unicode characters is
-   * valid. See
-   * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * Immutable. The name of this object. Nearly any sequence of unicode
+   * characters is valid. See
+   * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -262,8 +262,8 @@ public com.google.protobuf.ByteString getEtagBytes() {
    *
    *
    * 
-   * Immutable. The content generation of this object. Used for object versioning.
-   * Attempting to set or update this field will result in a
+   * Immutable. The content generation of this object. Used for object
+   * versioning. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -282,12 +282,11 @@ public long getGeneration() { * * *
-   * Output only. The version of the metadata for this generation of this object. Used for
-   * preconditions and for detecting changes in metadata. A metageneration
-   * number is only meaningful in the context of a particular generation of a
-   * particular object.
-   * Attempting to set or update this field will result in a
-   * [FieldViolation][google.rpc.BadRequest.FieldViolation].
+   * Output only. The version of the metadata for this generation of this
+   * object. Used for preconditions and for detecting changes in metadata. A
+   * metageneration number is only meaningful in the context of a particular
+   * generation of a particular object. Attempting to set or update this field
+   * will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* * int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -533,7 +532,7 @@ public com.google.protobuf.ByteString getCacheControlBytes() { * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -548,7 +547,7 @@ public java.util.List getAclList() { * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -564,7 +563,7 @@ public java.util.List getAclList() { * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -579,7 +578,7 @@ public int getAclCount() { * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -594,7 +593,7 @@ public com.google.storage.v2.ObjectAccessControl getAcl(int index) { * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -662,9 +661,9 @@ public com.google.protobuf.ByteString getContentLanguageBytes() { * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -681,9 +680,9 @@ public boolean hasDeleteTime() { * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -700,9 +699,9 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -830,9 +829,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-   * Output only. Number of underlying components that make up this object. Components are
-   * accumulated by compose operations.
-   * Attempting to set or update this field will result in a
+   * Output only. Number of underlying components that make up this object.
+   * Components are accumulated by compose operations. Attempting to set or
+   * update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -851,7 +850,8 @@ public int getComponentCount() { * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -868,7 +868,8 @@ public boolean hasChecksums() { * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -887,7 +888,8 @@ public com.google.storage.v2.ObjectChecksums getChecksums() { * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -1026,8 +1028,8 @@ public com.google.protobuf.ByteString getKmsKeyBytes() { * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -1046,8 +1048,8 @@ public boolean hasUpdateStorageClassTime() { * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -1068,8 +1070,8 @@ public com.google.protobuf.Timestamp getUpdateStorageClassTime() { * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -1327,8 +1329,8 @@ public boolean getEventBasedHold() { * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -1344,8 +1346,8 @@ public boolean hasOwner() { * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -1361,8 +1363,8 @@ public com.google.storage.v2.Owner getOwner() { * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -2565,9 +2567,9 @@ public Builder mergeFrom( * * *
-     * Immutable. The name of this object. Nearly any sequence of unicode characters is
-     * valid. See
-     * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * Immutable. The name of this object. Nearly any sequence of unicode
+     * characters is valid. See
+     * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2593,9 +2595,9 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Immutable. The name of this object. Nearly any sequence of unicode characters is
-     * valid. See
-     * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * Immutable. The name of this object. Nearly any sequence of unicode
+     * characters is valid. See
+     * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2621,9 +2623,9 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Immutable. The name of this object. Nearly any sequence of unicode characters is
-     * valid. See
-     * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * Immutable. The name of this object. Nearly any sequence of unicode
+     * characters is valid. See
+     * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2648,9 +2650,9 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Immutable. The name of this object. Nearly any sequence of unicode characters is
-     * valid. See
-     * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * Immutable. The name of this object. Nearly any sequence of unicode
+     * characters is valid. See
+     * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2671,9 +2673,9 @@ public Builder clearName() {
      *
      *
      * 
-     * Immutable. The name of this object. Nearly any sequence of unicode characters is
-     * valid. See
-     * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * Immutable. The name of this object. Nearly any sequence of unicode
+     * characters is valid. See
+     * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2938,8 +2940,8 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Immutable. The content generation of this object. Used for object versioning.
-     * Attempting to set or update this field will result in a
+     * Immutable. The content generation of this object. Used for object
+     * versioning. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -2955,8 +2957,8 @@ public long getGeneration() { * * *
-     * Immutable. The content generation of this object. Used for object versioning.
-     * Attempting to set or update this field will result in a
+     * Immutable. The content generation of this object. Used for object
+     * versioning. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -2975,8 +2977,8 @@ public Builder setGeneration(long value) { * * *
-     * Immutable. The content generation of this object. Used for object versioning.
-     * Attempting to set or update this field will result in a
+     * Immutable. The content generation of this object. Used for object
+     * versioning. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -2996,12 +2998,11 @@ public Builder clearGeneration() { * * *
-     * Output only. The version of the metadata for this generation of this object. Used for
-     * preconditions and for detecting changes in metadata. A metageneration
-     * number is only meaningful in the context of a particular generation of a
-     * particular object.
-     * Attempting to set or update this field will result in a
-     * [FieldViolation][google.rpc.BadRequest.FieldViolation].
+     * Output only. The version of the metadata for this generation of this
+     * object. Used for preconditions and for detecting changes in metadata. A
+     * metageneration number is only meaningful in the context of a particular
+     * generation of a particular object. Attempting to set or update this field
+     * will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* * int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3016,12 +3017,11 @@ public long getMetageneration() { * * *
-     * Output only. The version of the metadata for this generation of this object. Used for
-     * preconditions and for detecting changes in metadata. A metageneration
-     * number is only meaningful in the context of a particular generation of a
-     * particular object.
-     * Attempting to set or update this field will result in a
-     * [FieldViolation][google.rpc.BadRequest.FieldViolation].
+     * Output only. The version of the metadata for this generation of this
+     * object. Used for preconditions and for detecting changes in metadata. A
+     * metageneration number is only meaningful in the context of a particular
+     * generation of a particular object. Attempting to set or update this field
+     * will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* * int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3039,12 +3039,11 @@ public Builder setMetageneration(long value) { * * *
-     * Output only. The version of the metadata for this generation of this object. Used for
-     * preconditions and for detecting changes in metadata. A metageneration
-     * number is only meaningful in the context of a particular generation of a
-     * particular object.
-     * Attempting to set or update this field will result in a
-     * [FieldViolation][google.rpc.BadRequest.FieldViolation].
+     * Output only. The version of the metadata for this generation of this
+     * object. Used for preconditions and for detecting changes in metadata. A
+     * metageneration number is only meaningful in the context of a particular
+     * generation of a particular object. Attempting to set or update this field
+     * will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* * int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3589,7 +3588,7 @@ private void ensureAclIsMutable() { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3607,7 +3606,7 @@ public java.util.List getAclList() { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3625,7 +3624,7 @@ public int getAclCount() { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3643,7 +3642,7 @@ public com.google.storage.v2.ObjectAccessControl getAcl(int index) { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3667,7 +3666,7 @@ public Builder setAcl(int index, com.google.storage.v2.ObjectAccessControl value * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3689,7 +3688,7 @@ public Builder setAcl( * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3713,7 +3712,7 @@ public Builder addAcl(com.google.storage.v2.ObjectAccessControl value) { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3737,7 +3736,7 @@ public Builder addAcl(int index, com.google.storage.v2.ObjectAccessControl value * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3758,7 +3757,7 @@ public Builder addAcl(com.google.storage.v2.ObjectAccessControl.Builder builderF * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3780,7 +3779,7 @@ public Builder addAcl( * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3802,7 +3801,7 @@ public Builder addAllAcl( * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3823,7 +3822,7 @@ public Builder clearAcl() { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3844,7 +3843,7 @@ public Builder removeAcl(int index) { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3858,7 +3857,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder getAclBuilder(int index * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3876,7 +3875,7 @@ public com.google.storage.v2.ObjectAccessControlOrBuilder getAclOrBuilder(int in * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3895,7 +3894,7 @@ public com.google.storage.v2.ObjectAccessControlOrBuilder getAclOrBuilder(int in * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3910,7 +3909,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder addAclBuilder() { * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -3925,7 +3924,7 @@ public com.google.storage.v2.ObjectAccessControl.Builder addAclBuilder(int index * *
      * Access controls on the object.
-     * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+     * If iam_config.uniform_bucket_level_access is enabled on the parent
      * bucket, requests to set, read, or modify acl is an error.
      * 
* @@ -4073,9 +4072,9 @@ public Builder setContentLanguageBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4092,9 +4091,9 @@ public boolean hasDeleteTime() { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4117,9 +4116,9 @@ public com.google.protobuf.Timestamp getDeleteTime() { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4144,9 +4143,9 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4168,9 +4167,9 @@ public Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForVal * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4197,9 +4196,9 @@ public Builder mergeDeleteTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4222,9 +4221,9 @@ public Builder clearDeleteTime() { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4241,9 +4240,9 @@ public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder() { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4264,9 +4263,9 @@ public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder() { * * *
-     * Output only. The deletion time of the object. Will be returned if and only if this
-     * version of the object has been deleted.
-     * Attempting to set or update this field will result in a
+     * Output only. The deletion time of the object. Will be returned if and only
+     * if this version of the object has been deleted. Attempting to set or update
+     * this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4636,9 +4635,9 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * * *
-     * Output only. Number of underlying components that make up this object. Components are
-     * accumulated by compose operations.
-     * Attempting to set or update this field will result in a
+     * Output only. Number of underlying components that make up this object.
+     * Components are accumulated by compose operations. Attempting to set or
+     * update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4654,9 +4653,9 @@ public int getComponentCount() { * * *
-     * Output only. Number of underlying components that make up this object. Components are
-     * accumulated by compose operations.
-     * Attempting to set or update this field will result in a
+     * Output only. Number of underlying components that make up this object.
+     * Components are accumulated by compose operations. Attempting to set or
+     * update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4675,9 +4674,9 @@ public Builder setComponentCount(int value) { * * *
-     * Output only. Number of underlying components that make up this object. Components are
-     * accumulated by compose operations.
-     * Attempting to set or update this field will result in a
+     * Output only. Number of underlying components that make up this object.
+     * Components are accumulated by compose operations. Attempting to set or
+     * update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4702,7 +4701,8 @@ public Builder clearComponentCount() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4718,7 +4718,8 @@ public boolean hasChecksums() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4740,7 +4741,8 @@ public com.google.storage.v2.ObjectChecksums getChecksums() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4764,7 +4766,8 @@ public Builder setChecksums(com.google.storage.v2.ObjectChecksums value) { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4785,7 +4788,8 @@ public Builder setChecksums(com.google.storage.v2.ObjectChecksums.Builder builde * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4813,7 +4817,8 @@ public Builder mergeChecksums(com.google.storage.v2.ObjectChecksums value) { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4835,7 +4840,8 @@ public Builder clearChecksums() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4851,7 +4857,8 @@ public com.google.storage.v2.ObjectChecksums.Builder getChecksumsBuilder() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -4871,7 +4878,8 @@ public com.google.storage.v2.ObjectChecksumsOrBuilder getChecksumsOrBuilder() { * * *
-     * Output only. Hashes for the data part of this object.
+     * Output only. Hashes for the data part of this object. This field is used
+     * for output only and will be silently ignored if provided in requests.
      * 
* * @@ -5280,8 +5288,8 @@ public Builder setKmsKeyBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5299,8 +5307,8 @@ public boolean hasUpdateStorageClassTime() { * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5324,8 +5332,8 @@ public com.google.protobuf.Timestamp getUpdateStorageClassTime() { * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5351,8 +5359,8 @@ public Builder setUpdateStorageClassTime(com.google.protobuf.Timestamp value) { * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5376,8 +5384,8 @@ public Builder setUpdateStorageClassTime( * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5407,8 +5415,8 @@ public Builder mergeUpdateStorageClassTime(com.google.protobuf.Timestamp value) * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5432,8 +5440,8 @@ public Builder clearUpdateStorageClassTime() { * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5451,8 +5459,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateStorageClassTimeBuilder() * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -5474,8 +5482,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateStorageClassTimeOrBuilder * * *
-     * Output only. The time at which the object's storage class was last changed. When the
-     * object is initially created, it will be set to time_created.
+     * Output only. The time at which the object's storage class was last changed.
+     * When the object is initially created, it will be set to time_created.
      * Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
@@ -6076,8 +6084,8 @@ public Builder clearEventBasedHold() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6093,8 +6101,8 @@ public boolean hasOwner() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6114,8 +6122,8 @@ public com.google.storage.v2.Owner getOwner() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6139,8 +6147,8 @@ public Builder setOwner(com.google.storage.v2.Owner value) { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6161,8 +6169,8 @@ public Builder setOwner(com.google.storage.v2.Owner.Builder builderForValue) { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6187,8 +6195,8 @@ public Builder mergeOwner(com.google.storage.v2.Owner value) { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6210,8 +6218,8 @@ public Builder clearOwner() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6227,8 +6235,8 @@ public com.google.storage.v2.Owner.Builder getOwnerBuilder() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6246,8 +6254,8 @@ public com.google.storage.v2.OwnerOrBuilder getOwnerOrBuilder() { * * *
-     * Output only. The owner of the object. This will always be the uploader of the object.
-     * Attempting to set or update this field will result in a
+     * Output only. The owner of the object. This will always be the uploader of
+     * the object. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControl.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControl.java index db4ad96ee..213507257 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControl.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControl.java @@ -261,8 +261,8 @@ public com.google.protobuf.ByteString getEntityBytes() { * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -285,8 +285,8 @@ public java.lang.String getEntityAlt() { * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1481,8 +1481,8 @@ public Builder setEntityBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1504,8 +1504,8 @@ public java.lang.String getEntityAlt() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1527,8 +1527,8 @@ public com.google.protobuf.ByteString getEntityAltBytes() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1549,8 +1549,8 @@ public Builder setEntityAlt(java.lang.String value) { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1567,8 +1567,8 @@ public Builder clearEntityAlt() { * * *
-     * Output only. The alternative entity format, if exists. For project entities,
-     * `project-{team}-{projectid}` format will be returned on response.
+     * Output only. The alternative entity format, if exists. For project
+     * entities, `project-{team}-{projectid}` format will be returned on response.
      * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControlOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControlOrBuilder.java index f5be8ac45..20ee2c6a3 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControlOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectAccessControlOrBuilder.java @@ -136,8 +136,8 @@ public interface ObjectAccessControlOrBuilder * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -149,8 +149,8 @@ public interface ObjectAccessControlOrBuilder * * *
-   * Output only. The alternative entity format, if exists. For project entities,
-   * `project-{team}-{projectid}` format will be returned on response.
+   * Output only. The alternative entity format, if exists. For project
+   * entities, `project-{team}-{projectid}` format will be returned on response.
    * 
* * string entity_alt = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectOrBuilder.java index 4546815fe..0e22fd60d 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectOrBuilder.java @@ -27,9 +27,9 @@ public interface ObjectOrBuilder * * *
-   * Immutable. The name of this object. Nearly any sequence of unicode characters is
-   * valid. See
-   * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * Immutable. The name of this object. Nearly any sequence of unicode
+   * characters is valid. See
+   * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -45,9 +45,9 @@ public interface ObjectOrBuilder
    *
    *
    * 
-   * Immutable. The name of this object. Nearly any sequence of unicode characters is
-   * valid. See
-   * [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * Immutable. The name of this object. Nearly any sequence of unicode
+   * characters is valid. See
+   * [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -124,8 +124,8 @@ public interface ObjectOrBuilder
    *
    *
    * 
-   * Immutable. The content generation of this object. Used for object versioning.
-   * Attempting to set or update this field will result in a
+   * Immutable. The content generation of this object. Used for object
+   * versioning. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -139,12 +139,11 @@ public interface ObjectOrBuilder * * *
-   * Output only. The version of the metadata for this generation of this object. Used for
-   * preconditions and for detecting changes in metadata. A metageneration
-   * number is only meaningful in the context of a particular generation of a
-   * particular object.
-   * Attempting to set or update this field will result in a
-   * [FieldViolation][google.rpc.BadRequest.FieldViolation].
+   * Output only. The version of the metadata for this generation of this
+   * object. Used for preconditions and for detecting changes in metadata. A
+   * metageneration number is only meaningful in the context of a particular
+   * generation of a particular object. Attempting to set or update this field
+   * will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* * int64 metageneration = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -284,7 +283,7 @@ public interface ObjectOrBuilder * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -296,7 +295,7 @@ public interface ObjectOrBuilder * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -308,7 +307,7 @@ public interface ObjectOrBuilder * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -320,7 +319,7 @@ public interface ObjectOrBuilder * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -333,7 +332,7 @@ public interface ObjectOrBuilder * *
    * Access controls on the object.
-   * If iamConfig.uniformBucketLevelAccess is enabled on the parent
+   * If iam_config.uniform_bucket_level_access is enabled on the parent
    * bucket, requests to set, read, or modify acl is an error.
    * 
* @@ -372,9 +371,9 @@ public interface ObjectOrBuilder * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -388,9 +387,9 @@ public interface ObjectOrBuilder * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -404,9 +403,9 @@ public interface ObjectOrBuilder * * *
-   * Output only. The deletion time of the object. Will be returned if and only if this
-   * version of the object has been deleted.
-   * Attempting to set or update this field will result in a
+   * Output only. The deletion time of the object. Will be returned if and only
+   * if this version of the object has been deleted. Attempting to set or update
+   * this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -494,9 +493,9 @@ public interface ObjectOrBuilder * * *
-   * Output only. Number of underlying components that make up this object. Components are
-   * accumulated by compose operations.
-   * Attempting to set or update this field will result in a
+   * Output only. Number of underlying components that make up this object.
+   * Components are accumulated by compose operations. Attempting to set or
+   * update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -510,7 +509,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -524,7 +524,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -538,7 +539,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. Hashes for the data part of this object.
+   * Output only. Hashes for the data part of this object. This field is used
+   * for output only and will be silently ignored if provided in requests.
    * 
* * @@ -637,8 +639,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -654,8 +656,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -671,8 +673,8 @@ public interface ObjectOrBuilder * * *
-   * Output only. The time at which the object's storage class was last changed. When the
-   * object is initially created, it will be set to time_created.
+   * Output only. The time at which the object's storage class was last changed.
+   * When the object is initially created, it will be set to time_created.
    * Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
@@ -859,8 +861,8 @@ java.lang.String getMetadataOrDefault( * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -873,8 +875,8 @@ java.lang.String getMetadataOrDefault( * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -887,8 +889,8 @@ java.lang.String getMetadataOrDefault( * * *
-   * Output only. The owner of the object. This will always be the uploader of the object.
-   * Attempting to set or update this field will result in a
+   * Output only. The owner of the object. This will always be the uploader of
+   * the object. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequest.java index 9e30af475..dfd15569c 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequest.java @@ -73,8 +73,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The name of the resume token for the object whose write status is being
-   * requested.
+   * Required. The name of the resume token for the object whose write status is
+   * being requested.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -97,8 +97,8 @@ public java.lang.String getUploadId() { * * *
-   * Required. The name of the resume token for the object whose write status is being
-   * requested.
+   * Required. The name of the resume token for the object whose write status is
+   * being requested.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -539,8 +539,8 @@ public Builder mergeFrom( * * *
-     * Required. The name of the resume token for the object whose write status is being
-     * requested.
+     * Required. The name of the resume token for the object whose write status is
+     * being requested.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -562,8 +562,8 @@ public java.lang.String getUploadId() { * * *
-     * Required. The name of the resume token for the object whose write status is being
-     * requested.
+     * Required. The name of the resume token for the object whose write status is
+     * being requested.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -585,8 +585,8 @@ public com.google.protobuf.ByteString getUploadIdBytes() { * * *
-     * Required. The name of the resume token for the object whose write status is being
-     * requested.
+     * Required. The name of the resume token for the object whose write status is
+     * being requested.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -607,8 +607,8 @@ public Builder setUploadId(java.lang.String value) { * * *
-     * Required. The name of the resume token for the object whose write status is being
-     * requested.
+     * Required. The name of the resume token for the object whose write status is
+     * being requested.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -625,8 +625,8 @@ public Builder clearUploadId() { * * *
-     * Required. The name of the resume token for the object whose write status is being
-     * requested.
+     * Required. The name of the resume token for the object whose write status is
+     * being requested.
      * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequestOrBuilder.java index 09641bb1e..f56814f69 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusRequestOrBuilder.java @@ -27,8 +27,8 @@ public interface QueryWriteStatusRequestOrBuilder * * *
-   * Required. The name of the resume token for the object whose write status is being
-   * requested.
+   * Required. The name of the resume token for the object whose write status is
+   * being requested.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; @@ -40,8 +40,8 @@ public interface QueryWriteStatusRequestOrBuilder * * *
-   * Required. The name of the resume token for the object whose write status is being
-   * requested.
+   * Required. The name of the resume token for the object whose write status is
+   * being requested.
    * 
* * string upload_id = 1 [(.google.api.field_behavior) = REQUIRED]; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequest.java index 7a3faf6cf..6d5c8b7c5 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequest.java @@ -92,7 +92,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required. Immutable. The name of the destination object.
    * See the
-   * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -123,7 +123,7 @@ public java.lang.String getDestinationName() {
    * 
    * Required. Immutable. The name of the destination object.
    * See the
-   * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -155,7 +155,8 @@ public com.google.protobuf.ByteString getDestinationNameBytes() {
    *
    *
    * 
-   * Required. Immutable. The name of the bucket containing the destination object.
+   * Required. Immutable. The name of the bucket containing the destination
+   * object.
    * 
* * @@ -180,7 +181,8 @@ public java.lang.String getDestinationBucket() { * * *
-   * Required. Immutable. The name of the bucket containing the destination object.
+   * Required. Immutable. The name of the bucket containing the destination
+   * object.
    * 
* * @@ -1001,6 +1003,57 @@ public com.google.storage.v2.CommonObjectRequestParams getCommonObjectRequestPar return getCommonObjectRequestParams(); } + public static final int OBJECT_CHECKSUMS_FIELD_NUMBER = 29; + private com.google.storage.v2.ObjectChecksums objectChecksums_; + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return Whether the objectChecksums field is set. + */ + @java.lang.Override + public boolean hasObjectChecksums() { + return objectChecksums_ != null; + } + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return The objectChecksums. + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + return getObjectChecksums(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -1082,6 +1135,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPredefinedAcl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 28, destinationPredefinedAcl_); } + if (objectChecksums_ != null) { + output.writeMessage(29, getObjectChecksums()); + } getUnknownFields().writeTo(output); } @@ -1169,6 +1225,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(28, destinationPredefinedAcl_); } + if (objectChecksums_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(29, getObjectChecksums()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -1243,6 +1302,10 @@ public boolean equals(final java.lang.Object obj) { if (!getCommonObjectRequestParams().equals(other.getCommonObjectRequestParams())) return false; } + if (hasObjectChecksums() != other.hasObjectChecksums()) return false; + if (hasObjectChecksums()) { + if (!getObjectChecksums().equals(other.getObjectChecksums())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1319,6 +1382,10 @@ public int hashCode() { hash = (37 * hash) + COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getCommonObjectRequestParams().hashCode(); } + if (hasObjectChecksums()) { + hash = (37 * hash) + OBJECT_CHECKSUMS_FIELD_NUMBER; + hash = (53 * hash) + getObjectChecksums().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -1516,6 +1583,12 @@ public Builder clear() { commonObjectRequestParams_ = null; commonObjectRequestParamsBuilder_ = null; } + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } return this; } @@ -1599,6 +1672,11 @@ public com.google.storage.v2.RewriteObjectRequest buildPartial() { } else { result.commonObjectRequestParams_ = commonObjectRequestParamsBuilder_.build(); } + if (objectChecksumsBuilder_ == null) { + result.objectChecksums_ = objectChecksums_; + } else { + result.objectChecksums_ = objectChecksumsBuilder_.build(); + } result.bitField0_ = to_bitField0_; onBuilt(); return result; @@ -1723,6 +1801,9 @@ public Builder mergeFrom(com.google.storage.v2.RewriteObjectRequest other) { if (other.hasCommonObjectRequestParams()) { mergeCommonObjectRequestParams(other.getCommonObjectRequestParams()); } + if (other.hasObjectChecksums()) { + mergeObjectChecksums(other.getObjectChecksums()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -1882,6 +1963,12 @@ public Builder mergeFrom( break; } // case 226 + case 234: + { + input.readMessage(getObjectChecksumsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 234 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1908,7 +1995,7 @@ public Builder mergeFrom( *
      * Required. Immutable. The name of the destination object.
      * See the
-     * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -1938,7 +2025,7 @@ public java.lang.String getDestinationName() {
      * 
      * Required. Immutable. The name of the destination object.
      * See the
-     * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -1968,7 +2055,7 @@ public com.google.protobuf.ByteString getDestinationNameBytes() {
      * 
      * Required. Immutable. The name of the destination object.
      * See the
-     * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -1997,7 +2084,7 @@ public Builder setDestinationName(java.lang.String value) {
      * 
      * Required. Immutable. The name of the destination object.
      * See the
-     * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2022,7 +2109,7 @@ public Builder clearDestinationName() {
      * 
      * Required. Immutable. The name of the destination object.
      * See the
-     * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+     * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
      * Example: `test.txt`
      * The `name` field by itself does not uniquely identify a Cloud Storage
      * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2052,7 +2139,8 @@ public Builder setDestinationNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * Required. Immutable. The name of the bucket containing the destination object.
+     * Required. Immutable. The name of the bucket containing the destination
+     * object.
      * 
* * @@ -2076,7 +2164,8 @@ public java.lang.String getDestinationBucket() { * * *
-     * Required. Immutable. The name of the bucket containing the destination object.
+     * Required. Immutable. The name of the bucket containing the destination
+     * object.
      * 
* * @@ -2100,7 +2189,8 @@ public com.google.protobuf.ByteString getDestinationBucketBytes() { * * *
-     * Required. Immutable. The name of the bucket containing the destination object.
+     * Required. Immutable. The name of the bucket containing the destination
+     * object.
      * 
* * @@ -2123,7 +2213,8 @@ public Builder setDestinationBucket(java.lang.String value) { * * *
-     * Required. Immutable. The name of the bucket containing the destination object.
+     * Required. Immutable. The name of the bucket containing the destination
+     * object.
      * 
* * @@ -2142,7 +2233,8 @@ public Builder clearDestinationBucket() { * * *
-     * Required. Immutable. The name of the bucket containing the destination object.
+     * Required. Immutable. The name of the bucket containing the destination
+     * object.
      * 
* * @@ -4114,6 +4206,201 @@ public Builder clearCommonObjectRequestParams() { return commonObjectRequestParamsBuilder_; } + private com.google.storage.v2.ObjectChecksums objectChecksums_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + objectChecksumsBuilder_; + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return Whether the objectChecksums field is set. + */ + public boolean hasObjectChecksums() { + return objectChecksumsBuilder_ != null || objectChecksums_ != null; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return The objectChecksums. + */ + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } else { + return objectChecksumsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public Builder setObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + objectChecksums_ = value; + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public Builder setObjectChecksums( + com.google.storage.v2.ObjectChecksums.Builder builderForValue) { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = builderForValue.build(); + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public Builder mergeObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (objectChecksums_ != null) { + objectChecksums_ = + com.google.storage.v2.ObjectChecksums.newBuilder(objectChecksums_) + .mergeFrom(value) + .buildPartial(); + } else { + objectChecksums_ = value; + } + onChanged(); + } else { + objectChecksumsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public Builder clearObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + onChanged(); + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public com.google.storage.v2.ObjectChecksums.Builder getObjectChecksumsBuilder() { + + onChanged(); + return getObjectChecksumsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + if (objectChecksumsBuilder_ != null) { + return objectChecksumsBuilder_.getMessageOrBuilder(); + } else { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * destination object after rewriting.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + getObjectChecksumsFieldBuilder() { + if (objectChecksumsBuilder_ == null) { + objectChecksumsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder>( + getObjectChecksums(), getParentForChildren(), isClean()); + objectChecksums_ = null; + } + return objectChecksumsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequestOrBuilder.java index 459e00eed..d6241479b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteObjectRequestOrBuilder.java @@ -29,7 +29,7 @@ public interface RewriteObjectRequestOrBuilder *
    * Required. Immutable. The name of the destination object.
    * See the
-   * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -49,7 +49,7 @@ public interface RewriteObjectRequestOrBuilder
    * 
    * Required. Immutable. The name of the destination object.
    * See the
-   * [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+   * [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
    * Example: `test.txt`
    * The `name` field by itself does not uniquely identify a Cloud Storage
    * object. A Cloud Storage object is uniquely identified by the tuple of
@@ -68,7 +68,8 @@ public interface RewriteObjectRequestOrBuilder
    *
    *
    * 
-   * Required. Immutable. The name of the bucket containing the destination object.
+   * Required. Immutable. The name of the bucket containing the destination
+   * object.
    * 
* * @@ -82,7 +83,8 @@ public interface RewriteObjectRequestOrBuilder * * *
-   * Required. Immutable. The name of the bucket containing the destination object.
+   * Required. Immutable. The name of the bucket containing the destination
+   * object.
    * 
* * @@ -638,4 +640,42 @@ public interface RewriteObjectRequestOrBuilder * .google.storage.v2.CommonObjectRequestParams common_object_request_params = 19; */ com.google.storage.v2.CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder(); + + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return Whether the objectChecksums field is set. + */ + boolean hasObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + * + * @return The objectChecksums. + */ + com.google.storage.v2.ObjectChecksums getObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * destination object after rewriting.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 29; + */ + com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequest.java index 5b90a6374..4ee7e2f60 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequest.java @@ -71,7 +71,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -88,7 +89,8 @@ public boolean hasWriteObjectSpec() { * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -107,7 +109,8 @@ public com.google.storage.v2.WriteObjectSpec getWriteObjectSpec() { * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -168,6 +171,63 @@ public com.google.storage.v2.CommonObjectRequestParams getCommonObjectRequestPar return getCommonObjectRequestParams(); } + public static final int OBJECT_CHECKSUMS_FIELD_NUMBER = 5; + private com.google.storage.v2.ObjectChecksums objectChecksums_; + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return Whether the objectChecksums field is set. + */ + @java.lang.Override + public boolean hasObjectChecksums() { + return objectChecksums_ != null; + } + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return The objectChecksums. + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + @java.lang.Override + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + return getObjectChecksums(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -188,6 +248,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (commonObjectRequestParams_ != null) { output.writeMessage(3, getCommonObjectRequestParams()); } + if (objectChecksums_ != null) { + output.writeMessage(5, getObjectChecksums()); + } getUnknownFields().writeTo(output); } @@ -205,6 +268,9 @@ public int getSerializedSize() { com.google.protobuf.CodedOutputStream.computeMessageSize( 3, getCommonObjectRequestParams()); } + if (objectChecksums_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getObjectChecksums()); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -230,6 +296,10 @@ public boolean equals(final java.lang.Object obj) { if (!getCommonObjectRequestParams().equals(other.getCommonObjectRequestParams())) return false; } + if (hasObjectChecksums() != other.hasObjectChecksums()) return false; + if (hasObjectChecksums()) { + if (!getObjectChecksums().equals(other.getObjectChecksums())) return false; + } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -249,6 +319,10 @@ public int hashCode() { hash = (37 * hash) + COMMON_OBJECT_REQUEST_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getCommonObjectRequestParams().hashCode(); } + if (hasObjectChecksums()) { + hash = (37 * hash) + OBJECT_CHECKSUMS_FIELD_NUMBER; + hash = (53 * hash) + getObjectChecksums().hashCode(); + } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -399,6 +473,12 @@ public Builder clear() { commonObjectRequestParams_ = null; commonObjectRequestParamsBuilder_ = null; } + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } return this; } @@ -436,6 +516,11 @@ public com.google.storage.v2.StartResumableWriteRequest buildPartial() { } else { result.commonObjectRequestParams_ = commonObjectRequestParamsBuilder_.build(); } + if (objectChecksumsBuilder_ == null) { + result.objectChecksums_ = objectChecksums_; + } else { + result.objectChecksums_ = objectChecksumsBuilder_.build(); + } onBuilt(); return result; } @@ -492,6 +577,9 @@ public Builder mergeFrom(com.google.storage.v2.StartResumableWriteRequest other) if (other.hasCommonObjectRequestParams()) { mergeCommonObjectRequestParams(other.getCommonObjectRequestParams()); } + if (other.hasObjectChecksums()) { + mergeObjectChecksums(other.getObjectChecksums()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -531,6 +619,12 @@ public Builder mergeFrom( break; } // case 26 + case 42: + { + input.readMessage(getObjectChecksumsFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -558,7 +652,8 @@ public Builder mergeFrom( * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -574,7 +669,8 @@ public boolean hasWriteObjectSpec() { * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -596,7 +692,8 @@ public com.google.storage.v2.WriteObjectSpec getWriteObjectSpec() { * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -620,7 +717,8 @@ public Builder setWriteObjectSpec(com.google.storage.v2.WriteObjectSpec value) { * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -642,7 +740,8 @@ public Builder setWriteObjectSpec( * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -670,7 +769,8 @@ public Builder mergeWriteObjectSpec(com.google.storage.v2.WriteObjectSpec value) * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -692,7 +792,8 @@ public Builder clearWriteObjectSpec() { * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -708,7 +809,8 @@ public com.google.storage.v2.WriteObjectSpec.Builder getWriteObjectSpecBuilder() * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -728,7 +830,8 @@ public com.google.storage.v2.WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilde * * *
-     * Required. The destination bucket, object, and metadata, as well as any preconditions.
+     * Required. The destination bucket, object, and metadata, as well as any
+     * preconditions.
      * 
* * @@ -942,6 +1045,219 @@ public Builder clearCommonObjectRequestParams() { return commonObjectRequestParamsBuilder_; } + private com.google.storage.v2.ObjectChecksums objectChecksums_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + objectChecksumsBuilder_; + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return Whether the objectChecksums field is set. + */ + public boolean hasObjectChecksums() { + return objectChecksumsBuilder_ != null || objectChecksums_ != null; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return The objectChecksums. + */ + public com.google.storage.v2.ObjectChecksums getObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } else { + return objectChecksumsBuilder_.getMessage(); + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public Builder setObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + objectChecksums_ = value; + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public Builder setObjectChecksums( + com.google.storage.v2.ObjectChecksums.Builder builderForValue) { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = builderForValue.build(); + onChanged(); + } else { + objectChecksumsBuilder_.setMessage(builderForValue.build()); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public Builder mergeObjectChecksums(com.google.storage.v2.ObjectChecksums value) { + if (objectChecksumsBuilder_ == null) { + if (objectChecksums_ != null) { + objectChecksums_ = + com.google.storage.v2.ObjectChecksums.newBuilder(objectChecksums_) + .mergeFrom(value) + .buildPartial(); + } else { + objectChecksums_ = value; + } + onChanged(); + } else { + objectChecksumsBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public Builder clearObjectChecksums() { + if (objectChecksumsBuilder_ == null) { + objectChecksums_ = null; + onChanged(); + } else { + objectChecksums_ = null; + objectChecksumsBuilder_ = null; + } + + return this; + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public com.google.storage.v2.ObjectChecksums.Builder getObjectChecksumsBuilder() { + + onChanged(); + return getObjectChecksumsFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder() { + if (objectChecksumsBuilder_ != null) { + return objectChecksumsBuilder_.getMessageOrBuilder(); + } else { + return objectChecksums_ == null + ? com.google.storage.v2.ObjectChecksums.getDefaultInstance() + : objectChecksums_; + } + } + /** + * + * + *
+     * The checksums of the complete object. This will be used to validate the
+     * uploaded object. For each upload, object_checksums can be provided with
+     * either StartResumableWriteRequest or the WriteObjectRequest with
+     * finish_write set to `true`.
+     * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder> + getObjectChecksumsFieldBuilder() { + if (objectChecksumsBuilder_ == null) { + objectChecksumsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.storage.v2.ObjectChecksums, + com.google.storage.v2.ObjectChecksums.Builder, + com.google.storage.v2.ObjectChecksumsOrBuilder>( + getObjectChecksums(), getParentForChildren(), isClean()); + objectChecksums_ = null; + } + return objectChecksumsBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequestOrBuilder.java index a628130b1..fb2c88680 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteRequestOrBuilder.java @@ -27,7 +27,8 @@ public interface StartResumableWriteRequestOrBuilder * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -41,7 +42,8 @@ public interface StartResumableWriteRequestOrBuilder * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -55,7 +57,8 @@ public interface StartResumableWriteRequestOrBuilder * * *
-   * Required. The destination bucket, object, and metadata, as well as any preconditions.
+   * Required. The destination bucket, object, and metadata, as well as any
+   * preconditions.
    * 
* * @@ -98,4 +101,48 @@ public interface StartResumableWriteRequestOrBuilder * .google.storage.v2.CommonObjectRequestParams common_object_request_params = 3; */ com.google.storage.v2.CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder(); + + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return Whether the objectChecksums field is set. + */ + boolean hasObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + * + * @return The objectChecksums. + */ + com.google.storage.v2.ObjectChecksums getObjectChecksums(); + /** + * + * + *
+   * The checksums of the complete object. This will be used to validate the
+   * uploaded object. For each upload, object_checksums can be provided with
+   * either StartResumableWriteRequest or the WriteObjectRequest with
+   * finish_write set to `true`.
+   * 
+ * + * .google.storage.v2.ObjectChecksums object_checksums = 5; + */ + com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilder(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java index 03b1ddf5b..6c9b1a378 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageProto.java @@ -337,533 +337,538 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "oogle/api/field_behavior.proto\032\031google/a" + "pi/resource.proto\032\030google/api/routing.pr" + "oto\032\036google/iam/v1/iam_policy.proto\032\032goo" - + "gle/iam/v1/policy.proto\032\033google/protobuf" - + "/empty.proto\032 google/protobuf/field_mask" - + ".proto\032\037google/protobuf/timestamp.proto\032" - + "\026google/type/date.proto\"\326\001\n\023DeleteBucket" - + "Request\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035storage.g" - + "oogleapis.com/Bucket\022$\n\027if_metageneratio" - + "n_match\030\002 \001(\003H\000\210\001\001\022(\n\033if_metageneration_" - + "not_match\030\003 \001(\003H\001\210\001\001B\032\n\030_if_metagenerati" - + "on_matchB\036\n\034_if_metageneration_not_match" - + "\"\225\002\n\020GetBucketRequest\0223\n\004name\030\001 \001(\tB%\340A\002" - + "\372A\037\n\035storage.googleapis.com/Bucket\022$\n\027if" - + "_metageneration_match\030\002 \001(\003H\000\210\001\001\022(\n\033if_m" - + "etageneration_not_match\030\003 \001(\003H\001\210\001\001\0222\n\tre" - + "ad_mask\030\005 \001(\0132\032.google.protobuf.FieldMas" - + "kH\002\210\001\001B\032\n\030_if_metageneration_matchB\036\n\034_i" - + "f_metageneration_not_matchB\014\n\n_read_mask" - + "\"\334\001\n\023CreateBucketRequest\022C\n\006parent\030\001 \001(\t" - + "B3\340A\002\372A-\n+cloudresourcemanager.googleapi" - + "s.com/Project\022)\n\006bucket\030\002 \001(\0132\031.google.s" - + "torage.v2.Bucket\022\026\n\tbucket_id\030\003 \001(\tB\003\340A\002" - + "\022\026\n\016predefined_acl\030\006 \001(\t\022%\n\035predefined_d" - + "efault_object_acl\030\007 \001(\t\"\322\001\n\022ListBucketsR" - + "equest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudres" - + "ourcemanager.googleapis.com/Project\022\021\n\tp" - + "age_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006pr" - + "efix\030\004 \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.p" - + "rotobuf.FieldMaskH\000\210\001\001B\014\n\n_read_mask\"Z\n\023" - + "ListBucketsResponse\022*\n\007buckets\030\001 \003(\0132\031.g" - + "oogle.storage.v2.Bucket\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\177\n LockBucketRetentionPolicyReq" - + "uest\0225\n\006bucket\030\001 \001(\tB%\340A\002\372A\037\n\035storage.go" - + "ogleapis.com/Bucket\022$\n\027if_metageneration" - + "_match\030\002 \001(\003B\003\340A\002\"\306\002\n\023UpdateBucketReques" - + "t\022.\n\006bucket\030\001 \001(\0132\031.google.storage.v2.Bu" - + "cketB\003\340A\002\022$\n\027if_metageneration_match\030\002 \001" - + "(\003H\000\210\001\001\022(\n\033if_metageneration_not_match\030\003" - + " \001(\003H\001\210\001\001\022\026\n\016predefined_acl\030\010 \001(\t\022%\n\035pre" - + "defined_default_object_acl\030\t \001(\t\0224\n\013upda" - + "te_mask\030\006 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002B\032\n\030_if_metageneration_matchB\036\n\034_i" - + "f_metageneration_not_match\"V\n\031DeleteNoti" - + "ficationRequest\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#s" - + "torage.googleapis.com/Notification\"M\n\026Ge" - + "tNotificationRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372" - + "A\037\n\035storage.googleapis.com/Bucket\"\216\001\n\031Cr" - + "eateNotificationRequest\0225\n\006parent\030\001 \001(\tB" - + "%\340A\002\372A\037\022\035storage.googleapis.com/Bucket\022:" - + "\n\014notification\030\002 \001(\0132\037.google.storage.v2" - + ".NotificationB\003\340A\002\"x\n\030ListNotificationsR" - + "equest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035storage." - + "googleapis.com/Bucket\022\021\n\tpage_size\030\002 \001(\005" - + "\022\022\n\npage_token\030\003 \001(\t\"l\n\031ListNotification" - + "sResponse\0226\n\rnotifications\030\001 \003(\0132\037.googl" - + "e.storage.v2.Notification\022\027\n\017next_page_t" - + "oken\030\002 \001(\t\"\267\005\n\024ComposeObjectRequest\0223\n\013d" - + "estination\030\001 \001(\0132\031.google.storage.v2.Obj" - + "ectB\003\340A\002\022L\n\016source_objects\030\002 \003(\01324.googl" - + "e.storage.v2.ComposeObjectRequest.Source" - + "Object\022\"\n\032destination_predefined_acl\030\t \001" - + "(\t\022 \n\023if_generation_match\030\004 \001(\003H\000\210\001\001\022$\n\027" - + "if_metageneration_match\030\005 \001(\003H\001\210\001\001\0227\n\007km" - + "s_key\030\006 \001(\tB&\372A#\n!cloudkms.googleapis.co" - + "m/CryptoKey\022R\n\034common_object_request_par" - + "ams\030\007 \001(\0132,.google.storage.v2.CommonObje" - + "ctRequestParams\032\356\001\n\014SourceObject\022\021\n\004name" - + "\030\001 \001(\tB\003\340A\002\022\022\n\ngeneration\030\002 \001(\003\022f\n\024objec" - + "t_preconditions\030\003 \001(\0132H.google.storage.v" - + "2.ComposeObjectRequest.SourceObject.Obje" - + "ctPreconditions\032O\n\023ObjectPreconditions\022 " - + "\n\023if_generation_match\030\001 \001(\003H\000\210\001\001B\026\n\024_if_" - + "generation_matchB\026\n\024_if_generation_match" - + "B\032\n\030_if_metageneration_match\"\257\003\n\023DeleteO" - + "bjectRequest\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obj" - + "ect\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\004 \001(\003\022 \n\023if" - + "_generation_match\030\005 \001(\003H\000\210\001\001\022$\n\027if_gener" - + "ation_not_match\030\006 \001(\003H\001\210\001\001\022$\n\027if_metagen" - + "eration_match\030\007 \001(\003H\002\210\001\001\022(\n\033if_metagener" - + "ation_not_match\030\010 \001(\003H\003\210\001\001\022R\n\034common_obj" - + "ect_request_params\030\n \001(\0132,.google.storag" - + "e.v2.CommonObjectRequestParamsB\026\n\024_if_ge" - + "neration_matchB\032\n\030_if_generation_not_mat" - + "chB\032\n\030_if_metageneration_matchB\036\n\034_if_me" - + "tageneration_not_match\"5\n\033CancelResumabl" - + "eWriteRequest\022\026\n\tupload_id\030\001 \001(\tB\003\340A\002\"\036\n" - + "\034CancelResumableWriteResponse\"\230\004\n\021ReadOb" - + "jectRequest\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006obje" - + "ct\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003\022\023\n\013rea" - + "d_offset\030\004 \001(\003\022\022\n\nread_limit\030\005 \001(\003\022 \n\023if" - + "_generation_match\030\006 \001(\003H\000\210\001\001\022$\n\027if_gener" - + "ation_not_match\030\007 \001(\003H\001\210\001\001\022$\n\027if_metagen" - + "eration_match\030\010 \001(\003H\002\210\001\001\022(\n\033if_metagener" - + "ation_not_match\030\t \001(\003H\003\210\001\001\022R\n\034common_obj" - + "ect_request_params\030\n \001(\0132,.google.storag" - + "e.v2.CommonObjectRequestParams\0222\n\tread_m" - + "ask\030\014 \001(\0132\032.google.protobuf.FieldMaskH\004\210" - + "\001\001B\026\n\024_if_generation_matchB\032\n\030_if_genera" - + "tion_not_matchB\032\n\030_if_metageneration_mat" - + "chB\036\n\034_if_metageneration_not_matchB\014\n\n_r" - + "ead_mask\"\356\003\n\020GetObjectRequest\022\023\n\006bucket\030" - + "\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\022\n\ngener" - + "ation\030\003 \001(\003\022 \n\023if_generation_match\030\004 \001(\003" - + "H\000\210\001\001\022$\n\027if_generation_not_match\030\005 \001(\003H\001" - + "\210\001\001\022$\n\027if_metageneration_match\030\006 \001(\003H\002\210\001" - + "\001\022(\n\033if_metageneration_not_match\030\007 \001(\003H\003" - + "\210\001\001\022R\n\034common_object_request_params\030\010 \001(" + + "gle/iam/v1/policy.proto\032\036google/protobuf" + + "/duration.proto\032\033google/protobuf/empty.p" + + "roto\032 google/protobuf/field_mask.proto\032\037" + + "google/protobuf/timestamp.proto\032\026google/" + + "type/date.proto\"\326\001\n\023DeleteBucketRequest\022" + + "3\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035storage.googleapi" + + "s.com/Bucket\022$\n\027if_metageneration_match\030" + + "\002 \001(\003H\000\210\001\001\022(\n\033if_metageneration_not_matc" + + "h\030\003 \001(\003H\001\210\001\001B\032\n\030_if_metageneration_match" + + "B\036\n\034_if_metageneration_not_match\"\225\002\n\020Get" + + "BucketRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035sto" + + "rage.googleapis.com/Bucket\022$\n\027if_metagen" + + "eration_match\030\002 \001(\003H\000\210\001\001\022(\n\033if_metagener" + + "ation_not_match\030\003 \001(\003H\001\210\001\001\0222\n\tread_mask\030" + + "\005 \001(\0132\032.google.protobuf.FieldMaskH\002\210\001\001B\032" + + "\n\030_if_metageneration_matchB\036\n\034_if_metage" + + "neration_not_matchB\014\n\n_read_mask\"\334\001\n\023Cre" + + "ateBucketRequest\022C\n\006parent\030\001 \001(\tB3\340A\002\372A-" + + "\n+cloudresourcemanager.googleapis.com/Pr" + + "oject\022)\n\006bucket\030\002 \001(\0132\031.google.storage.v" + + "2.Bucket\022\026\n\tbucket_id\030\003 \001(\tB\003\340A\002\022\026\n\016pred" + + "efined_acl\030\006 \001(\t\022%\n\035predefined_default_o" + + "bject_acl\030\007 \001(\t\"\322\001\n\022ListBucketsRequest\022C" + + "\n\006parent\030\001 \001(\tB3\340A\002\372A-\n+cloudresourceman" + + "ager.googleapis.com/Project\022\021\n\tpage_size" + + "\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006prefix\030\004 \001" + + "(\t\0222\n\tread_mask\030\005 \001(\0132\032.google.protobuf." + + "FieldMaskH\000\210\001\001B\014\n\n_read_mask\"Z\n\023ListBuck" + + "etsResponse\022*\n\007buckets\030\001 \003(\0132\031.google.st" + + "orage.v2.Bucket\022\027\n\017next_page_token\030\002 \001(\t" + + "\"\177\n LockBucketRetentionPolicyRequest\0225\n\006" + + "bucket\030\001 \001(\tB%\340A\002\372A\037\n\035storage.googleapis" + + ".com/Bucket\022$\n\027if_metageneration_match\030\002" + + " \001(\003B\003\340A\002\"\306\002\n\023UpdateBucketRequest\022.\n\006buc" + + "ket\030\001 \001(\0132\031.google.storage.v2.BucketB\003\340A" + + "\002\022$\n\027if_metageneration_match\030\002 \001(\003H\000\210\001\001\022" + + "(\n\033if_metageneration_not_match\030\003 \001(\003H\001\210\001" + + "\001\022\026\n\016predefined_acl\030\010 \001(\t\022%\n\035predefined_" + + "default_object_acl\030\t \001(\t\0224\n\013update_mask\030" + + "\006 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002B\032" + + "\n\030_if_metageneration_matchB\036\n\034_if_metage" + + "neration_not_match\"V\n\031DeleteNotification" + + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#storage.g" + + "oogleapis.com/Notification\"M\n\026GetNotific" + + "ationRequest\0223\n\004name\030\001 \001(\tB%\340A\002\372A\037\n\035stor" + + "age.googleapis.com/Bucket\"\216\001\n\031CreateNoti" + + "ficationRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022" + + "\035storage.googleapis.com/Bucket\022:\n\014notifi" + + "cation\030\002 \001(\0132\037.google.storage.v2.Notific" + + "ationB\003\340A\002\"x\n\030ListNotificationsRequest\0225" + + "\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035storage.googleap" + + "is.com/Bucket\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" + + "_token\030\003 \001(\t\"l\n\031ListNotificationsRespons" + + "e\0226\n\rnotifications\030\001 \003(\0132\037.google.storag" + + "e.v2.Notification\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\365\005\n\024ComposeObjectRequest\0223\n\013destinati" + + "on\030\001 \001(\0132\031.google.storage.v2.ObjectB\003\340A\002" + + "\022L\n\016source_objects\030\002 \003(\01324.google.storag" + + "e.v2.ComposeObjectRequest.SourceObject\022\"" + + "\n\032destination_predefined_acl\030\t \001(\t\022 \n\023if" + + "_generation_match\030\004 \001(\003H\000\210\001\001\022$\n\027if_metag" + + "eneration_match\030\005 \001(\003H\001\210\001\001\0227\n\007kms_key\030\006 " + + "\001(\tB&\372A#\n!cloudkms.googleapis.com/Crypto" + + "Key\022R\n\034common_object_request_params\030\007 \001(" + "\0132,.google.storage.v2.CommonObjectReques" - + "tParams\0222\n\tread_mask\030\n \001(\0132\032.google.prot" - + "obuf.FieldMaskH\004\210\001\001B\026\n\024_if_generation_ma" - + "tchB\032\n\030_if_generation_not_matchB\032\n\030_if_m" - + "etageneration_matchB\036\n\034_if_metageneratio" - + "n_not_matchB\014\n\n_read_mask\"\365\001\n\022ReadObject" - + "Response\022<\n\020checksummed_data\030\001 \001(\0132\".goo" - + "gle.storage.v2.ChecksummedData\022<\n\020object" - + "_checksums\030\002 \001(\0132\".google.storage.v2.Obj" - + "ectChecksums\0226\n\rcontent_range\030\003 \001(\0132\037.go" - + "ogle.storage.v2.ContentRange\022+\n\010metadata" - + "\030\004 \001(\0132\031.google.storage.v2.Object\"\215\003\n\017Wr" - + "iteObjectSpec\0220\n\010resource\030\001 \001(\0132\031.google" - + ".storage.v2.ObjectB\003\340A\002\022\026\n\016predefined_ac" - + "l\030\007 \001(\t\022 \n\023if_generation_match\030\003 \001(\003H\000\210\001" - + "\001\022$\n\027if_generation_not_match\030\004 \001(\003H\001\210\001\001\022" - + "$\n\027if_metageneration_match\030\005 \001(\003H\002\210\001\001\022(\n" - + "\033if_metageneration_not_match\030\006 \001(\003H\003\210\001\001\022" - + "\030\n\013object_size\030\010 \001(\003H\004\210\001\001B\026\n\024_if_generat" - + "ion_matchB\032\n\030_if_generation_not_matchB\032\n" - + "\030_if_metageneration_matchB\036\n\034_if_metagen" - + "eration_not_matchB\016\n\014_object_size\"\206\003\n\022Wr" - + "iteObjectRequest\022\023\n\tupload_id\030\001 \001(\tH\000\022?\n" - + "\021write_object_spec\030\002 \001(\0132\".google.storag" - + "e.v2.WriteObjectSpecH\000\022\031\n\014write_offset\030\003" - + " \001(\003B\003\340A\002\022>\n\020checksummed_data\030\004 \001(\0132\".go" - + "ogle.storage.v2.ChecksummedDataH\001\022<\n\020obj" - + "ect_checksums\030\006 \001(\0132\".google.storage.v2." - + "ObjectChecksums\022\024\n\014finish_write\030\007 \001(\010\022R\n" - + "\034common_object_request_params\030\010 \001(\0132,.go" - + "ogle.storage.v2.CommonObjectRequestParam" - + "sB\017\n\rfirst_messageB\006\n\004data\"n\n\023WriteObjec" - + "tResponse\022\030\n\016persisted_size\030\001 \001(\003H\000\022-\n\010r" - + "esource\030\002 \001(\0132\031.google.storage.v2.Object" - + "H\000B\016\n\014write_status\"\305\002\n\022ListObjectsReques" - + "t\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022\035storage.googl" - + "eapis.com/Bucket\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np" - + "age_token\030\003 \001(\t\022\021\n\tdelimiter\030\004 \001(\t\022\"\n\032in" - + "clude_trailing_delimiter\030\005 \001(\010\022\016\n\006prefix" - + "\030\006 \001(\t\022\020\n\010versions\030\007 \001(\010\0222\n\tread_mask\030\010 " - + "\001(\0132\032.google.protobuf.FieldMaskH\000\210\001\001\022\033\n\023" - + "lexicographic_start\030\n \001(\t\022\031\n\021lexicograph" - + "ic_end\030\013 \001(\tB\014\n\n_read_mask\"\205\001\n\027QueryWrit" - + "eStatusRequest\022\026\n\tupload_id\030\001 \001(\tB\003\340A\002\022R" - + "\n\034common_object_request_params\030\002 \001(\0132,.g" - + "oogle.storage.v2.CommonObjectRequestPara" - + "ms\"s\n\030QueryWriteStatusResponse\022\030\n\016persis" - + "ted_size\030\001 \001(\003H\000\022-\n\010resource\030\002 \001(\0132\031.goo" - + "gle.storage.v2.ObjectH\000B\016\n\014write_status\"" - + "\310\t\n\024RewriteObjectRequest\022 \n\020destination_" - + "name\030\030 \001(\tB\006\340A\002\340A\005\022D\n\022destination_bucket" - + "\030\031 \001(\tB(\340A\002\340A\005\372A\037\n\035storage.googleapis.co" - + "m/Bucket\022C\n\023destination_kms_key\030\033 \001(\tB&\372" - + "A#\n!cloudkms.googleapis.com/CryptoKey\022.\n" - + "\013destination\030\001 \001(\0132\031.google.storage.v2.O" - + "bject\022\032\n\rsource_bucket\030\002 \001(\tB\003\340A\002\022\032\n\rsou" - + "rce_object\030\003 \001(\tB\003\340A\002\022\031\n\021source_generati" - + "on\030\004 \001(\003\022\025\n\rrewrite_token\030\005 \001(\t\022\"\n\032desti" - + "nation_predefined_acl\030\034 \001(\t\022 \n\023if_genera" - + "tion_match\030\007 \001(\003H\000\210\001\001\022$\n\027if_generation_n" - + "ot_match\030\010 \001(\003H\001\210\001\001\022$\n\027if_metageneration" - + "_match\030\t \001(\003H\002\210\001\001\022(\n\033if_metageneration_n" - + "ot_match\030\n \001(\003H\003\210\001\001\022\'\n\032if_source_generat" - + "ion_match\030\013 \001(\003H\004\210\001\001\022+\n\036if_source_genera" - + "tion_not_match\030\014 \001(\003H\005\210\001\001\022+\n\036if_source_m" - + "etageneration_match\030\r \001(\003H\006\210\001\001\022/\n\"if_sou" - + "rce_metageneration_not_match\030\016 \001(\003H\007\210\001\001\022" - + "$\n\034max_bytes_rewritten_per_call\030\017 \001(\003\022(\n" - + " copy_source_encryption_algorithm\030\020 \001(\t\022" - + "(\n copy_source_encryption_key_bytes\030\025 \001(" - + "\014\022/\n\'copy_source_encryption_key_sha256_b" - + "ytes\030\026 \001(\014\022R\n\034common_object_request_para" - + "ms\030\023 \001(\0132,.google.storage.v2.CommonObjec" - + "tRequestParamsB\026\n\024_if_generation_matchB\032" - + "\n\030_if_generation_not_matchB\032\n\030_if_metage" - + "neration_matchB\036\n\034_if_metageneration_not" - + "_matchB\035\n\033_if_source_generation_matchB!\n" - + "\037_if_source_generation_not_matchB!\n\037_if_" - + "source_metageneration_matchB%\n#_if_sourc" - + "e_metageneration_not_match\"\227\001\n\017RewriteRe" - + "sponse\022\035\n\025total_bytes_rewritten\030\001 \001(\003\022\023\n" - + "\013object_size\030\002 \001(\003\022\014\n\004done\030\003 \001(\010\022\025\n\rrewr" - + "ite_token\030\004 \001(\t\022+\n\010resource\030\005 \001(\0132\031.goog" - + "le.storage.v2.Object\"\264\001\n\032StartResumableW" - + "riteRequest\022B\n\021write_object_spec\030\001 \001(\0132\"" - + ".google.storage.v2.WriteObjectSpecB\003\340A\002\022" - + "R\n\034common_object_request_params\030\003 \001(\0132,." - + "google.storage.v2.CommonObjectRequestPar" - + "ams\"0\n\033StartResumableWriteResponse\022\021\n\tup" - + "load_id\030\001 \001(\t\"\357\003\n\023UpdateObjectRequest\022.\n" - + "\006object\030\001 \001(\0132\031.google.storage.v2.Object" - + "B\003\340A\002\022 \n\023if_generation_match\030\002 \001(\003H\000\210\001\001\022" - + "$\n\027if_generation_not_match\030\003 \001(\003H\001\210\001\001\022$\n" - + "\027if_metageneration_match\030\004 \001(\003H\002\210\001\001\022(\n\033i" - + "f_metageneration_not_match\030\005 \001(\003H\003\210\001\001\022\026\n" - + "\016predefined_acl\030\n \001(\t\0224\n\013update_mask\030\007 \001" - + "(\0132\032.google.protobuf.FieldMaskB\003\340A\002\022R\n\034c" - + "ommon_object_request_params\030\010 \001(\0132,.goog" - + "le.storage.v2.CommonObjectRequestParamsB" + + "tParams\022<\n\020object_checksums\030\n \001(\0132\".goog" + + "le.storage.v2.ObjectChecksums\032\356\001\n\014Source" + + "Object\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\ngeneration\030" + + "\002 \001(\003\022f\n\024object_preconditions\030\003 \001(\0132H.go" + + "ogle.storage.v2.ComposeObjectRequest.Sou" + + "rceObject.ObjectPreconditions\032O\n\023ObjectP" + + "reconditions\022 \n\023if_generation_match\030\001 \001(" + + "\003H\000\210\001\001B\026\n\024_if_generation_matchB\026\n\024_if_ge" + + "neration_matchB\032\n\030_if_metageneration_mat" + + "ch\"\257\003\n\023DeleteObjectRequest\022\023\n\006bucket\030\001 \001" + + "(\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\022\n\ngenerati" + + "on\030\004 \001(\003\022 \n\023if_generation_match\030\005 \001(\003H\000\210" + + "\001\001\022$\n\027if_generation_not_match\030\006 \001(\003H\001\210\001\001" + + "\022$\n\027if_metageneration_match\030\007 \001(\003H\002\210\001\001\022(" + + "\n\033if_metageneration_not_match\030\010 \001(\003H\003\210\001\001" + + "\022R\n\034common_object_request_params\030\n \001(\0132," + + ".google.storage.v2.CommonObjectRequestPa" + + "ramsB\026\n\024_if_generation_matchB\032\n\030_if_gene" + + "ration_not_matchB\032\n\030_if_metageneration_m" + + "atchB\036\n\034_if_metageneration_not_match\"5\n\033" + + "CancelResumableWriteRequest\022\026\n\tupload_id" + + "\030\001 \001(\tB\003\340A\002\"\036\n\034CancelResumableWriteRespo" + + "nse\"\230\004\n\021ReadObjectRequest\022\023\n\006bucket\030\001 \001(" + + "\tB\003\340A\002\022\023\n\006object\030\002 \001(\tB\003\340A\002\022\022\n\ngeneratio" + + "n\030\003 \001(\003\022\023\n\013read_offset\030\004 \001(\003\022\022\n\nread_lim" + + "it\030\005 \001(\003\022 \n\023if_generation_match\030\006 \001(\003H\000\210" + + "\001\001\022$\n\027if_generation_not_match\030\007 \001(\003H\001\210\001\001" + + "\022$\n\027if_metageneration_match\030\010 \001(\003H\002\210\001\001\022(" + + "\n\033if_metageneration_not_match\030\t \001(\003H\003\210\001\001" + + "\022R\n\034common_object_request_params\030\n \001(\0132," + + ".google.storage.v2.CommonObjectRequestPa" + + "rams\0222\n\tread_mask\030\014 \001(\0132\032.google.protobu" + + "f.FieldMaskH\004\210\001\001B\026\n\024_if_generation_match" + + "B\032\n\030_if_generation_not_matchB\032\n\030_if_meta" + + "generation_matchB\036\n\034_if_metageneration_n" + + "ot_matchB\014\n\n_read_mask\"\356\003\n\020GetObjectRequ" + + "est\022\023\n\006bucket\030\001 \001(\tB\003\340A\002\022\023\n\006object\030\002 \001(\t" + + "B\003\340A\002\022\022\n\ngeneration\030\003 \001(\003\022 \n\023if_generati" + + "on_match\030\004 \001(\003H\000\210\001\001\022$\n\027if_generation_not" + + "_match\030\005 \001(\003H\001\210\001\001\022$\n\027if_metageneration_m" + + "atch\030\006 \001(\003H\002\210\001\001\022(\n\033if_metageneration_not" + + "_match\030\007 \001(\003H\003\210\001\001\022R\n\034common_object_reque" + + "st_params\030\010 \001(\0132,.google.storage.v2.Comm" + + "onObjectRequestParams\0222\n\tread_mask\030\n \001(\013" + + "2\032.google.protobuf.FieldMaskH\004\210\001\001B\026\n\024_if" + + "_generation_matchB\032\n\030_if_generation_not_" + + "matchB\032\n\030_if_metageneration_matchB\036\n\034_if" + + "_metageneration_not_matchB\014\n\n_read_mask\"" + + "\365\001\n\022ReadObjectResponse\022<\n\020checksummed_da" + + "ta\030\001 \001(\0132\".google.storage.v2.Checksummed" + + "Data\022<\n\020object_checksums\030\002 \001(\0132\".google." + + "storage.v2.ObjectChecksums\0226\n\rcontent_ra" + + "nge\030\003 \001(\0132\037.google.storage.v2.ContentRan" + + "ge\022+\n\010metadata\030\004 \001(\0132\031.google.storage.v2" + + ".Object\"\215\003\n\017WriteObjectSpec\0220\n\010resource\030" + + "\001 \001(\0132\031.google.storage.v2.ObjectB\003\340A\002\022\026\n" + + "\016predefined_acl\030\007 \001(\t\022 \n\023if_generation_m" + + "atch\030\003 \001(\003H\000\210\001\001\022$\n\027if_generation_not_mat" + + "ch\030\004 \001(\003H\001\210\001\001\022$\n\027if_metageneration_match" + + "\030\005 \001(\003H\002\210\001\001\022(\n\033if_metageneration_not_mat" + + "ch\030\006 \001(\003H\003\210\001\001\022\030\n\013object_size\030\010 \001(\003H\004\210\001\001B" + "\026\n\024_if_generation_matchB\032\n\030_if_generatio" + "n_not_matchB\032\n\030_if_metageneration_matchB" - + "\036\n\034_if_metageneration_not_match\"`\n\030GetSe" - + "rviceAccountRequest\022D\n\007project\030\001 \001(\tB3\340A" - + "\002\372A-\n+cloudresourcemanager.googleapis.co" - + "m/Project\"\200\001\n\024CreateHmacKeyRequest\022D\n\007pr" - + "oject\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanage" - + "r.googleapis.com/Project\022\"\n\025service_acco" - + "unt_email\030\002 \001(\tB\003\340A\002\"g\n\025CreateHmacKeyRes" - + "ponse\0224\n\010metadata\030\001 \001(\0132\".google.storage" - + ".v2.HmacKeyMetadata\022\030\n\020secret_key_bytes\030" - + "\003 \001(\014\"t\n\024DeleteHmacKeyRequest\022\026\n\taccess_" - + "id\030\001 \001(\tB\003\340A\002\022D\n\007project\030\002 \001(\tB3\340A\002\372A-\n+" - + "cloudresourcemanager.googleapis.com/Proj" - + "ect\"q\n\021GetHmacKeyRequest\022\026\n\taccess_id\030\001 " - + "\001(\tB\003\340A\002\022D\n\007project\030\002 \001(\tB3\340A\002\372A-\n+cloud" - + "resourcemanager.googleapis.com/Project\"\274" - + "\001\n\023ListHmacKeysRequest\022D\n\007project\030\001 \001(\tB" + + "\036\n\034_if_metageneration_not_matchB\016\n\014_obje" + + "ct_size\"\206\003\n\022WriteObjectRequest\022\023\n\tupload" + + "_id\030\001 \001(\tH\000\022?\n\021write_object_spec\030\002 \001(\0132\"" + + ".google.storage.v2.WriteObjectSpecH\000\022\031\n\014" + + "write_offset\030\003 \001(\003B\003\340A\002\022>\n\020checksummed_d" + + "ata\030\004 \001(\0132\".google.storage.v2.Checksumme" + + "dDataH\001\022<\n\020object_checksums\030\006 \001(\0132\".goog" + + "le.storage.v2.ObjectChecksums\022\024\n\014finish_" + + "write\030\007 \001(\010\022R\n\034common_object_request_par" + + "ams\030\010 \001(\0132,.google.storage.v2.CommonObje" + + "ctRequestParamsB\017\n\rfirst_messageB\006\n\004data" + + "\"n\n\023WriteObjectResponse\022\030\n\016persisted_siz" + + "e\030\001 \001(\003H\000\022-\n\010resource\030\002 \001(\0132\031.google.sto" + + "rage.v2.ObjectH\000B\016\n\014write_status\"\317\002\n\022Lis" + + "tObjectsRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037\022" + + "\035storage.googleapis.com/Bucket\022\021\n\tpage_s" + + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\021\n\tdelimit" + + "er\030\004 \001(\t\022\"\n\032include_trailing_delimiter\030\005" + + " \001(\010\022\016\n\006prefix\030\006 \001(\t\022\020\n\010versions\030\007 \001(\010\0222" + + "\n\tread_mask\030\010 \001(\0132\032.google.protobuf.Fiel" + + "dMaskH\000\210\001\001\022 \n\023lexicographic_start\030\n \001(\tB" + + "\003\340A\001\022\036\n\021lexicographic_end\030\013 \001(\tB\003\340A\001B\014\n\n" + + "_read_mask\"\205\001\n\027QueryWriteStatusRequest\022\026" + + "\n\tupload_id\030\001 \001(\tB\003\340A\002\022R\n\034common_object_" + + "request_params\030\002 \001(\0132,.google.storage.v2" + + ".CommonObjectRequestParams\"s\n\030QueryWrite" + + "StatusResponse\022\030\n\016persisted_size\030\001 \001(\003H\000" + + "\022-\n\010resource\030\002 \001(\0132\031.google.storage.v2.O" + + "bjectH\000B\016\n\014write_status\"\206\n\n\024RewriteObjec" + + "tRequest\022 \n\020destination_name\030\030 \001(\tB\006\340A\002\340" + + "A\005\022D\n\022destination_bucket\030\031 \001(\tB(\340A\002\340A\005\372A" + + "\037\n\035storage.googleapis.com/Bucket\022C\n\023dest" + + "ination_kms_key\030\033 \001(\tB&\372A#\n!cloudkms.goo" + + "gleapis.com/CryptoKey\022.\n\013destination\030\001 \001" + + "(\0132\031.google.storage.v2.Object\022\032\n\rsource_" + + "bucket\030\002 \001(\tB\003\340A\002\022\032\n\rsource_object\030\003 \001(\t" + + "B\003\340A\002\022\031\n\021source_generation\030\004 \001(\003\022\025\n\rrewr" + + "ite_token\030\005 \001(\t\022\"\n\032destination_predefine" + + "d_acl\030\034 \001(\t\022 \n\023if_generation_match\030\007 \001(\003" + + "H\000\210\001\001\022$\n\027if_generation_not_match\030\010 \001(\003H\001" + + "\210\001\001\022$\n\027if_metageneration_match\030\t \001(\003H\002\210\001" + + "\001\022(\n\033if_metageneration_not_match\030\n \001(\003H\003" + + "\210\001\001\022\'\n\032if_source_generation_match\030\013 \001(\003H" + + "\004\210\001\001\022+\n\036if_source_generation_not_match\030\014" + + " \001(\003H\005\210\001\001\022+\n\036if_source_metageneration_ma" + + "tch\030\r \001(\003H\006\210\001\001\022/\n\"if_source_metagenerati" + + "on_not_match\030\016 \001(\003H\007\210\001\001\022$\n\034max_bytes_rew" + + "ritten_per_call\030\017 \001(\003\022(\n copy_source_enc" + + "ryption_algorithm\030\020 \001(\t\022(\n copy_source_e" + + "ncryption_key_bytes\030\025 \001(\014\022/\n\'copy_source" + + "_encryption_key_sha256_bytes\030\026 \001(\014\022R\n\034co" + + "mmon_object_request_params\030\023 \001(\0132,.googl" + + "e.storage.v2.CommonObjectRequestParams\022<" + + "\n\020object_checksums\030\035 \001(\0132\".google.storag" + + "e.v2.ObjectChecksumsB\026\n\024_if_generation_m" + + "atchB\032\n\030_if_generation_not_matchB\032\n\030_if_" + + "metageneration_matchB\036\n\034_if_metagenerati" + + "on_not_matchB\035\n\033_if_source_generation_ma" + + "tchB!\n\037_if_source_generation_not_matchB!" + + "\n\037_if_source_metageneration_matchB%\n#_if" + + "_source_metageneration_not_match\"\227\001\n\017Rew" + + "riteResponse\022\035\n\025total_bytes_rewritten\030\001 " + + "\001(\003\022\023\n\013object_size\030\002 \001(\003\022\014\n\004done\030\003 \001(\010\022\025" + + "\n\rrewrite_token\030\004 \001(\t\022+\n\010resource\030\005 \001(\0132" + + "\031.google.storage.v2.Object\"\362\001\n\032StartResu" + + "mableWriteRequest\022B\n\021write_object_spec\030\001" + + " \001(\0132\".google.storage.v2.WriteObjectSpec" + + "B\003\340A\002\022R\n\034common_object_request_params\030\003 " + + "\001(\0132,.google.storage.v2.CommonObjectRequ" + + "estParams\022<\n\020object_checksums\030\005 \001(\0132\".go" + + "ogle.storage.v2.ObjectChecksums\"0\n\033Start" + + "ResumableWriteResponse\022\021\n\tupload_id\030\001 \001(" + + "\t\"\357\003\n\023UpdateObjectRequest\022.\n\006object\030\001 \001(" + + "\0132\031.google.storage.v2.ObjectB\003\340A\002\022 \n\023if_" + + "generation_match\030\002 \001(\003H\000\210\001\001\022$\n\027if_genera" + + "tion_not_match\030\003 \001(\003H\001\210\001\001\022$\n\027if_metagene" + + "ration_match\030\004 \001(\003H\002\210\001\001\022(\n\033if_metagenera" + + "tion_not_match\030\005 \001(\003H\003\210\001\001\022\026\n\016predefined_" + + "acl\030\n \001(\t\0224\n\013update_mask\030\007 \001(\0132\032.google." + + "protobuf.FieldMaskB\003\340A\002\022R\n\034common_object" + + "_request_params\030\010 \001(\0132,.google.storage.v" + + "2.CommonObjectRequestParamsB\026\n\024_if_gener" + + "ation_matchB\032\n\030_if_generation_not_matchB" + + "\032\n\030_if_metageneration_matchB\036\n\034_if_metag" + + "eneration_not_match\"`\n\030GetServiceAccount" + + "Request\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+cloudr" + + "esourcemanager.googleapis.com/Project\"\200\001" + + "\n\024CreateHmacKeyRequest\022D\n\007project\030\001 \001(\tB" + "3\340A\002\372A-\n+cloudresourcemanager.googleapis" - + ".com/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" - + "token\030\003 \001(\t\022\035\n\025service_account_email\030\004 \001" - + "(\t\022\031\n\021show_deleted_keys\030\005 \001(\010\"f\n\024ListHma" - + "cKeysResponse\0225\n\thmac_keys\030\001 \003(\0132\".googl" - + "e.storage.v2.HmacKeyMetadata\022\027\n\017next_pag" - + "e_token\030\002 \001(\t\"\202\001\n\024UpdateHmacKeyRequest\0229" - + "\n\010hmac_key\030\001 \001(\0132\".google.storage.v2.Hma" - + "cKeyMetadataB\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMask\"|\n\031CommonObje" - + "ctRequestParams\022\034\n\024encryption_algorithm\030" - + "\001 \001(\t\022\034\n\024encryption_key_bytes\030\004 \001(\014\022#\n\033e" - + "ncryption_key_sha256_bytes\030\005 \001(\014\"\312\005\n\020Ser" - + "viceConstants\"\265\005\n\006Values\022\026\n\022VALUES_UNSPE" - + "CIFIED\020\000\022\033\n\024MAX_READ_CHUNK_BYTES\020\200\200\200\001\022\034\n" - + "\025MAX_WRITE_CHUNK_BYTES\020\200\200\200\001\022\031\n\022MAX_OBJEC" - + "T_SIZE_MB\020\200\200\300\002\022)\n$MAX_CUSTOM_METADATA_FI" - + "ELD_NAME_BYTES\020\200\010\022*\n%MAX_CUSTOM_METADATA" - + "_FIELD_VALUE_BYTES\020\200 \022)\n$MAX_CUSTOM_META" - + "DATA_TOTAL_SIZE_BYTES\020\200@\022*\n$MAX_BUCKET_M" - + "ETADATA_TOTAL_SIZE_BYTES\020\200\240\001\022\'\n#MAX_NOTI" - + "FICATION_CONFIGS_PER_BUCKET\020d\022\"\n\036MAX_LIF" - + "ECYCLE_RULES_PER_BUCKET\020d\022&\n\"MAX_NOTIFIC" - + "ATION_CUSTOM_ATTRIBUTES\020\005\0221\n,MAX_NOTIFIC" - + "ATION_CUSTOM_ATTRIBUTE_KEY_LENGTH\020\200\002\0223\n." - + "MAX_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_" - + "LENGTH\020\200\010\022\034\n\030MAX_LABELS_ENTRIES_COUNT\020@\022" - + "\037\n\033MAX_LABELS_KEY_VALUE_LENGTH\020?\022\037\n\032MAX_" - + "LABELS_KEY_VALUE_BYTES\020\200\001\022.\n)MAX_OBJECT_" - + "IDS_PER_DELETE_OBJECTS_REQUEST\020\350\007\022\036\n\032SPL" - + "IT_TOKEN_MAX_VALID_DAYS\020\016\032\002\020\001\"\317\027\n\006Bucket" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\005\022\026\n\tbucket_id\030\002 \001(\tB\003" - + "\340A\003\022\014\n\004etag\030\035 \001(\t\022D\n\007project\030\003 \001(\tB3\340A\005\372" - + "A-\n+cloudresourcemanager.googleapis.com/" - + "Project\022\033\n\016metageneration\030\004 \001(\003B\003\340A\003\022\025\n\010" - + "location\030\005 \001(\tB\003\340A\005\022\032\n\rlocation_type\030\006 \001" - + "(\tB\003\340A\003\022\025\n\rstorage_class\030\007 \001(\t\022\013\n\003rpo\030\033 " - + "\001(\t\0223\n\003acl\030\010 \003(\0132&.google.storage.v2.Buc" - + "ketAccessControl\022B\n\022default_object_acl\030\t" - + " \003(\0132&.google.storage.v2.ObjectAccessCon" - + "trol\0226\n\tlifecycle\030\n \001(\0132#.google.storage" - + ".v2.Bucket.Lifecycle\0224\n\013create_time\030\013 \001(" - + "\0132\032.google.protobuf.TimestampB\003\340A\003\022,\n\004co" - + "rs\030\014 \003(\0132\036.google.storage.v2.Bucket.Cors" - + "\0224\n\013update_time\030\r \001(\0132\032.google.protobuf." - + "TimestampB\003\340A\003\022 \n\030default_event_based_ho" - + "ld\030\016 \001(\010\0225\n\006labels\030\017 \003(\0132%.google.storag" - + "e.v2.Bucket.LabelsEntry\0222\n\007website\030\020 \001(\013" - + "2!.google.storage.v2.Bucket.Website\0228\n\nv" - + "ersioning\030\021 \001(\0132$.google.storage.v2.Buck" - + "et.Versioning\0222\n\007logging\030\022 \001(\0132!.google." - + "storage.v2.Bucket.Logging\022,\n\005owner\030\023 \001(\013" - + "2\030.google.storage.v2.OwnerB\003\340A\003\0228\n\nencry" - + "ption\030\024 \001(\0132$.google.storage.v2.Bucket.E" - + "ncryption\0222\n\007billing\030\025 \001(\0132!.google.stor" - + "age.v2.Bucket.Billing\022C\n\020retention_polic" - + "y\030\026 \001(\0132).google.storage.v2.Bucket.Reten" - + "tionPolicy\0227\n\niam_config\030\027 \001(\0132#.google." - + "storage.v2.Bucket.IamConfig\022\025\n\rsatisfies" - + "_pzs\030\031 \001(\010\022P\n\027custom_placement_config\030\032 " - + "\001(\0132/.google.storage.v2.Bucket.CustomPla" - + "cementConfig\0226\n\tautoclass\030\034 \001(\0132#.google" - + ".storage.v2.Bucket.Autoclass\032!\n\007Billing\022" - + "\026\n\016requester_pays\030\001 \001(\010\032X\n\004Cors\022\016\n\006origi" - + "n\030\001 \003(\t\022\016\n\006method\030\002 \003(\t\022\027\n\017response_head" - + "er\030\003 \003(\t\022\027\n\017max_age_seconds\030\004 \001(\005\032M\n\nEnc" - + "ryption\022?\n\017default_kms_key\030\001 \001(\tB&\372A#\n!c" - + "loudkms.googleapis.com/CryptoKey\032\354\001\n\tIam" - + "Config\022a\n\033uniform_bucket_level_access\030\001 " - + "\001(\0132<.google.storage.v2.Bucket.IamConfig" - + ".UniformBucketLevelAccess\022 \n\030public_acce" - + "ss_prevention\030\003 \001(\t\032Z\n\030UniformBucketLeve" - + "lAccess\022\017\n\007enabled\030\001 \001(\010\022-\n\tlock_time\030\002 " - + "\001(\0132\032.google.protobuf.Timestamp\032\363\005\n\tLife" - + "cycle\0226\n\004rule\030\001 \003(\0132(.google.storage.v2." - + "Bucket.Lifecycle.Rule\032\255\005\n\004Rule\022?\n\006action" - + "\030\001 \001(\0132/.google.storage.v2.Bucket.Lifecy" - + "cle.Rule.Action\022E\n\tcondition\030\002 \001(\01322.goo" - + "gle.storage.v2.Bucket.Lifecycle.Rule.Con" - + "dition\032-\n\006Action\022\014\n\004type\030\001 \001(\t\022\025\n\rstorag" - + "e_class\030\002 \001(\t\032\355\003\n\tCondition\022\025\n\010age_days\030" - + "\001 \001(\005H\000\210\001\001\022)\n\016created_before\030\002 \001(\0132\021.goo" - + "gle.type.Date\022\024\n\007is_live\030\003 \001(\010H\001\210\001\001\022\037\n\022n" - + "um_newer_versions\030\004 \001(\005H\002\210\001\001\022\035\n\025matches_" - + "storage_class\030\005 \003(\t\022#\n\026days_since_custom" - + "_time\030\007 \001(\005H\003\210\001\001\022-\n\022custom_time_before\030\010" - + " \001(\0132\021.google.type.Date\022\'\n\032days_since_no" - + "ncurrent_time\030\t \001(\005H\004\210\001\001\0221\n\026noncurrent_t" - + "ime_before\030\n \001(\0132\021.google.type.Date\022\026\n\016m" - + "atches_prefix\030\013 \003(\t\022\026\n\016matches_suffix\030\014 " - + "\003(\tB\013\n\t_age_daysB\n\n\010_is_liveB\025\n\023_num_new" - + "er_versionsB\031\n\027_days_since_custom_timeB\035" - + "\n\033_days_since_noncurrent_time\0328\n\007Logging" - + "\022\022\n\nlog_bucket\030\001 \001(\t\022\031\n\021log_object_prefi" - + "x\030\002 \001(\t\032\214\001\n\017RetentionPolicy\0222\n\016effective" - + "_time\030\001 \001(\0132\032.google.protobuf.Timestamp\022" - + "\021\n\tis_locked\030\002 \001(\010\022\035\n\020retention_period\030\003" - + " \001(\003H\000\210\001\001B\023\n\021_retention_period\032\035\n\nVersio" - + "ning\022\017\n\007enabled\030\001 \001(\010\032;\n\007Website\022\030\n\020main" - + "_page_suffix\030\001 \001(\t\022\026\n\016not_found_page\030\002 \001" - + "(\t\032/\n\025CustomPlacementConfig\022\026\n\016data_loca" - + "tions\030\001 \003(\t\032R\n\tAutoclass\022\017\n\007enabled\030\001 \001(" - + "\010\0224\n\013toggle_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 " - + "\001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:G\352AD\n\035storage.goo" - + "gleapis.com/Bucket\022#projects/{project}/b" - + "uckets/{bucket}\"\316\001\n\023BucketAccessControl\022" - + "\014\n\004role\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\016\n\006entity\030\003 \001(" - + "\t\022\027\n\nentity_alt\030\t \001(\tB\003\340A\003\022\021\n\tentity_id\030" - + "\004 \001(\t\022\014\n\004etag\030\010 \001(\t\022\r\n\005email\030\005 \001(\t\022\016\n\006do" - + "main\030\006 \001(\t\0224\n\014project_team\030\007 \001(\0132\036.googl" - + "e.storage.v2.ProjectTeam\"B\n\017ChecksummedD" - + "ata\022\017\n\007content\030\001 \001(\014\022\023\n\006crc32c\030\002 \001(\007H\000\210\001" - + "\001B\t\n\007_crc32c\"C\n\017ObjectChecksums\022\023\n\006crc32" - + "c\030\001 \001(\007H\000\210\001\001\022\020\n\010md5_hash\030\002 \001(\014B\t\n\007_crc32" - + "c\"\255\002\n\017HmacKeyMetadata\022\017\n\002id\030\001 \001(\tB\003\340A\005\022\026" - + "\n\taccess_id\030\002 \001(\tB\003\340A\005\022D\n\007project\030\003 \001(\tB" - + "3\340A\005\372A-\n+cloudresourcemanager.googleapis" - + ".com/Project\022\"\n\025service_account_email\030\004 " - + "\001(\tB\003\340A\003\022\r\n\005state\030\005 \001(\t\0224\n\013create_time\030\006" - + " \001(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n" - + "\013update_time\030\007 \001(\0132\032.google.protobuf.Tim" - + "estampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\"\216\003\n\014Notificati" - + "on\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005topic\030\002 \001(\tB\003\340A" - + "\002\022\014\n\004etag\030\007 \001(\t\022\023\n\013event_types\030\003 \003(\t\022P\n\021" - + "custom_attributes\030\004 \003(\01325.google.storage" - + ".v2.Notification.CustomAttributesEntry\022\032" - + "\n\022object_name_prefix\030\005 \001(\t\022\033\n\016payload_fo" - + "rmat\030\006 \001(\tB\003\340A\002\0327\n\025CustomAttributesEntry" - + "\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:p\352Am\n#s" - + "torage.googleapis.com/Notification\022Fproj" - + "ects/{project}/buckets/{bucket}/notifica" - + "tionConfigs/{notification}\"L\n\022CustomerEn" - + "cryption\022\034\n\024encryption_algorithm\030\001 \001(\t\022\030" - + "\n\020key_sha256_bytes\030\003 \001(\014\"\202\t\n\006Object\022\021\n\004n" - + "ame\030\001 \001(\tB\003\340A\005\0225\n\006bucket\030\002 \001(\tB%\340A\005\372A\037\n\035" - + "storage.googleapis.com/Bucket\022\014\n\004etag\030\033 " - + "\001(\t\022\027\n\ngeneration\030\003 \001(\003B\003\340A\005\022\033\n\016metagene" - + "ration\030\004 \001(\003B\003\340A\003\022\025\n\rstorage_class\030\005 \001(\t" - + "\022\021\n\004size\030\006 \001(\003B\003\340A\003\022\030\n\020content_encoding\030" - + "\007 \001(\t\022\033\n\023content_disposition\030\010 \001(\t\022\025\n\rca" - + "che_control\030\t \001(\t\0223\n\003acl\030\n \003(\0132&.google." - + "storage.v2.ObjectAccessControl\022\030\n\020conten" - + "t_language\030\013 \001(\t\0224\n\013delete_time\030\014 \001(\0132\032." - + "google.protobuf.TimestampB\003\340A\003\022\024\n\014conten" - + "t_type\030\r \001(\t\0224\n\013create_time\030\016 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022\034\n\017component_" - + "count\030\017 \001(\005B\003\340A\003\022:\n\tchecksums\030\020 \001(\0132\".go" - + "ogle.storage.v2.ObjectChecksumsB\003\340A\003\0224\n\013" - + "update_time\030\021 \001(\0132\032.google.protobuf.Time" - + "stampB\003\340A\003\0227\n\007kms_key\030\022 \001(\tB&\372A#\n!cloudk" - + "ms.googleapis.com/CryptoKey\022B\n\031update_st" - + "orage_class_time\030\023 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\022\026\n\016temporary_hold\030\024 \001(\010\022" - + "9\n\025retention_expire_time\030\025 \001(\0132\032.google." - + "protobuf.Timestamp\0229\n\010metadata\030\026 \003(\0132\'.g" - + "oogle.storage.v2.Object.MetadataEntry\022\035\n" - + "\020event_based_hold\030\027 \001(\010H\000\210\001\001\022,\n\005owner\030\030 " - + "\001(\0132\030.google.storage.v2.OwnerB\003\340A\003\022B\n\023cu" - + "stomer_encryption\030\031 \001(\0132%.google.storage" - + ".v2.CustomerEncryption\022/\n\013custom_time\030\032 " - + "\001(\0132\032.google.protobuf.Timestamp\032/\n\rMetad" - + "ataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001" - + "B\023\n\021_event_based_hold\"\316\001\n\023ObjectAccessCo" - + "ntrol\022\014\n\004role\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\016\n\006entit" - + "y\030\003 \001(\t\022\027\n\nentity_alt\030\t \001(\tB\003\340A\003\022\021\n\tenti" - + "ty_id\030\004 \001(\t\022\014\n\004etag\030\010 \001(\t\022\r\n\005email\030\005 \001(\t" - + "\022\016\n\006domain\030\006 \001(\t\0224\n\014project_team\030\007 \001(\0132\036" - + ".google.storage.v2.ProjectTeam\"l\n\023ListOb" - + "jectsResponse\022*\n\007objects\030\001 \003(\0132\031.google." - + "storage.v2.Object\022\020\n\010prefixes\030\002 \003(\t\022\027\n\017n" - + "ext_page_token\030\003 \001(\t\"3\n\013ProjectTeam\022\026\n\016p" - + "roject_number\030\001 \001(\t\022\014\n\004team\030\002 \001(\t\"\'\n\016Ser", - "viceAccount\022\025\n\remail_address\030\001 \001(\t\"*\n\005Ow" - + "ner\022\016\n\006entity\030\001 \001(\t\022\021\n\tentity_id\030\002 \001(\t\"C" - + "\n\014ContentRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030\002 \001" - + "(\003\022\027\n\017complete_length\030\003 \001(\0032\227&\n\007Storage\022" - + "r\n\014DeleteBucket\022&.google.storage.v2.Dele" - + "teBucketRequest\032\026.google.protobuf.Empty\"" - + "\"\212\323\344\223\002\025\022\023\n\004name\022\013{bucket=**}\332A\004name\022o\n\tG" - + "etBucket\022#.google.storage.v2.GetBucketRe" - + "quest\032\031.google.storage.v2.Bucket\"\"\212\323\344\223\002\025" - + "\022\023\n\004name\022\013{bucket=**}\332A\004name\022\213\001\n\014CreateB" - + "ucket\022&.google.storage.v2.CreateBucketRe" - + "quest\032\031.google.storage.v2.Bucket\"8\212\323\344\223\002\030" - + "\022\026\n\006parent\022\014{project=**}\332A\027parent,bucket" - + ",bucket_id\022\205\001\n\013ListBuckets\022%.google.stor" - + "age.v2.ListBucketsRequest\032&.google.stora" - + "ge.v2.ListBucketsResponse\"\'\212\323\344\223\002\030\022\026\n\006par" - + "ent\022\014{project=**}\332A\006parent\022\223\001\n\031LockBucke" - + "tRetentionPolicy\0223.google.storage.v2.Loc" - + "kBucketRetentionPolicyRequest\032\031.google.s" - + "torage.v2.Bucket\"&\212\323\344\223\002\027\022\025\n\006bucket\022\013{buc" - + "ket=**}\332A\006bucket\022\253\001\n\014GetIamPolicy\022\".goog" - + "le.iam.v1.GetIamPolicyRequest\032\025.google.i" - + "am.v1.Policy\"`\212\323\344\223\002O\022\027\n\010resource\022\013{bucke" - + "t=**}\0224\n\010resource\022({bucket=projects/*/bu" - + "ckets/*}/objects/**\332A\010resource\022\262\001\n\014SetIa" - + "mPolicy\022\".google.iam.v1.SetIamPolicyRequ" - + "est\032\025.google.iam.v1.Policy\"g\212\323\344\223\002O\022\027\n\010re" - + "source\022\013{bucket=**}\0224\n\010resource\022({bucket" - + "=projects/*/buckets/*}/objects/**\332A\017reso" - + "urce,policy\022\327\001\n\022TestIamPermissions\022(.goo" - + "gle.iam.v1.TestIamPermissionsRequest\032).g" - + "oogle.iam.v1.TestIamPermissionsResponse\"" - + "l\212\323\344\223\002O\022\027\n\010resource\022\013{bucket=**}\0224\n\010reso" - + "urce\022({bucket=projects/*/buckets/*}/obje" - + "cts/**\332A\024resource,permissions\022\212\001\n\014Update" - + "Bucket\022&.google.storage.v2.UpdateBucketR" - + "equest\032\031.google.storage.v2.Bucket\"7\212\323\344\223\002" - + "\034\022\032\n\013bucket.name\022\013{bucket=**}\332A\022bucket,u" - + "pdate_mask\022\223\001\n\022DeleteNotification\022,.goog" - + "le.storage.v2.DeleteNotificationRequest\032" - + "\026.google.protobuf.Empty\"7\212\323\344\223\002*\022(\n\004name\022" - + " {bucket=projects/*/buckets/*}/**\332A\004name" - + "\022\226\001\n\017GetNotification\022).google.storage.v2" - + ".GetNotificationRequest\032\037.google.storage" - + ".v2.Notification\"7\212\323\344\223\002*\022(\n\004name\022 {bucke" - + "t=projects/*/buckets/*}/**\332A\004name\022\230\001\n\022Cr" - + "eateNotification\022,.google.storage.v2.Cre" - + "ateNotificationRequest\032\037.google.storage." - + "v2.Notification\"3\212\323\344\223\002\027\022\025\n\006parent\022\013{buck" - + "et=**}\332A\023parent,notification\022\226\001\n\021ListNot" - + "ifications\022+.google.storage.v2.ListNotif" - + "icationsRequest\032,.google.storage.v2.List" - + "NotificationsResponse\"&\212\323\344\223\002\027\022\025\n\006parent\022" - + "\013{bucket=**}\332A\006parent\022~\n\rComposeObject\022\'" - + ".google.storage.v2.ComposeObjectRequest\032" - + "\031.google.storage.v2.Object\")\212\323\344\223\002#\022!\n\022de" - + "stination.bucket\022\013{bucket=**}\022\230\001\n\014Delete" - + "Object\022&.google.storage.v2.DeleteObjectR" - + "equest\032\026.google.protobuf.Empty\"H\212\323\344\223\002\027\022\025" - + "\n\006bucket\022\013{bucket=**}\332A\rbucket,object\332A\030" - + "bucket,object,generation\022\272\001\n\024CancelResum" - + "ableWrite\022..google.storage.v2.CancelResu" - + "mableWriteRequest\032/.google.storage.v2.Ca" - + "ncelResumableWriteResponse\"A\212\323\344\223\002/\022-\n\tup" - + "load_id\022 {bucket=projects/*/buckets/*}/*" - + "*\332A\tupload_id\022\225\001\n\tGetObject\022#.google.sto" - + "rage.v2.GetObjectRequest\032\031.google.storag" - + "e.v2.Object\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{bucket=*" - + "*}\332A\rbucket,object\332A\030bucket,object,gener" - + "ation\022\245\001\n\nReadObject\022$.google.storage.v2" - + ".ReadObjectRequest\032%.google.storage.v2.R" - + "eadObjectResponse\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{bu" - + "cket=**}\332A\rbucket,object\332A\030bucket,object" - + ",generation0\001\022\214\001\n\014UpdateObject\022&.google." - + "storage.v2.UpdateObjectRequest\032\031.google." - + "storage.v2.Object\"9\212\323\344\223\002\036\022\034\n\robject.buck" - + "et\022\013{bucket=**}\332A\022object,update_mask\022\307\001\n" - + "\013WriteObject\022%.google.storage.v2.WriteOb" - + "jectRequest\032&.google.storage.v2.WriteObj" - + "ectResponse\"g\212\323\344\223\002a\0220\n!write_object_spec" - + ".resource.bucket\022\013{bucket=**}\022-\n\tupload_" - + "id\022 {bucket=projects/*/buckets/*}/**(\001\022\204" - + "\001\n\013ListObjects\022%.google.storage.v2.ListO" - + "bjectsRequest\032&.google.storage.v2.ListOb" - + "jectsResponse\"&\212\323\344\223\002\027\022\025\n\006parent\022\013{bucket" - + "=**}\332A\006parent\022\230\001\n\rRewriteObject\022\'.google" - + ".storage.v2.RewriteObjectRequest\032\".googl" - + "e.storage.v2.RewriteResponse\":\212\323\344\223\0024\022\017\n\r" - + "source_bucket\022!\n\022destination_bucket\022\013{bu" - + "cket=**}\022\256\001\n\023StartResumableWrite\022-.googl" - + "e.storage.v2.StartResumableWriteRequest\032" - + "..google.storage.v2.StartResumableWriteR" - + "esponse\"8\212\323\344\223\0022\0220\n!write_object_spec.res" - + "ource.bucket\022\013{bucket=**}\022\256\001\n\020QueryWrite" - + "Status\022*.google.storage.v2.QueryWriteSta" - + "tusRequest\032+.google.storage.v2.QueryWrit" - + "eStatusResponse\"A\212\323\344\223\002/\022-\n\tupload_id\022 {b" - + "ucket=projects/*/buckets/*}/**\332A\tupload_" - + "id\022\200\001\n\021GetServiceAccount\022+.google.storag" - + "e.v2.GetServiceAccountRequest\032!.google.s" - + "torage.v2.ServiceAccount\"\033\212\323\344\223\002\013\022\t\n\007proj" - + "ect\332A\007project\022\225\001\n\rCreateHmacKey\022\'.google" - + ".storage.v2.CreateHmacKeyRequest\032(.googl" - + "e.storage.v2.CreateHmacKeyResponse\"1\212\323\344\223" - + "\002\013\022\t\n\007project\332A\035project,service_account_" - + "email\022w\n\rDeleteHmacKey\022\'.google.storage." - + "v2.DeleteHmacKeyRequest\032\026.google.protobu" - + "f.Empty\"%\212\323\344\223\002\013\022\t\n\007project\332A\021access_id,p" - + "roject\022}\n\nGetHmacKey\022$.google.storage.v2" - + ".GetHmacKeyRequest\032\".google.storage.v2.H" - + "macKeyMetadata\"%\212\323\344\223\002\013\022\t\n\007project\332A\021acce" - + "ss_id,project\022|\n\014ListHmacKeys\022&.google.s" - + "torage.v2.ListHmacKeysRequest\032\'.google.s" - + "torage.v2.ListHmacKeysResponse\"\033\212\323\344\223\002\013\022\t" - + "\n\007project\332A\007project\022\235\001\n\rUpdateHmacKey\022\'." - + "google.storage.v2.UpdateHmacKeyRequest\032\"" - + ".google.storage.v2.HmacKeyMetadata\"?\212\323\344\223" - + "\002\"\022 \n\020hmac_key.project\022\014{project=**}\332A\024h" - + "mac_key,update_mask\032\247\002\312A\026storage.googlea" - + "pis.com\322A\212\002https://www.googleapis.com/au" - + "th/cloud-platform,https://www.googleapis" - + ".com/auth/cloud-platform.read-only,https" - + "://www.googleapis.com/auth/devstorage.fu" - + "ll_control,https://www.googleapis.com/au" - + "th/devstorage.read_only,https://www.goog" - + "leapis.com/auth/devstorage.read_writeB\334\001" - + "\n\025com.google.storage.v2B\014StorageProtoP\001Z" - + "8google.golang.org/genproto/googleapis/s" - + "torage/v2;storage\352Ax\n!cloudkms.googleapi" - + "s.com/CryptoKey\022Sprojects/{project}/loca" - + "tions/{location}/keyRings/{key_ring}/cry" - + "ptoKeys/{crypto_key}b\006proto3" + + ".com/Project\022\"\n\025service_account_email\030\002 " + + "\001(\tB\003\340A\002\"g\n\025CreateHmacKeyResponse\0224\n\010met" + + "adata\030\001 \001(\0132\".google.storage.v2.HmacKeyM" + + "etadata\022\030\n\020secret_key_bytes\030\003 \001(\014\"t\n\024Del" + + "eteHmacKeyRequest\022\026\n\taccess_id\030\001 \001(\tB\003\340A" + + "\002\022D\n\007project\030\002 \001(\tB3\340A\002\372A-\n+cloudresourc" + + "emanager.googleapis.com/Project\"q\n\021GetHm" + + "acKeyRequest\022\026\n\taccess_id\030\001 \001(\tB\003\340A\002\022D\n\007" + + "project\030\002 \001(\tB3\340A\002\372A-\n+cloudresourcemana" + + "ger.googleapis.com/Project\"\274\001\n\023ListHmacK" + + "eysRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n+clo" + + "udresourcemanager.googleapis.com/Project" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "\035\n\025service_account_email\030\004 \001(\t\022\031\n\021show_d" + + "eleted_keys\030\005 \001(\010\"f\n\024ListHmacKeysRespons" + + "e\0225\n\thmac_keys\030\001 \003(\0132\".google.storage.v2" + + ".HmacKeyMetadata\022\027\n\017next_page_token\030\002 \001(" + + "\t\"\202\001\n\024UpdateHmacKeyRequest\0229\n\010hmac_key\030\001" + + " \001(\0132\".google.storage.v2.HmacKeyMetadata" + + "B\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.google.prot" + + "obuf.FieldMask\"|\n\031CommonObjectRequestPar" + + "ams\022\034\n\024encryption_algorithm\030\001 \001(\t\022\034\n\024enc" + + "ryption_key_bytes\030\004 \001(\014\022#\n\033encryption_ke" + + "y_sha256_bytes\030\005 \001(\014\"\312\005\n\020ServiceConstant" + + "s\"\265\005\n\006Values\022\026\n\022VALUES_UNSPECIFIED\020\000\022\033\n\024" + + "MAX_READ_CHUNK_BYTES\020\200\200\200\001\022\034\n\025MAX_WRITE_C" + + "HUNK_BYTES\020\200\200\200\001\022\031\n\022MAX_OBJECT_SIZE_MB\020\200\200" + + "\300\002\022)\n$MAX_CUSTOM_METADATA_FIELD_NAME_BYT" + + "ES\020\200\010\022*\n%MAX_CUSTOM_METADATA_FIELD_VALUE" + + "_BYTES\020\200 \022)\n$MAX_CUSTOM_METADATA_TOTAL_S" + + "IZE_BYTES\020\200@\022*\n$MAX_BUCKET_METADATA_TOTA" + + "L_SIZE_BYTES\020\200\240\001\022\'\n#MAX_NOTIFICATION_CON" + + "FIGS_PER_BUCKET\020d\022\"\n\036MAX_LIFECYCLE_RULES" + + "_PER_BUCKET\020d\022&\n\"MAX_NOTIFICATION_CUSTOM" + + "_ATTRIBUTES\020\005\0221\n,MAX_NOTIFICATION_CUSTOM" + + "_ATTRIBUTE_KEY_LENGTH\020\200\002\0223\n.MAX_NOTIFICA" + + "TION_CUSTOM_ATTRIBUTE_VALUE_LENGTH\020\200\010\022\034\n" + + "\030MAX_LABELS_ENTRIES_COUNT\020@\022\037\n\033MAX_LABEL" + + "S_KEY_VALUE_LENGTH\020?\022\037\n\032MAX_LABELS_KEY_V" + + "ALUE_BYTES\020\200\001\022.\n)MAX_OBJECT_IDS_PER_DELE" + + "TE_OBJECTS_REQUEST\020\350\007\022\036\n\032SPLIT_TOKEN_MAX" + + "_VALID_DAYS\020\016\032\002\020\001\"\206\030\n\006Bucket\022\021\n\004name\030\001 \001" + + "(\tB\003\340A\005\022\026\n\tbucket_id\030\002 \001(\tB\003\340A\003\022\014\n\004etag\030" + + "\035 \001(\t\022D\n\007project\030\003 \001(\tB3\340A\005\372A-\n+cloudres" + + "ourcemanager.googleapis.com/Project\022\033\n\016m" + + "etageneration\030\004 \001(\003B\003\340A\003\022\025\n\010location\030\005 \001" + + "(\tB\003\340A\005\022\032\n\rlocation_type\030\006 \001(\tB\003\340A\003\022\025\n\rs" + + "torage_class\030\007 \001(\t\022\013\n\003rpo\030\033 \001(\t\0223\n\003acl\030\010" + + " \003(\0132&.google.storage.v2.BucketAccessCon" + + "trol\022B\n\022default_object_acl\030\t \003(\0132&.googl" + + "e.storage.v2.ObjectAccessControl\0226\n\tlife" + + "cycle\030\n \001(\0132#.google.storage.v2.Bucket.L" + + "ifecycle\0224\n\013create_time\030\013 \001(\0132\032.google.p" + + "rotobuf.TimestampB\003\340A\003\022,\n\004cors\030\014 \003(\0132\036.g" + + "oogle.storage.v2.Bucket.Cors\0224\n\013update_t" + + "ime\030\r \001(\0132\032.google.protobuf.TimestampB\003\340" + + "A\003\022 \n\030default_event_based_hold\030\016 \001(\010\0225\n\006" + + "labels\030\017 \003(\0132%.google.storage.v2.Bucket." + + "LabelsEntry\0222\n\007website\030\020 \001(\0132!.google.st" + + "orage.v2.Bucket.Website\0228\n\nversioning\030\021 " + + "\001(\0132$.google.storage.v2.Bucket.Versionin" + + "g\0222\n\007logging\030\022 \001(\0132!.google.storage.v2.B" + + "ucket.Logging\022,\n\005owner\030\023 \001(\0132\030.google.st" + + "orage.v2.OwnerB\003\340A\003\0228\n\nencryption\030\024 \001(\0132" + + "$.google.storage.v2.Bucket.Encryption\0222\n" + + "\007billing\030\025 \001(\0132!.google.storage.v2.Bucke" + + "t.Billing\022C\n\020retention_policy\030\026 \001(\0132).go" + + "ogle.storage.v2.Bucket.RetentionPolicy\0227" + + "\n\niam_config\030\027 \001(\0132#.google.storage.v2.B" + + "ucket.IamConfig\022\025\n\rsatisfies_pzs\030\031 \001(\010\022P" + + "\n\027custom_placement_config\030\032 \001(\0132/.google" + + ".storage.v2.Bucket.CustomPlacementConfig" + + "\0226\n\tautoclass\030\034 \001(\0132#.google.storage.v2." + + "Bucket.Autoclass\032!\n\007Billing\022\026\n\016requester" + + "_pays\030\001 \001(\010\032X\n\004Cors\022\016\n\006origin\030\001 \003(\t\022\016\n\006m" + + "ethod\030\002 \003(\t\022\027\n\017response_header\030\003 \003(\t\022\027\n\017" + + "max_age_seconds\030\004 \001(\005\032M\n\nEncryption\022?\n\017d" + + "efault_kms_key\030\001 \001(\tB&\372A#\n!cloudkms.goog" + + "leapis.com/CryptoKey\032\354\001\n\tIamConfig\022a\n\033un" + + "iform_bucket_level_access\030\001 \001(\0132<.google" + + ".storage.v2.Bucket.IamConfig.UniformBuck" + + "etLevelAccess\022 \n\030public_access_preventio" + + "n\030\003 \001(\t\032Z\n\030UniformBucketLevelAccess\022\017\n\007e" + + "nabled\030\001 \001(\010\022-\n\tlock_time\030\002 \001(\0132\032.google" + + ".protobuf.Timestamp\032\363\005\n\tLifecycle\0226\n\004rul" + + "e\030\001 \003(\0132(.google.storage.v2.Bucket.Lifec" + + "ycle.Rule\032\255\005\n\004Rule\022?\n\006action\030\001 \001(\0132/.goo" + + "gle.storage.v2.Bucket.Lifecycle.Rule.Act" + + "ion\022E\n\tcondition\030\002 \001(\01322.google.storage." + + "v2.Bucket.Lifecycle.Rule.Condition\032-\n\006Ac" + + "tion\022\014\n\004type\030\001 \001(\t\022\025\n\rstorage_class\030\002 \001(" + + "\t\032\355\003\n\tCondition\022\025\n\010age_days\030\001 \001(\005H\000\210\001\001\022)" + + "\n\016created_before\030\002 \001(\0132\021.google.type.Dat" + + "e\022\024\n\007is_live\030\003 \001(\010H\001\210\001\001\022\037\n\022num_newer_ver" + + "sions\030\004 \001(\005H\002\210\001\001\022\035\n\025matches_storage_clas" + + "s\030\005 \003(\t\022#\n\026days_since_custom_time\030\007 \001(\005H" + + "\003\210\001\001\022-\n\022custom_time_before\030\010 \001(\0132\021.googl" + + "e.type.Date\022\'\n\032days_since_noncurrent_tim" + + "e\030\t \001(\005H\004\210\001\001\0221\n\026noncurrent_time_before\030\n" + + " \001(\0132\021.google.type.Date\022\026\n\016matches_prefi" + + "x\030\013 \003(\t\022\026\n\016matches_suffix\030\014 \003(\tB\013\n\t_age_" + + "daysB\n\n\010_is_liveB\025\n\023_num_newer_versionsB" + + "\031\n\027_days_since_custom_timeB\035\n\033_days_sinc" + + "e_noncurrent_time\0328\n\007Logging\022\022\n\nlog_buck" + + "et\030\001 \001(\t\022\031\n\021log_object_prefix\030\002 \001(\t\032\303\001\n\017" + + "RetentionPolicy\0222\n\016effective_time\030\001 \001(\0132" + + "\032.google.protobuf.Timestamp\022\021\n\tis_locked" + + "\030\002 \001(\010\022\035\n\020retention_period\030\003 \001(\003H\000\210\001\001\0225\n" + + "\022retention_duration\030\004 \001(\0132\031.google.proto" + + "buf.DurationB\023\n\021_retention_period\032\035\n\nVer" + + "sioning\022\017\n\007enabled\030\001 \001(\010\032;\n\007Website\022\030\n\020m" + + "ain_page_suffix\030\001 \001(\t\022\026\n\016not_found_page\030" + + "\002 \001(\t\032/\n\025CustomPlacementConfig\022\026\n\016data_l" + + "ocations\030\001 \003(\t\032R\n\tAutoclass\022\017\n\007enabled\030\001" + + " \001(\010\0224\n\013toggle_time\030\002 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:G\352AD\n\035storage." + + "googleapis.com/Bucket\022#projects/{project" + + "}/buckets/{bucket}\"\316\001\n\023BucketAccessContr" + + "ol\022\014\n\004role\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\016\n\006entity\030\003" + + " \001(\t\022\027\n\nentity_alt\030\t \001(\tB\003\340A\003\022\021\n\tentity_" + + "id\030\004 \001(\t\022\014\n\004etag\030\010 \001(\t\022\r\n\005email\030\005 \001(\t\022\016\n" + + "\006domain\030\006 \001(\t\0224\n\014project_team\030\007 \001(\0132\036.go" + + "ogle.storage.v2.ProjectTeam\"B\n\017Checksumm" + + "edData\022\017\n\007content\030\001 \001(\014\022\023\n\006crc32c\030\002 \001(\007H" + + "\000\210\001\001B\t\n\007_crc32c\"C\n\017ObjectChecksums\022\023\n\006cr" + + "c32c\030\001 \001(\007H\000\210\001\001\022\020\n\010md5_hash\030\002 \001(\014B\t\n\007_cr" + + "c32c\"\255\002\n\017HmacKeyMetadata\022\017\n\002id\030\001 \001(\tB\003\340A" + + "\005\022\026\n\taccess_id\030\002 \001(\tB\003\340A\005\022D\n\007project\030\003 \001" + + "(\tB3\340A\005\372A-\n+cloudresourcemanager.googlea" + + "pis.com/Project\022\"\n\025service_account_email" + + "\030\004 \001(\tB\003\340A\003\022\r\n\005state\030\005 \001(\t\0224\n\013create_tim" + + "e\030\006 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\007 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\"\216\003\n\014Notific" + + "ation\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005topic\030\002 \001(\tB" + + "\003\340A\002\022\014\n\004etag\030\007 \001(\t\022\023\n\013event_types\030\003 \003(\t\022" + + "P\n\021custom_attributes\030\004 \003(\01325.google.stor" + + "age.v2.Notification.CustomAttributesEntr" + + "y\022\032\n\022object_name_prefix\030\005 \001(\t\022\033\n\016payload" + + "_format\030\006 \001(\tB\003\340A\002\0327\n\025CustomAttributesEn" + + "try\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:p\352Am" + + "\n#storage.googleapis.com/Notification\022Fp" + + "rojects/{project}/buckets/{bucket}/notif" + + "icationConfigs/{notification}\"L\n\022Custome" + + "rEncryption\022\034\n\024encryption_algorithm\030\001 \001(" + + "\t\022\030\n\020key_sha256_bytes\030\003 \001(\014\"\202\t\n\006Object\022\021" + + "\n\004name\030\001 \001(\tB\003\340A\005\0225\n\006bucket\030\002 \001(\tB%\340A\005\372A" + + "\037\n\035storage.googleapis.com/Bucket\022\014\n\004etag" + + "\030\033 \001(\t\022\027\n\ngeneration\030\003 \001(\003B\003\340A\005\022\033\n\016metag" + + "eneration\030\004 \001(\003B\003\340A\003\022\025\n\rstorage_class\030\005 " + + "\001(\t\022\021\n\004size\030\006 \001(\003B\003\340A\003\022\030\n\020content_encodi" + + "ng\030\007 \001(\t\022\033\n\023content_disposition\030\010 \001(\t\022\025\n" + + "\rcache_control\030\t \001(\t\0223\n\003acl\030\n \003(\0132&.goog" + + "le.storage.v2.ObjectAccessControl\022\030\n\020con" + + "tent_language\030\013 \001(\t\0224\n\013delete_time\030\014 \001(\013" + + "2\032.google.protobuf.TimestampB\003\340A\003\022\024\n\014con" + + "tent_type\030\r \001(\t\0224\n\013create_time\030\016 \001(\0132\032.g" + + "oogle.protobuf.TimestampB\003\340A\003\022\034\n\017compone" + + "nt_count\030\017 \001(\005B\003\340A\003\022:\n\tchecksums\030\020 \001(\0132\"" + + ".google.storage.v2.ObjectChecksumsB\003\340A\003\022" + + "4\n\013update_time\030\021 \001(\0132\032.google.protobuf.T" + + "imestampB\003\340A\003\0227\n\007kms_key\030\022 \001(\tB&\372A#\n!clo" + + "udkms.googleapis.com/CryptoKey\022B\n\031update" + + "_storage_class_time\030\023 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022\026\n\016temporary_hold\030\024 \001" + + "(\010\0229\n\025retention_expire_time\030\025 \001(\0132\032.goog" + + "le.protobuf.Timestamp\0229\n\010metadata\030\026 \003(\0132" + + "\'.google.storage.v2.Object.MetadataEntry" + + "\022\035\n\020event_based_hold\030\027 \001(\010H\000\210\001\001\022,\n\005owner" + + "\030\030 \001(\0132\030.google.storage.v2.OwnerB\003\340A\003\022B\n" + + "\023customer_encryption\030\031 \001(\0132%.google.stor" + + "age.v2.CustomerEncryption\022/\n\013custom_time" + + "\030\032 \001(\0132\032.google.protobuf.Timestamp\032/\n\rMe" + + "tadataEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:" + + "\0028\001B\023\n\021_event_based_hold\"\316\001\n\023ObjectAcces" + + "sControl\022\014\n\004role\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\016\n\006en" + + "tity\030\003 \001(\t\022\027\n\nentity_alt\030\t \001(\tB\003\340A\003\022\021\n\te", + "ntity_id\030\004 \001(\t\022\014\n\004etag\030\010 \001(\t\022\r\n\005email\030\005 " + + "\001(\t\022\016\n\006domain\030\006 \001(\t\0224\n\014project_team\030\007 \001(" + + "\0132\036.google.storage.v2.ProjectTeam\"l\n\023Lis" + + "tObjectsResponse\022*\n\007objects\030\001 \003(\0132\031.goog" + + "le.storage.v2.Object\022\020\n\010prefixes\030\002 \003(\t\022\027" + + "\n\017next_page_token\030\003 \001(\t\"3\n\013ProjectTeam\022\026" + + "\n\016project_number\030\001 \001(\t\022\014\n\004team\030\002 \001(\t\"\'\n\016" + + "ServiceAccount\022\025\n\remail_address\030\001 \001(\t\"*\n" + + "\005Owner\022\016\n\006entity\030\001 \001(\t\022\021\n\tentity_id\030\002 \001(" + + "\t\"C\n\014ContentRange\022\r\n\005start\030\001 \001(\003\022\013\n\003end\030" + + "\002 \001(\003\022\027\n\017complete_length\030\003 \001(\0032\257%\n\007Stora" + + "ge\022r\n\014DeleteBucket\022&.google.storage.v2.D" + + "eleteBucketRequest\032\026.google.protobuf.Emp" + + "ty\"\"\212\323\344\223\002\025\022\023\n\004name\022\013{bucket=**}\332A\004name\022o" + + "\n\tGetBucket\022#.google.storage.v2.GetBucke" + + "tRequest\032\031.google.storage.v2.Bucket\"\"\212\323\344" + + "\223\002\025\022\023\n\004name\022\013{bucket=**}\332A\004name\022\213\001\n\014Crea" + + "teBucket\022&.google.storage.v2.CreateBucke" + + "tRequest\032\031.google.storage.v2.Bucket\"8\212\323\344" + + "\223\002\030\022\026\n\006parent\022\014{project=**}\332A\027parent,buc" + + "ket,bucket_id\022\205\001\n\013ListBuckets\022%.google.s" + + "torage.v2.ListBucketsRequest\032&.google.st" + + "orage.v2.ListBucketsResponse\"\'\212\323\344\223\002\030\022\026\n\006" + + "parent\022\014{project=**}\332A\006parent\022\223\001\n\031LockBu" + + "cketRetentionPolicy\0223.google.storage.v2." + + "LockBucketRetentionPolicyRequest\032\031.googl" + + "e.storage.v2.Bucket\"&\212\323\344\223\002\027\022\025\n\006bucket\022\013{" + + "bucket=**}\332A\006bucket\022\253\001\n\014GetIamPolicy\022\".g" + + "oogle.iam.v1.GetIamPolicyRequest\032\025.googl" + + "e.iam.v1.Policy\"`\212\323\344\223\002O\022\027\n\010resource\022\013{bu" + + "cket=**}\0224\n\010resource\022({bucket=projects/*" + + "/buckets/*}/objects/**\332A\010resource\022\262\001\n\014Se" + + "tIamPolicy\022\".google.iam.v1.SetIamPolicyR" + + "equest\032\025.google.iam.v1.Policy\"g\212\323\344\223\002O\022\027\n" + + "\010resource\022\013{bucket=**}\0224\n\010resource\022({buc" + + "ket=projects/*/buckets/*}/objects/**\332A\017r" + + "esource,policy\022\327\001\n\022TestIamPermissions\022(." + + "google.iam.v1.TestIamPermissionsRequest\032" + + ").google.iam.v1.TestIamPermissionsRespon" + + "se\"l\212\323\344\223\002O\022\027\n\010resource\022\013{bucket=**}\0224\n\010r" + + "esource\022({bucket=projects/*/buckets/*}/o" + + "bjects/**\332A\024resource,permissions\022\212\001\n\014Upd" + + "ateBucket\022&.google.storage.v2.UpdateBuck" + + "etRequest\032\031.google.storage.v2.Bucket\"7\212\323" + + "\344\223\002\034\022\032\n\013bucket.name\022\013{bucket=**}\332A\022bucke" + + "t,update_mask\022\223\001\n\022DeleteNotification\022,.g" + + "oogle.storage.v2.DeleteNotificationReque" + + "st\032\026.google.protobuf.Empty\"7\212\323\344\223\002*\022(\n\004na" + + "me\022 {bucket=projects/*/buckets/*}/**\332A\004n" + + "ame\022\226\001\n\017GetNotification\022).google.storage" + + ".v2.GetNotificationRequest\032\037.google.stor" + + "age.v2.Notification\"7\212\323\344\223\002*\022(\n\004name\022 {bu" + + "cket=projects/*/buckets/*}/**\332A\004name\022\230\001\n" + + "\022CreateNotification\022,.google.storage.v2." + + "CreateNotificationRequest\032\037.google.stora" + + "ge.v2.Notification\"3\212\323\344\223\002\027\022\025\n\006parent\022\013{b" + + "ucket=**}\332A\023parent,notification\022\226\001\n\021List" + + "Notifications\022+.google.storage.v2.ListNo" + + "tificationsRequest\032,.google.storage.v2.L" + + "istNotificationsResponse\"&\212\323\344\223\002\027\022\025\n\006pare" + + "nt\022\013{bucket=**}\332A\006parent\022~\n\rComposeObjec" + + "t\022\'.google.storage.v2.ComposeObjectReque" + + "st\032\031.google.storage.v2.Object\")\212\323\344\223\002#\022!\n" + + "\022destination.bucket\022\013{bucket=**}\022\230\001\n\014Del" + + "eteObject\022&.google.storage.v2.DeleteObje" + + "ctRequest\032\026.google.protobuf.Empty\"H\212\323\344\223\002" + + "\027\022\025\n\006bucket\022\013{bucket=**}\332A\rbucket,object" + + "\332A\030bucket,object,generation\022\272\001\n\024CancelRe" + + "sumableWrite\022..google.storage.v2.CancelR" + + "esumableWriteRequest\032/.google.storage.v2" + + ".CancelResumableWriteResponse\"A\212\323\344\223\002/\022-\n" + + "\tupload_id\022 {bucket=projects/*/buckets/*" + + "}/**\332A\tupload_id\022\225\001\n\tGetObject\022#.google." + + "storage.v2.GetObjectRequest\032\031.google.sto" + + "rage.v2.Object\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{bucke" + + "t=**}\332A\rbucket,object\332A\030bucket,object,ge" + + "neration\022\245\001\n\nReadObject\022$.google.storage" + + ".v2.ReadObjectRequest\032%.google.storage.v" + + "2.ReadObjectResponse\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013" + + "{bucket=**}\332A\rbucket,object\332A\030bucket,obj" + + "ect,generation0\001\022\214\001\n\014UpdateObject\022&.goog" + + "le.storage.v2.UpdateObjectRequest\032\031.goog" + + "le.storage.v2.Object\"9\212\323\344\223\002\036\022\034\n\robject.b" + + "ucket\022\013{bucket=**}\332A\022object,update_mask\022" + + "`\n\013WriteObject\022%.google.storage.v2.Write" + + "ObjectRequest\032&.google.storage.v2.WriteO" + + "bjectResponse\"\000(\001\022\204\001\n\013ListObjects\022%.goog" + + "le.storage.v2.ListObjectsRequest\032&.googl" + + "e.storage.v2.ListObjectsResponse\"&\212\323\344\223\002\027" + + "\022\025\n\006parent\022\013{bucket=**}\332A\006parent\022\230\001\n\rRew" + + "riteObject\022\'.google.storage.v2.RewriteOb" + + "jectRequest\032\".google.storage.v2.RewriteR" + + "esponse\":\212\323\344\223\0024\022\017\n\rsource_bucket\022!\n\022dest" + + "ination_bucket\022\013{bucket=**}\022\256\001\n\023StartRes" + + "umableWrite\022-.google.storage.v2.StartRes" + + "umableWriteRequest\032..google.storage.v2.S" + + "tartResumableWriteResponse\"8\212\323\344\223\0022\0220\n!wr" + + "ite_object_spec.resource.bucket\022\013{bucket" + + "=**}\022\256\001\n\020QueryWriteStatus\022*.google.stora" + + "ge.v2.QueryWriteStatusRequest\032+.google.s" + + "torage.v2.QueryWriteStatusResponse\"A\212\323\344\223" + + "\002/\022-\n\tupload_id\022 {bucket=projects/*/buck" + + "ets/*}/**\332A\tupload_id\022\200\001\n\021GetServiceAcco" + + "unt\022+.google.storage.v2.GetServiceAccoun" + + "tRequest\032!.google.storage.v2.ServiceAcco" + + "unt\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007project\022\225\001\n\rCre" + + "ateHmacKey\022\'.google.storage.v2.CreateHma" + + "cKeyRequest\032(.google.storage.v2.CreateHm" + + "acKeyResponse\"1\212\323\344\223\002\013\022\t\n\007project\332A\035proje" + + "ct,service_account_email\022w\n\rDeleteHmacKe" + + "y\022\'.google.storage.v2.DeleteHmacKeyReque" + + "st\032\026.google.protobuf.Empty\"%\212\323\344\223\002\013\022\t\n\007pr" + + "oject\332A\021access_id,project\022}\n\nGetHmacKey\022" + + "$.google.storage.v2.GetHmacKeyRequest\032\"." + + "google.storage.v2.HmacKeyMetadata\"%\212\323\344\223\002" + + "\013\022\t\n\007project\332A\021access_id,project\022|\n\014List" + + "HmacKeys\022&.google.storage.v2.ListHmacKey" + + "sRequest\032\'.google.storage.v2.ListHmacKey" + + "sResponse\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007project\022\235" + + "\001\n\rUpdateHmacKey\022\'.google.storage.v2.Upd" + + "ateHmacKeyRequest\032\".google.storage.v2.Hm" + + "acKeyMetadata\"?\212\323\344\223\002\"\022 \n\020hmac_key.projec" + + "t\022\014{project=**}\332A\024hmac_key,update_mask\032\247" + + "\002\312A\026storage.googleapis.com\322A\212\002https://ww" + + "w.googleapis.com/auth/cloud-platform,htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "orm.read-only,https://www.googleapis.com" + + "/auth/devstorage.full_control,https://ww" + + "w.googleapis.com/auth/devstorage.read_on" + + "ly,https://www.googleapis.com/auth/devst" + + "orage.read_writeB\334\001\n\025com.google.storage." + + "v2B\014StorageProtoP\001Z8google.golang.org/ge" + + "nproto/googleapis/storage/v2;storage\352Ax\n" + + "!cloudkms.googleapis.com/CryptoKey\022Sproj" + + "ects/{project}/locations/{location}/keyR" + + "ings/{key_ring}/cryptoKeys/{crypto_key}b" + + "\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -875,6 +880,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.RoutingProto.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), com.google.iam.v1.PolicyProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.EmptyProto.getDescriptor(), com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -1006,6 +1012,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "IfMetagenerationMatch", "KmsKey", "CommonObjectRequestParams", + "ObjectChecksums", "IfGenerationMatch", "IfMetagenerationMatch", }); @@ -1217,6 +1224,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "CopySourceEncryptionKeyBytes", "CopySourceEncryptionKeySha256Bytes", "CommonObjectRequestParams", + "ObjectChecksums", "IfGenerationMatch", "IfGenerationNotMatch", "IfMetagenerationMatch", @@ -1240,7 +1248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_storage_v2_StartResumableWriteRequest_descriptor, new java.lang.String[] { - "WriteObjectSpec", "CommonObjectRequestParams", + "WriteObjectSpec", "CommonObjectRequestParams", "ObjectChecksums", }); internal_static_google_storage_v2_StartResumableWriteResponse_descriptor = getDescriptor().getMessageTypes().get(28); @@ -1482,7 +1490,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_storage_v2_Bucket_RetentionPolicy_descriptor, new java.lang.String[] { - "EffectiveTime", "IsLocked", "RetentionPeriod", "RetentionPeriod", + "EffectiveTime", + "IsLocked", + "RetentionPeriod", + "RetentionDuration", + "RetentionPeriod", }); internal_static_google_storage_v2_Bucket_Versioning_descriptor = internal_static_google_storage_v2_Bucket_descriptor.getNestedTypes().get(7); @@ -1716,6 +1728,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { com.google.api.RoutingProto.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.EmptyProto.getDescriptor(); com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequest.java index 81b5d82e6..c045264ef 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequest.java @@ -289,8 +289,8 @@ public com.google.storage.v2.WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilde * * *
-   * Required. The offset from the beginning of the object at which the data should be
-   * written.
+   * Required. The offset from the beginning of the object at which the data
+   * should be written.
    * In the first `WriteObjectRequest` of a `WriteObject()` action, it
    * indicates the initial offset for the `Write()` call. The value **must** be
    * equal to the `persisted_size` that a call to `QueryWriteStatus()` would
@@ -1443,8 +1443,8 @@ public com.google.storage.v2.WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilde
      *
      *
      * 
-     * Required. The offset from the beginning of the object at which the data should be
-     * written.
+     * Required. The offset from the beginning of the object at which the data
+     * should be written.
      * In the first `WriteObjectRequest` of a `WriteObject()` action, it
      * indicates the initial offset for the `Write()` call. The value **must** be
      * equal to the `persisted_size` that a call to `QueryWriteStatus()` would
@@ -1467,8 +1467,8 @@ public long getWriteOffset() {
      *
      *
      * 
-     * Required. The offset from the beginning of the object at which the data should be
-     * written.
+     * Required. The offset from the beginning of the object at which the data
+     * should be written.
      * In the first `WriteObjectRequest` of a `WriteObject()` action, it
      * indicates the initial offset for the `Write()` call. The value **must** be
      * equal to the `persisted_size` that a call to `QueryWriteStatus()` would
@@ -1494,8 +1494,8 @@ public Builder setWriteOffset(long value) {
      *
      *
      * 
-     * Required. The offset from the beginning of the object at which the data should be
-     * written.
+     * Required. The offset from the beginning of the object at which the data
+     * should be written.
      * In the first `WriteObjectRequest` of a `WriteObject()` action, it
      * indicates the initial offset for the `Write()` call. The value **must** be
      * equal to the `persisted_size` that a call to `QueryWriteStatus()` would
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequestOrBuilder.java
index 5c8fb8442..799717bb1 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequestOrBuilder.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectRequestOrBuilder.java
@@ -105,8 +105,8 @@ public interface WriteObjectRequestOrBuilder
    *
    *
    * 
-   * Required. The offset from the beginning of the object at which the data should be
-   * written.
+   * Required. The offset from the beginning of the object at which the data
+   * should be written.
    * In the first `WriteObjectRequest` of a `WriteObject()` action, it
    * indicates the initial offset for the `Write()` call. The value **must** be
    * equal to the `persisted_size` that a call to `QueryWriteStatus()` would
diff --git a/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto b/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto
index f6b522a30..7dc2b5f02 100644
--- a/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto
+++ b/proto-google-cloud-storage-v2/src/main/proto/google/storage/v2/storage.proto
@@ -22,6 +22,7 @@ import "google/api/resource.proto";
 import "google/api/routing.proto";
 import "google/iam/v1/iam_policy.proto";
 import "google/iam/v1/policy.proto";
+import "google/protobuf/duration.proto";
 import "google/protobuf/empty.proto";
 import "google/protobuf/field_mask.proto";
 import "google/protobuf/timestamp.proto";
@@ -69,10 +70,7 @@ service Storage {
   // Permanently deletes an empty bucket.
   rpc DeleteBucket(DeleteBucketRequest) returns (google.protobuf.Empty) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "name"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "name" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "name";
   }
@@ -80,10 +78,7 @@ service Storage {
   // Returns metadata for the specified bucket.
   rpc GetBucket(GetBucketRequest) returns (Bucket) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "name"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "name" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "name";
   }
@@ -91,10 +86,7 @@ service Storage {
   // Creates a new bucket.
   rpc CreateBucket(CreateBucketRequest) returns (Bucket) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "parent"
-        path_template: "{project=**}"
-      }
+      routing_parameters { field: "parent" path_template: "{project=**}" }
     };
     option (google.api.method_signature) = "parent,bucket,bucket_id";
   }
@@ -102,32 +94,28 @@ service Storage {
   // Retrieves a list of buckets for a given project.
   rpc ListBuckets(ListBucketsRequest) returns (ListBucketsResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "parent"
-        path_template: "{project=**}"
-      }
+      routing_parameters { field: "parent" path_template: "{project=**}" }
     };
     option (google.api.method_signature) = "parent";
   }
 
   // Locks retention policy on a bucket.
-  rpc LockBucketRetentionPolicy(LockBucketRetentionPolicyRequest) returns (Bucket) {
+  rpc LockBucketRetentionPolicy(LockBucketRetentionPolicyRequest)
+      returns (Bucket) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "bucket"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "bucket" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "bucket";
   }
 
   // Gets the IAM policy for a specified bucket or object.
-  rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) {
+  // The `resource` field in the request should be
+  // projects/_/buckets/ for a bucket or
+  // projects/_/buckets//objects/ for an object.
+  rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest)
+      returns (google.iam.v1.Policy) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "resource"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "resource" path_template: "{bucket=**}" }
       routing_parameters {
         field: "resource"
         path_template: "{bucket=projects/*/buckets/*}/objects/**"
@@ -137,12 +125,13 @@ service Storage {
   }
 
   // Updates an IAM policy for the specified bucket or object.
-  rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) {
+  // The `resource` field in the request should be
+  // projects/_/buckets/ for a bucket or
+  // projects/_/buckets//objects/ for an object.
+  rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest)
+      returns (google.iam.v1.Policy) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "resource"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "resource" path_template: "{bucket=**}" }
       routing_parameters {
         field: "resource"
         path_template: "{bucket=projects/*/buckets/*}/objects/**"
@@ -153,12 +142,13 @@ service Storage {
 
   // Tests a set of permissions on the given bucket or object to see which, if
   // any, are held by the caller.
-  rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) {
+  // The `resource` field in the request should be
+  // projects/_/buckets/ for a bucket or
+  // projects/_/buckets//objects/ for an object.
+  rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest)
+      returns (google.iam.v1.TestIamPermissionsResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "resource"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "resource" path_template: "{bucket=**}" }
       routing_parameters {
         field: "resource"
         path_template: "{bucket=projects/*/buckets/*}/objects/**"
@@ -170,16 +160,14 @@ service Storage {
   // Updates a bucket. Equivalent to JSON API's storage.buckets.patch method.
   rpc UpdateBucket(UpdateBucketRequest) returns (Bucket) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "bucket.name"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "bucket.name" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "bucket,update_mask";
   }
 
   // Permanently deletes a notification subscription.
-  rpc DeleteNotification(DeleteNotificationRequest) returns (google.protobuf.Empty) {
+  rpc DeleteNotification(DeleteNotificationRequest)
+      returns (google.protobuf.Empty) {
     option (google.api.routing) = {
       routing_parameters {
         field: "name"
@@ -206,21 +194,16 @@ service Storage {
   // See https://cloud.google.com/storage/docs/pubsub-notifications.
   rpc CreateNotification(CreateNotificationRequest) returns (Notification) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "parent"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "parent" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "parent,notification";
   }
 
   // Retrieves a list of notification subscriptions for a given bucket.
-  rpc ListNotifications(ListNotificationsRequest) returns (ListNotificationsResponse) {
+  rpc ListNotifications(ListNotificationsRequest)
+      returns (ListNotificationsResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "parent"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "parent" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "parent";
   }
@@ -240,17 +223,15 @@ service Storage {
   // is not enabled for the bucket, or if the `generation` parameter is used.
   rpc DeleteObject(DeleteObjectRequest) returns (google.protobuf.Empty) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "bucket"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "bucket" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "bucket,object";
     option (google.api.method_signature) = "bucket,object,generation";
   }
 
   // Cancels an in-progress resumable upload.
-  rpc CancelResumableWrite(CancelResumableWriteRequest) returns (CancelResumableWriteResponse) {
+  rpc CancelResumableWrite(CancelResumableWriteRequest)
+      returns (CancelResumableWriteResponse) {
     option (google.api.routing) = {
       routing_parameters {
         field: "upload_id"
@@ -263,10 +244,7 @@ service Storage {
   // Retrieves an object's metadata.
   rpc GetObject(GetObjectRequest) returns (Object) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "bucket"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "bucket" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "bucket,object";
     option (google.api.method_signature) = "bucket,object,generation";
@@ -275,10 +253,7 @@ service Storage {
   // Reads an object's data.
   rpc ReadObject(ReadObjectRequest) returns (stream ReadObjectResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "bucket"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "bucket" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "bucket,object";
     option (google.api.method_signature) = "bucket,object,generation";
@@ -288,10 +263,7 @@ service Storage {
   // Equivalent to JSON API's storage.objects.patch.
   rpc UpdateObject(UpdateObjectRequest) returns (Object) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "object.bucket"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "object.bucket" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "object,update_mask";
   }
@@ -348,26 +320,12 @@ service Storage {
   // Attempting to resume an already finalized object will result in an OK
   // status, with a WriteObjectResponse containing the finalized object's
   // metadata.
-  rpc WriteObject(stream WriteObjectRequest) returns (WriteObjectResponse) {
-    option (google.api.routing) = {
-      routing_parameters {
-        field: "write_object_spec.resource.bucket"
-        path_template: "{bucket=**}"
-      }
-      routing_parameters {
-        field: "upload_id"
-        path_template: "{bucket=projects/*/buckets/*}/**"
-      }
-    };
-  }
+  rpc WriteObject(stream WriteObjectRequest) returns (WriteObjectResponse) {}
 
   // Retrieves a list of objects matching the criteria.
   rpc ListObjects(ListObjectsRequest) returns (ListObjectsResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "parent"
-        path_template: "{bucket=**}"
-      }
+      routing_parameters { field: "parent" path_template: "{bucket=**}" }
     };
     option (google.api.method_signature) = "parent";
   }
@@ -376,9 +334,7 @@ service Storage {
   // metadata.
   rpc RewriteObject(RewriteObjectRequest) returns (RewriteResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "source_bucket"
-      }
+      routing_parameters { field: "source_bucket" }
       routing_parameters {
         field: "destination_bucket"
         path_template: "{bucket=**}"
@@ -389,7 +345,8 @@ service Storage {
   // Starts a resumable write. How long the write operation remains valid, and
   // what happens when the write operation becomes invalid, are
   // service-dependent.
-  rpc StartResumableWrite(StartResumableWriteRequest) returns (StartResumableWriteResponse) {
+  rpc StartResumableWrite(StartResumableWriteRequest)
+      returns (StartResumableWriteResponse) {
     option (google.api.routing) = {
       routing_parameters {
         field: "write_object_spec.resource.bucket"
@@ -411,7 +368,8 @@ service Storage {
   // evicted. For any sequence of `QueryWriteStatus()` calls for a given
   // object name, the sequence of returned `persisted_size` values will be
   // non-decreasing.
-  rpc QueryWriteStatus(QueryWriteStatusRequest) returns (QueryWriteStatusResponse) {
+  rpc QueryWriteStatus(QueryWriteStatusRequest)
+      returns (QueryWriteStatusResponse) {
     option (google.api.routing) = {
       routing_parameters {
         field: "upload_id"
@@ -424,9 +382,7 @@ service Storage {
   // Retrieves the name of a project's Google Cloud Storage service account.
   rpc GetServiceAccount(GetServiceAccountRequest) returns (ServiceAccount) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "project"
-      }
+      routing_parameters { field: "project" }
     };
     option (google.api.method_signature) = "project";
   }
@@ -434,9 +390,7 @@ service Storage {
   // Creates a new HMAC key for the given service account.
   rpc CreateHmacKey(CreateHmacKeyRequest) returns (CreateHmacKeyResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "project"
-      }
+      routing_parameters { field: "project" }
     };
     option (google.api.method_signature) = "project,service_account_email";
   }
@@ -444,9 +398,7 @@ service Storage {
   // Deletes a given HMAC key.  Key must be in an INACTIVE state.
   rpc DeleteHmacKey(DeleteHmacKeyRequest) returns (google.protobuf.Empty) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "project"
-      }
+      routing_parameters { field: "project" }
     };
     option (google.api.method_signature) = "access_id,project";
   }
@@ -454,9 +406,7 @@ service Storage {
   // Gets an existing HMAC key metadata for the given id.
   rpc GetHmacKey(GetHmacKeyRequest) returns (HmacKeyMetadata) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "project"
-      }
+      routing_parameters { field: "project" }
     };
     option (google.api.method_signature) = "access_id,project";
   }
@@ -464,9 +414,7 @@ service Storage {
   // Lists HMAC keys under a given project with the additional filters provided.
   rpc ListHmacKeys(ListHmacKeysRequest) returns (ListHmacKeysResponse) {
     option (google.api.routing) = {
-      routing_parameters {
-        field: "project"
-      }
+      routing_parameters { field: "project" }
     };
     option (google.api.method_signature) = "project";
   }
@@ -488,9 +436,7 @@ message DeleteBucketRequest {
   // Required. Name of a bucket to delete.
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 
   // If set, only deletes the bucket if its metageneration matches this value.
@@ -506,9 +452,7 @@ message GetBucketRequest {
   // Required. Name of a bucket.
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 
   // If set, and if the bucket's current metageneration does not match the
@@ -541,9 +485,9 @@ message CreateBucketRequest {
   // result in an error.
   Bucket bucket = 2;
 
-  // Required. The ID to use for this bucket, which will become the final component of
-  // the bucket's resource name. For example, the value `foo` might result in
-  // a bucket with the name `projects/123456/buckets/foo`.
+  // Required. The ID to use for this bucket, which will become the final
+  // component of the bucket's resource name. For example, the value `foo` might
+  // result in a bucket with the name `projects/123456/buckets/foo`.
   string bucket_id = 3 [(google.api.field_behavior) = REQUIRED];
 
   // Apply a predefined set of access controls to this bucket.
@@ -602,13 +546,11 @@ message LockBucketRetentionPolicyRequest {
   // Required. Name of a bucket.
   string bucket = 1 [
     (google.api.field_behavior) = REQUIRED,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 
-  // Required. Makes the operation conditional on whether bucket's current metageneration
-  // matches the given value. Must be positive.
+  // Required. Makes the operation conditional on whether bucket's current
+  // metageneration matches the given value. Must be positive.
   int64 if_metageneration_match = 2 [(google.api.field_behavior) = REQUIRED];
 }
 
@@ -646,7 +588,8 @@ message UpdateBucketRequest {
   // Not specifying any fields is an error.
   // Not specifying a field while setting that field to a non-default value is
   // an error.
-  google.protobuf.FieldMask update_mask = 6 [(google.api.field_behavior) = REQUIRED];
+  google.protobuf.FieldMask update_mask = 6
+      [(google.api.field_behavior) = REQUIRED];
 }
 
 // Request message for DeleteNotification.
@@ -667,9 +610,7 @@ message GetNotificationRequest {
   // `projects/{project}/buckets/{bucket}/notificationConfigs/{notification}`
   string name = 1 [
     (google.api.field_behavior) = REQUIRED,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 }
 
@@ -733,8 +674,8 @@ message ComposeObjectRequest {
       optional int64 if_generation_match = 1;
     }
 
-    // Required. The source object's name. All source objects must reside in the same
-    // bucket.
+    // Required. The source object's name. All source objects must reside in the
+    // same bucket.
     string name = 1 [(google.api.field_behavior) = REQUIRED];
 
     // The generation of this object to use as the source.
@@ -769,11 +710,15 @@ message ComposeObjectRequest {
   // that will be used to encrypt the object. Overrides the object
   // metadata's `kms_key_name` value, if any.
   string kms_key = 6 [(google.api.resource_reference) = {
-                        type: "cloudkms.googleapis.com/CryptoKey"
-                      }];
+    type: "cloudkms.googleapis.com/CryptoKey"
+  }];
 
   // A set of parameters common to Storage API requests concerning an object.
   CommonObjectRequestParams common_object_request_params = 7;
+
+  // The checksums of the complete object. This will be validated against the
+  // combined checksums of the component objects.
+  ObjectChecksums object_checksums = 10;
 }
 
 // Message for deleting an object.
@@ -782,7 +727,9 @@ message DeleteObjectRequest {
   // Required. Name of the bucket in which the object resides.
   string bucket = 1 [(google.api.field_behavior) = REQUIRED];
 
-  // Required. The name of the object to delete (when not using a resumable write).
+  // Required. The name of the finalized object to delete.
+  // Note: If you want to delete an unfinalized resumable upload please use
+  // `CancelResumableWrite`.
   string object = 2 [(google.api.field_behavior) = REQUIRED];
 
   // If present, permanently deletes a specific revision of this object (as
@@ -815,16 +762,14 @@ message DeleteObjectRequest {
 // Message for canceling an in-progress resumable upload.
 // `upload_id` **must** be set.
 message CancelResumableWriteRequest {
-  // Required. The upload_id of the resumable upload to cancel. This should be copied
-  // from the `upload_id` field of `StartResumableWriteResponse`.
+  // Required. The upload_id of the resumable upload to cancel. This should be
+  // copied from the `upload_id` field of `StartResumableWriteResponse`.
   string upload_id = 1 [(google.api.field_behavior) = REQUIRED];
 }
 
 // Empty response message for canceling an in-progress resumable upload, will be
 // extended as needed.
-message CancelResumableWriteResponse {
-
-}
+message CancelResumableWriteResponse {}
 
 // Request message for ReadObject.
 message ReadObjectRequest {
@@ -1006,8 +951,8 @@ message WriteObjectRequest {
     WriteObjectSpec write_object_spec = 2;
   }
 
-  // Required. The offset from the beginning of the object at which the data should be
-  // written.
+  // Required. The offset from the beginning of the object at which the data
+  // should be written.
   //
   // In the first `WriteObjectRequest` of a `WriteObject()` action, it
   // indicates the initial offset for the `Write()` call. The value **must** be
@@ -1108,23 +1053,23 @@ message ListObjectsRequest {
   // * may be used to mean "all fields".
   optional google.protobuf.FieldMask read_mask = 8;
 
-  // Filter results to objects whose names are lexicographically equal to or
-  // after lexicographic_start. If lexicographic_end is also set, the objects
-  // listed have names between lexicographic_start (inclusive) and
+  // Optional. Filter results to objects whose names are lexicographically equal
+  // to or after lexicographic_start. If lexicographic_end is also set, the
+  // objects listed have names between lexicographic_start (inclusive) and
   // lexicographic_end (exclusive).
-  string lexicographic_start = 10;
+  string lexicographic_start = 10 [(google.api.field_behavior) = OPTIONAL];
 
-  // Filter results to objects whose names are lexicographically before
-  // lexicographic_end. If lexicographic_start is also set, the objects listed
-  // have names between lexicographic_start (inclusive) and lexicographic_end
-  // (exclusive).
-  string lexicographic_end = 11;
+  // Optional. Filter results to objects whose names are lexicographically
+  // before lexicographic_end. If lexicographic_start is also set, the objects
+  // listed have names between lexicographic_start (inclusive) and
+  // lexicographic_end (exclusive).
+  string lexicographic_end = 11 [(google.api.field_behavior) = OPTIONAL];
 }
 
 // Request object for `QueryWriteStatus`.
 message QueryWriteStatusRequest {
-  // Required. The name of the resume token for the object whose write status is being
-  // requested.
+  // Required. The name of the resume token for the object whose write status is
+  // being requested.
   string upload_id = 1 [(google.api.field_behavior) = REQUIRED];
 
   // A set of parameters common to Storage API requests concerning an object.
@@ -1158,7 +1103,7 @@ message QueryWriteStatusResponse {
 message RewriteObjectRequest {
   // Required. Immutable. The name of the destination object.
   // See the
-  // [Naming Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+  // [Naming Guidelines](https://cloud.google.com/storage/docs/objects#naming).
   // Example: `test.txt`
   // The `name` field by itself does not uniquely identify a Cloud Storage
   // object. A Cloud Storage object is uniquely identified by the tuple of
@@ -1168,13 +1113,12 @@ message RewriteObjectRequest {
     (google.api.field_behavior) = IMMUTABLE
   ];
 
-  // Required. Immutable. The name of the bucket containing the destination object.
+  // Required. Immutable. The name of the bucket containing the destination
+  // object.
   string destination_bucket = 25 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.field_behavior) = IMMUTABLE,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 
   // The name of the Cloud KMS key that will be used to encrypt the destination
@@ -1183,8 +1127,8 @@ message RewriteObjectRequest {
   // bucket's default encryption key, if any, or else the Google-managed
   // encryption key.
   string destination_kms_key = 27 [(google.api.resource_reference) = {
-                                     type: "cloudkms.googleapis.com/CryptoKey"
-                                   }];
+    type: "cloudkms.googleapis.com/CryptoKey"
+  }];
 
   // Properties of the destination, post-rewrite object.
   // The `name`, `bucket` and `kms_key` fields must not be populated (these
@@ -1278,6 +1222,10 @@ message RewriteObjectRequest {
 
   // A set of parameters common to Storage API requests concerning an object.
   CommonObjectRequestParams common_object_request_params = 19;
+
+  // The checksums of the complete object. This will be used to validate the
+  // destination object after rewriting.
+  ObjectChecksums object_checksums = 29;
 }
 
 // A rewrite response.
@@ -1305,11 +1253,19 @@ message RewriteResponse {
 
 // Request message StartResumableWrite.
 message StartResumableWriteRequest {
-  // Required. The destination bucket, object, and metadata, as well as any preconditions.
-  WriteObjectSpec write_object_spec = 1 [(google.api.field_behavior) = REQUIRED];
+  // Required. The destination bucket, object, and metadata, as well as any
+  // preconditions.
+  WriteObjectSpec write_object_spec = 1
+      [(google.api.field_behavior) = REQUIRED];
 
   // A set of parameters common to Storage API requests concerning an object.
   CommonObjectRequestParams common_object_request_params = 3;
+
+  // The checksums of the complete object. This will be used to validate the
+  // uploaded object. For each upload, object_checksums can be provided with
+  // either StartResumableWriteRequest or the WriteObjectRequest with
+  // finish_write set to `true`.
+  ObjectChecksums object_checksums = 5;
 }
 
 // Response object for `StartResumableWrite`.
@@ -1362,7 +1318,8 @@ message UpdateObjectRequest {
   // Not specifying any fields is an error.
   // Not specifying a field while setting that field to a non-default value is
   // an error.
-  google.protobuf.FieldMask update_mask = 7 [(google.api.field_behavior) = REQUIRED];
+  google.protobuf.FieldMask update_mask = 7
+      [(google.api.field_behavior) = REQUIRED];
 
   // A set of parameters common to Storage API requests concerning an object.
   CommonObjectRequestParams common_object_request_params = 8;
@@ -1382,9 +1339,9 @@ message GetServiceAccountRequest {
 
 // Request message for CreateHmacKey.
 message CreateHmacKeyRequest {
-  // Required. The project that the HMAC-owning service account lives in, in the format of
-  // "projects/".
-  //  can be the project ID or project number.
+  // Required. The project that the HMAC-owning service account lives in, in the
+  // format of "projects/".  can be the
+  // project ID or project number.
   string project = 1 [
     (google.api.field_behavior) = REQUIRED,
     (google.api.resource_reference) = {
@@ -1586,8 +1543,6 @@ message ServiceConstants {
     // GetListObjectsSplitPoints RPC is valid.
     SPLIT_TOKEN_MAX_VALID_DAYS = 14;
   }
-
-
 }
 
 // A bucket.
@@ -1634,8 +1589,8 @@ message Bucket {
     // The name of the Cloud KMS key that will be used to encrypt objects
     // inserted into this bucket, if no encryption method is specified.
     string default_kms_key = 1 [(google.api.resource_reference) = {
-                                  type: "cloudkms.googleapis.com/CryptoKey"
-                                }];
+      type: "cloudkms.googleapis.com/CryptoKey"
+    }];
   }
 
   // Bucket restriction options.
@@ -1647,8 +1602,9 @@ message Bucket {
       bool enabled = 1;
 
       // The deadline time for changing
-      // `iamConfig.uniformBucketLevelAccess.enabled` from `true` to `false`.
-      // Mutable until the specified deadline is reached, but not afterward.
+      // `iam_config.uniform_bucket_level_access.enabled` from `true` to
+      // `false`. Mutable until the specified deadline is reached, but not
+      // afterward.
       google.protobuf.Timestamp lock_time = 2;
     }
 
@@ -1771,6 +1727,13 @@ message Bucket {
     // enforcement of retention periods less than a day is not guaranteed. Such
     // periods should only be used for testing purposes.
     optional int64 retention_period = 3;
+
+    // The duration that objects need to be retained. Retention duration must be
+    // greater than zero and less than 100 years. Note that enforcement of
+    // retention periods less than a day is not guaranteed. Such periods should
+    // only be used for testing purposes. Any `nanos` value specified will be
+    // rounded down to the nearest second.
+    google.protobuf.Duration retention_duration = 4;
   }
 
   // Properties of a bucket related to versioning.
@@ -1812,19 +1775,20 @@ message Bucket {
     // Enables Autoclass.
     bool enabled = 1;
 
-    // Output only. Latest instant at which the `enabled` field was set to true after being
-    // disabled/unconfigured or set to false after being enabled. If Autoclass
-    // is enabled when the bucket is created, the toggle_time is set to the
-    // bucket creation time.
-    google.protobuf.Timestamp toggle_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
+    // Output only. Latest instant at which the `enabled` field was set to true
+    // after being disabled/unconfigured or set to false after being enabled. If
+    // Autoclass is enabled when the bucket is created, the toggle_time is set
+    // to the bucket creation time.
+    google.protobuf.Timestamp toggle_time = 2
+        [(google.api.field_behavior) = OUTPUT_ONLY];
   }
 
   // Immutable. The name of the bucket.
   string name = 1 [(google.api.field_behavior) = IMMUTABLE];
 
-  // Output only. The user-chosen part of the bucket name. The `{bucket}` portion of the
-  // `name` field. For globally unique buckets, this is equal to the "bucket
-  // name" of other Cloud Storage APIs. Example: "pub".
+  // Output only. The user-chosen part of the bucket name. The `{bucket}`
+  // portion of the `name` field. For globally unique buckets, this is equal to
+  // the "bucket name" of other Cloud Storage APIs. Example: "pub".
   string bucket_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The etag of the bucket.
@@ -1847,14 +1811,16 @@ message Bucket {
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
   int64 metageneration = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
 
-  // Immutable. The location of the bucket. Object data for objects in the bucket resides
-  // in physical storage within this region.  Defaults to `US`. See the
+  // Immutable. The location of the bucket. Object data for objects in the
+  // bucket resides in physical storage within this region.  Defaults to `US`.
+  // See the
   // [https://developers.google.com/storage/docs/concepts-techniques#specifyinglocations"][developer's
   // guide] for the authoritative list. Attempting to update this field after
   // the bucket is created will result in an error.
   string location = 5 [(google.api.field_behavior) = IMMUTABLE];
 
-  // Output only. The location type of the bucket (region, dual-region, multi-region, etc).
+  // Output only. The location type of the bucket (region, dual-region,
+  // multi-region, etc).
   string location_type = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The bucket's default storage class, used whenever no storageClass is
@@ -1874,12 +1840,12 @@ message Bucket {
   string rpo = 27;
 
   // Access controls on the bucket.
-  // If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+  // If iam_config.uniform_bucket_level_access is enabled on this bucket,
   // requests to set, read, or modify acl is an error.
   repeated BucketAccessControl acl = 8;
 
   // Default access controls to apply to new objects when no ACL is provided.
-  // If iamConfig.uniformBucketLevelAccess is enabled on this bucket,
+  // If iam_config.uniform_bucket_level_access is enabled on this bucket,
   // requests to set, read, or modify acl is an error.
   repeated ObjectAccessControl default_object_acl = 9;
 
@@ -1891,7 +1857,8 @@ message Bucket {
   // Output only. The creation time of the bucket.
   // Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp create_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp create_time = 11
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The bucket's [https://www.w3.org/TR/cors/][Cross-Origin Resource Sharing]
   // (CORS) config.
@@ -1900,7 +1867,8 @@ message Bucket {
   // Output only. The modification time of the bucket.
   // Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp update_time = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp update_time = 13
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The default value for event-based hold on newly created objects in this
   // bucket.  Event-based hold is a way to retain objects indefinitely until an
@@ -1933,7 +1901,8 @@ message Bucket {
   // and name prefix (if any) for the current bucket's logs.
   Logging logging = 18;
 
-  // Output only. The owner of the bucket. This is always the project team's owner group.
+  // Output only. The owner of the bucket. This is always the project team's
+  // owner group.
   Owner owner = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Encryption config for a bucket.
@@ -1996,8 +1965,8 @@ message BucketAccessControl {
   // returned on response.
   string entity = 3;
 
-  // Output only. The alternative entity format, if exists. For project entities,
-  // `project-{team}-{projectid}` format will be returned on response.
+  // Output only. The alternative entity format, if exists. For project
+  // entities, `project-{team}-{projectid}` format will be returned on response.
   string entity_alt = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The ID for the entity, if any.
@@ -2057,9 +2026,9 @@ message HmacKeyMetadata {
   // Immutable. Globally unique id for keys.
   string access_id = 2 [(google.api.field_behavior) = IMMUTABLE];
 
-  // Immutable. Identifies the project that owns the service account of the specified HMAC
-  // key, in the format "projects/".  can
-  // be the project ID or project number.
+  // Immutable. Identifies the project that owns the service account of the
+  // specified HMAC key, in the format "projects/".
+  //  can be the project ID or project number.
   string project = 3 [
     (google.api.field_behavior) = IMMUTABLE,
     (google.api.resource_reference) = {
@@ -2075,10 +2044,12 @@ message HmacKeyMetadata {
   string state = 5;
 
   // Output only. The creation time of the HMAC key.
-  google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp create_time = 6
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Output only. The last modification time of the HMAC key metadata.
-  google.protobuf.Timestamp update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp update_time = 7
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The etag of the HMAC key.
   string etag = 8;
@@ -2097,7 +2068,8 @@ message Notification {
   // The `{project}` portion may be `_` for globally unique buckets.
   string name = 1 [(google.api.field_behavior) = REQUIRED];
 
-  // Required. The Pub/Sub topic to which this subscription publishes. Formatted as:
+  // Required. The Pub/Sub topic to which this subscription publishes. Formatted
+  // as:
   // '//pubsub.googleapis.com/projects/{project-identifier}/topics/{my-topic}'
   string topic = 2 [(google.api.field_behavior) = REQUIRED];
 
@@ -2135,9 +2107,9 @@ message CustomerEncryption {
 
 // An object.
 message Object {
-  // Immutable. The name of this object. Nearly any sequence of unicode characters is
-  // valid. See
-  // [Guidelines](https://cloud.google.com/storage/docs/naming-objects).
+  // Immutable. The name of this object. Nearly any sequence of unicode
+  // characters is valid. See
+  // [Guidelines](https://cloud.google.com/storage/docs/objects#naming).
   // Example: `test.txt`
   // The `name` field by itself does not uniquely identify a Cloud Storage
   // object. A Cloud Storage object is uniquely identified by the tuple of
@@ -2147,9 +2119,7 @@ message Object {
   // Immutable. The name of the bucket containing this object.
   string bucket = 2 [
     (google.api.field_behavior) = IMMUTABLE,
-    (google.api.resource_reference) = {
-      type: "storage.googleapis.com/Bucket"
-    }
+    (google.api.resource_reference) = { type: "storage.googleapis.com/Bucket" }
   ];
 
   // The etag of the object.
@@ -2158,17 +2128,16 @@ message Object {
   // object.
   string etag = 27;
 
-  // Immutable. The content generation of this object. Used for object versioning.
-  // Attempting to set or update this field will result in a
+  // Immutable. The content generation of this object. Used for object
+  // versioning. Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
   int64 generation = 3 [(google.api.field_behavior) = IMMUTABLE];
 
-  // Output only. The version of the metadata for this generation of this object. Used for
-  // preconditions and for detecting changes in metadata. A metageneration
-  // number is only meaningful in the context of a particular generation of a
-  // particular object.
-  // Attempting to set or update this field will result in a
-  // [FieldViolation][google.rpc.BadRequest.FieldViolation].
+  // Output only. The version of the metadata for this generation of this
+  // object. Used for preconditions and for detecting changes in metadata. A
+  // metageneration number is only meaningful in the context of a particular
+  // generation of a particular object. Attempting to set or update this field
+  // will result in a [FieldViolation][google.rpc.BadRequest.FieldViolation].
   int64 metageneration = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Storage class of the object.
@@ -2195,7 +2164,7 @@ message Object {
   string cache_control = 9;
 
   // Access controls on the object.
-  // If iamConfig.uniformBucketLevelAccess is enabled on the parent
+  // If iam_config.uniform_bucket_level_access is enabled on the parent
   // bucket, requests to set, read, or modify acl is an error.
   repeated ObjectAccessControl acl = 10;
 
@@ -2203,11 +2172,12 @@ message Object {
   // [https://tools.ietf.org/html/rfc7231#section-3.1.3.2][RFC 7231 §3.1.3.2].
   string content_language = 11;
 
-  // Output only. The deletion time of the object. Will be returned if and only if this
-  // version of the object has been deleted.
-  // Attempting to set or update this field will result in a
+  // Output only. The deletion time of the object. Will be returned if and only
+  // if this version of the object has been deleted. Attempting to set or update
+  // this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp delete_time = 12 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp delete_time = 12
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Content-Type of the object data, matching
   // [https://tools.ietf.org/html/rfc7231#section-3.1.1.5][RFC 7231 §3.1.1.5].
@@ -2218,15 +2188,17 @@ message Object {
   // Output only. The creation time of the object.
   // Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp create_time = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp create_time = 14
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
-  // Output only. Number of underlying components that make up this object. Components are
-  // accumulated by compose operations.
-  // Attempting to set or update this field will result in a
+  // Output only. Number of underlying components that make up this object.
+  // Components are accumulated by compose operations. Attempting to set or
+  // update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
   int32 component_count = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
 
-  // Output only. Hashes for the data part of this object.
+  // Output only. Hashes for the data part of this object. This field is used
+  // for output only and will be silently ignored if provided in requests.
   ObjectChecksums checksums = 16 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Output only. The modification time of the object metadata.
@@ -2237,19 +2209,21 @@ message Object {
   // Object Lifecycle Configuration.
   // Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp update_time = 17 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp update_time = 17
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Cloud KMS Key used to encrypt this object, if the object is encrypted by
   // such a key.
   string kms_key = 18 [(google.api.resource_reference) = {
-                         type: "cloudkms.googleapis.com/CryptoKey"
-                       }];
+    type: "cloudkms.googleapis.com/CryptoKey"
+  }];
 
-  // Output only. The time at which the object's storage class was last changed. When the
-  // object is initially created, it will be set to time_created.
+  // Output only. The time at which the object's storage class was last changed.
+  // When the object is initially created, it will be set to time_created.
   // Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
-  google.protobuf.Timestamp update_storage_class_time = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
+  google.protobuf.Timestamp update_storage_class_time = 19
+      [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // Whether an object is under temporary hold. While this flag is set to true,
   // the object is protected against deletion and overwrites.  A common use case
@@ -2283,8 +2257,8 @@ message Object {
   // In a response, this field will always be set to true or false.
   optional bool event_based_hold = 23;
 
-  // Output only. The owner of the object. This will always be the uploader of the object.
-  // Attempting to set or update this field will result in a
+  // Output only. The owner of the object. This will always be the uploader of
+  // the object. Attempting to set or update this field will result in a
   // [FieldViolation][google.rpc.BadRequest.FieldViolation].
   Owner owner = 24 [(google.api.field_behavior) = OUTPUT_ONLY];
 
@@ -2324,8 +2298,8 @@ message ObjectAccessControl {
   // returned on response.
   string entity = 3;
 
-  // Output only. The alternative entity format, if exists. For project entities,
-  // `project-{team}-{projectid}` format will be returned on response.
+  // Output only. The alternative entity format, if exists. For project
+  // entities, `project-{team}-{projectid}` format will be returned on response.
   string entity_alt = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
 
   // The ID for the entity, if any.