diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index f9effa1951..b7d5dcb3aa 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -113,6 +113,22 @@ branchProtectionRules: - cla/google - 'Kokoro - Test: Java GraalVM Native Image' - 'Kokoro - Test: Java 17 GraalVM Native Image' + - pattern: feat/transfer-manager + isAdminEnforced: true + requiredApprovingReviewCount: 1 + requiresCodeOwnerReviews: true + requiresStrictStatusChecks: false + requiredStatusCheckContexts: + - dependencies (8) + - dependencies (11) + - lint + - clirr + - units (8) + - units (11) + - 'Kokoro - Test: Integration' + - cla/google + - 'Kokoro - Test: Java GraalVM Native Image' + - 'Kokoro - Test: Java 17 GraalVM Native Image' permissionRules: - team: yoshi-admins permission: admin diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f166a6e4a..cbe9b317e5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## [2.22.4](https://github.com/googleapis/java-storage/compare/v2.22.3...v2.22.4) (2023-06-07) + + +### Bug Fixes + +* Include invocation-id for resumable PUTs ([#2047](https://github.com/googleapis/java-storage/issues/2047)) ([a590ae3](https://github.com/googleapis/java-storage/commit/a590ae3856fe8cccde17def5ca6bef8cfeed5073)) + + +### Documentation + +* Add documentation about quantum write alignment, use of ObjectChecksums, Bucket.name format, and Object.delete_time ([#2032](https://github.com/googleapis/java-storage/issues/2032)) ([c39ec13](https://github.com/googleapis/java-storage/commit/c39ec13469342ed947b12dd7ab3d301ca1d4d01b)) + + +### Dependencies + +* Update dependency com.google.cloud:google-cloud-shared-dependencies to v3.11.0 ([#2050](https://github.com/googleapis/java-storage/issues/2050)) ([88fffbd](https://github.com/googleapis/java-storage/commit/88fffbd56746ff212441fafd1e213177feac0cac)) + ## [2.22.3](https://github.com/googleapis/java-storage/compare/v2.22.2...v2.22.3) (2023-05-30) diff --git a/README.md b/README.md index 5bfe77e7c7..af4fd1c4de 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.15.0 + 26.16.0 pom import @@ -42,7 +42,7 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-storage - 2.22.2 + 2.22.3 ``` @@ -50,20 +50,20 @@ If you are using Maven without the BOM, add this to your dependencies: If you are using Gradle 5.x or later, add this to your dependencies: ```Groovy -implementation platform('com.google.cloud:libraries-bom:26.15.0') +implementation platform('com.google.cloud:libraries-bom:26.16.0') implementation 'com.google.cloud:google-cloud-storage' ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-storage:2.22.2' +implementation 'com.google.cloud:google-cloud-storage:2.22.3' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.22.2" +libraryDependencies += "com.google.cloud" % "google-cloud-storage" % "2.22.3" ``` @@ -426,7 +426,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-storage/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-storage.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.22.2 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-storage/2.22.3 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/gapic-google-cloud-storage-v2/pom.xml b/gapic-google-cloud-storage-v2/pom.xml index 99b73bf00b..481ed13b27 100644 --- a/gapic-google-cloud-storage-v2/pom.xml +++ b/gapic-google-cloud-storage-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc gapic-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha gapic-google-cloud-storage-v2 GRPC library for gapic-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.22.3 + 2.22.4 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 968772fdb4..9d87789e8b 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 @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -426,10 +426,10 @@ public final UnaryCallable getBucketCallable() { * * @param parent Required. The project to which this bucket will belong. * @param bucket Properties of the new bucket being inserted. The name of the bucket is specified - * in the `bucket_id` field. Populating `bucket.name` field will result in an error. The - * project of the bucket must be specified in the `bucket.project` field. This field must be - * in `projects/{projectIdentifier}` format, {projectIdentifier} can be the project ID or - * project number. The `parent` field must be either empty or `projects/_`. + * in the `bucket_id` field. Populating `bucket.name` field will be ignored. The project of + * the bucket must be specified in the `bucket.project` field. This field must be in + * `projects/{projectIdentifier}` format, {projectIdentifier} can be the project ID or project + * number. The `parent` field must be either empty or `projects/_`. * @param bucketId 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`. @@ -467,10 +467,10 @@ public final Bucket createBucket(ProjectName parent, Bucket bucket, String bucke * * @param parent Required. The project to which this bucket will belong. * @param bucket Properties of the new bucket being inserted. The name of the bucket is specified - * in the `bucket_id` field. Populating `bucket.name` field will result in an error. The - * project of the bucket must be specified in the `bucket.project` field. This field must be - * in `projects/{projectIdentifier}` format, {projectIdentifier} can be the project ID or - * project number. The `parent` field must be either empty or `projects/_`. + * in the `bucket_id` field. Populating `bucket.name` field will be ignored. The project of + * the bucket must be specified in the `bucket.project` field. This field must be in + * `projects/{projectIdentifier}` format, {projectIdentifier} can be the project ID or project + * number. The `parent` field must be either empty or `projects/_`. * @param bucketId 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`. @@ -2674,7 +2674,9 @@ public final UnaryCallable updateObjectCallable() { * were already persisted (without checking that it matches the previously written data), and * write only the data starting from the persisted offset. Even though the data isn't written, it * may still incur a performance cost over resuming at the correct write offset. This behavior can - * make client-side handling simpler in some cases. + * make client-side handling simpler in some cases. - Clients must only send data that is a + * multiple of 256 KiB per message, unless the object is being finished with `finish_write` set to + * `true`. * *

The service will not view the object as complete until the client has sent a * `WriteObjectRequest` with `finish_write` set to `true`. Sending any requests on a stream after diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageSettings.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageSettings.java index 74ff9b61d3..bf920aea90 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageSettings.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StorageSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/package-info.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/package-info.java index 01173b0aaa..0fc96216c4 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/package-info.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageCallableFactory.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageCallableFactory.java index ee3ea61d31..4f7f286480 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageCallableFactory.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/GrpcStorageCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 bf3d106405..795be32969 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 @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStub.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStub.java index ced8e52c4a..23b375e771 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStub.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStubSettings.java b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStubSettings.java index a7a999e69c..c61f9e62d9 100644 --- a/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStubSettings.java +++ b/gapic-google-cloud-storage-v2/src/main/java/com/google/storage/v2/stub/StorageStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorage.java b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorage.java index bd53f4d3a4..5f04f6e64c 100644 --- a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorage.java +++ b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorage.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorageImpl.java b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorageImpl.java index a29e115caf..1150d8957b 100644 --- a/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorageImpl.java +++ b/gapic-google-cloud-storage-v2/src/test/java/com/google/storage/v2/MockStorageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 0848385233..d670135af6 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 @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-storage-bom/pom.xml b/google-cloud-storage-bom/pom.xml index f2cc2bdd98..7c8cfa7a51 100644 --- a/google-cloud-storage-bom/pom.xml +++ b/google-cloud-storage-bom/pom.xml @@ -19,12 +19,12 @@ 4.0.0 com.google.cloud google-cloud-storage-bom - 2.22.3 + 2.22.4 pom com.google.cloud google-cloud-shared-config - 1.5.5 + 1.5.6 @@ -69,22 +69,22 @@ com.google.cloud google-cloud-storage - 2.22.3 + 2.22.4 com.google.api.grpc gapic-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha com.google.api.grpc proto-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha diff --git a/google-cloud-storage/pom.xml b/google-cloud-storage/pom.xml index 57849159ee..f33742167c 100644 --- a/google-cloud-storage/pom.xml +++ b/google-cloud-storage/pom.xml @@ -2,7 +2,7 @@ 4.0.0 google-cloud-storage - 2.22.3 + 2.22.4 jar Google Cloud Storage https://github.com/googleapis/java-storage @@ -12,11 +12,11 @@ com.google.cloud google-cloud-storage-parent - 2.22.3 + 2.22.4 google-cloud-storage - 1.105.12 + 1.105.13 5.9.3 diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobWriteChannel.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobWriteChannel.java index f5f7f14d74..7b19258790 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobWriteChannel.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/BlobWriteChannel.java @@ -16,7 +16,6 @@ package com.google.cloud.storage; -import static com.google.cloud.RetryHelper.runWithRetries; import static java.util.Objects.requireNonNull; import static java.util.concurrent.Executors.callable; @@ -28,6 +27,7 @@ import com.google.cloud.RetryHelper; import com.google.cloud.WriteChannel; import java.math.BigInteger; +import java.util.function.Function; import java.util.function.Supplier; import org.checkerframework.checker.nullness.qual.NonNull; @@ -186,7 +186,9 @@ private static StorageException unrecoverableState( @Override protected void flushBuffer(final int length, final boolean lastChunk) { try { - runWithRetries( + Retrying.run( + getOptions(), + algorithmForWrite, callable( new Runnable() { @Override @@ -274,9 +276,7 @@ public void run() { } } }), - getOptions().getRetrySettings(), - algorithmForWrite, - getOptions().getClock()); + Function.identity()); } catch (RetryHelper.RetryHelperException e) { throw StorageException.translateAndThrow(e); } diff --git a/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITGrpcInterceptorTest.java b/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITGrpcInterceptorTest.java index 0e52171b8d..f7c9d1f153 100644 --- a/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITGrpcInterceptorTest.java +++ b/google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITGrpcInterceptorTest.java @@ -86,7 +86,8 @@ public void grpcStorageOptions_allowSpecifyingInterceptor() throws Exception { System.out.println("requestParams = " + requestParams); String expected = String.format("project=projects/%s", options.getProjectId()); - assertThat(requestParams).contains(expected); + String expectedEncoded = String.format("project=projects%%2F%s", options.getProjectId()); + assertThat(requestParams).containsAnyOf(expected, expectedEncoded); } private static final class Interceptor implements ClientInterceptor { diff --git a/grpc-google-cloud-storage-v2/pom.xml b/grpc-google-cloud-storage-v2/pom.xml index 572fc0c6b3..6f7566757e 100644 --- a/grpc-google-cloud-storage-v2/pom.xml +++ b/grpc-google-cloud-storage-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha grpc-google-cloud-storage-v2 GRPC library for grpc-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.22.3 + 2.22.4 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 a0bf535756..b8f55baf9c 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 @@ -1713,6 +1713,8 @@ default void updateObject( * persisted offset. Even though the data isn't written, it may still * incur a performance cost over resuming at the correct write offset. * This behavior can make client-side handling simpler in some cases. + * - Clients must only send data that is a multiple of 256 KiB per message, + * unless the object is being finished with `finish_write` set to `true`. * The service will not view the object as complete until the client has * sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any * requests on a stream after sending a request with `finish_write` set to @@ -2320,6 +2322,8 @@ public void updateObject( * persisted offset. Even though the data isn't written, it may still * incur a performance cost over resuming at the correct write offset. * This behavior can make client-side handling simpler in some cases. + * - Clients must only send data that is a multiple of 256 KiB per message, + * unless the object is being finished with `finish_write` set to `true`. * The service will not view the object as complete until the client has * sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any * requests on a stream after sending a request with `finish_write` set to diff --git a/pom.xml b/pom.xml index 81e26cc430..f219d8441a 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-storage-parent pom - 2.22.3 + 2.22.4 Storage Parent https://github.com/googleapis/java-storage @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 1.5.5 + 1.5.6 @@ -54,7 +54,7 @@ UTF-8 github google-cloud-storage-parent - 3.10.1 + 3.11.0 @@ -70,7 +70,7 @@ com.google.cloud google-cloud-storage - 2.22.3 + 2.22.4 com.google.apis @@ -80,7 +80,7 @@ com.google.cloud google-cloud-pubsub - 1.123.12 + 1.123.13 test @@ -111,17 +111,17 @@ com.google.api.grpc proto-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha com.google.api.grpc grpc-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha com.google.api.grpc gapic-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha com.google.cloud @@ -164,7 +164,7 @@ com.google.truth truth - 1.1.3 + 1.1.4 test diff --git a/proto-google-cloud-storage-v2/pom.xml b/proto-google-cloud-storage-v2/pom.xml index 973f71c049..5ea0d78d04 100644 --- a/proto-google-cloud-storage-v2/pom.xml +++ b/proto-google-cloud-storage-v2/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-storage-v2 - 2.22.3-alpha + 2.22.4-alpha proto-google-cloud-storage-v2 PROTO library for proto-google-cloud-storage-v2 com.google.cloud google-cloud-storage-parent - 2.22.3 + 2.22.4 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 5af764aade..00d1991f86 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 @@ -57,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Bucket(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto.internal_static_google_storage_v2_Bucket_descriptor; } @@ -131,11 +126,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Billing(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Billing_descriptor; @@ -848,9 +838,9 @@ private Cors(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private Cors() { - origin_ = com.google.protobuf.LazyStringArrayList.EMPTY; - method_ = com.google.protobuf.LazyStringArrayList.EMPTY; - responseHeader_ = com.google.protobuf.LazyStringArrayList.EMPTY; + origin_ = com.google.protobuf.LazyStringArrayList.emptyList(); + method_ = com.google.protobuf.LazyStringArrayList.emptyList(); + responseHeader_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -859,11 +849,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Cors(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Cors_descriptor; @@ -882,7 +867,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int ORIGIN_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList origin_; + private com.google.protobuf.LazyStringArrayList origin_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -953,7 +939,8 @@ public com.google.protobuf.ByteString getOriginBytes(int index) { public static final int METHOD_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList method_; + private com.google.protobuf.LazyStringArrayList method_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -1024,7 +1011,8 @@ public com.google.protobuf.ByteString getMethodBytes(int index) { public static final int RESPONSE_HEADER_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList responseHeader_; + private com.google.protobuf.LazyStringArrayList responseHeader_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -1361,12 +1349,9 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - origin_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); - method_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); - responseHeader_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000004); + origin_ = com.google.protobuf.LazyStringArrayList.emptyList(); + method_ = com.google.protobuf.LazyStringArrayList.emptyList(); + responseHeader_ = com.google.protobuf.LazyStringArrayList.emptyList(); maxAgeSeconds_ = 0; return this; } @@ -1394,7 +1379,6 @@ public com.google.storage.v2.Bucket.Cors build() { @java.lang.Override public com.google.storage.v2.Bucket.Cors buildPartial() { com.google.storage.v2.Bucket.Cors result = new com.google.storage.v2.Bucket.Cors(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -1402,26 +1386,20 @@ public com.google.storage.v2.Bucket.Cors buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.storage.v2.Bucket.Cors result) { - if (((bitField0_ & 0x00000001) != 0)) { - origin_ = origin_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); + private void buildPartial0(com.google.storage.v2.Bucket.Cors result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + origin_.makeImmutable(); + result.origin_ = origin_; } - result.origin_ = origin_; - if (((bitField0_ & 0x00000002) != 0)) { - method_ = method_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); + if (((from_bitField0_ & 0x00000002) != 0)) { + method_.makeImmutable(); + result.method_ = method_; } - result.method_ = method_; - if (((bitField0_ & 0x00000004) != 0)) { - responseHeader_ = responseHeader_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000004); + if (((from_bitField0_ & 0x00000004) != 0)) { + responseHeader_.makeImmutable(); + result.responseHeader_ = responseHeader_; } - result.responseHeader_ = responseHeader_; - } - - private void buildPartial0(com.google.storage.v2.Bucket.Cors result) { - int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000008) != 0)) { result.maxAgeSeconds_ = maxAgeSeconds_; } @@ -1477,7 +1455,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Cors other) { if (!other.origin_.isEmpty()) { if (origin_.isEmpty()) { origin_ = other.origin_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureOriginIsMutable(); origin_.addAll(other.origin_); @@ -1487,7 +1465,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Cors other) { if (!other.method_.isEmpty()) { if (method_.isEmpty()) { method_ = other.method_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensureMethodIsMutable(); method_.addAll(other.method_); @@ -1497,7 +1475,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Cors other) { if (!other.responseHeader_.isEmpty()) { if (responseHeader_.isEmpty()) { responseHeader_ = other.responseHeader_; - bitField0_ = (bitField0_ & ~0x00000004); + bitField0_ |= 0x00000004; } else { ensureResponseHeaderIsMutable(); responseHeader_.addAll(other.responseHeader_); @@ -1579,14 +1557,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList origin_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList origin_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureOriginIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!origin_.isModifiable()) { origin_ = new com.google.protobuf.LazyStringArrayList(origin_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -1602,7 +1580,8 @@ private void ensureOriginIsMutable() { * @return A list containing the origin. */ public com.google.protobuf.ProtocolStringList getOriginList() { - return origin_.getUnmodifiableView(); + origin_.makeImmutable(); + return origin_; } /** * @@ -1675,6 +1654,7 @@ public Builder setOrigin(int index, java.lang.String value) { } ensureOriginIsMutable(); origin_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1698,6 +1678,7 @@ public Builder addOrigin(java.lang.String value) { } ensureOriginIsMutable(); origin_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1718,6 +1699,7 @@ public Builder addOrigin(java.lang.String value) { public Builder addAllOrigin(java.lang.Iterable values) { ensureOriginIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, origin_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -1735,8 +1717,9 @@ public Builder addAllOrigin(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearOrigin() { - origin_ = com.google.protobuf.LazyStringArrayList.EMPTY; + origin_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -1761,18 +1744,19 @@ public Builder addOriginBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureOriginIsMutable(); origin_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } - private com.google.protobuf.LazyStringList method_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList method_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMethodIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!method_.isModifiable()) { method_ = new com.google.protobuf.LazyStringArrayList(method_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -1788,7 +1772,8 @@ private void ensureMethodIsMutable() { * @return A list containing the method. */ public com.google.protobuf.ProtocolStringList getMethodList() { - return method_.getUnmodifiableView(); + method_.makeImmutable(); + return method_; } /** * @@ -1861,6 +1846,7 @@ public Builder setMethod(int index, java.lang.String value) { } ensureMethodIsMutable(); method_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1884,6 +1870,7 @@ public Builder addMethod(java.lang.String value) { } ensureMethodIsMutable(); method_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1904,6 +1891,7 @@ public Builder addMethod(java.lang.String value) { public Builder addAllMethod(java.lang.Iterable values) { ensureMethodIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, method_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1921,8 +1909,9 @@ public Builder addAllMethod(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearMethod() { - method_ = com.google.protobuf.LazyStringArrayList.EMPTY; + method_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1947,18 +1936,19 @@ public Builder addMethodBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureMethodIsMutable(); method_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } - private com.google.protobuf.LazyStringList responseHeader_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList responseHeader_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureResponseHeaderIsMutable() { - if (!((bitField0_ & 0x00000004) != 0)) { + if (!responseHeader_.isModifiable()) { responseHeader_ = new com.google.protobuf.LazyStringArrayList(responseHeader_); - bitField0_ |= 0x00000004; } + bitField0_ |= 0x00000004; } /** * @@ -1974,7 +1964,8 @@ private void ensureResponseHeaderIsMutable() { * @return A list containing the responseHeader. */ public com.google.protobuf.ProtocolStringList getResponseHeaderList() { - return responseHeader_.getUnmodifiableView(); + responseHeader_.makeImmutable(); + return responseHeader_; } /** * @@ -2047,6 +2038,7 @@ public Builder setResponseHeader(int index, java.lang.String value) { } ensureResponseHeaderIsMutable(); responseHeader_.set(index, value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2070,6 +2062,7 @@ public Builder addResponseHeader(java.lang.String value) { } ensureResponseHeaderIsMutable(); responseHeader_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2090,6 +2083,7 @@ public Builder addResponseHeader(java.lang.String value) { public Builder addAllResponseHeader(java.lang.Iterable values) { ensureResponseHeaderIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, responseHeader_); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2107,8 +2101,9 @@ public Builder addAllResponseHeader(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearResponseHeader() { - responseHeader_ = com.google.protobuf.LazyStringArrayList.EMPTY; + responseHeader_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); + ; onChanged(); return this; } @@ -2133,6 +2128,7 @@ public Builder addResponseHeaderBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureResponseHeaderIsMutable(); responseHeader_.add(value); + bitField0_ |= 0x00000004; onChanged(); return this; } @@ -2321,11 +2317,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Encryption(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Encryption_descriptor; @@ -3016,11 +3007,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IamConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_IamConfig_descriptor; @@ -3127,11 +3113,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UniformBucketLevelAccess(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_IamConfig_UniformBucketLevelAccess_descriptor; @@ -4908,11 +4889,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Lifecycle(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Lifecycle_descriptor; @@ -5031,11 +5007,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Rule(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Lifecycle_Rule_descriptor; @@ -5140,11 +5111,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Action(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Lifecycle_Rule_Action_descriptor; @@ -6391,9 +6357,9 @@ private Condition(com.google.protobuf.GeneratedMessageV3.Builder builder) { } private Condition() { - matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.EMPTY; - matchesPrefix_ = com.google.protobuf.LazyStringArrayList.EMPTY; - matchesSuffix_ = com.google.protobuf.LazyStringArrayList.EMPTY; + matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.emptyList(); + matchesPrefix_ = com.google.protobuf.LazyStringArrayList.emptyList(); + matchesSuffix_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -6402,11 +6368,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Condition(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Lifecycle_Rule_Condition_descriptor; @@ -6592,7 +6553,8 @@ public int getNumNewerVersions() { public static final int MATCHES_STORAGE_CLASS_FIELD_NUMBER = 5; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList matchesStorageClass_; + private com.google.protobuf.LazyStringArrayList matchesStorageClass_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -6854,7 +6816,8 @@ public com.google.type.DateOrBuilder getNoncurrentTimeBeforeOrBuilder() { public static final int MATCHES_PREFIX_FIELD_NUMBER = 11; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList matchesPrefix_; + private com.google.protobuf.LazyStringArrayList matchesPrefix_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -6921,7 +6884,8 @@ public com.google.protobuf.ByteString getMatchesPrefixBytes(int index) { public static final int MATCHES_SUFFIX_FIELD_NUMBER = 12; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList matchesSuffix_; + private com.google.protobuf.LazyStringArrayList matchesSuffix_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -7355,8 +7319,7 @@ public Builder clear() { } isLive_ = false; numNewerVersions_ = 0; - matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000010); + matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.emptyList(); daysSinceCustomTime_ = 0; customTimeBefore_ = null; if (customTimeBeforeBuilder_ != null) { @@ -7369,10 +7332,8 @@ public Builder clear() { noncurrentTimeBeforeBuilder_.dispose(); noncurrentTimeBeforeBuilder_ = null; } - matchesPrefix_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000200); - matchesSuffix_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000400); + matchesPrefix_ = com.google.protobuf.LazyStringArrayList.emptyList(); + matchesSuffix_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -7400,7 +7361,6 @@ public com.google.storage.v2.Bucket.Lifecycle.Rule.Condition build() { public com.google.storage.v2.Bucket.Lifecycle.Rule.Condition buildPartial() { com.google.storage.v2.Bucket.Lifecycle.Rule.Condition result = new com.google.storage.v2.Bucket.Lifecycle.Rule.Condition(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -7408,25 +7368,6 @@ public com.google.storage.v2.Bucket.Lifecycle.Rule.Condition buildPartial() { return result; } - private void buildPartialRepeatedFields( - com.google.storage.v2.Bucket.Lifecycle.Rule.Condition result) { - if (((bitField0_ & 0x00000010) != 0)) { - matchesStorageClass_ = matchesStorageClass_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000010); - } - result.matchesStorageClass_ = matchesStorageClass_; - if (((bitField0_ & 0x00000200) != 0)) { - matchesPrefix_ = matchesPrefix_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000200); - } - result.matchesPrefix_ = matchesPrefix_; - if (((bitField0_ & 0x00000400) != 0)) { - matchesSuffix_ = matchesSuffix_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000400); - } - result.matchesSuffix_ = matchesSuffix_; - } - private void buildPartial0(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; @@ -7446,6 +7387,10 @@ private void buildPartial0(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition result.numNewerVersions_ = numNewerVersions_; to_bitField0_ |= 0x00000004; } + if (((from_bitField0_ & 0x00000010) != 0)) { + matchesStorageClass_.makeImmutable(); + result.matchesStorageClass_ = matchesStorageClass_; + } if (((from_bitField0_ & 0x00000020) != 0)) { result.daysSinceCustomTime_ = daysSinceCustomTime_; to_bitField0_ |= 0x00000008; @@ -7466,6 +7411,14 @@ private void buildPartial0(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition ? noncurrentTimeBefore_ : noncurrentTimeBeforeBuilder_.build(); } + if (((from_bitField0_ & 0x00000200) != 0)) { + matchesPrefix_.makeImmutable(); + result.matchesPrefix_ = matchesPrefix_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + matchesSuffix_.makeImmutable(); + result.matchesSuffix_ = matchesSuffix_; + } result.bitField0_ |= to_bitField0_; } @@ -7532,7 +7485,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition o if (!other.matchesStorageClass_.isEmpty()) { if (matchesStorageClass_.isEmpty()) { matchesStorageClass_ = other.matchesStorageClass_; - bitField0_ = (bitField0_ & ~0x00000010); + bitField0_ |= 0x00000010; } else { ensureMatchesStorageClassIsMutable(); matchesStorageClass_.addAll(other.matchesStorageClass_); @@ -7554,7 +7507,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition o if (!other.matchesPrefix_.isEmpty()) { if (matchesPrefix_.isEmpty()) { matchesPrefix_ = other.matchesPrefix_; - bitField0_ = (bitField0_ & ~0x00000200); + bitField0_ |= 0x00000200; } else { ensureMatchesPrefixIsMutable(); matchesPrefix_.addAll(other.matchesPrefix_); @@ -7564,7 +7517,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.Lifecycle.Rule.Condition o if (!other.matchesSuffix_.isEmpty()) { if (matchesSuffix_.isEmpty()) { matchesSuffix_ = other.matchesSuffix_; - bitField0_ = (bitField0_ & ~0x00000400); + bitField0_ |= 0x00000400; } else { ensureMatchesSuffixIsMutable(); matchesSuffix_.addAll(other.matchesSuffix_); @@ -8108,15 +8061,15 @@ public Builder clearNumNewerVersions() { return this; } - private com.google.protobuf.LazyStringList matchesStorageClass_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList matchesStorageClass_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMatchesStorageClassIsMutable() { - if (!((bitField0_ & 0x00000010) != 0)) { + if (!matchesStorageClass_.isModifiable()) { matchesStorageClass_ = new com.google.protobuf.LazyStringArrayList(matchesStorageClass_); - bitField0_ |= 0x00000010; } + bitField0_ |= 0x00000010; } /** * @@ -8133,7 +8086,8 @@ private void ensureMatchesStorageClassIsMutable() { * @return A list containing the matchesStorageClass. */ public com.google.protobuf.ProtocolStringList getMatchesStorageClassList() { - return matchesStorageClass_.getUnmodifiableView(); + matchesStorageClass_.makeImmutable(); + return matchesStorageClass_; } /** * @@ -8210,6 +8164,7 @@ public Builder setMatchesStorageClass(int index, java.lang.String value) { } ensureMatchesStorageClassIsMutable(); matchesStorageClass_.set(index, value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -8234,6 +8189,7 @@ public Builder addMatchesStorageClass(java.lang.String value) { } ensureMatchesStorageClassIsMutable(); matchesStorageClass_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -8255,6 +8211,7 @@ public Builder addMatchesStorageClass(java.lang.String value) { public Builder addAllMatchesStorageClass(java.lang.Iterable values) { ensureMatchesStorageClassIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchesStorageClass_); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -8273,8 +8230,9 @@ public Builder addAllMatchesStorageClass(java.lang.Iterable va * @return This builder for chaining. */ public Builder clearMatchesStorageClass() { - matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.EMPTY; + matchesStorageClass_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); + ; onChanged(); return this; } @@ -8300,6 +8258,7 @@ public Builder addMatchesStorageClassBytes(com.google.protobuf.ByteString value) checkByteStringIsUtf8(value); ensureMatchesStorageClassIsMutable(); matchesStorageClass_.add(value); + bitField0_ |= 0x00000010; onChanged(); return this; } @@ -8849,14 +8808,14 @@ public com.google.type.DateOrBuilder getNoncurrentTimeBeforeOrBuilder() { return noncurrentTimeBeforeBuilder_; } - private com.google.protobuf.LazyStringList matchesPrefix_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList matchesPrefix_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMatchesPrefixIsMutable() { - if (!((bitField0_ & 0x00000200) != 0)) { + if (!matchesPrefix_.isModifiable()) { matchesPrefix_ = new com.google.protobuf.LazyStringArrayList(matchesPrefix_); - bitField0_ |= 0x00000200; } + bitField0_ |= 0x00000200; } /** * @@ -8871,7 +8830,8 @@ private void ensureMatchesPrefixIsMutable() { * @return A list containing the matchesPrefix. */ public com.google.protobuf.ProtocolStringList getMatchesPrefixList() { - return matchesPrefix_.getUnmodifiableView(); + matchesPrefix_.makeImmutable(); + return matchesPrefix_; } /** * @@ -8940,6 +8900,7 @@ public Builder setMatchesPrefix(int index, java.lang.String value) { } ensureMatchesPrefixIsMutable(); matchesPrefix_.set(index, value); + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -8962,6 +8923,7 @@ public Builder addMatchesPrefix(java.lang.String value) { } ensureMatchesPrefixIsMutable(); matchesPrefix_.add(value); + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -8981,6 +8943,7 @@ public Builder addMatchesPrefix(java.lang.String value) { public Builder addAllMatchesPrefix(java.lang.Iterable values) { ensureMatchesPrefixIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchesPrefix_); + bitField0_ |= 0x00000200; onChanged(); return this; } @@ -8997,8 +8960,9 @@ public Builder addAllMatchesPrefix(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearMatchesPrefix() { - matchesPrefix_ = com.google.protobuf.LazyStringArrayList.EMPTY; + matchesPrefix_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); + ; onChanged(); return this; } @@ -9022,18 +8986,19 @@ public Builder addMatchesPrefixBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureMatchesPrefixIsMutable(); matchesPrefix_.add(value); + bitField0_ |= 0x00000200; onChanged(); return this; } - private com.google.protobuf.LazyStringList matchesSuffix_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList matchesSuffix_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureMatchesSuffixIsMutable() { - if (!((bitField0_ & 0x00000400) != 0)) { + if (!matchesSuffix_.isModifiable()) { matchesSuffix_ = new com.google.protobuf.LazyStringArrayList(matchesSuffix_); - bitField0_ |= 0x00000400; } + bitField0_ |= 0x00000400; } /** * @@ -9048,7 +9013,8 @@ private void ensureMatchesSuffixIsMutable() { * @return A list containing the matchesSuffix. */ public com.google.protobuf.ProtocolStringList getMatchesSuffixList() { - return matchesSuffix_.getUnmodifiableView(); + matchesSuffix_.makeImmutable(); + return matchesSuffix_; } /** * @@ -9117,6 +9083,7 @@ public Builder setMatchesSuffix(int index, java.lang.String value) { } ensureMatchesSuffixIsMutable(); matchesSuffix_.set(index, value); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -9139,6 +9106,7 @@ public Builder addMatchesSuffix(java.lang.String value) { } ensureMatchesSuffixIsMutable(); matchesSuffix_.add(value); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -9158,6 +9126,7 @@ public Builder addMatchesSuffix(java.lang.String value) { public Builder addAllMatchesSuffix(java.lang.Iterable values) { ensureMatchesSuffixIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, matchesSuffix_); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -9174,8 +9143,9 @@ public Builder addAllMatchesSuffix(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearMatchesSuffix() { - matchesSuffix_ = com.google.protobuf.LazyStringArrayList.EMPTY; + matchesSuffix_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000400); + ; onChanged(); return this; } @@ -9199,6 +9169,7 @@ public Builder addMatchesSuffixBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureMatchesSuffixIsMutable(); matchesSuffix_.add(value); + bitField0_ |= 0x00000400; onChanged(); return this; } @@ -11174,11 +11145,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Logging(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Logging_descriptor; @@ -12077,11 +12043,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RetentionPolicy(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_RetentionPolicy_descriptor; @@ -13215,11 +13176,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Versioning(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Versioning_descriptor; @@ -13815,11 +13771,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Website(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Website_descriptor; @@ -14710,7 +14661,7 @@ private CustomPlacementConfig(com.google.protobuf.GeneratedMessageV3.Builder } private CustomPlacementConfig() { - dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); } @java.lang.Override @@ -14719,11 +14670,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CustomPlacementConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_CustomPlacementConfig_descriptor; @@ -14742,7 +14688,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { public static final int DATA_LOCATIONS_FIELD_NUMBER = 1; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList dataLocations_; + private com.google.protobuf.LazyStringArrayList dataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -15011,8 +14958,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { public Builder clear() { super.clear(); bitField0_ = 0; - dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000001); + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); return this; } @@ -15040,7 +14986,6 @@ public com.google.storage.v2.Bucket.CustomPlacementConfig build() { public com.google.storage.v2.Bucket.CustomPlacementConfig buildPartial() { com.google.storage.v2.Bucket.CustomPlacementConfig result = new com.google.storage.v2.Bucket.CustomPlacementConfig(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -15048,17 +14993,12 @@ public com.google.storage.v2.Bucket.CustomPlacementConfig buildPartial() { return result; } - private void buildPartialRepeatedFields( - com.google.storage.v2.Bucket.CustomPlacementConfig result) { - if (((bitField0_ & 0x00000001) != 0)) { - dataLocations_ = dataLocations_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.dataLocations_ = dataLocations_; - } - private void buildPartial0(com.google.storage.v2.Bucket.CustomPlacementConfig result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + dataLocations_.makeImmutable(); + result.dataLocations_ = dataLocations_; + } } @java.lang.Override @@ -15112,7 +15052,7 @@ public Builder mergeFrom(com.google.storage.v2.Bucket.CustomPlacementConfig othe if (!other.dataLocations_.isEmpty()) { if (dataLocations_.isEmpty()) { dataLocations_ = other.dataLocations_; - bitField0_ = (bitField0_ & ~0x00000001); + bitField0_ |= 0x00000001; } else { ensureDataLocationsIsMutable(); dataLocations_.addAll(other.dataLocations_); @@ -15171,14 +15111,14 @@ public Builder mergeFrom( private int bitField0_; - private com.google.protobuf.LazyStringList dataLocations_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList dataLocations_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureDataLocationsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { + if (!dataLocations_.isModifiable()) { dataLocations_ = new com.google.protobuf.LazyStringArrayList(dataLocations_); - bitField0_ |= 0x00000001; } + bitField0_ |= 0x00000001; } /** * @@ -15192,7 +15132,8 @@ private void ensureDataLocationsIsMutable() { * @return A list containing the dataLocations. */ public com.google.protobuf.ProtocolStringList getDataLocationsList() { - return dataLocations_.getUnmodifiableView(); + dataLocations_.makeImmutable(); + return dataLocations_; } /** * @@ -15257,6 +15198,7 @@ public Builder setDataLocations(int index, java.lang.String value) { } ensureDataLocationsIsMutable(); dataLocations_.set(index, value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -15278,6 +15220,7 @@ public Builder addDataLocations(java.lang.String value) { } ensureDataLocationsIsMutable(); dataLocations_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -15296,6 +15239,7 @@ public Builder addDataLocations(java.lang.String value) { public Builder addAllDataLocations(java.lang.Iterable values) { ensureDataLocationsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dataLocations_); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -15311,8 +15255,9 @@ public Builder addAllDataLocations(java.lang.Iterable values) * @return This builder for chaining. */ public Builder clearDataLocations() { - dataLocations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + dataLocations_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } @@ -15335,6 +15280,7 @@ public Builder addDataLocationsBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureDataLocationsIsMutable(); dataLocations_.add(value); + bitField0_ |= 0x00000001; onChanged(); return this; } @@ -15498,11 +15444,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Autoclass(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_Bucket_Autoclass_descriptor; @@ -16325,6 +16266,7 @@ public com.google.storage.v2.Bucket.Autoclass getDefaultInstanceForType() { * *

    * Immutable. The name of the bucket.
+   * Format: `projects/{project}/buckets/{bucket}`
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -16348,6 +16290,7 @@ public java.lang.String getName() { * *
    * Immutable. The name of the bucket.
+   * Format: `projects/{project}/buckets/{bucket}`
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -19122,6 +19065,7 @@ public Builder mergeFrom( * *
      * Immutable. The name of the bucket.
+     * Format: `projects/{project}/buckets/{bucket}`
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -19144,6 +19088,7 @@ public java.lang.String getName() { * *
      * Immutable. The name of the bucket.
+     * Format: `projects/{project}/buckets/{bucket}`
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -19166,6 +19111,7 @@ public com.google.protobuf.ByteString getNameBytes() { * *
      * Immutable. The name of the bucket.
+     * Format: `projects/{project}/buckets/{bucket}`
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -19187,6 +19133,7 @@ public Builder setName(java.lang.String value) { * *
      * Immutable. The name of the bucket.
+     * Format: `projects/{project}/buckets/{bucket}`
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -19204,6 +19151,7 @@ public Builder clearName() { * *
      * Immutable. The name of the bucket.
+     * Format: `projects/{project}/buckets/{bucket}`
      * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; 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 0a092cd308..7c7d29c46b 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 @@ -54,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BucketAccessControl(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_BucketAccessControl_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketName.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketName.java index f53865e272..078819ae86 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketName.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/BucketName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 ccb52fc319..f5f20e13d2 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 @@ -28,6 +28,7 @@ public interface BucketOrBuilder * *
    * Immutable. The name of the bucket.
+   * Format: `projects/{project}/buckets/{bucket}`
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; @@ -40,6 +41,7 @@ public interface BucketOrBuilder * *
    * Immutable. The name of the bucket.
+   * Format: `projects/{project}/buckets/{bucket}`
    * 
* * string name = 1 [(.google.api.field_behavior) = IMMUTABLE]; 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 c49b1cce31..dc7c0173dc 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelResumableWriteRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_CancelResumableWriteRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteResponse.java index c0067a3865..4d7301e19a 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CancelResumableWriteResponse.java @@ -46,11 +46,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CancelResumableWriteResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_CancelResumableWriteResponse_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedData.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedData.java index 3187e0b80e..8c85c618b4 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedData.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedData.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ChecksummedData(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ChecksummedData_descriptor; @@ -78,7 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The data. * * - * bytes content = 1; + * bytes content = 1 [ctype = CORD]; * * @return The content. */ @@ -496,7 +491,7 @@ public Builder mergeFrom( * The data. * * - * bytes content = 1; + * bytes content = 1 [ctype = CORD]; * * @return The content. */ @@ -511,7 +506,7 @@ public com.google.protobuf.ByteString getContent() { * The data. * * - * bytes content = 1; + * bytes content = 1 [ctype = CORD]; * * @param value The content to set. * @return This builder for chaining. @@ -532,7 +527,7 @@ public Builder setContent(com.google.protobuf.ByteString value) { * The data. * * - * bytes content = 1; + * bytes content = 1 [ctype = CORD]; * * @return This builder for chaining. */ diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedDataOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedDataOrBuilder.java index 9fe732c82c..9b8aa6001b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedDataOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ChecksummedDataOrBuilder.java @@ -30,7 +30,7 @@ public interface ChecksummedDataOrBuilder * The data. * * - * bytes content = 1; + * bytes content = 1 [ctype = CORD]; * * @return The content. */ diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonObjectRequestParams.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonObjectRequestParams.java index f307fee8c0..54a47e276b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonObjectRequestParams.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CommonObjectRequestParams.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommonObjectRequestParams(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_CommonObjectRequestParams_descriptor; 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 ec952228f6..6aede839b8 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 @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ComposeObjectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ComposeObjectRequest_descriptor; @@ -186,11 +181,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new SourceObject(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ComposeObjectRequest_SourceObject_descriptor; @@ -267,11 +257,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectPreconditions(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ComposeObjectRequest_SourceObject_ObjectPreconditions_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ContentRange.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ContentRange.java index a60d9bae61..1560e20aab 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ContentRange.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ContentRange.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ContentRange(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ContentRange_descriptor; 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 0c1067d945..82c72702bd 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 @@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_CreateBucketRequest_descriptor; @@ -133,7 +128,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -154,7 +149,7 @@ public boolean hasBucket() {
    * 
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -175,7 +170,7 @@ public com.google.storage.v2.Bucket getBucket() {
    * 
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -928,7 +923,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -948,7 +943,7 @@ public boolean hasBucket() {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -972,7 +967,7 @@ public com.google.storage.v2.Bucket getBucket() {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1000,7 +995,7 @@ public Builder setBucket(com.google.storage.v2.Bucket value) {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1025,7 +1020,7 @@ public Builder setBucket(com.google.storage.v2.Bucket.Builder builderForValue) {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1056,7 +1051,7 @@ public Builder mergeBucket(com.google.storage.v2.Bucket value) {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1081,7 +1076,7 @@ public Builder clearBucket() {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1101,7 +1096,7 @@ public com.google.storage.v2.Bucket.Builder getBucketBuilder() {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -1123,7 +1118,7 @@ public com.google.storage.v2.BucketOrBuilder getBucketOrBuilder() {
      * 
      * Properties of the new bucket being inserted.
      * The name of the bucket is specified in the `bucket_id` field. Populating
-     * `bucket.name` field will result in an error.
+     * `bucket.name` field will be ignored.
      * The project of the bucket must be specified in the `bucket.project` field.
      * This field must be in `projects/{projectIdentifier}` format,
      * {projectIdentifier} can be the project ID or project number. The `parent`
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 7ef32cd3f7..aafdbc708a 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
@@ -58,7 +58,7 @@ public interface CreateBucketRequestOrBuilder
    * 
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -76,7 +76,7 @@ public interface CreateBucketRequestOrBuilder
    * 
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
@@ -94,7 +94,7 @@ public interface CreateBucketRequestOrBuilder
    * 
    * Properties of the new bucket being inserted.
    * The name of the bucket is specified in the `bucket_id` field. Populating
-   * `bucket.name` field will result in an error.
+   * `bucket.name` field will be ignored.
    * The project of the bucket must be specified in the `bucket.project` field.
    * This field must be in `projects/{projectIdentifier}` format,
    * {projectIdentifier} can be the project ID or project number. The `parent`
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 65e3c8277c..24e0a7b9e1 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
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateHmacKeyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_CreateHmacKeyRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyResponse.java
index 78bd22f8de..c1fcf5088f 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyResponse.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateHmacKeyResponse.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateHmacKeyResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_CreateHmacKeyResponse_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateNotificationConfigRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateNotificationConfigRequest.java
index 27c92fdb30..1a3f99cec7 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateNotificationConfigRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CreateNotificationConfigRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateNotificationConfigRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_CreateNotificationConfigRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CryptoKeyName.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CryptoKeyName.java
index 99a5046120..f80912dc89 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CryptoKeyName.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CryptoKeyName.java
@@ -1,5 +1,5 @@
 /*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CustomerEncryption.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CustomerEncryption.java
index 675110b2da..27f9c05f5b 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CustomerEncryption.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/CustomerEncryption.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CustomerEncryption();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_CustomerEncryption_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequest.java
index dcf1a44f80..3287d8c3df 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteBucketRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteBucketRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_DeleteBucketRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequest.java
index 7d7e4d4c57..408e9ff934 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteHmacKeyRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteHmacKeyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_DeleteHmacKeyRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteNotificationConfigRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteNotificationConfigRequest.java
index 4b5245c86e..95989710d6 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteNotificationConfigRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/DeleteNotificationConfigRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteNotificationConfigRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_DeleteNotificationConfigRequest_descriptor;
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 9b34b0481e..b3a9c7ccbe 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
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteObjectRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_DeleteObjectRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequest.java
index 2c23307bf2..2238f8e0ae 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetBucketRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetBucketRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_GetBucketRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequest.java
index 86c2779249..c09b83335c 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetHmacKeyRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetHmacKeyRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_GetHmacKeyRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetNotificationConfigRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetNotificationConfigRequest.java
index 34b4b50272..4ad192896e 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetNotificationConfigRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetNotificationConfigRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetNotificationConfigRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_GetNotificationConfigRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequest.java
index fca2598d39..f89f58e8e8 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetObjectRequest.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetObjectRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_GetObjectRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequest.java
index d8627107b6..aeb0778c74 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/GetServiceAccountRequest.java
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetServiceAccountRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_GetServiceAccountRequest_descriptor;
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 44298f81a1..fa7d9d7cfa 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
@@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new HmacKeyMetadata();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_HmacKeyMetadata_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequest.java
index fda4a2709f..3cf97c6082 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsRequest.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListBucketsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ListBucketsRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsResponse.java
index c069c61703..bf6dc24f68 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsResponse.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListBucketsResponse.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListBucketsResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ListBucketsResponse_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequest.java
index 3acdb3d866..e7815eefba 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysRequest.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListHmacKeysRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ListHmacKeysRequest_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysResponse.java
index 11f9510a44..076cab3182 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysResponse.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListHmacKeysResponse.java
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListHmacKeysResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ListHmacKeysResponse_descriptor;
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequest.java
index 1b0faf28de..eab8c7183a 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequest.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequest.java
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListNotificationConfigsRequest();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ListNotificationConfigsRequest_descriptor;
@@ -154,6 +149,7 @@ public int getPageSize() {
    * 
    * A page token, received from a previous `ListNotificationConfigs` call.
    * Provide this to retrieve the subsequent page.
+   *
    * When paginating, all other parameters provided to `ListNotificationConfigs`
    * must match the call that provided the page token.
    * 
@@ -180,6 +176,7 @@ public java.lang.String getPageToken() { *
    * A page token, received from a previous `ListNotificationConfigs` call.
    * Provide this to retrieve the subsequent page.
+   *
    * When paginating, all other parameters provided to `ListNotificationConfigs`
    * must match the call that provided the page token.
    * 
@@ -771,6 +768,7 @@ public Builder clearPageSize() { *
      * A page token, received from a previous `ListNotificationConfigs` call.
      * Provide this to retrieve the subsequent page.
+     *
      * When paginating, all other parameters provided to `ListNotificationConfigs`
      * must match the call that provided the page token.
      * 
@@ -796,6 +794,7 @@ public java.lang.String getPageToken() { *
      * A page token, received from a previous `ListNotificationConfigs` call.
      * Provide this to retrieve the subsequent page.
+     *
      * When paginating, all other parameters provided to `ListNotificationConfigs`
      * must match the call that provided the page token.
      * 
@@ -821,6 +820,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() { *
      * A page token, received from a previous `ListNotificationConfigs` call.
      * Provide this to retrieve the subsequent page.
+     *
      * When paginating, all other parameters provided to `ListNotificationConfigs`
      * must match the call that provided the page token.
      * 
@@ -845,6 +845,7 @@ public Builder setPageToken(java.lang.String value) { *
      * A page token, received from a previous `ListNotificationConfigs` call.
      * Provide this to retrieve the subsequent page.
+     *
      * When paginating, all other parameters provided to `ListNotificationConfigs`
      * must match the call that provided the page token.
      * 
@@ -865,6 +866,7 @@ public Builder clearPageToken() { *
      * A page token, received from a previous `ListNotificationConfigs` call.
      * Provide this to retrieve the subsequent page.
+     *
      * When paginating, all other parameters provided to `ListNotificationConfigs`
      * must match the call that provided the page token.
      * 
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequestOrBuilder.java index dff69f1092..f654e44dc8 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsRequestOrBuilder.java @@ -73,6 +73,7 @@ public interface ListNotificationConfigsRequestOrBuilder *
    * A page token, received from a previous `ListNotificationConfigs` call.
    * Provide this to retrieve the subsequent page.
+   *
    * When paginating, all other parameters provided to `ListNotificationConfigs`
    * must match the call that provided the page token.
    * 
@@ -88,6 +89,7 @@ public interface ListNotificationConfigsRequestOrBuilder *
    * A page token, received from a previous `ListNotificationConfigs` call.
    * Provide this to retrieve the subsequent page.
+   *
    * When paginating, all other parameters provided to `ListNotificationConfigs`
    * must match the call that provided the page token.
    * 
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsResponse.java index eeedd2a45f..9ccb82351b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListNotificationConfigsResponse.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListNotificationConfigsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ListNotificationConfigsResponse_descriptor; 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 e90facb948..0096b212a3 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 @@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListObjectsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ListObjectsRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsResponse.java index a4b3acd2e9..16c00c8954 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ListObjectsResponse.java @@ -39,7 +39,7 @@ private ListObjectsResponse(com.google.protobuf.GeneratedMessageV3.Builder bu private ListObjectsResponse() { objects_ = java.util.Collections.emptyList(); - prefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + prefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; } @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListObjectsResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ListObjectsResponse_descriptor; @@ -142,7 +137,8 @@ public com.google.storage.v2.ObjectOrBuilder getObjectsOrBuilder(int index) { public static final int PREFIXES_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList prefixes_; + private com.google.protobuf.LazyStringArrayList prefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -491,8 +487,7 @@ public Builder clear() { objectsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); - prefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000002); + prefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); nextPageToken_ = ""; return this; } @@ -539,15 +534,14 @@ private void buildPartialRepeatedFields(com.google.storage.v2.ListObjectsRespons } else { result.objects_ = objectsBuilder_.build(); } - if (((bitField0_ & 0x00000002) != 0)) { - prefixes_ = prefixes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000002); - } - result.prefixes_ = prefixes_; } private void buildPartial0(com.google.storage.v2.ListObjectsResponse result) { int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000002) != 0)) { + prefixes_.makeImmutable(); + result.prefixes_ = prefixes_; + } if (((from_bitField0_ & 0x00000004) != 0)) { result.nextPageToken_ = nextPageToken_; } @@ -628,7 +622,7 @@ public Builder mergeFrom(com.google.storage.v2.ListObjectsResponse other) { if (!other.prefixes_.isEmpty()) { if (prefixes_.isEmpty()) { prefixes_ = other.prefixes_; - bitField0_ = (bitField0_ & ~0x00000002); + bitField0_ |= 0x00000002; } else { ensurePrefixesIsMutable(); prefixes_.addAll(other.prefixes_); @@ -1055,14 +1049,14 @@ public java.util.List getObjectsBuilderLis return objectsBuilder_; } - private com.google.protobuf.LazyStringList prefixes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList prefixes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensurePrefixesIsMutable() { - if (!((bitField0_ & 0x00000002) != 0)) { + if (!prefixes_.isModifiable()) { prefixes_ = new com.google.protobuf.LazyStringArrayList(prefixes_); - bitField0_ |= 0x00000002; } + bitField0_ |= 0x00000002; } /** * @@ -1077,7 +1071,8 @@ private void ensurePrefixesIsMutable() { * @return A list containing the prefixes. */ public com.google.protobuf.ProtocolStringList getPrefixesList() { - return prefixes_.getUnmodifiableView(); + prefixes_.makeImmutable(); + return prefixes_; } /** * @@ -1146,6 +1141,7 @@ public Builder setPrefixes(int index, java.lang.String value) { } ensurePrefixesIsMutable(); prefixes_.set(index, value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1168,6 +1164,7 @@ public Builder addPrefixes(java.lang.String value) { } ensurePrefixesIsMutable(); prefixes_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1187,6 +1184,7 @@ public Builder addPrefixes(java.lang.String value) { public Builder addAllPrefixes(java.lang.Iterable values) { ensurePrefixesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, prefixes_); + bitField0_ |= 0x00000002; onChanged(); return this; } @@ -1203,8 +1201,9 @@ public Builder addAllPrefixes(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearPrefixes() { - prefixes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + prefixes_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } @@ -1228,6 +1227,7 @@ public Builder addPrefixesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensurePrefixesIsMutable(); prefixes_.add(value); + bitField0_ |= 0x00000002; onChanged(); return this; } 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 87bc600d93..3b6d80020c 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 @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LockBucketRetentionPolicyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_LockBucketRetentionPolicyRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfig.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfig.java index 5ca707b839..e94f8e124a 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfig.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfig.java @@ -41,7 +41,7 @@ private NotificationConfig() { name_ = ""; topic_ = ""; etag_ = ""; - eventTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); objectNamePrefix_ = ""; payloadFormat_ = ""; } @@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NotificationConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_NotificationConfig_descriptor; @@ -253,7 +248,8 @@ public com.google.protobuf.ByteString getEtagBytes() { public static final int EVENT_TYPES_FIELD_NUMBER = 3; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList eventTypes_; + private com.google.protobuf.LazyStringArrayList eventTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -818,8 +814,7 @@ public Builder clear() { name_ = ""; topic_ = ""; etag_ = ""; - eventTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; - bitField0_ = (bitField0_ & ~0x00000008); + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); internalGetMutableCustomAttributes().clear(); objectNamePrefix_ = ""; payloadFormat_ = ""; @@ -850,7 +845,6 @@ public com.google.storage.v2.NotificationConfig build() { public com.google.storage.v2.NotificationConfig buildPartial() { com.google.storage.v2.NotificationConfig result = new com.google.storage.v2.NotificationConfig(this); - buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } @@ -858,14 +852,6 @@ public com.google.storage.v2.NotificationConfig buildPartial() { return result; } - private void buildPartialRepeatedFields(com.google.storage.v2.NotificationConfig result) { - if (((bitField0_ & 0x00000008) != 0)) { - eventTypes_ = eventTypes_.getUnmodifiableView(); - bitField0_ = (bitField0_ & ~0x00000008); - } - result.eventTypes_ = eventTypes_; - } - private void buildPartial0(com.google.storage.v2.NotificationConfig result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -877,6 +863,10 @@ private void buildPartial0(com.google.storage.v2.NotificationConfig result) { if (((from_bitField0_ & 0x00000004) != 0)) { result.etag_ = etag_; } + if (((from_bitField0_ & 0x00000008) != 0)) { + eventTypes_.makeImmutable(); + result.eventTypes_ = eventTypes_; + } if (((from_bitField0_ & 0x00000010) != 0)) { result.customAttributes_ = internalGetCustomAttributes(); result.customAttributes_.makeImmutable(); @@ -952,7 +942,7 @@ public Builder mergeFrom(com.google.storage.v2.NotificationConfig other) { if (!other.eventTypes_.isEmpty()) { if (eventTypes_.isEmpty()) { eventTypes_ = other.eventTypes_; - bitField0_ = (bitField0_ & ~0x00000008); + bitField0_ |= 0x00000008; } else { ensureEventTypesIsMutable(); eventTypes_.addAll(other.eventTypes_); @@ -1419,14 +1409,14 @@ public Builder setEtagBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.LazyStringList eventTypes_ = - com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringArrayList eventTypes_ = + com.google.protobuf.LazyStringArrayList.emptyList(); private void ensureEventTypesIsMutable() { - if (!((bitField0_ & 0x00000008) != 0)) { + if (!eventTypes_.isModifiable()) { eventTypes_ = new com.google.protobuf.LazyStringArrayList(eventTypes_); - bitField0_ |= 0x00000008; } + bitField0_ |= 0x00000008; } /** * @@ -1441,7 +1431,8 @@ private void ensureEventTypesIsMutable() { * @return A list containing the eventTypes. */ public com.google.protobuf.ProtocolStringList getEventTypesList() { - return eventTypes_.getUnmodifiableView(); + eventTypes_.makeImmutable(); + return eventTypes_; } /** * @@ -1510,6 +1501,7 @@ public Builder setEventTypes(int index, java.lang.String value) { } ensureEventTypesIsMutable(); eventTypes_.set(index, value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1532,6 +1524,7 @@ public Builder addEventTypes(java.lang.String value) { } ensureEventTypesIsMutable(); eventTypes_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1551,6 +1544,7 @@ public Builder addEventTypes(java.lang.String value) { public Builder addAllEventTypes(java.lang.Iterable values) { ensureEventTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll(values, eventTypes_); + bitField0_ |= 0x00000008; onChanged(); return this; } @@ -1567,8 +1561,9 @@ public Builder addAllEventTypes(java.lang.Iterable values) { * @return This builder for chaining. */ public Builder clearEventTypes() { - eventTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; + eventTypes_ = com.google.protobuf.LazyStringArrayList.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); + ; onChanged(); return this; } @@ -1592,6 +1587,7 @@ public Builder addEventTypesBytes(com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); ensureEventTypesIsMutable(); eventTypes_.add(value); + bitField0_ |= 0x00000008; onChanged(); return this; } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfigName.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfigName.java index c0f775b0df..ecb00bec3c 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfigName.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/NotificationConfigName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. 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 4021fdef46..336e85ad65 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 @@ -57,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Object(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto.internal_static_google_storage_v2_Object_descriptor; } @@ -679,9 +674,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -698,9 +692,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -717,9 +710,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -1316,6 +1308,7 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -1340,6 +1333,7 @@ public boolean hasEventBasedHold() { * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -4129,9 +4123,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4148,9 +4141,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4173,9 +4165,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4200,9 +4191,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4224,9 +4214,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4254,9 +4243,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4278,9 +4266,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4297,9 +4284,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -4320,9 +4306,8 @@ 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. If this object is noncurrent, this is the time when the object
+     * became noncurrent. Attempting to set or update this field will result in a
      * [FieldViolation][google.rpc.BadRequest.FieldViolation].
      * 
* @@ -6041,6 +6026,7 @@ public Builder putAllMetadata(java.util.Map * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -6065,6 +6051,7 @@ public boolean hasEventBasedHold() { * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -6089,6 +6076,7 @@ public boolean getEventBasedHold() { * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -6117,6 +6105,7 @@ public Builder setEventBasedHold(boolean value) { * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. 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 659e6cded4..cd90c6035b 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 @@ -54,11 +54,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectAccessControl(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ObjectAccessControl_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectChecksums.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectChecksums.java index 5ad9fc37bf..0ed622e295 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectChecksums.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ObjectChecksums.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ObjectChecksums(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ObjectChecksums_descriptor; 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 b9d77b6967..852b2160bb 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 @@ -371,9 +371,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -387,9 +386,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -403,9 +401,8 @@ 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. If this object is noncurrent, this is the time when the object
+   * became noncurrent. Attempting to set or update this field will result in a
    * [FieldViolation][google.rpc.BadRequest.FieldViolation].
    * 
* @@ -824,6 +821,7 @@ java.lang.String getMetadataOrDefault( * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. @@ -845,6 +843,7 @@ java.lang.String getMetadataOrDefault( * retention policy, except that the retention duration will be calculated * from the time the event based hold was lifted, rather than the time the * object was created. + * * In a WriteObject request, not setting this field implies that the value * should be taken from the parent bucket's "default_event_based_hold" field. * In a response, this field will always be set to true or false. diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Owner.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Owner.java index 0d1ff3e141..f46be86bb0 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Owner.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/Owner.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Owner(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto.internal_static_google_storage_v2_Owner_descriptor; } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectName.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectName.java index 67568b522e..154bd94bf8 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectName.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectName.java @@ -1,5 +1,5 @@ /* - * Copyright 2022 Google LLC + * Copyright 2023 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectTeam.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectTeam.java index 981ebb3d38..5097014e8b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectTeam.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ProjectTeam.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProjectTeam(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ProjectTeam_descriptor; 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 12833ca516..db5525627d 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 @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWriteStatusRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_QueryWriteStatusRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponse.java index add6cb63a2..cc6b965655 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponse.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryWriteStatusResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_QueryWriteStatusResponse_descriptor; @@ -66,6 +61,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int writeStatusCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object writeStatus_; public enum WriteStatusCase diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponseOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponseOrBuilder.java index 27f5c79b52..d793262ac1 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponseOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/QueryWriteStatusResponseOrBuilder.java @@ -92,5 +92,5 @@ public interface QueryWriteStatusResponseOrBuilder */ com.google.storage.v2.ObjectOrBuilder getResourceOrBuilder(); - public com.google.storage.v2.QueryWriteStatusResponse.WriteStatusCase getWriteStatusCase(); + com.google.storage.v2.QueryWriteStatusResponse.WriteStatusCase getWriteStatusCase(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequest.java index 32cfe8db51..ea126599a9 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadObjectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ReadObjectRequest_descriptor; @@ -202,6 +197,7 @@ public long getGeneration() { *
    * The offset for the first byte to return in the read, relative to the start
    * of the object.
+   *
    * A negative `read_offset` value will be interpreted as the number of bytes
    * back from the end of the object to be returned. For example, if an object's
    * length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and
@@ -228,6 +224,7 @@ public long getReadOffset() {
    * The maximum number of `data` bytes the server is allowed to return in the
    * sum of all `Object` messages. A `read_limit` of zero indicates that there
    * is no limit, and a negative `read_limit` will cause an error.
+   *
    * If the stream returns fewer bytes than allowed by the `read_limit` and no
    * error occurred, the stream includes all data from the `read_offset` to the
    * end of the resource.
@@ -1406,6 +1403,7 @@ public Builder clearGeneration() {
      * 
      * The offset for the first byte to return in the read, relative to the start
      * of the object.
+     *
      * A negative `read_offset` value will be interpreted as the number of bytes
      * back from the end of the object to be returned. For example, if an object's
      * length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and
@@ -1428,6 +1426,7 @@ public long getReadOffset() {
      * 
      * The offset for the first byte to return in the read, relative to the start
      * of the object.
+     *
      * A negative `read_offset` value will be interpreted as the number of bytes
      * back from the end of the object to be returned. For example, if an object's
      * length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and
@@ -1454,6 +1453,7 @@ public Builder setReadOffset(long value) {
      * 
      * The offset for the first byte to return in the read, relative to the start
      * of the object.
+     *
      * A negative `read_offset` value will be interpreted as the number of bytes
      * back from the end of the object to be returned. For example, if an object's
      * length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and
@@ -1481,6 +1481,7 @@ public Builder clearReadOffset() {
      * The maximum number of `data` bytes the server is allowed to return in the
      * sum of all `Object` messages. A `read_limit` of zero indicates that there
      * is no limit, and a negative `read_limit` will cause an error.
+     *
      * If the stream returns fewer bytes than allowed by the `read_limit` and no
      * error occurred, the stream includes all data from the `read_offset` to the
      * end of the resource.
@@ -1501,6 +1502,7 @@ public long getReadLimit() {
      * The maximum number of `data` bytes the server is allowed to return in the
      * sum of all `Object` messages. A `read_limit` of zero indicates that there
      * is no limit, and a negative `read_limit` will cause an error.
+     *
      * If the stream returns fewer bytes than allowed by the `read_limit` and no
      * error occurred, the stream includes all data from the `read_offset` to the
      * end of the resource.
@@ -1525,6 +1527,7 @@ public Builder setReadLimit(long value) {
      * The maximum number of `data` bytes the server is allowed to return in the
      * sum of all `Object` messages. A `read_limit` of zero indicates that there
      * is no limit, and a negative `read_limit` will cause an error.
+     *
      * If the stream returns fewer bytes than allowed by the `read_limit` and no
      * error occurred, the stream includes all data from the `read_offset` to the
      * end of the resource.
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequestOrBuilder.java
index 1296982fd0..365dbdbce6 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequestOrBuilder.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectRequestOrBuilder.java
@@ -97,6 +97,7 @@ public interface ReadObjectRequestOrBuilder
    * 
    * The offset for the first byte to return in the read, relative to the start
    * of the object.
+   *
    * A negative `read_offset` value will be interpreted as the number of bytes
    * back from the end of the object to be returned. For example, if an object's
    * length is 15 bytes, a ReadObjectRequest with `read_offset` = -5 and
@@ -118,6 +119,7 @@ public interface ReadObjectRequestOrBuilder
    * The maximum number of `data` bytes the server is allowed to return in the
    * sum of all `Object` messages. A `read_limit` of zero indicates that there
    * is no limit, and a negative `read_limit` will cause an error.
+   *
    * If the stream returns fewer bytes than allowed by the `read_limit` and no
    * error occurred, the stream includes all data from the `read_offset` to the
    * end of the resource.
diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponse.java
index d567a99ae3..f360288f1a 100644
--- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponse.java
+++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponse.java
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReadObjectResponse();
   }
 
-  @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
-    return this.unknownFields;
-  }
-
   public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.storage.v2.StorageProto
         .internal_static_google_storage_v2_ReadObjectResponse_descriptor;
@@ -130,9 +125,9 @@ public com.google.storage.v2.ChecksummedDataOrBuilder getChecksummedDataOrBuilde
    *
    *
    * 
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -147,9 +142,9 @@ public boolean hasObjectChecksums() { * * *
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -166,9 +161,9 @@ public com.google.storage.v2.ObjectChecksums getObjectChecksums() { * * *
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -949,9 +944,9 @@ public com.google.storage.v2.ChecksummedDataOrBuilder getChecksummedDataOrBuilde * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -965,9 +960,9 @@ public boolean hasObjectChecksums() { * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -987,9 +982,9 @@ public com.google.storage.v2.ObjectChecksums getObjectChecksums() { * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1011,9 +1006,9 @@ public Builder setObjectChecksums(com.google.storage.v2.ObjectChecksums value) { * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1033,9 +1028,9 @@ public Builder setObjectChecksums( * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1060,9 +1055,9 @@ public Builder mergeObjectChecksums(com.google.storage.v2.ObjectChecksums value) * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1081,9 +1076,9 @@ public Builder clearObjectChecksums() { * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1097,9 +1092,9 @@ public com.google.storage.v2.ObjectChecksums.Builder getObjectChecksumsBuilder() * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -1117,9 +1112,9 @@ public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilde * * *
-     * The checksums of the complete object. The client should compute one of
-     * these checksums over the downloaded object and compare it against the value
-     * provided here.
+     * The checksums of the complete object. If the object is downloaded in full,
+     * the client should compute one of these checksums over the downloaded object
+     * and compare it against the value provided here.
      * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponseOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponseOrBuilder.java index 6fea82c9bf..f8c717e1d4 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponseOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ReadObjectResponseOrBuilder.java @@ -71,9 +71,9 @@ public interface ReadObjectResponseOrBuilder * * *
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -85,9 +85,9 @@ public interface ReadObjectResponseOrBuilder * * *
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; @@ -99,9 +99,9 @@ public interface ReadObjectResponseOrBuilder * * *
-   * The checksums of the complete object. The client should compute one of
-   * these checksums over the downloaded object and compare it against the value
-   * provided here.
+   * The checksums of the complete object. If the object is downloaded in full,
+   * the client should compute one of these checksums over the downloaded object
+   * and compare it against the value provided here.
    * 
* * .google.storage.v2.ObjectChecksums object_checksums = 2; 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 243137217a..d2127f0c50 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 @@ -63,11 +63,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RewriteObjectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_RewriteObjectRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteResponse.java index eadfc372f2..fe54b1b6f0 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/RewriteResponse.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RewriteResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_RewriteResponse_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceAccount.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceAccount.java index 46f5c03ffe..0632bcab4b 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceAccount.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceAccount.java @@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceAccount(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ServiceAccount_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceConstants.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceConstants.java index 94fe31fa2e..7b0cc49b69 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceConstants.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/ServiceConstants.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ServiceConstants(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_ServiceConstants_descriptor; 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 91fb45e200..37082d1535 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartResumableWriteRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_StartResumableWriteRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteResponse.java index 641eb718f6..ed5db155e2 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/StartResumableWriteResponse.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StartResumableWriteResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_StartResumableWriteResponse_descriptor; 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 a6a8af9891..26f3553645 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 @@ -341,541 +341,543 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "/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\"\316\001\n\023Cre" - + "ateBucketRequest\0225\n\006parent\030\001 \001(\tB%\340A\002\372A\037" - + "\022\035storage.googleapis.com/Bucket\022)\n\006bucke" - + "t\030\002 \001(\0132\031.google.storage.v2.Bucket\022\026\n\tbu" - + "cket_id\030\003 \001(\tB\003\340A\002\022\026\n\016predefined_acl\030\006 \001" - + "(\t\022%\n\035predefined_default_object_acl\030\007 \001(" - + "\t\"\304\001\n\022ListBucketsRequest\0225\n\006parent\030\001 \001(\t" - + "B%\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\022\016" - + "\n\006prefix\030\004 \001(\t\0222\n\tread_mask\030\005 \001(\0132\032.goog" - + "le.protobuf.FieldMaskH\000\210\001\001B\014\n\n_read_mask" - + "\"Z\n\023ListBucketsResponse\022*\n\007buckets\030\001 \003(\013" - + "2\031.google.storage.v2.Bucket\022\027\n\017next_page" - + "_token\030\002 \001(\t\"\177\n LockBucketRetentionPolic" - + "yRequest\0225\n\006bucket\030\001 \001(\tB%\340A\002\372A\037\n\035storag" - + "e.googleapis.com/Bucket\022$\n\027if_metagenera" - + "tion_match\030\002 \001(\003B\003\340A\002\"\306\002\n\023UpdateBucketRe" - + "quest\022.\n\006bucket\030\001 \001(\0132\031.google.storage.v" - + "2.BucketB\003\340A\002\022$\n\027if_metageneration_match" + + "type/date.proto\"\327\001\n\023DeleteBucketRequest\022" + + "4\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035storage.googleap" + + "is.com/Bucket\022$\n\027if_metageneration_match" + "\030\002 \001(\003H\000\210\001\001\022(\n\033if_metageneration_not_mat" - + "ch\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\013" - + "update_mask\030\006 \001(\0132\032.google.protobuf.Fiel" - + "dMaskB\003\340A\002B\032\n\030_if_metageneration_matchB\036" - + "\n\034_if_metageneration_not_match\"b\n\037Delete" - + "NotificationConfigRequest\022?\n\004name\030\001 \001(\tB" - + "1\340A\002\372A+\n)storage.googleapis.com/Notifica" - + "tionConfig\"_\n\034GetNotificationConfigReque" - + "st\022?\n\004name\030\001 \001(\tB1\340A\002\372A+\n)storage.google" - + "apis.com/NotificationConfig\"\255\001\n\037CreateNo" - + "tificationConfigRequest\022A\n\006parent\030\001 \001(\tB" - + "1\340A\002\372A+\022)storage.googleapis.com/Notifica" - + "tionConfig\022G\n\023notification_config\030\002 \001(\0132" - + "%.google.storage.v2.NotificationConfigB\003" - + "\340A\002\"\212\001\n\036ListNotificationConfigsRequest\022A" - + "\n\006parent\030\001 \001(\tB1\340A\002\372A+\022)storage.googleap" - + "is.com/NotificationConfig\022\021\n\tpage_size\030\002" - + " \001(\005\022\022\n\npage_token\030\003 \001(\t\"\177\n\037ListNotifica" - + "tionConfigsResponse\022C\n\024notification_conf" - + "igs\030\001 \003(\0132%.google.storage.v2.Notificati" - + "onConfig\022\027\n\017next_page_token\030\002 \001(\t\"\365\005\n\024Co" - + "mposeObjectRequest\0223\n\013destination\030\001 \001(\0132" - + "\031.google.storage.v2.ObjectB\003\340A\002\022L\n\016sourc" - + "e_objects\030\002 \003(\01324.google.storage.v2.Comp" - + "oseObjectRequest.SourceObject\022\"\n\032destina" - + "tion_predefined_acl\030\t \001(\t\022 \n\023if_generati" - + "on_match\030\004 \001(\003H\000\210\001\001\022$\n\027if_metageneration" - + "_match\030\005 \001(\003H\001\210\001\001\0227\n\007kms_key\030\006 \001(\tB&\372A#\n" - + "!cloudkms.googleapis.com/CryptoKey\022R\n\034co" - + "mmon_object_request_params\030\007 \001(\0132,.googl" - + "e.storage.v2.CommonObjectRequestParams\022<" - + "\n\020object_checksums\030\n \001(\0132\".google.storag" - + "e.v2.ObjectChecksums\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\024" - + "object_preconditions\030\003 \001(\0132H.google.stor" - + "age.v2.ComposeObjectRequest.SourceObject" - + ".ObjectPreconditions\032O\n\023ObjectPreconditi" - + "ons\022 \n\023if_generation_match\030\001 \001(\003H\000\210\001\001B\026\n" - + "\024_if_generation_matchB\026\n\024_if_generation_" - + "matchB\032\n\030_if_metageneration_match\"\321\003\n\023De" - + "leteObjectRequest\0225\n\006bucket\030\001 \001(\tB%\340A\002\372A" - + "\037\n\035storage.googleapis.com/Bucket\022\023\n\006obje" - + "ct\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_genera" - + "tion_not_match\030\006 \001(\003H\001\210\001\001\022$\n\027if_metagene" - + "ration_match\030\007 \001(\003H\002\210\001\001\022(\n\033if_metagenera" - + "tion_not_match\030\010 \001(\003H\003\210\001\001\022R\n\034common_obje" - + "ct_request_params\030\n \001(\0132,.google.storage" - + ".v2.CommonObjectRequestParamsB\026\n\024_if_gen" - + "eration_matchB\032\n\030_if_generation_not_matc" - + "hB\032\n\030_if_metageneration_matchB\036\n\034_if_met" - + "ageneration_not_match\"5\n\033CancelResumable" - + "WriteRequest\022\026\n\tupload_id\030\001 \001(\tB\003\340A\002\"\036\n\034" - + "CancelResumableWriteResponse\"\272\004\n\021ReadObj" - + "ectRequest\0225\n\006bucket\030\001 \001(\tB%\340A\002\372A\037\n\035stor" - + "age.googleapis.com/Bucket\022\023\n\006object\030\002 \001(" - + "\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003\022\023\n\013read_offse" - + "t\030\004 \001(\003\022\022\n\nread_limit\030\005 \001(\003\022 \n\023if_genera" - + "tion_match\030\006 \001(\003H\000\210\001\001\022$\n\027if_generation_n" - + "ot_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_n" - + "ot_match\030\t \001(\003H\003\210\001\001\022R\n\034common_object_req" - + "uest_params\030\n \001(\0132,.google.storage.v2.Co" - + "mmonObjectRequestParams\0222\n\tread_mask\030\014 \001" - + "(\0132\032.google.protobuf.FieldMaskH\004\210\001\001B\026\n\024_" - + "if_generation_matchB\032\n\030_if_generation_no" - + "t_matchB\032\n\030_if_metageneration_matchB\036\n\034_" - + "if_metageneration_not_matchB\014\n\n_read_mas" - + "k\"\220\004\n\020GetObjectRequest\0225\n\006bucket\030\001 \001(\tB%" - + "\340A\002\372A\037\n\035storage.googleapis.com/Bucket\022\023\n" - + "\006object\030\002 \001(\tB\003\340A\002\022\022\n\ngeneration\030\003 \001(\003\022 " - + "\n\023if_generation_match\030\004 \001(\003H\000\210\001\001\022$\n\027if_g" - + "eneration_not_match\030\005 \001(\003H\001\210\001\001\022$\n\027if_met" - + "ageneration_match\030\006 \001(\003H\002\210\001\001\022(\n\033if_metag" - + "eneration_not_match\030\007 \001(\003H\003\210\001\001\022R\n\034common" - + "_object_request_params\030\010 \001(\0132,.google.st" - + "orage.v2.CommonObjectRequestParams\0222\n\tre" - + "ad_mask\030\n \001(\0132\032.google.protobuf.FieldMas" - + "kH\004\210\001\001B\026\n\024_if_generation_matchB\032\n\030_if_ge" - + "neration_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\020c" - + "hecksummed_data\030\001 \001(\0132\".google.storage.v" - + "2.ChecksummedData\022<\n\020object_checksums\030\002 " - + "\001(\0132\".google.storage.v2.ObjectChecksums\022" - + "6\n\rcontent_range\030\003 \001(\0132\037.google.storage." - + "v2.ContentRange\022+\n\010metadata\030\004 \001(\0132\031.goog" - + "le.storage.v2.Object\"\215\003\n\017WriteObjectSpec" - + "\0220\n\010resource\030\001 \001(\0132\031.google.storage.v2.O" - + "bjectB\003\340A\002\022\026\n\016predefined_acl\030\007 \001(\t\022 \n\023if" - + "_generation_match\030\003 \001(\003H\000\210\001\001\022$\n\027if_gener" - + "ation_not_match\030\004 \001(\003H\001\210\001\001\022$\n\027if_metagen" - + "eration_match\030\005 \001(\003H\002\210\001\001\022(\n\033if_metagener" - + "ation_not_match\030\006 \001(\003H\003\210\001\001\022\030\n\013object_siz" - + "e\030\010 \001(\003H\004\210\001\001B\026\n\024_if_generation_matchB\032\n\030" - + "_if_generation_not_matchB\032\n\030_if_metagene" - + "ration_matchB\036\n\034_if_metageneration_not_m" - + "atchB\016\n\014_object_size\"\206\003\n\022WriteObjectRequ" - + "est\022\023\n\tupload_id\030\001 \001(\tH\000\022?\n\021write_object" - + "_spec\030\002 \001(\0132\".google.storage.v2.WriteObj" - + "ectSpecH\000\022\031\n\014write_offset\030\003 \001(\003B\003\340A\002\022>\n\020" - + "checksummed_data\030\004 \001(\0132\".google.storage." - + "v2.ChecksummedDataH\001\022<\n\020object_checksums" - + "\030\006 \001(\0132\".google.storage.v2.ObjectChecksu" - + "ms\022\024\n\014finish_write\030\007 \001(\010\022R\n\034common_objec" - + "t_request_params\030\010 \001(\0132,.google.storage." - + "v2.CommonObjectRequestParamsB\017\n\rfirst_me" - + "ssageB\006\n\004data\"n\n\023WriteObjectResponse\022\030\n\016" - + "persisted_size\030\001 \001(\003H\000\022-\n\010resource\030\002 \001(\013" - + "2\031.google.storage.v2.ObjectH\000B\016\n\014write_s" - + "tatus\"\317\002\n\022ListObjectsRequest\0225\n\006parent\030\001" - + " \001(\tB%\340A\002\372A\037\n\035storage.googleapis.com/Buc" - + "ket\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" - + "(\t\022\021\n\tdelimiter\030\004 \001(\t\022\"\n\032include_trailin" - + "g_delimiter\030\005 \001(\010\022\016\n\006prefix\030\006 \001(\t\022\020\n\010ver" - + "sions\030\007 \001(\010\0222\n\tread_mask\030\010 \001(\0132\032.google." - + "protobuf.FieldMaskH\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\027QueryWriteSt" - + "atusRequest\022\026\n\tupload_id\030\001 \001(\tB\003\340A\002\022R\n\034c" - + "ommon_object_request_params\030\002 \001(\0132,.goog" - + "le.storage.v2.CommonObjectRequestParams\"" - + "s\n\030QueryWriteStatusResponse\022\030\n\016persisted" - + "_size\030\001 \001(\003H\000\022-\n\010resource\030\002 \001(\0132\031.google" - + ".storage.v2.ObjectH\000B\016\n\014write_status\"\250\n\n" - + "\024RewriteObjectRequest\022 \n\020destination_nam" - + "e\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.com/B" - + "ucket\022C\n\023destination_kms_key\030\033 \001(\tB&\372A#\n" - + "!cloudkms.googleapis.com/CryptoKey\022.\n\013de" - + "stination\030\001 \001(\0132\031.google.storage.v2.Obje" - + "ct\022<\n\rsource_bucket\030\002 \001(\tB%\340A\002\372A\037\n\035stora" - + "ge.googleapis.com/Bucket\022\032\n\rsource_objec" - + "t\030\003 \001(\tB\003\340A\002\022\031\n\021source_generation\030\004 \001(\003\022" - + "\025\n\rrewrite_token\030\005 \001(\t\022\"\n\032destination_pr" - + "edefined_acl\030\034 \001(\t\022 \n\023if_generation_matc" - + "h\030\007 \001(\003H\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_metagenera" - + "tion_match\030\r \001(\003H\006\210\001\001\022/\n\"if_source_metag" - + "eneration_not_match\030\016 \001(\003H\007\210\001\001\022$\n\034max_by" - + "tes_rewritten_per_call\030\017 \001(\003\022(\n copy_sou" - + "rce_encryption_algorithm\030\020 \001(\t\022(\n copy_s" - + "ource_encryption_key_bytes\030\025 \001(\014\022/\n\'copy" - + "_source_encryption_key_sha256_bytes\030\026 \001(" - + "\014\022R\n\034common_object_request_params\030\023 \001(\0132" + + "ch\030\003 \001(\003H\001\210\001\001B\032\n\030_if_metageneration_matc" + + "hB\036\n\034_if_metageneration_not_match\"\226\002\n\020Ge" + + "tBucketRequest\0224\n\004name\030\001 \001(\tB&\342A\001\002\372A\037\n\035s" + + "torage.googleapis.com/Bucket\022$\n\027if_metag" + + "eneration_match\030\002 \001(\003H\000\210\001\001\022(\n\033if_metagen" + + "eration_not_match\030\003 \001(\003H\001\210\001\001\0222\n\tread_mas" + + "k\030\005 \001(\0132\032.google.protobuf.FieldMaskH\002\210\001\001" + + "B\032\n\030_if_metageneration_matchB\036\n\034_if_meta" + + "generation_not_matchB\014\n\n_read_mask\"\320\001\n\023C" + + "reateBucketRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002" + + "\372A\037\022\035storage.googleapis.com/Bucket\022)\n\006bu" + + "cket\030\002 \001(\0132\031.google.storage.v2.Bucket\022\027\n" + + "\tbucket_id\030\003 \001(\tB\004\342A\001\002\022\026\n\016predefined_acl" + + "\030\006 \001(\t\022%\n\035predefined_default_object_acl\030" + + "\007 \001(\t\"\305\001\n\022ListBucketsRequest\0226\n\006parent\030\001" + + " \001(\tB&\342A\001\002\372A\037\022\035storage.googleapis.com/Bu" + + "cket\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\023ListBucketsResponse\022*\n\007buckets\030" + + "\001 \003(\0132\031.google.storage.v2.Bucket\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\201\001\n LockBucketRetentio" + + "nPolicyRequest\0226\n\006bucket\030\001 \001(\tB&\342A\001\002\372A\037\n" + + "\035storage.googleapis.com/Bucket\022%\n\027if_met" + + "ageneration_match\030\002 \001(\003B\004\342A\001\002\"\310\002\n\023Update" + + "BucketRequest\022/\n\006bucket\030\001 \001(\0132\031.google.s" + + "torage.v2.BucketB\004\342A\001\002\022$\n\027if_metagenerat" + + "ion_match\030\002 \001(\003H\000\210\001\001\022(\n\033if_metageneratio" + + "n_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\0225\n\013update_mask\030\006 \001(\0132\032.google.prot" + + "obuf.FieldMaskB\004\342A\001\002B\032\n\030_if_metagenerati" + + "on_matchB\036\n\034_if_metageneration_not_match" + + "\"c\n\037DeleteNotificationConfigRequest\022@\n\004n" + + "ame\030\001 \001(\tB2\342A\001\002\372A+\n)storage.googleapis.c" + + "om/NotificationConfig\"`\n\034GetNotification" + + "ConfigRequest\022@\n\004name\030\001 \001(\tB2\342A\001\002\372A+\n)st" + + "orage.googleapis.com/NotificationConfig\"" + + "\257\001\n\037CreateNotificationConfigRequest\022B\n\006p" + + "arent\030\001 \001(\tB2\342A\001\002\372A+\022)storage.googleapis" + + ".com/NotificationConfig\022H\n\023notification_" + + "config\030\002 \001(\0132%.google.storage.v2.Notific" + + "ationConfigB\004\342A\001\002\"\213\001\n\036ListNotificationCo" + + "nfigsRequest\022B\n\006parent\030\001 \001(\tB2\342A\001\002\372A+\022)s" + + "torage.googleapis.com/NotificationConfig" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"" + + "\177\n\037ListNotificationConfigsResponse\022C\n\024no" + + "tification_configs\030\001 \003(\0132%.google.storag" + + "e.v2.NotificationConfig\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\367\005\n\024ComposeObjectRequest\0224\n\013des" + + "tination\030\001 \001(\0132\031.google.storage.v2.Objec" + + "tB\004\342A\001\002\022L\n\016source_objects\030\002 \003(\01324.google" + + ".storage.v2.ComposeObjectRequest.SourceO" + + "bject\022\"\n\032destination_predefined_acl\030\t \001(" + + "\t\022 \n\023if_generation_match\030\004 \001(\003H\000\210\001\001\022$\n\027i" + + "f_metageneration_match\030\005 \001(\003H\001\210\001\001\0227\n\007kms" + + "_key\030\006 \001(\tB&\372A#\n!cloudkms.googleapis.com" + + "/CryptoKey\022R\n\034common_object_request_para" + + "ms\030\007 \001(\0132,.google.storage.v2.CommonObjec" + + "tRequestParams\022<\n\020object_checksums\030\n \001(\013" + + "2\".google.storage.v2.ObjectChecksums\032\357\001\n" + + "\014SourceObject\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022\022\n\ngen" + + "eration\030\002 \001(\003\022f\n\024object_preconditions\030\003 " + + "\001(\0132H.google.storage.v2.ComposeObjectReq" + + "uest.SourceObject.ObjectPreconditions\032O\n" + + "\023ObjectPreconditions\022 \n\023if_generation_ma" + + "tch\030\001 \001(\003H\000\210\001\001B\026\n\024_if_generation_matchB\026" + + "\n\024_if_generation_matchB\032\n\030_if_metagenera" + + "tion_match\"\323\003\n\023DeleteObjectRequest\0226\n\006bu" + + "cket\030\001 \001(\tB&\342A\001\002\372A\037\n\035storage.googleapis." + + "com/Bucket\022\024\n\006object\030\002 \001(\tB\004\342A\001\002\022\022\n\ngene" + + "ration\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.CommonObjectReque" + + "stParamsB\026\n\024_if_generation_matchB\032\n\030_if_" + + "generation_not_matchB\032\n\030_if_metagenerati" + + "on_matchB\036\n\034_if_metageneration_not_match" + + "\"6\n\033CancelResumableWriteRequest\022\027\n\tuploa" + + "d_id\030\001 \001(\tB\004\342A\001\002\"\036\n\034CancelResumableWrite" + + "Response\"\274\004\n\021ReadObjectRequest\0226\n\006bucket" + + "\030\001 \001(\tB&\342A\001\002\372A\037\n\035storage.googleapis.com/" + + "Bucket\022\024\n\006object\030\002 \001(\tB\004\342A\001\002\022\022\n\ngenerati" + + "on\030\003 \001(\003\022\023\n\013read_offset\030\004 \001(\003\022\022\n\nread_li" + + "mit\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.CommonObjectRequestP" - + "arams\022<\n\020object_checksums\030\035 \001(\0132\".google" - + ".storage.v2.ObjectChecksumsB\026\n\024_if_gener" + + "arams\0222\n\tread_mask\030\014 \001(\0132\032.google.protob" + + "uf.FieldMaskH\004\210\001\001B\026\n\024_if_generation_matc" + + "hB\032\n\030_if_generation_not_matchB\032\n\030_if_met" + + "ageneration_matchB\036\n\034_if_metageneration_" + + "not_matchB\014\n\n_read_mask\"\222\004\n\020GetObjectReq" + + "uest\0226\n\006bucket\030\001 \001(\tB&\342A\001\002\372A\037\n\035storage.g" + + "oogleapis.com/Bucket\022\024\n\006object\030\002 \001(\tB\004\342A" + + "\001\002\022\022\n\ngeneration\030\003 \001(\003\022 \n\023if_generation_" + + "match\030\004 \001(\003H\000\210\001\001\022$\n\027if_generation_not_ma" + + "tch\030\005 \001(\003H\001\210\001\001\022$\n\027if_metageneration_matc" + + "h\030\006 \001(\003H\002\210\001\001\022(\n\033if_metageneration_not_ma" + + "tch\030\007 \001(\003H\003\210\001\001\022R\n\034common_object_request_" + + "params\030\010 \001(\0132,.google.storage.v2.CommonO" + + "bjectRequestParams\0222\n\tread_mask\030\n \001(\0132\032." + + "google.protobuf.FieldMaskH\004\210\001\001B\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_matchB\014\n\n_read_mask\"\365\001\n" + + "\022ReadObjectResponse\022<\n\020checksummed_data\030" + + "\001 \001(\0132\".google.storage.v2.ChecksummedDat" + + "a\022<\n\020object_checksums\030\002 \001(\0132\".google.sto" + + "rage.v2.ObjectChecksums\0226\n\rcontent_range" + + "\030\003 \001(\0132\037.google.storage.v2.ContentRange\022" + + "+\n\010metadata\030\004 \001(\0132\031.google.storage.v2.Ob" + + "ject\"\216\003\n\017WriteObjectSpec\0221\n\010resource\030\001 \001" + + "(\0132\031.google.storage.v2.ObjectB\004\342A\001\002\022\026\n\016p" + + "redefined_acl\030\007 \001(\t\022 \n\023if_generation_mat" + + "ch\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_generation_matchB\032\n\030_if_generation_" + + "not_matchB\032\n\030_if_metageneration_matchB\036\n" + + "\034_if_metageneration_not_matchB\016\n\014_object" + + "_size\"\207\003\n\022WriteObjectRequest\022\023\n\tupload_i" + + "d\030\001 \001(\tH\000\022?\n\021write_object_spec\030\002 \001(\0132\".g" + + "oogle.storage.v2.WriteObjectSpecH\000\022\032\n\014wr" + + "ite_offset\030\003 \001(\003B\004\342A\001\002\022>\n\020checksummed_da" + + "ta\030\004 \001(\0132\".google.storage.v2.Checksummed" + + "DataH\001\022<\n\020object_checksums\030\006 \001(\0132\".googl" + + "e.storage.v2.ObjectChecksums\022\024\n\014finish_w" + + "rite\030\007 \001(\010\022R\n\034common_object_request_para" + + "ms\030\010 \001(\0132,.google.storage.v2.CommonObjec" + + "tRequestParamsB\017\n\rfirst_messageB\006\n\004data\"" + + "n\n\023WriteObjectResponse\022\030\n\016persisted_size" + + "\030\001 \001(\003H\000\022-\n\010resource\030\002 \001(\0132\031.google.stor" + + "age.v2.ObjectH\000B\016\n\014write_status\"\322\002\n\022List" + + "ObjectsRequest\0226\n\006parent\030\001 \001(\tB&\342A\001\002\372A\037\n" + + "\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" + + "\004\342A\001\001\022\037\n\021lexicographic_end\030\013 \001(\tB\004\342A\001\001B\014" + + "\n\n_read_mask\"\206\001\n\027QueryWriteStatusRequest" + + "\022\027\n\tupload_id\030\001 \001(\tB\004\342A\001\002\022R\n\034common_obje" + + "ct_request_params\030\002 \001(\0132,.google.storage" + + ".v2.CommonObjectRequestParams\"s\n\030QueryWr" + + "iteStatusResponse\022\030\n\016persisted_size\030\001 \001(" + + "\003H\000\022-\n\010resource\030\002 \001(\0132\031.google.storage.v" + + "2.ObjectH\000B\016\n\014write_status\"\250\n\n\024RewriteOb" + + "jectRequest\022\037\n\020destination_name\030\030 \001(\tB\005\342" + + "A\002\002\005\022C\n\022destination_bucket\030\031 \001(\tB\'\342A\002\002\005\372" + + "A\037\n\035storage.googleapis.com/Bucket\022C\n\023des" + + "tination_kms_key\030\033 \001(\tB&\372A#\n!cloudkms.go" + + "ogleapis.com/CryptoKey\022.\n\013destination\030\001 " + + "\001(\0132\031.google.storage.v2.Object\022=\n\rsource" + + "_bucket\030\002 \001(\tB&\342A\001\002\372A\037\n\035storage.googleap" + + "is.com/Bucket\022\033\n\rsource_object\030\003 \001(\tB\004\342A" + + "\001\002\022\031\n\021source_generation\030\004 \001(\003\022\025\n\rrewrite" + + "_token\030\005 \001(\t\022\"\n\032destination_predefined_a" + + "cl\030\034 \001(\t\022 \n\023if_generation_match\030\007 \001(\003H\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_match" + + "\030\r \001(\003H\006\210\001\001\022/\n\"if_source_metageneration_" + + "not_match\030\016 \001(\003H\007\210\001\001\022$\n\034max_bytes_rewrit" + + "ten_per_call\030\017 \001(\003\022(\n copy_source_encryp" + + "tion_algorithm\030\020 \001(\t\022(\n copy_source_encr" + + "yption_key_bytes\030\025 \001(\014\022/\n\'copy_source_en" + + "cryption_key_sha256_bytes\030\026 \001(\014\022R\n\034commo" + + "n_object_request_params\030\023 \001(\0132,.google.s" + + "torage.v2.CommonObjectRequestParams\022<\n\020o" + + "bject_checksums\030\035 \001(\0132\".google.storage.v" + + "2.ObjectChecksumsB\026\n\024_if_generation_matc" + + "hB\032\n\030_if_generation_not_matchB\032\n\030_if_met" + + "ageneration_matchB\036\n\034_if_metageneration_" + + "not_matchB\035\n\033_if_source_generation_match" + + "B!\n\037_if_source_generation_not_matchB!\n\037_" + + "if_source_metageneration_matchB%\n#_if_so" + + "urce_metageneration_not_match\"\227\001\n\017Rewrit" + + "eResponse\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\rr" + + "ewrite_token\030\004 \001(\t\022+\n\010resource\030\005 \001(\0132\031.g" + + "oogle.storage.v2.Object\"\363\001\n\032StartResumab" + + "leWriteRequest\022C\n\021write_object_spec\030\001 \001(" + + "\0132\".google.storage.v2.WriteObjectSpecB\004\342" + + "A\001\002\022R\n\034common_object_request_params\030\003 \001(" + + "\0132,.google.storage.v2.CommonObjectReques" + + "tParams\022<\n\020object_checksums\030\005 \001(\0132\".goog" + + "le.storage.v2.ObjectChecksums\"0\n\033StartRe" + + "sumableWriteResponse\022\021\n\tupload_id\030\001 \001(\t\"" + + "\361\003\n\023UpdateObjectRequest\022/\n\006object\030\001 \001(\0132" + + "\031.google.storage.v2.ObjectB\004\342A\001\002\022 \n\023if_g" + + "eneration_match\030\002 \001(\003H\000\210\001\001\022$\n\027if_generat" + + "ion_not_match\030\003 \001(\003H\001\210\001\001\022$\n\027if_metagener" + + "ation_match\030\004 \001(\003H\002\210\001\001\022(\n\033if_metagenerat" + + "ion_not_match\030\005 \001(\003H\003\210\001\001\022\026\n\016predefined_a" + + "cl\030\n \001(\t\0225\n\013update_mask\030\007 \001(\0132\032.google.p" + + "rotobuf.FieldMaskB\004\342A\001\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_matchB\035\n\033_if_source_genera" - + "tion_matchB!\n\037_if_source_generation_not_" - + "matchB!\n\037_if_source_metageneration_match" - + "B%\n#_if_source_metageneration_not_match\"" - + "\227\001\n\017RewriteResponse\022\035\n\025total_bytes_rewri" - + "tten\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\032St" - + "artResumableWriteRequest\022B\n\021write_object" - + "_spec\030\001 \001(\0132\".google.storage.v2.WriteObj" - + "ectSpecB\003\340A\002\022R\n\034common_object_request_pa" - + "rams\030\003 \001(\0132,.google.storage.v2.CommonObj" - + "ectRequestParams\022<\n\020object_checksums\030\005 \001" - + "(\0132\".google.storage.v2.ObjectChecksums\"0" - + "\n\033StartResumableWriteResponse\022\021\n\tupload_" - + "id\030\001 \001(\t\"\357\003\n\023UpdateObjectRequest\022.\n\006obje" - + "ct\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" - + "_generation_not_match\030\003 \001(\003H\001\210\001\001\022$\n\027if_m" - + "etageneration_match\030\004 \001(\003H\002\210\001\001\022(\n\033if_met" - + "ageneration_not_match\030\005 \001(\003H\003\210\001\001\022\026\n\016pred" - + "efined_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.st" - + "orage.v2.CommonObjectRequestParamsB\026\n\024_i" - + "f_generation_matchB\032\n\030_if_generation_not" - + "_matchB\032\n\030_if_metageneration_matchB\036\n\034_i" - + "f_metageneration_not_match\"`\n\030GetService" - + "AccountRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372A-\n" - + "+cloudresourcemanager.googleapis.com/Pro" - + "ject\"\200\001\n\024CreateHmacKeyRequest\022D\n\007project" - + "\030\001 \001(\tB3\340A\002\372A-\n+cloudresourcemanager.goo" - + "gleapis.com/Project\022\"\n\025service_account_e" - + "mail\030\002 \001(\tB\003\340A\002\"g\n\025CreateHmacKeyResponse" - + "\0224\n\010metadata\030\001 \001(\0132\".google.storage.v2.H" - + "macKeyMetadata\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+cloud" - + "resourcemanager.googleapis.com/Project\"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+cloudresou" - + "rcemanager.googleapis.com/Project\"\274\001\n\023Li" - + "stHmacKeysRequest\022D\n\007project\030\001 \001(\tB3\340A\002\372" + + "eneration_not_match\"a\n\030GetServiceAccount" + + "Request\022E\n\007project\030\001 \001(\tB4\342A\001\002\372A-\n+cloud" + + "resourcemanager.googleapis.com/Project\"\202" + + "\001\n\024CreateHmacKeyRequest\022E\n\007project\030\001 \001(\t" + + "B4\342A\001\002\372A-\n+cloudresourcemanager.googleap" + + "is.com/Project\022#\n\025service_account_email\030" + + "\002 \001(\tB\004\342A\001\002\"g\n\025CreateHmacKeyResponse\0224\n\010" + + "metadata\030\001 \001(\0132\".google.storage.v2.HmacK" + + "eyMetadata\022\030\n\020secret_key_bytes\030\003 \001(\014\"v\n\024" + + "DeleteHmacKeyRequest\022\027\n\taccess_id\030\001 \001(\tB" + + "\004\342A\001\002\022E\n\007project\030\002 \001(\tB4\342A\001\002\372A-\n+cloudre" + + "sourcemanager.googleapis.com/Project\"s\n\021" + + "GetHmacKeyRequest\022\027\n\taccess_id\030\001 \001(\tB\004\342A" + + "\001\002\022E\n\007project\030\002 \001(\tB4\342A\001\002\372A-\n+cloudresou" + + "rcemanager.googleapis.com/Project\"\275\001\n\023Li" + + "stHmacKeysRequest\022E\n\007project\030\001 \001(\tB4\342A\001\002" + + "\372A-\n+cloudresourcemanager.googleapis.com" + + "/Project\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_toke" + + "n\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\024ListHmacKey" + + "sResponse\0225\n\thmac_keys\030\001 \003(\0132\".google.st" + + "orage.v2.HmacKeyMetadata\022\027\n\017next_page_to" + + "ken\030\002 \001(\t\"\203\001\n\024UpdateHmacKeyRequest\022:\n\010hm" + + "ac_key\030\001 \001(\0132\".google.storage.v2.HmacKey" + + "MetadataB\004\342A\001\002\022/\n\013update_mask\030\003 \001(\0132\032.go" + + "ogle.protobuf.FieldMask\"|\n\031CommonObjectR" + + "equestParams\022\034\n\024encryption_algorithm\030\001 \001" + + "(\t\022\034\n\024encryption_key_bytes\030\004 \001(\014\022#\n\033encr" + + "yption_key_sha256_bytes\030\005 \001(\014\"\312\005\n\020Servic" + + "eConstants\"\265\005\n\006Values\022\026\n\022VALUES_UNSPECIF" + + "IED\020\000\022\033\n\024MAX_READ_CHUNK_BYTES\020\200\200\200\001\022\034\n\025MA" + + "X_WRITE_CHUNK_BYTES\020\200\200\200\001\022\031\n\022MAX_OBJECT_S" + + "IZE_MB\020\200\200\300\002\022)\n$MAX_CUSTOM_METADATA_FIELD" + + "_NAME_BYTES\020\200\010\022*\n%MAX_CUSTOM_METADATA_FI" + + "ELD_VALUE_BYTES\020\200 \022)\n$MAX_CUSTOM_METADAT" + + "A_TOTAL_SIZE_BYTES\020\200@\022*\n$MAX_BUCKET_META" + + "DATA_TOTAL_SIZE_BYTES\020\200\240\001\022\'\n#MAX_NOTIFIC" + + "ATION_CONFIGS_PER_BUCKET\020d\022\"\n\036MAX_LIFECY" + + "CLE_RULES_PER_BUCKET\020d\022&\n\"MAX_NOTIFICATI" + + "ON_CUSTOM_ATTRIBUTES\020\005\0221\n,MAX_NOTIFICATI" + + "ON_CUSTOM_ATTRIBUTE_KEY_LENGTH\020\200\002\0223\n.MAX" + + "_NOTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LEN" + + "GTH\020\200\010\022\034\n\030MAX_LABELS_ENTRIES_COUNT\020@\022\037\n\033" + + "MAX_LABELS_KEY_VALUE_LENGTH\020?\022\037\n\032MAX_LAB" + + "ELS_KEY_VALUE_BYTES\020\200\001\022.\n)MAX_OBJECT_IDS" + + "_PER_DELETE_OBJECTS_REQUEST\020\350\007\022\036\n\032SPLIT_" + + "TOKEN_MAX_VALID_DAYS\020\016\032\002\020\001\"\334\027\n\006Bucket\022\022\n" + + "\004name\030\001 \001(\tB\004\342A\001\005\022\027\n\tbucket_id\030\002 \001(\tB\004\342A" + + "\001\003\022\014\n\004etag\030\035 \001(\t\022E\n\007project\030\003 \001(\tB4\342A\001\005\372" + "A-\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\024ListHmacKeys" - + "Response\0225\n\thmac_keys\030\001 \003(\0132\".google.sto" - + "rage.v2.HmacKeyMetadata\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\202\001\n\024UpdateHmacKeyRequest\0229\n\010hma" - + "c_key\030\001 \001(\0132\".google.storage.v2.HmacKeyM" - + "etadataB\003\340A\002\022/\n\013update_mask\030\003 \001(\0132\032.goog" - + "le.protobuf.FieldMask\"|\n\031CommonObjectReq" - + "uestParams\022\034\n\024encryption_algorithm\030\001 \001(\t" - + "\022\034\n\024encryption_key_bytes\030\004 \001(\014\022#\n\033encryp" - + "tion_key_sha256_bytes\030\005 \001(\014\"\312\005\n\020ServiceC" - + "onstants\"\265\005\n\006Values\022\026\n\022VALUES_UNSPECIFIE" - + "D\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_OBJECT_SIZ" - + "E_MB\020\200\200\300\002\022)\n$MAX_CUSTOM_METADATA_FIELD_N" - + "AME_BYTES\020\200\010\022*\n%MAX_CUSTOM_METADATA_FIEL" - + "D_VALUE_BYTES\020\200 \022)\n$MAX_CUSTOM_METADATA_" - + "TOTAL_SIZE_BYTES\020\200@\022*\n$MAX_BUCKET_METADA" - + "TA_TOTAL_SIZE_BYTES\020\200\240\001\022\'\n#MAX_NOTIFICAT" - + "ION_CONFIGS_PER_BUCKET\020d\022\"\n\036MAX_LIFECYCL" - + "E_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_N" - + "OTIFICATION_CUSTOM_ATTRIBUTE_VALUE_LENGT" - + "H\020\200\010\022\034\n\030MAX_LABELS_ENTRIES_COUNT\020@\022\037\n\033MA" - + "X_LABELS_KEY_VALUE_LENGTH\020?\022\037\n\032MAX_LABEL" - + "S_KEY_VALUE_BYTES\020\200\001\022.\n)MAX_OBJECT_IDS_P" - + "ER_DELETE_OBJECTS_REQUEST\020\350\007\022\036\n\032SPLIT_TO" - + "KEN_MAX_VALID_DAYS\020\016\032\002\020\001\"\322\027\n\006Bucket\022\021\n\004n" - + "ame\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+c" - + "loudresourcemanager.googleapis.com/Proje" - + "ct\022\033\n\016metageneration\030\004 \001(\003B\003\340A\003\022\025\n\010locat" - + "ion\030\005 \001(\tB\003\340A\005\022\032\n\rlocation_type\030\006 \001(\tB\003\340" - + "A\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.BucketAc" - + "cessControl\022B\n\022default_object_acl\030\t \003(\0132" - + "&.google.storage.v2.ObjectAccessControl\022" - + "6\n\tlifecycle\030\n \001(\0132#.google.storage.v2.B" - + "ucket.Lifecycle\0224\n\013create_time\030\013 \001(\0132\032.g" - + "oogle.protobuf.TimestampB\003\340A\003\022,\n\004cors\030\014 " - + "\003(\0132\036.google.storage.v2.Bucket.Cors\0224\n\013u" - + "pdate_time\030\r \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022 \n\030default_event_based_hold\030\016 " - + "\001(\010\0225\n\006labels\030\017 \003(\0132%.google.storage.v2." - + "Bucket.LabelsEntry\0222\n\007website\030\020 \001(\0132!.go" - + "ogle.storage.v2.Bucket.Website\0228\n\nversio" - + "ning\030\021 \001(\0132$.google.storage.v2.Bucket.Ve" - + "rsioning\0222\n\007logging\030\022 \001(\0132!.google.stora" - + "ge.v2.Bucket.Logging\022,\n\005owner\030\023 \001(\0132\030.go" - + "ogle.storage.v2.OwnerB\003\340A\003\0228\n\nencryption" - + "\030\024 \001(\0132$.google.storage.v2.Bucket.Encryp" - + "tion\0222\n\007billing\030\025 \001(\0132!.google.storage.v" - + "2.Bucket.Billing\022C\n\020retention_policy\030\026 \001" - + "(\0132).google.storage.v2.Bucket.RetentionP" - + "olicy\0227\n\niam_config\030\027 \001(\0132#.google.stora" - + "ge.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.CustomPlacemen" - + "tConfig\0226\n\tautoclass\030\034 \001(\0132#.google.stor" - + "age.v2.Bucket.Autoclass\032!\n\007Billing\022\026\n\016re" - + "quester_pays\030\001 \001(\010\032X\n\004Cors\022\016\n\006origin\030\001 \003" - + "(\t\022\016\n\006method\030\002 \003(\t\022\027\n\017response_header\030\003 " - + "\003(\t\022\027\n\017max_age_seconds\030\004 \001(\005\032M\n\nEncrypti" - + "on\022?\n\017default_kms_key\030\001 \001(\tB&\372A#\n!cloudk" - + "ms.googleapis.com/CryptoKey\032\354\001\n\tIamConfi" - + "g\022a\n\033uniform_bucket_level_access\030\001 \001(\0132<" - + ".google.storage.v2.Bucket.IamConfig.Unif" - + "ormBucketLevelAccess\022 \n\030public_access_pr" - + "evention\030\003 \001(\t\032Z\n\030UniformBucketLevelAcce" - + "ss\022\017\n\007enabled\030\001 \001(\010\022-\n\tlock_time\030\002 \001(\0132\032" - + ".google.protobuf.Timestamp\032\363\005\n\tLifecycle" - + "\0226\n\004rule\030\001 \003(\0132(.google.storage.v2.Bucke" - + "t.Lifecycle.Rule\032\255\005\n\004Rule\022?\n\006action\030\001 \001(" - + "\0132/.google.storage.v2.Bucket.Lifecycle.R" - + "ule.Action\022E\n\tcondition\030\002 \001(\01322.google.s" - + "torage.v2.Bucket.Lifecycle.Rule.Conditio" - + "n\032-\n\006Action\022\014\n\004type\030\001 \001(\t\022\025\n\rstorage_cla" - + "ss\030\002 \001(\t\032\355\003\n\tCondition\022\025\n\010age_days\030\001 \001(\005" - + "H\000\210\001\001\022)\n\016created_before\030\002 \001(\0132\021.google.t" - + "ype.Date\022\024\n\007is_live\030\003 \001(\010H\001\210\001\001\022\037\n\022num_ne" - + "wer_versions\030\004 \001(\005H\002\210\001\001\022\035\n\025matches_stora" - + "ge_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_noncurr" - + "ent_time\030\t \001(\005H\004\210\001\001\0221\n\026noncurrent_time_b" - + "efore\030\n \001(\0132\021.google.type.Date\022\026\n\016matche" - + "s_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_newer_ve" - + "rsionsB\031\n\027_days_since_custom_timeB\035\n\033_da" - + "ys_since_noncurrent_time\0328\n\007Logging\022\022\n\nl" - + "og_bucket\030\001 \001(\t\022\031\n\021log_object_prefix\030\002 \001" - + "(\t\032\217\001\n\017RetentionPolicy\0222\n\016effective_time" - + "\030\001 \001(\0132\032.google.protobuf.Timestamp\022\021\n\tis" - + "_locked\030\002 \001(\010\0225\n\022retention_duration\030\004 \001(" - + "\0132\031.google.protobuf.Duration\032\035\n\nVersioni" - + "ng\022\017\n\007enabled\030\001 \001(\010\032;\n\007Website\022\030\n\020main_p" - + "age_suffix\030\001 \001(\t\022\026\n\016not_found_page\030\002 \001(\t" - + "\032/\n\025CustomPlacementConfig\022\026\n\016data_locati" - + "ons\030\001 \003(\t\032R\n\tAutoclass\022\017\n\007enabled\030\001 \001(\010\022" - + "4\n\013toggle_time\030\002 \001(\0132\032.google.protobuf.T" - + "imestampB\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.googl" - + "eapis.com/Bucket\022#projects/{project}/buc" - + "kets/{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\006doma" - + "in\030\006 \001(\t\0224\n\014project_team\030\007 \001(\0132\036.google." - + "storage.v2.ProjectTeam\"B\n\017ChecksummedDat" - + "a\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\006crc32c\030" - + "\001 \001(\007H\000\210\001\001\022\020\n\010md5_hash\030\002 \001(\014B\t\n\007_crc32c\"" - + "\255\002\n\017HmacKeyMetadata\022\017\n\002id\030\001 \001(\tB\003\340A\005\022\026\n\t" - + "access_id\030\002 \001(\tB\003\340A\005\022D\n\007project\030\003 \001(\tB3\340" - + "A\005\372A-\n+cloudresourcemanager.googleapis.c" - + "om/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\013u" - + "pdate_time\030\007 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\014\n\004etag\030\010 \001(\t\"\247\003\n\022Notification" - + "Config\022\021\n\004name\030\001 \001(\tB\003\340A\002\022\022\n\005topic\030\002 \001(\t" - + "B\003\340A\002\022\014\n\004etag\030\007 \001(\t\022\023\n\013event_types\030\003 \003(\t" - + "\022V\n\021custom_attributes\030\004 \003(\0132;.google.sto" - + "rage.v2.NotificationConfig.CustomAttribu" - + "tesEntry\022\032\n\022object_name_prefix\030\005 \001(\t\022\033\n\016" - + "payload_format\030\006 \001(\tB\003\340A\002\0327\n\025CustomAttri" - + "butesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001:}\352Az\n)storage.googleapis.com/Notifica" - + "tionConfig\022Mprojects/{project}/buckets/{" - + "bucket}/notificationConfigs/{notificatio" - + "n_config}\"L\n\022CustomerEncryption\022\034\n\024encry" - + "ption_algorithm\030\001 \001(\t\022\030\n\020key_sha256_byte" - + "s\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.googleapi" - + "s.com/Bucket\022\014\n\004etag\030\033 \001(\t\022\027\n\ngeneration" - + "\030\003 \001(\003B\003\340A\005\022\033\n\016metageneration\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\340" - + "A\003\022\030\n\020content_encoding\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&.google.storage.v2.Object" - + "AccessControl\022\030\n\020content_language\030\013 \001(\t\022" - + "4\n\013delete_time\030\014 \001(\0132\032.google.protobuf.T" - + "imestampB\003\340A\003\022\024\n\014content_type\030\r \001(\t\0224\n\013c" - + "reate_time\030\016 \001(\0132\032.google.protobuf.Times" - + "tampB\003\340A\003\022\034\n\017component_count\030\017 \001(\005B\003\340A\003\022" - + ":\n\tchecksums\030\020 \001(\0132\".google.storage.v2.O" - + "bjectChecksumsB\003\340A\003\0224\n\013update_time\030\021 \001(\013" - + "2\032.google.protobuf.TimestampB\003\340A\003\0227\n\007kms" - + "_key\030\022 \001(\tB&\372A#\n!cloudkms.googleapis.com" - + "/CryptoKey\022B\n\031update_storage_class_time\030" - + "\023 \001(\0132\032.google.protobuf.TimestampB\003\340A\003\022\026" - + "\n\016temporary_hold\030\024 \001(\010\0229\n\025retention_expi" - + "re_time\030\025 \001(\0132\032.google.protobuf.Timestam" - + "p\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.stor" - + "age.v2.OwnerB\003\340A\003\022B\n\023customer_encryption" - + "\030\031 \001(\0132%.google.storage.v2.CustomerEncry" - + "ption\022/\n\013custom_time\030\032 \001(\0132\032.google.prot", - "obuf.Timestamp\032/\n\rMetadataEntry\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\023ObjectAccessControl\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\004et" - + "ag\030\010 \001(\t\022\r\n\005email\030\005 \001(\t\022\016\n\006domain\030\006 \001(\t\022" - + "4\n\014project_team\030\007 \001(\0132\036.google.storage.v" - + "2.ProjectTeam\"l\n\023ListObjectsResponse\022*\n\007" - + "objects\030\001 \003(\0132\031.google.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\016ServiceAccount\022\025\n\rem" - + "ail_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_le" - + "ngth\030\003 \001(\0032\230&\n\007Storage\022r\n\014DeleteBucket\022&" - + ".google.storage.v2.DeleteBucketRequest\032\026" - + ".google.protobuf.Empty\"\"\212\323\344\223\002\025\022\023\n\004name\022\013" - + "{bucket=**}\332A\004name\022o\n\tGetBucket\022#.google" - + ".storage.v2.GetBucketRequest\032\031.google.st" - + "orage.v2.Bucket\"\"\212\323\344\223\002\025\022\023\n\004name\022\013{bucket" - + "=**}\332A\004name\022\253\001\n\014CreateBucket\022&.google.st" - + "orage.v2.CreateBucketRequest\032\031.google.st" - + "orage.v2.Bucket\"X\212\323\344\223\0028\022\026\n\006parent\022\014{proj" - + "ect=**}\022\036\n\016bucket.project\022\014{project=**}\332" - + "A\027parent,bucket,bucket_id\022\205\001\n\013ListBucket" - + "s\022%.google.storage.v2.ListBucketsRequest" - + "\032&.google.storage.v2.ListBucketsResponse" - + "\"\'\212\323\344\223\002\030\022\026\n\006parent\022\014{project=**}\332A\006paren" - + "t\022\223\001\n\031LockBucketRetentionPolicy\0223.google" - + ".storage.v2.LockBucketRetentionPolicyReq" - + "uest\032\031.google.storage.v2.Bucket\"&\212\323\344\223\002\027\022" - + "\025\n\006bucket\022\013{bucket=**}\332A\006bucket\022\253\001\n\014GetI" - + "amPolicy\022\".google.iam.v1.GetIamPolicyReq" - + "uest\032\025.google.iam.v1.Policy\"`\212\323\344\223\002O\022\027\n\010r" - + "esource\022\013{bucket=**}\0224\n\010resource\022({bucke" - + "t=projects/*/buckets/*}/objects/**\332A\010res" - + "ource\022\262\001\n\014SetIamPolicy\022\".google.iam.v1.S" - + "etIamPolicyRequest\032\025.google.iam.v1.Polic" - + "y\"g\212\323\344\223\002O\022\027\n\010resource\022\013{bucket=**}\0224\n\010re" - + "source\022({bucket=projects/*/buckets/*}/ob" - + "jects/**\332A\017resource,policy\022\327\001\n\022TestIamPe" - + "rmissions\022(.google.iam.v1.TestIamPermiss" - + "ionsRequest\032).google.iam.v1.TestIamPermi" - + "ssionsResponse\"l\212\323\344\223\002O\022\027\n\010resource\022\013{buc" - + "ket=**}\0224\n\010resource\022({bucket=projects/*/" - + "buckets/*}/objects/**\332A\024resource,permiss" - + "ions\022\212\001\n\014UpdateBucket\022&.google.storage.v" - + "2.UpdateBucketRequest\032\031.google.storage.v" - + "2.Bucket\"7\212\323\344\223\002\034\022\032\n\013bucket.name\022\013{bucket" - + "=**}\332A\022bucket,update_mask\022\237\001\n\030DeleteNoti" - + "ficationConfig\0222.google.storage.v2.Delet" - + "eNotificationConfigRequest\032\026.google.prot" - + "obuf.Empty\"7\212\323\344\223\002*\022(\n\004name\022 {bucket=proj" - + "ects/*/buckets/*}/**\332A\004name\022\250\001\n\025GetNotif" - + "icationConfig\022/.google.storage.v2.GetNot" - + "ificationConfigRequest\032%.google.storage." - + "v2.NotificationConfig\"7\212\323\344\223\002*\022(\n\004name\022 {" - + "bucket=projects/*/buckets/*}/**\332A\004name\022\261" - + "\001\n\030CreateNotificationConfig\0222.google.sto" - + "rage.v2.CreateNotificationConfigRequest\032" - + "%.google.storage.v2.NotificationConfig\":" - + "\212\323\344\223\002\027\022\025\n\006parent\022\013{bucket=**}\332A\032parent,n" - + "otification_config\022\250\001\n\027ListNotificationC" - + "onfigs\0221.google.storage.v2.ListNotificat" - + "ionConfigsRequest\0322.google.storage.v2.Li" - + "stNotificationConfigsResponse\"&\212\323\344\223\002\027\022\025\n" - + "\006parent\022\013{bucket=**}\332A\006parent\022~\n\rCompose" - + "Object\022\'.google.storage.v2.ComposeObject" - + "Request\032\031.google.storage.v2.Object\")\212\323\344\223" - + "\002#\022!\n\022destination.bucket\022\013{bucket=**}\022\230\001" - + "\n\014DeleteObject\022&.google.storage.v2.Delet" - + "eObjectRequest\032\026.google.protobuf.Empty\"H" - + "\212\323\344\223\002\027\022\025\n\006bucket\022\013{bucket=**}\332A\rbucket,o" - + "bject\332A\030bucket,object,generation\022\272\001\n\024Can" - + "celResumableWrite\022..google.storage.v2.Ca" - + "ncelResumableWriteRequest\032/.google.stora" - + "ge.v2.CancelResumableWriteResponse\"A\212\323\344\223" - + "\002/\022-\n\tupload_id\022 {bucket=projects/*/buck" - + "ets/*}/**\332A\tupload_id\022\225\001\n\tGetObject\022#.go" - + "ogle.storage.v2.GetObjectRequest\032\031.googl" - + "e.storage.v2.Object\"H\212\323\344\223\002\027\022\025\n\006bucket\022\013{" - + "bucket=**}\332A\rbucket,object\332A\030bucket,obje" - + "ct,generation\022\245\001\n\nReadObject\022$.google.st" - + "orage.v2.ReadObjectRequest\032%.google.stor" - + "age.v2.ReadObjectResponse\"H\212\323\344\223\002\027\022\025\n\006buc" - + "ket\022\013{bucket=**}\332A\rbucket,object\332A\030bucke" - + "t,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\robj" - + "ect.bucket\022\013{bucket=**}\332A\022object,update_" - + "mask\022`\n\013WriteObject\022%.google.storage.v2." - + "WriteObjectRequest\032&.google.storage.v2.W" - + "riteObjectResponse\"\000(\001\022\204\001\n\013ListObjects\022%" - + ".google.storage.v2.ListObjectsRequest\032&." - + "google.storage.v2.ListObjectsResponse\"&\212" - + "\323\344\223\002\027\022\025\n\006parent\022\013{bucket=**}\332A\006parent\022\230\001" - + "\n\rRewriteObject\022\'.google.storage.v2.Rewr" - + "iteObjectRequest\032\".google.storage.v2.Rew" - + "riteResponse\":\212\323\344\223\0024\022\017\n\rsource_bucket\022!\n" - + "\022destination_bucket\022\013{bucket=**}\022\256\001\n\023Sta" - + "rtResumableWrite\022-.google.storage.v2.Sta" - + "rtResumableWriteRequest\032..google.storage" - + ".v2.StartResumableWriteResponse\"8\212\323\344\223\0022\022" - + "0\n!write_object_spec.resource.bucket\022\013{b" - + "ucket=**}\022\256\001\n\020QueryWriteStatus\022*.google." - + "storage.v2.QueryWriteStatusRequest\032+.goo" - + "gle.storage.v2.QueryWriteStatusResponse\"" - + "A\212\323\344\223\002/\022-\n\tupload_id\022 {bucket=projects/*" - + "/buckets/*}/**\332A\tupload_id\022\200\001\n\021GetServic" - + "eAccount\022+.google.storage.v2.GetServiceA" - + "ccountRequest\032!.google.storage.v2.Servic" - + "eAccount\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007project\022\225\001" - + "\n\rCreateHmacKey\022\'.google.storage.v2.Crea" - + "teHmacKeyRequest\032(.google.storage.v2.Cre" - + "ateHmacKeyResponse\"1\212\323\344\223\002\013\022\t\n\007project\332A\035" - + "project,service_account_email\022w\n\rDeleteH" - + "macKey\022\'.google.storage.v2.DeleteHmacKey" - + "Request\032\026.google.protobuf.Empty\"%\212\323\344\223\002\013\022" - + "\t\n\007project\332A\021access_id,project\022}\n\nGetHma" - + "cKey\022$.google.storage.v2.GetHmacKeyReque" - + "st\032\".google.storage.v2.HmacKeyMetadata\"%" - + "\212\323\344\223\002\013\022\t\n\007project\332A\021access_id,project\022|\n" - + "\014ListHmacKeys\022&.google.storage.v2.ListHm" - + "acKeysRequest\032\'.google.storage.v2.ListHm" - + "acKeysResponse\"\033\212\323\344\223\002\013\022\t\n\007project\332A\007proj" - + "ect\022\235\001\n\rUpdateHmacKey\022\'.google.storage.v" - + "2.UpdateHmacKeyRequest\032\".google.storage." - + "v2.HmacKeyMetadata\"?\212\323\344\223\002\"\022 \n\020hmac_key.p" - + "roject\022\014{project=**}\332A\024hmac_key,update_m" - + "ask\032\247\002\312A\026storage.googleapis.com\322A\212\002https" - + "://www.googleapis.com/auth/cloud-platfor" - + "m,https://www.googleapis.com/auth/cloud-" - + "platform.read-only,https://www.googleapi" - + "s.com/auth/devstorage.full_control,https" - + "://www.googleapis.com/auth/devstorage.re" - + "ad_only,https://www.googleapis.com/auth/" - + "devstorage.read_writeB\342\001\n\025com.google.sto" - + "rage.v2B\014StorageProtoP\001Z>cloud.google.co" - + "m/go/storage/internal/apiv2/storagepb;st" - + "oragepb\352Ax\n!cloudkms.googleapis.com/Cryp" - + "toKey\022Sprojects/{project}/locations/{loc" - + "ation}/keyRings/{key_ring}/cryptoKeys/{c" - + "rypto_key}b\006proto3" + + "Project\022\034\n\016metageneration\030\004 \001(\003B\004\342A\001\003\022\026\n" + + "\010location\030\005 \001(\tB\004\342A\001\005\022\033\n\rlocation_type\030\006" + + " \001(\tB\004\342A\001\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." + + "BucketAccessControl\022B\n\022default_object_ac" + + "l\030\t \003(\0132&.google.storage.v2.ObjectAccess" + + "Control\0226\n\tlifecycle\030\n \001(\0132#.google.stor" + + "age.v2.Bucket.Lifecycle\0225\n\013create_time\030\013" + + " \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003\022," + + "\n\004cors\030\014 \003(\0132\036.google.storage.v2.Bucket." + + "Cors\0225\n\013update_time\030\r \001(\0132\032.google.proto" + + "buf.TimestampB\004\342A\001\003\022 \n\030default_event_bas" + + "ed_hold\030\016 \001(\010\0225\n\006labels\030\017 \003(\0132%.google.s" + + "torage.v2.Bucket.LabelsEntry\0222\n\007website\030" + + "\020 \001(\0132!.google.storage.v2.Bucket.Website" + + "\0228\n\nversioning\030\021 \001(\0132$.google.storage.v2" + + ".Bucket.Versioning\0222\n\007logging\030\022 \001(\0132!.go" + + "ogle.storage.v2.Bucket.Logging\022-\n\005owner\030" + + "\023 \001(\0132\030.google.storage.v2.OwnerB\004\342A\001\003\0228\n" + + "\nencryption\030\024 \001(\0132$.google.storage.v2.Bu" + + "cket.Encryption\0222\n\007billing\030\025 \001(\0132!.googl" + + "e.storage.v2.Bucket.Billing\022C\n\020retention" + + "_policy\030\026 \001(\0132).google.storage.v2.Bucket" + + ".RetentionPolicy\0227\n\niam_config\030\027 \001(\0132#.g" + + "oogle.storage.v2.Bucket.IamConfig\022\025\n\rsat" + + "isfies_pzs\030\031 \001(\010\022P\n\027custom_placement_con" + + "fig\030\032 \001(\0132/.google.storage.v2.Bucket.Cus" + + "tomPlacementConfig\0226\n\tautoclass\030\034 \001(\0132#." + + "google.storage.v2.Bucket.Autoclass\032!\n\007Bi" + + "lling\022\026\n\016requester_pays\030\001 \001(\010\032X\n\004Cors\022\016\n" + + "\006origin\030\001 \003(\t\022\016\n\006method\030\002 \003(\t\022\027\n\017respons" + + "e_header\030\003 \003(\t\022\027\n\017max_age_seconds\030\004 \001(\005\032" + + "M\n\nEncryption\022?\n\017default_kms_key\030\001 \001(\tB&" + + "\372A#\n!cloudkms.googleapis.com/CryptoKey\032\354" + + "\001\n\tIamConfig\022a\n\033uniform_bucket_level_acc" + + "ess\030\001 \001(\0132<.google.storage.v2.Bucket.Iam" + + "Config.UniformBucketLevelAccess\022 \n\030publi" + + "c_access_prevention\030\003 \001(\t\032Z\n\030UniformBuck" + + "etLevelAccess\022\017\n\007enabled\030\001 \001(\010\022-\n\tlock_t" + + "ime\030\002 \001(\0132\032.google.protobuf.Timestamp\032\363\005" + + "\n\tLifecycle\0226\n\004rule\030\001 \003(\0132(.google.stora" + + "ge.v2.Bucket.Lifecycle.Rule\032\255\005\n\004Rule\022?\n\006" + + "action\030\001 \001(\0132/.google.storage.v2.Bucket." + + "Lifecycle.Rule.Action\022E\n\tcondition\030\002 \001(\013" + + "22.google.storage.v2.Bucket.Lifecycle.Ru" + + "le.Condition\032-\n\006Action\022\014\n\004type\030\001 \001(\t\022\025\n\r" + + "storage_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(\013" + + "2\021.google.type.Date\022\024\n\007is_live\030\003 \001(\010H\001\210\001" + + "\001\022\037\n\022num_newer_versions\030\004 \001(\005H\002\210\001\001\022\035\n\025ma" + + "tches_storage_class\030\005 \003(\t\022#\n\026days_since_" + + "custom_time\030\007 \001(\005H\003\210\001\001\022-\n\022custom_time_be" + + "fore\030\010 \001(\0132\021.google.type.Date\022\'\n\032days_si" + + "nce_noncurrent_time\030\t \001(\005H\004\210\001\001\0221\n\026noncur" + + "rent_time_before\030\n \001(\0132\021.google.type.Dat" + + "e\022\026\n\016matches_prefix\030\013 \003(\t\022\026\n\016matches_suf" + + "fix\030\014 \003(\tB\013\n\t_age_daysB\n\n\010_is_liveB\025\n\023_n" + + "um_newer_versionsB\031\n\027_days_since_custom_" + + "timeB\035\n\033_days_since_noncurrent_time\0328\n\007L" + + "ogging\022\022\n\nlog_bucket\030\001 \001(\t\022\031\n\021log_object" + + "_prefix\030\002 \001(\t\032\217\001\n\017RetentionPolicy\0222\n\016eff" + + "ective_time\030\001 \001(\0132\032.google.protobuf.Time" + + "stamp\022\021\n\tis_locked\030\002 \001(\010\0225\n\022retention_du" + + "ration\030\004 \001(\0132\031.google.protobuf.Duration\032" + + "\035\n\nVersioning\022\017\n\007enabled\030\001 \001(\010\032;\n\007Websit" + + "e\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\016" + + "data_locations\030\001 \003(\t\032S\n\tAutoclass\022\017\n\007ena" + + "bled\030\001 \001(\010\0225\n\013toggle_time\030\002 \001(\0132\032.google" + + ".protobuf.TimestampB\004\342A\001\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\035s" + + "torage.googleapis.com/Bucket\022#projects/{" + + "project}/buckets/{bucket}\"\317\001\n\023BucketAcce" + + "ssControl\022\014\n\004role\030\001 \001(\t\022\n\n\002id\030\002 \001(\t\022\016\n\006e" + + "ntity\030\003 \001(\t\022\030\n\nentity_alt\030\t \001(\tB\004\342A\001\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.google.storage.v2.ProjectTeam\"F\n\017C" + + "hecksummedData\022\023\n\007content\030\001 \001(\014B\002\010\001\022\023\n\006c" + + "rc32c\030\002 \001(\007H\000\210\001\001B\t\n\007_crc32c\"C\n\017ObjectChe" + + "cksums\022\023\n\006crc32c\030\001 \001(\007H\000\210\001\001\022\020\n\010md5_hash\030" + + "\002 \001(\014B\t\n\007_crc32c\"\263\002\n\017HmacKeyMetadata\022\020\n\002" + + "id\030\001 \001(\tB\004\342A\001\005\022\027\n\taccess_id\030\002 \001(\tB\004\342A\001\005\022" + + "E\n\007project\030\003 \001(\tB4\342A\001\005\372A-\n+cloudresource" + + "manager.googleapis.com/Project\022#\n\025servic" + + "e_account_email\030\004 \001(\tB\004\342A\001\003\022\r\n\005state\030\005 \001" + + "(\t\0225\n\013create_time\030\006 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\0225\n\013update_time\030\007 \001(\0132\032" + + ".google.protobuf.TimestampB\004\342A\001\003\022\014\n\004etag" + + "\030\010 \001(\t\"\252\003\n\022NotificationConfig\022\022\n\004name\030\001 " + + "\001(\tB\004\342A\001\002\022\023\n\005topic\030\002 \001(\tB\004\342A\001\002\022\014\n\004etag\030\007" + + " \001(\t\022\023\n\013event_types\030\003 \003(\t\022V\n\021custom_attr" + + "ibutes\030\004 \003(\0132;.google.storage.v2.Notific" + + "ationConfig.CustomAttributesEntry\022\032\n\022obj" + + "ect_name_prefix\030\005 \001(\t\022\034\n\016payload_format\030" + + "\006 \001(\tB\004\342A\001\002\0327\n\025CustomAttributesEntry\022\013\n\003" + + "key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:}\352Az\n)stora" + + "ge.googleapis.com/NotificationConfig\022Mpr" + + "ojects/{project}/buckets/{bucket}/notifi" + + "cationConfigs/{notification_config}\"L\n\022C" + + "ustomerEncryption\022\034\n\024encryption_algorith" + + "m\030\001 \001(\t\022\030\n\020key_sha256_bytes\030\003 \001(\014\"\216\t\n\006Ob" + + "ject\022\022\n\004name\030\001 \001(\tB\004\342A\001\005\0226\n\006bucket\030\002 \001(\t" + + "B&\342A\001\005\372A\037\n\035storage.googleapis.com/Bucket" + + "\022\014\n\004etag\030\033 \001(\t\022\030\n\ngeneration\030\003 \001(\003B\004\342A\001\005" + + "\022\034\n\016metageneration\030\004 \001(\003B\004\342A\001\003\022\025\n\rstorag" + + "e_class\030\005 \001(\t\022\022\n\004size\030\006 \001(\003B\004\342A\001\003\022\030\n\020con" + + "tent_encoding\030\007 \001(\t\022\033\n\023content_dispositi" + + "on\030\010 \001(\t\022\025\n\rcache_control\030\t \001(\t\0223\n\003acl\030\n" + + " \003(\0132&.google.storage.v2.ObjectAccessCon" + + "trol\022\030\n\020content_language\030\013 \001(\t\0225\n\013delete" + + "_time\030\014 \001(\0132\032.google.protobuf.TimestampB" + + "\004\342A\001\003\022\024\n\014content_type\030\r \001(\t\0225\n\013create_ti" + + "me\030\016 \001(\0132\032.google.protobuf.TimestampB\004\342A" + + "\001\003\022\035\n\017component_count\030\017 \001(\005B\004\342A\001\003\022;\n\tche" + + "cksums\030\020 \001(\0132\".google.storage.v2.ObjectC" + + "hecksumsB\004\342A\001\003\0225\n\013update_time\030\021 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\0227\n\007kms_key" + + "\030\022 \001(\tB&\372A#\n!cloudkms.googleapis.com/Cry" + + "ptoKey\022C\n\031update_storage_class_time\030\023 \001(" + + "\0132\032.google.protobuf.TimestampB\004\342A\001\003\022\026\n\016t" + + "emporary_hold\030\024 \001(\010\0229\n\025retention_expire_" + + "time\030\025 \001(\0132\032.google.protobuf.Timestamp\0229" + + "\n\010metadata\030\026 \003(\0132\'.google.storage.v2.Obj" + + "ect.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\004\342A\001\003\022B\n\023customer_encryption\030\031", + " \001(\0132%.google.storage.v2.CustomerEncrypt" + + "ion\022/\n\013custom_time\030\032 \001(\0132\032.google.protob" + + "uf.Timestamp\032/\n\rMetadataEntry\022\013\n\003key\030\001 \001" + + "(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\023\n\021_event_based_ho" + + "ld\"\317\001\n\023ObjectAccessControl\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\030\n\nentity_a" + + "lt\030\t \001(\tB\004\342A\001\003\022\021\n\tentity_id\030\004 \001(\t\022\014\n\004eta" + + "g\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\023ListObjectsResponse\022*\n\007o" + + "bjects\030\001 \003(\0132\031.google.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\016ServiceAccount\022\025\n\rema" + + "il_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\005" + + "start\030\001 \001(\003\022\013\n\003end\030\002 \001(\003\022\027\n\017complete_len" + + "gth\030\003 \001(\0032\230&\n\007Storage\022r\n\014DeleteBucket\022&." + + "google.storage.v2.DeleteBucketRequest\032\026." + + "google.protobuf.Empty\"\"\332A\004name\212\323\344\223\002\025\022\023\n\004" + + "name\022\013{bucket=**}\022o\n\tGetBucket\022#.google." + + "storage.v2.GetBucketRequest\032\031.google.sto" + + "rage.v2.Bucket\"\"\332A\004name\212\323\344\223\002\025\022\023\n\004name\022\013{" + + "bucket=**}\022\253\001\n\014CreateBucket\022&.google.sto" + + "rage.v2.CreateBucketRequest\032\031.google.sto" + + "rage.v2.Bucket\"X\332A\027parent,bucket,bucket_" + + "id\212\323\344\223\0028\022\026\n\006parent\022\014{project=**}\022\036\n\016buck" + + "et.project\022\014{project=**}\022\205\001\n\013ListBuckets" + + "\022%.google.storage.v2.ListBucketsRequest\032" + + "&.google.storage.v2.ListBucketsResponse\"" + + "\'\332A\006parent\212\323\344\223\002\030\022\026\n\006parent\022\014{project=**}" + + "\022\223\001\n\031LockBucketRetentionPolicy\0223.google." + + "storage.v2.LockBucketRetentionPolicyRequ" + + "est\032\031.google.storage.v2.Bucket\"&\332A\006bucke" + + "t\212\323\344\223\002\027\022\025\n\006bucket\022\013{bucket=**}\022\253\001\n\014GetIa" + + "mPolicy\022\".google.iam.v1.GetIamPolicyRequ" + + "est\032\025.google.iam.v1.Policy\"`\332A\010resource\212" + + "\323\344\223\002O\022\027\n\010resource\022\013{bucket=**}\0224\n\010resour" + + "ce\022({bucket=projects/*/buckets/*}/object" + + "s/**\022\262\001\n\014SetIamPolicy\022\".google.iam.v1.Se" + + "tIamPolicyRequest\032\025.google.iam.v1.Policy" + + "\"g\332A\017resource,policy\212\323\344\223\002O\022\027\n\010resource\022\013" + + "{bucket=**}\0224\n\010resource\022({bucket=project" + + "s/*/buckets/*}/objects/**\022\327\001\n\022TestIamPer" + + "missions\022(.google.iam.v1.TestIamPermissi" + + "onsRequest\032).google.iam.v1.TestIamPermis" + + "sionsResponse\"l\332A\024resource,permissions\212\323" + + "\344\223\002O\022\027\n\010resource\022\013{bucket=**}\0224\n\010resourc" + + "e\022({bucket=projects/*/buckets/*}/objects" + + "/**\022\212\001\n\014UpdateBucket\022&.google.storage.v2" + + ".UpdateBucketRequest\032\031.google.storage.v2" + + ".Bucket\"7\332A\022bucket,update_mask\212\323\344\223\002\034\022\032\n\013" + + "bucket.name\022\013{bucket=**}\022\237\001\n\030DeleteNotif" + + "icationConfig\0222.google.storage.v2.Delete" + + "NotificationConfigRequest\032\026.google.proto" + + "buf.Empty\"7\332A\004name\212\323\344\223\002*\022(\n\004name\022 {bucke" + + "t=projects/*/buckets/*}/**\022\250\001\n\025GetNotifi" + + "cationConfig\022/.google.storage.v2.GetNoti" + + "ficationConfigRequest\032%.google.storage.v" + + "2.NotificationConfig\"7\332A\004name\212\323\344\223\002*\022(\n\004n" + + "ame\022 {bucket=projects/*/buckets/*}/**\022\261\001" + + "\n\030CreateNotificationConfig\0222.google.stor" + + "age.v2.CreateNotificationConfigRequest\032%" + + ".google.storage.v2.NotificationConfig\":\332" + + "A\032parent,notification_config\212\323\344\223\002\027\022\025\n\006pa" + + "rent\022\013{bucket=**}\022\250\001\n\027ListNotificationCo" + + "nfigs\0221.google.storage.v2.ListNotificati" + + "onConfigsRequest\0322.google.storage.v2.Lis" + + "tNotificationConfigsResponse\"&\332A\006parent\212" + + "\323\344\223\002\027\022\025\n\006parent\022\013{bucket=**}\022~\n\rComposeO" + + "bject\022\'.google.storage.v2.ComposeObjectR" + + "equest\032\031.google.storage.v2.Object\")\212\323\344\223\002" + + "#\022!\n\022destination.bucket\022\013{bucket=**}\022\230\001\n" + + "\014DeleteObject\022&.google.storage.v2.Delete" + + "ObjectRequest\032\026.google.protobuf.Empty\"H\332" + + "A\rbucket,object\332A\030bucket,object,generati" + + "on\212\323\344\223\002\027\022\025\n\006bucket\022\013{bucket=**}\022\272\001\n\024Canc" + + "elResumableWrite\022..google.storage.v2.Can" + + "celResumableWriteRequest\032/.google.storag" + + "e.v2.CancelResumableWriteResponse\"A\332A\tup" + + "load_id\212\323\344\223\002/\022-\n\tupload_id\022 {bucket=proj" + + "ects/*/buckets/*}/**\022\225\001\n\tGetObject\022#.goo" + + "gle.storage.v2.GetObjectRequest\032\031.google" + + ".storage.v2.Object\"H\332A\rbucket,object\332A\030b" + + "ucket,object,generation\212\323\344\223\002\027\022\025\n\006bucket\022" + + "\013{bucket=**}\022\245\001\n\nReadObject\022$.google.sto" + + "rage.v2.ReadObjectRequest\032%.google.stora" + + "ge.v2.ReadObjectResponse\"H\332A\rbucket,obje" + + "ct\332A\030bucket,object,generation\212\323\344\223\002\027\022\025\n\006b" + + "ucket\022\013{bucket=**}0\001\022\214\001\n\014UpdateObject\022&." + + "google.storage.v2.UpdateObjectRequest\032\031." + + "google.storage.v2.Object\"9\332A\022object,upda" + + "te_mask\212\323\344\223\002\036\022\034\n\robject.bucket\022\013{bucket=" + + "**}\022`\n\013WriteObject\022%.google.storage.v2.W" + + "riteObjectRequest\032&.google.storage.v2.Wr" + + "iteObjectResponse\"\000(\001\022\204\001\n\013ListObjects\022%." + + "google.storage.v2.ListObjectsRequest\032&.g" + + "oogle.storage.v2.ListObjectsResponse\"&\332A" + + "\006parent\212\323\344\223\002\027\022\025\n\006parent\022\013{bucket=**}\022\230\001\n" + + "\rRewriteObject\022\'.google.storage.v2.Rewri" + + "teObjectRequest\032\".google.storage.v2.Rewr" + + "iteResponse\":\212\323\344\223\0024\022\017\n\rsource_bucket\022!\n\022" + + "destination_bucket\022\013{bucket=**}\022\256\001\n\023Star" + + "tResumableWrite\022-.google.storage.v2.Star" + + "tResumableWriteRequest\032..google.storage." + + "v2.StartResumableWriteResponse\"8\212\323\344\223\0022\0220" + + "\n!write_object_spec.resource.bucket\022\013{bu" + + "cket=**}\022\256\001\n\020QueryWriteStatus\022*.google.s" + + "torage.v2.QueryWriteStatusRequest\032+.goog" + + "le.storage.v2.QueryWriteStatusResponse\"A" + + "\332A\tupload_id\212\323\344\223\002/\022-\n\tupload_id\022 {bucket" + + "=projects/*/buckets/*}/**\022\200\001\n\021GetService" + + "Account\022+.google.storage.v2.GetServiceAc" + + "countRequest\032!.google.storage.v2.Service" + + "Account\"\033\332A\007project\212\323\344\223\002\013\022\t\n\007project\022\225\001\n" + + "\rCreateHmacKey\022\'.google.storage.v2.Creat" + + "eHmacKeyRequest\032(.google.storage.v2.Crea" + + "teHmacKeyResponse\"1\332A\035project,service_ac" + + "count_email\212\323\344\223\002\013\022\t\n\007project\022w\n\rDeleteHm" + + "acKey\022\'.google.storage.v2.DeleteHmacKeyR" + + "equest\032\026.google.protobuf.Empty\"%\332A\021acces" + + "s_id,project\212\323\344\223\002\013\022\t\n\007project\022}\n\nGetHmac" + + "Key\022$.google.storage.v2.GetHmacKeyReques" + + "t\032\".google.storage.v2.HmacKeyMetadata\"%\332" + + "A\021access_id,project\212\323\344\223\002\013\022\t\n\007project\022|\n\014" + + "ListHmacKeys\022&.google.storage.v2.ListHma" + + "cKeysRequest\032\'.google.storage.v2.ListHma" + + "cKeysResponse\"\033\332A\007project\212\323\344\223\002\013\022\t\n\007proje" + + "ct\022\235\001\n\rUpdateHmacKey\022\'.google.storage.v2" + + ".UpdateHmacKeyRequest\032\".google.storage.v" + + "2.HmacKeyMetadata\"?\332A\024hmac_key,update_ma" + + "sk\212\323\344\223\002\"\022 \n\020hmac_key.project\022\014{project=*" + + "*}\032\247\002\312A\026storage.googleapis.com\322A\212\002https:" + + "//www.googleapis.com/auth/cloud-platform" + + ",https://www.googleapis.com/auth/cloud-p" + + "latform.read-only,https://www.googleapis" + + ".com/auth/devstorage.full_control,https:" + + "//www.googleapis.com/auth/devstorage.rea" + + "d_only,https://www.googleapis.com/auth/d" + + "evstorage.read_writeB\342\001\n\025com.google.stor" + + "age.v2B\014StorageProtoP\001Z>cloud.google.com" + + "/go/storage/internal/apiv2/storagepb;sto" + + "ragepb\352Ax\n!cloudkms.googleapis.com/Crypt" + + "oKey\022Sprojects/{project}/locations/{loca" + + "tion}/keyRings/{key_ring}/cryptoKeys/{cr" + + "ypto_key}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequest.java index 13b7dd08f4..10568499da 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateBucketRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_UpdateBucketRequest_descriptor; @@ -305,10 +300,12 @@ public com.google.protobuf.ByteString getPredefinedDefaultObjectAclBytes() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -326,10 +323,12 @@ public boolean hasUpdateMask() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -347,10 +346,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -1424,10 +1425,12 @@ public Builder setPredefinedDefaultObjectAclBytes(com.google.protobuf.ByteString * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1444,10 +1447,12 @@ public boolean hasUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1470,10 +1475,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1498,10 +1505,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1523,10 +1532,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1554,10 +1565,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1579,10 +1592,12 @@ public Builder clearUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1599,10 +1614,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1623,10 +1640,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequestOrBuilder.java index 7962303a98..663a58a992 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateBucketRequestOrBuilder.java @@ -178,10 +178,12 @@ public interface UpdateBucketRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -196,10 +198,12 @@ public interface UpdateBucketRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -214,10 +218,12 @@ public interface UpdateBucketRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequest.java index 694745176f..2af93d09a2 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateHmacKeyRequest.java @@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateHmacKeyRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_UpdateHmacKeyRequest_descriptor; diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequest.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequest.java index 627697ea3e..e3b1ba4de7 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequest.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequest.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateObjectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_UpdateObjectRequest_descriptor; @@ -334,10 +329,12 @@ public com.google.protobuf.ByteString getPredefinedAclBytes() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -355,10 +352,12 @@ public boolean hasUpdateMask() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -376,10 +375,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -1639,10 +1640,12 @@ public Builder setPredefinedAclBytes(com.google.protobuf.ByteString value) { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1659,10 +1662,12 @@ public boolean hasUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1685,10 +1690,12 @@ public com.google.protobuf.FieldMask getUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1713,10 +1720,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1738,10 +1747,12 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1769,10 +1780,12 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1794,10 +1807,12 @@ public Builder clearUpdateMask() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1814,10 +1829,12 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* @@ -1838,10 +1855,12 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { * *
      * Required. List of fields to be updated.
+     *
      * To specify ALL fields, equivalent to the JSON API's "update" function,
      * specify a single field with the value `*`. Note: not recommended. If a new
      * field is introduced at a later time, an older client updating with the `*`
      * may accidentally reset the new field's value.
+     *
      * Not specifying any fields is an error.
      * 
* diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequestOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequestOrBuilder.java index 1e2ec6c8df..85a5d228db 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequestOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/UpdateObjectRequestOrBuilder.java @@ -218,10 +218,12 @@ public interface UpdateObjectRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -236,10 +238,12 @@ public interface UpdateObjectRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* @@ -254,10 +258,12 @@ public interface UpdateObjectRequestOrBuilder * *
    * Required. List of fields to be updated.
+   *
    * To specify ALL fields, equivalent to the JSON API's "update" function,
    * specify a single field with the value `*`. Note: not recommended. If a new
    * field is introduced at a later time, an older client updating with the `*`
    * may accidentally reset the new field's value.
+   *
    * Not specifying any fields is an error.
    * 
* 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 a51af321d6..aa01ce4c5a 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 @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteObjectRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_WriteObjectRequest_descriptor; @@ -66,6 +61,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int firstMessageCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object firstMessage_; public enum FirstMessageCase @@ -113,6 +110,8 @@ public FirstMessageCase getFirstMessageCase() { } private int dataCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object data_; public enum DataCase @@ -291,13 +290,16 @@ public com.google.storage.v2.WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilde *
    * 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
    * return (0 if this is the first write to the object).
+   *
    * On subsequent calls, this value **must** be no larger than the sum of the
    * first `write_offset` and the sizes of all `data` chunks sent previously on
    * this stream.
+   *
    * An incorrect value will cause an error.
    * 
* @@ -371,7 +373,7 @@ public com.google.storage.v2.ChecksummedDataOrBuilder getChecksummedDataOrBuilde * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -389,7 +391,7 @@ public boolean hasObjectChecksums() { * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -409,7 +411,7 @@ public com.google.storage.v2.ObjectChecksums getObjectChecksums() { * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -1453,13 +1455,16 @@ public com.google.storage.v2.WriteObjectSpecOrBuilder getWriteObjectSpecOrBuilde *
      * 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
      * return (0 if this is the first write to the object).
+     *
      * On subsequent calls, this value **must** be no larger than the sum of the
      * first `write_offset` and the sizes of all `data` chunks sent previously on
      * this stream.
+     *
      * An incorrect value will cause an error.
      * 
* @@ -1477,13 +1482,16 @@ public long getWriteOffset() { *
      * 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
      * return (0 if this is the first write to the object).
+     *
      * On subsequent calls, this value **must** be no larger than the sum of the
      * first `write_offset` and the sizes of all `data` chunks sent previously on
      * this stream.
+     *
      * An incorrect value will cause an error.
      * 
* @@ -1505,13 +1513,16 @@ public Builder setWriteOffset(long value) { *
      * 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
      * return (0 if this is the first write to the object).
+     *
      * On subsequent calls, this value **must** be no larger than the sum of the
      * first `write_offset` and the sizes of all `data` chunks sent previously on
      * this stream.
+     *
      * An incorrect value will cause an error.
      * 
* @@ -1752,7 +1763,7 @@ public com.google.storage.v2.ChecksummedDataOrBuilder getChecksummedDataOrBuilde * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1769,7 +1780,7 @@ public boolean hasObjectChecksums() { * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1792,7 +1803,7 @@ public com.google.storage.v2.ObjectChecksums getObjectChecksums() { * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1817,7 +1828,7 @@ public Builder setObjectChecksums(com.google.storage.v2.ObjectChecksums value) { * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1840,7 +1851,7 @@ public Builder setObjectChecksums( * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1868,7 +1879,7 @@ public Builder mergeObjectChecksums(com.google.storage.v2.ObjectChecksums value) * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1890,7 +1901,7 @@ public Builder clearObjectChecksums() { * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1907,7 +1918,7 @@ public com.google.storage.v2.ObjectChecksums.Builder getObjectChecksumsBuilder() * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
@@ -1928,7 +1939,7 @@ public com.google.storage.v2.ObjectChecksumsOrBuilder getObjectChecksumsOrBuilde * *
      * Checksums for the complete object. If the checksums computed by the service
-     * don't match the specifified checksums the call will fail. May only be
+     * don't match the specified checksums the call will fail. May only be
      * provided in the first or last request (either with first_message, or
      * finish_write set).
      * 
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 799717bb15..04b60183cd 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 @@ -107,13 +107,16 @@ public interface WriteObjectRequestOrBuilder *
    * 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
    * return (0 if this is the first write to the object).
+   *
    * On subsequent calls, this value **must** be no larger than the sum of the
    * first `write_offset` and the sizes of all `data` chunks sent previously on
    * this stream.
+   *
    * An incorrect value will cause an error.
    * 
* @@ -166,7 +169,7 @@ public interface WriteObjectRequestOrBuilder * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -181,7 +184,7 @@ public interface WriteObjectRequestOrBuilder * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -196,7 +199,7 @@ public interface WriteObjectRequestOrBuilder * *
    * Checksums for the complete object. If the checksums computed by the service
-   * don't match the specifified checksums the call will fail. May only be
+   * don't match the specified checksums the call will fail. May only be
    * provided in the first or last request (either with first_message, or
    * finish_write set).
    * 
@@ -258,7 +261,7 @@ public interface WriteObjectRequestOrBuilder */ com.google.storage.v2.CommonObjectRequestParamsOrBuilder getCommonObjectRequestParamsOrBuilder(); - public com.google.storage.v2.WriteObjectRequest.FirstMessageCase getFirstMessageCase(); + com.google.storage.v2.WriteObjectRequest.FirstMessageCase getFirstMessageCase(); - public com.google.storage.v2.WriteObjectRequest.DataCase getDataCase(); + com.google.storage.v2.WriteObjectRequest.DataCase getDataCase(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponse.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponse.java index bb9b386132..c99f4fafc0 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponse.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponse.java @@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteObjectResponse(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_WriteObjectResponse_descriptor; @@ -66,6 +61,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { } private int writeStatusCase_ = 0; + + @SuppressWarnings("serial") private java.lang.Object writeStatus_; public enum WriteStatusCase diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponseOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponseOrBuilder.java index fe718a7761..fcc3a606b1 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponseOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectResponseOrBuilder.java @@ -88,5 +88,5 @@ public interface WriteObjectResponseOrBuilder */ com.google.storage.v2.ObjectOrBuilder getResourceOrBuilder(); - public com.google.storage.v2.WriteObjectResponse.WriteStatusCase getWriteStatusCase(); + com.google.storage.v2.WriteObjectResponse.WriteStatusCase getWriteStatusCase(); } diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpec.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpec.java index 4eb3c2c7ea..bc3715f726 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpec.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpec.java @@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new WriteObjectSpec(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.storage.v2.StorageProto .internal_static_google_storage_v2_WriteObjectSpec_descriptor; @@ -324,6 +319,7 @@ public long getIfMetagenerationNotMatch() { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -344,6 +340,7 @@ public boolean hasObjectSize() { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -1482,6 +1479,7 @@ public Builder clearIfMetagenerationNotMatch() { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -1502,6 +1500,7 @@ public boolean hasObjectSize() { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -1522,6 +1521,7 @@ public long getObjectSize() { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -1546,6 +1546,7 @@ public Builder setObjectSize(long value) { * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. diff --git a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpecOrBuilder.java b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpecOrBuilder.java index 587cb6b79b..1797218b77 100644 --- a/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpecOrBuilder.java +++ b/proto-google-cloud-storage-v2/src/main/java/com/google/storage/v2/WriteObjectSpecOrBuilder.java @@ -208,6 +208,7 @@ public interface WriteObjectSpecOrBuilder * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. @@ -225,6 +226,7 @@ public interface WriteObjectSpecOrBuilder * The expected final object size being uploaded. * If this value is set, closing the stream after writing fewer or more than * `object_size` bytes will result in an OUT_OF_RANGE error. + * * This situation is considered a client error, and if such an error occurs * you must start the upload over from scratch, this time sending the correct * number of bytes. 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 02d78323b6..5fa78ba973 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 @@ -327,6 +327,8 @@ service Storage { // persisted offset. Even though the data isn't written, it may still // incur a performance cost over resuming at the correct write offset. // This behavior can make client-side handling simpler in some cases. + // - Clients must only send data that is a multiple of 256 KiB per message, + // unless the object is being finished with `finish_write` set to `true`. // // The service will not view the object as complete until the client has // sent a `WriteObjectRequest` with `finish_write` set to `true`. Sending any @@ -338,6 +340,7 @@ 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) {} // Retrieves a list of objects matching the criteria. @@ -499,7 +502,7 @@ message CreateBucketRequest { // Properties of the new bucket being inserted. // The name of the bucket is specified in the `bucket_id` field. Populating - // `bucket.name` field will result in an error. + // `bucket.name` field will be ignored. // The project of the bucket must be specified in the `bucket.project` field. // This field must be in `projects/{projectIdentifier}` format, // {projectIdentifier} can be the project ID or project number. The `parent` @@ -912,9 +915,9 @@ message ReadObjectResponse { // generate more data. ChecksummedData checksummed_data = 1; - // The checksums of the complete object. The client should compute one of - // these checksums over the downloaded object and compare it against the value - // provided here. + // The checksums of the complete object. If the object is downloaded in full, + // the client should compute one of these checksums over the downloaded object + // and compare it against the value provided here. ObjectChecksums object_checksums = 2; // If read_offset and or read_limit was specified on the @@ -1002,7 +1005,7 @@ message WriteObjectRequest { } // Checksums for the complete object. If the checksums computed by the service - // don't match the specifified checksums the call will fail. May only be + // don't match the specified checksums the call will fail. May only be // provided in the first or last request (either with first_message, or // finish_write set). ObjectChecksums object_checksums = 6; @@ -1805,6 +1808,7 @@ message Bucket { } // Immutable. The name of the bucket. + // Format: `projects/{project}/buckets/{bucket}` string name = 1 [(google.api.field_behavior) = IMMUTABLE]; // Output only. The user-chosen part of the bucket name. The `{bucket}` @@ -2013,7 +2017,7 @@ message BucketAccessControl { // checksum. message ChecksummedData { // The data. - bytes content = 1; + bytes content = 1 [ctype = CORD]; // If set, the CRC32C digest of the content field. optional fixed32 crc32c = 2; @@ -2193,9 +2197,8 @@ 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. If this object is noncurrent, this is the time when the object + // became noncurrent. 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]; diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 5ad42ad391..cc9e1e719a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -30,7 +30,7 @@ com.google.cloud google-cloud-storage - 2.22.2 + 2.22.3 @@ -43,7 +43,7 @@ com.google.truth truth - 1.1.3 + 1.1.4 test @@ -61,7 +61,7 @@ com.google.cloud google-cloud-pubsub - 1.123.12 + 1.123.13 test diff --git a/samples/native-image-sample/pom.xml b/samples/native-image-sample/pom.xml index 024d2f7a15..30a696b6d7 100644 --- a/samples/native-image-sample/pom.xml +++ b/samples/native-image-sample/pom.xml @@ -29,7 +29,7 @@ com.google.cloud libraries-bom - 26.15.0 + 26.16.0 pom import @@ -55,13 +55,13 @@ com.google.truth truth - 1.1.3 + 1.1.4 test com.google.cloud google-cloud-pubsub - 1.123.12 + 1.123.13 test @@ -124,7 +124,7 @@ org.apache.maven.plugins maven-surefire-plugin - 3.1.0 + 3.1.2 **/*IT diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 0fe587c150..4972a97043 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-storage - 2.22.3 + 2.22.4 @@ -40,7 +40,7 @@ com.google.truth truth - 1.1.3 + 1.1.4 test @@ -52,7 +52,7 @@ com.google.cloud google-cloud-pubsub - 1.123.12 + 1.123.13 test diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index bef79db38f..6f9ab79386 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -31,7 +31,7 @@ com.google.cloud libraries-bom - 26.15.0 + 26.16.0 pom import @@ -54,7 +54,7 @@ com.google.truth truth - 1.1.3 + 1.1.4 test @@ -72,7 +72,7 @@ com.google.cloud google-cloud-pubsub - 1.123.12 + 1.123.13 test diff --git a/versions.txt b/versions.txt index 7f30fa1ac7..1328807ea6 100644 --- a/versions.txt +++ b/versions.txt @@ -1,7 +1,7 @@ # Format: # module:released-version:current-version -google-cloud-storage:2.22.3:2.22.3 -gapic-google-cloud-storage-v2:2.22.3-alpha:2.22.3-alpha -grpc-google-cloud-storage-v2:2.22.3-alpha:2.22.3-alpha -proto-google-cloud-storage-v2:2.22.3-alpha:2.22.3-alpha +google-cloud-storage:2.22.4:2.22.4 +gapic-google-cloud-storage-v2:2.22.4-alpha:2.22.4-alpha +grpc-google-cloud-storage-v2:2.22.4-alpha:2.22.4-alpha +proto-google-cloud-storage-v2:2.22.4-alpha:2.22.4-alpha