diff --git a/grpc-google-cloud-storage-control-v2/src/main/java/com/google/storage/control/v2/StorageControlGrpc.java b/grpc-google-cloud-storage-control-v2/src/main/java/com/google/storage/control/v2/StorageControlGrpc.java deleted file mode 100644 index 638138a560..0000000000 --- a/grpc-google-cloud-storage-control-v2/src/main/java/com/google/storage/control/v2/StorageControlGrpc.java +++ /dev/null @@ -1,947 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.storage.control.v2; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * StorageControl service includes selected control plane operations. - *- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/storage/control/v2/storage_control.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class StorageControlGrpc { - - private StorageControlGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.storage.control.v2.StorageControl"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.storage.control.v2.CreateFolderRequest, com.google.storage.control.v2.Folder> - getCreateFolderMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateFolder", - requestType = com.google.storage.control.v2.CreateFolderRequest.class, - responseType = com.google.storage.control.v2.Folder.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.control.v2.CreateFolderRequest, com.google.storage.control.v2.Folder> - getCreateFolderMethod() { - io.grpc.MethodDescriptor< - com.google.storage.control.v2.CreateFolderRequest, com.google.storage.control.v2.Folder> - getCreateFolderMethod; - if ((getCreateFolderMethod = StorageControlGrpc.getCreateFolderMethod) == null) { - synchronized (StorageControlGrpc.class) { - if ((getCreateFolderMethod = StorageControlGrpc.getCreateFolderMethod) == null) { - StorageControlGrpc.getCreateFolderMethod = - getCreateFolderMethod = - io.grpc.MethodDescriptor - .
- * StorageControl service includes selected control plane operations. - *- */ - public interface AsyncService { - - /** - * - * - *
- * Creates a new folder. - *- */ - default void createFolder( - com.google.storage.control.v2.CreateFolderRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes an empty folder. - *- */ - default void deleteFolder( - com.google.storage.control.v2.DeleteFolderRequest request, - io.grpc.stub.StreamObserver
- * Returns metadata for the specified folder. - *- */ - default void getFolder( - com.google.storage.control.v2.GetFolderRequest request, - io.grpc.stub.StreamObserver
- * Retrieves a list of folders for a given bucket. - *- */ - default void listFolders( - com.google.storage.control.v2.ListFoldersRequest request, - io.grpc.stub.StreamObserver
- * Renames a source folder to a destination folder. During a rename, the - * source and destination folders are locked until the long running operation - * completes. - *- */ - default void renameFolder( - com.google.storage.control.v2.RenameFolderRequest request, - io.grpc.stub.StreamObserver
- * Returns the storage layout configuration for a given bucket. - *- */ - default void getStorageLayout( - com.google.storage.control.v2.GetStorageLayoutRequest request, - io.grpc.stub.StreamObserver
- * StorageControl service includes selected control plane operations. - *- */ - public abstract static class StorageControlImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return StorageControlGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service StorageControl. - * - *
- * StorageControl service includes selected control plane operations. - *- */ - public static final class StorageControlStub - extends io.grpc.stub.AbstractAsyncStub
- * Creates a new folder. - *- */ - public void createFolder( - com.google.storage.control.v2.CreateFolderRequest request, - io.grpc.stub.StreamObserver
- * Permanently deletes an empty folder. - *- */ - public void deleteFolder( - com.google.storage.control.v2.DeleteFolderRequest request, - io.grpc.stub.StreamObserver
- * Returns metadata for the specified folder. - *- */ - public void getFolder( - com.google.storage.control.v2.GetFolderRequest request, - io.grpc.stub.StreamObserver
- * Retrieves a list of folders for a given bucket. - *- */ - public void listFolders( - com.google.storage.control.v2.ListFoldersRequest request, - io.grpc.stub.StreamObserver
- * Renames a source folder to a destination folder. During a rename, the - * source and destination folders are locked until the long running operation - * completes. - *- */ - public void renameFolder( - com.google.storage.control.v2.RenameFolderRequest request, - io.grpc.stub.StreamObserver
- * Returns the storage layout configuration for a given bucket. - *- */ - public void getStorageLayout( - com.google.storage.control.v2.GetStorageLayoutRequest request, - io.grpc.stub.StreamObserver
- * StorageControl service includes selected control plane operations. - *- */ - public static final class StorageControlBlockingStub - extends io.grpc.stub.AbstractBlockingStub
- * Creates a new folder. - *- */ - public com.google.storage.control.v2.Folder createFolder( - com.google.storage.control.v2.CreateFolderRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateFolderMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Permanently deletes an empty folder. - *- */ - public com.google.protobuf.Empty deleteFolder( - com.google.storage.control.v2.DeleteFolderRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteFolderMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Returns metadata for the specified folder. - *- */ - public com.google.storage.control.v2.Folder getFolder( - com.google.storage.control.v2.GetFolderRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetFolderMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Retrieves a list of folders for a given bucket. - *- */ - public com.google.storage.control.v2.ListFoldersResponse listFolders( - com.google.storage.control.v2.ListFoldersRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListFoldersMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Renames a source folder to a destination folder. During a rename, the - * source and destination folders are locked until the long running operation - * completes. - *- */ - public com.google.longrunning.Operation renameFolder( - com.google.storage.control.v2.RenameFolderRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getRenameFolderMethod(), getCallOptions(), request); - } - - /** - * - * - *
- * Returns the storage layout configuration for a given bucket. - *- */ - public com.google.storage.control.v2.StorageLayout getStorageLayout( - com.google.storage.control.v2.GetStorageLayoutRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetStorageLayoutMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageControl. - * - *
- * StorageControl service includes selected control plane operations. - *- */ - public static final class StorageControlFutureStub - extends io.grpc.stub.AbstractFutureStub
- * Creates a new folder. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Permanently deletes an empty folder. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Returns metadata for the specified folder. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Retrieves a list of folders for a given bucket. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storage.control.v2.ListFoldersResponse> - listFolders(com.google.storage.control.v2.ListFoldersRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListFoldersMethod(), getCallOptions()), request); - } - - /** - * - * - *
- * Renames a source folder to a destination folder. During a rename, the - * source and destination folders are locked until the long running operation - * completes. - *- */ - public com.google.common.util.concurrent.ListenableFuture
- * Returns the storage layout configuration for a given bucket. - *- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.storage.control.v2.StorageLayout> - getStorageLayout(com.google.storage.control.v2.GetStorageLayoutRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetStorageLayoutMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_CREATE_FOLDER = 0; - private static final int METHODID_DELETE_FOLDER = 1; - private static final int METHODID_GET_FOLDER = 2; - private static final int METHODID_LIST_FOLDERS = 3; - private static final int METHODID_RENAME_FOLDER = 4; - private static final int METHODID_GET_STORAGE_LAYOUT = 5; - - private static final class MethodHandlers
+ * StorageControl service includes selected control plane operations. + *+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/storage/control/v2/storage_control.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class StorageControlGrpc { + + private StorageControlGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.storage.control.v2.StorageControl"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor
+ * StorageControl service includes selected control plane operations. + *+ */ + public interface AsyncService { + + /** + *
+ * Creates a new folder. + *+ */ + default void createFolder(com.google.storage.control.v2.CreateFolderRequest request, + io.grpc.stub.StreamObserver
+ * Permanently deletes an empty folder. + *+ */ + default void deleteFolder(com.google.storage.control.v2.DeleteFolderRequest request, + io.grpc.stub.StreamObserver
+ * Returns metadata for the specified folder. + *+ */ + default void getFolder(com.google.storage.control.v2.GetFolderRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves a list of folders for a given bucket. + *+ */ + default void listFolders(com.google.storage.control.v2.ListFoldersRequest request, + io.grpc.stub.StreamObserver
+ * Renames a source folder to a destination folder. During a rename, the + * source and destination folders are locked until the long running operation + * completes. + *+ */ + default void renameFolder(com.google.storage.control.v2.RenameFolderRequest request, + io.grpc.stub.StreamObserver
+ * Returns the storage layout configuration for a given bucket. + *+ */ + default void getStorageLayout(com.google.storage.control.v2.GetStorageLayoutRequest request, + io.grpc.stub.StreamObserver
+ * StorageControl service includes selected control plane operations. + *+ */ + public static abstract class StorageControlImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return StorageControlGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service StorageControl. + *
+ * StorageControl service includes selected control plane operations. + *+ */ + public static final class StorageControlStub + extends io.grpc.stub.AbstractAsyncStub
+ * Creates a new folder. + *+ */ + public void createFolder(com.google.storage.control.v2.CreateFolderRequest request, + io.grpc.stub.StreamObserver
+ * Permanently deletes an empty folder. + *+ */ + public void deleteFolder(com.google.storage.control.v2.DeleteFolderRequest request, + io.grpc.stub.StreamObserver
+ * Returns metadata for the specified folder. + *+ */ + public void getFolder(com.google.storage.control.v2.GetFolderRequest request, + io.grpc.stub.StreamObserver
+ * Retrieves a list of folders for a given bucket. + *+ */ + public void listFolders(com.google.storage.control.v2.ListFoldersRequest request, + io.grpc.stub.StreamObserver
+ * Renames a source folder to a destination folder. During a rename, the + * source and destination folders are locked until the long running operation + * completes. + *+ */ + public void renameFolder(com.google.storage.control.v2.RenameFolderRequest request, + io.grpc.stub.StreamObserver
+ * Returns the storage layout configuration for a given bucket. + *+ */ + public void getStorageLayout(com.google.storage.control.v2.GetStorageLayoutRequest request, + io.grpc.stub.StreamObserver
+ * StorageControl service includes selected control plane operations. + *+ */ + public static final class StorageControlBlockingStub + extends io.grpc.stub.AbstractBlockingStub
+ * Creates a new folder. + *+ */ + public com.google.storage.control.v2.Folder createFolder(com.google.storage.control.v2.CreateFolderRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateFolderMethod(), getCallOptions(), request); + } + + /** + *
+ * Permanently deletes an empty folder. + *+ */ + public com.google.protobuf.Empty deleteFolder(com.google.storage.control.v2.DeleteFolderRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteFolderMethod(), getCallOptions(), request); + } + + /** + *
+ * Returns metadata for the specified folder. + *+ */ + public com.google.storage.control.v2.Folder getFolder(com.google.storage.control.v2.GetFolderRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetFolderMethod(), getCallOptions(), request); + } + + /** + *
+ * Retrieves a list of folders for a given bucket. + *+ */ + public com.google.storage.control.v2.ListFoldersResponse listFolders(com.google.storage.control.v2.ListFoldersRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListFoldersMethod(), getCallOptions(), request); + } + + /** + *
+ * Renames a source folder to a destination folder. During a rename, the + * source and destination folders are locked until the long running operation + * completes. + *+ */ + public com.google.longrunning.Operation renameFolder(com.google.storage.control.v2.RenameFolderRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getRenameFolderMethod(), getCallOptions(), request); + } + + /** + *
+ * Returns the storage layout configuration for a given bucket. + *+ */ + public com.google.storage.control.v2.StorageLayout getStorageLayout(com.google.storage.control.v2.GetStorageLayoutRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetStorageLayoutMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service StorageControl. + *
+ * StorageControl service includes selected control plane operations. + *+ */ + public static final class StorageControlFutureStub + extends io.grpc.stub.AbstractFutureStub
+ * Creates a new folder. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Permanently deletes an empty folder. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Returns metadata for the specified folder. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Retrieves a list of folders for a given bucket. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Renames a source folder to a destination folder. During a rename, the + * source and destination folders are locked until the long running operation + * completes. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
+ * Returns the storage layout configuration for a given bucket. + *+ */ + public com.google.common.util.concurrent.ListenableFuture
* ## API Overview and Naming Syntax * The Cloud Storage gRPC API allows applications to read and write data through @@ -52,1394 +35,1043 @@ private StorageGrpc() {} public static final java.lang.String SERVICE_NAME = "google.storage.v2.Storage"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteBucketRequest, com.google.protobuf.Empty> - getDeleteBucketMethod; + private static volatile io.grpc.MethodDescriptorgetDeleteBucketMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteBucket", requestType = com.google.storage.v2.DeleteBucketRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteBucketRequest, com.google.protobuf.Empty> - getDeleteBucketMethod() { - io.grpc.MethodDescriptor - getDeleteBucketMethod; + public static io.grpc.MethodDescriptor getDeleteBucketMethod() { + io.grpc.MethodDescriptor getDeleteBucketMethod; if ((getDeleteBucketMethod = StorageGrpc.getDeleteBucketMethod) == null) { synchronized (StorageGrpc.class) { if ((getDeleteBucketMethod = StorageGrpc.getDeleteBucketMethod) == null) { - StorageGrpc.getDeleteBucketMethod = - getDeleteBucketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBucket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.DeleteBucketRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("DeleteBucket")) - .build(); + StorageGrpc.getDeleteBucketMethod = getDeleteBucketMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBucket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.DeleteBucketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("DeleteBucket")) + .build(); } } } return getDeleteBucketMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.GetBucketRequest, com.google.storage.v2.Bucket> - getGetBucketMethod; + private static volatile io.grpc.MethodDescriptor getGetBucketMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetBucket", requestType = com.google.storage.v2.GetBucketRequest.class, responseType = com.google.storage.v2.Bucket.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.GetBucketRequest, com.google.storage.v2.Bucket> - getGetBucketMethod() { - io.grpc.MethodDescriptor - getGetBucketMethod; + public static io.grpc.MethodDescriptor getGetBucketMethod() { + io.grpc.MethodDescriptor getGetBucketMethod; if ((getGetBucketMethod = StorageGrpc.getGetBucketMethod) == null) { synchronized (StorageGrpc.class) { if ((getGetBucketMethod = StorageGrpc.getGetBucketMethod) == null) { - StorageGrpc.getGetBucketMethod = - getGetBucketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBucket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.GetBucketRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Bucket.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetBucket")) - .build(); + StorageGrpc.getGetBucketMethod = getGetBucketMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBucket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.GetBucketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Bucket.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetBucket")) + .build(); } } } return getGetBucketMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.CreateBucketRequest, com.google.storage.v2.Bucket> - getCreateBucketMethod; + private static volatile io.grpc.MethodDescriptor getCreateBucketMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateBucket", requestType = com.google.storage.v2.CreateBucketRequest.class, responseType = com.google.storage.v2.Bucket.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.CreateBucketRequest, com.google.storage.v2.Bucket> - getCreateBucketMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.CreateBucketRequest, com.google.storage.v2.Bucket> - getCreateBucketMethod; + public static io.grpc.MethodDescriptor getCreateBucketMethod() { + io.grpc.MethodDescriptor getCreateBucketMethod; if ((getCreateBucketMethod = StorageGrpc.getCreateBucketMethod) == null) { synchronized (StorageGrpc.class) { if ((getCreateBucketMethod = StorageGrpc.getCreateBucketMethod) == null) { - StorageGrpc.getCreateBucketMethod = - getCreateBucketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBucket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.CreateBucketRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Bucket.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("CreateBucket")) - .build(); + StorageGrpc.getCreateBucketMethod = getCreateBucketMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBucket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.CreateBucketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Bucket.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("CreateBucket")) + .build(); } } } return getCreateBucketMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.ListBucketsRequest, com.google.storage.v2.ListBucketsResponse> - getListBucketsMethod; + private static volatile io.grpc.MethodDescriptor getListBucketsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListBuckets", requestType = com.google.storage.v2.ListBucketsRequest.class, responseType = com.google.storage.v2.ListBucketsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.ListBucketsRequest, com.google.storage.v2.ListBucketsResponse> - getListBucketsMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.ListBucketsRequest, com.google.storage.v2.ListBucketsResponse> - getListBucketsMethod; + public static io.grpc.MethodDescriptor getListBucketsMethod() { + io.grpc.MethodDescriptor getListBucketsMethod; if ((getListBucketsMethod = StorageGrpc.getListBucketsMethod) == null) { synchronized (StorageGrpc.class) { if ((getListBucketsMethod = StorageGrpc.getListBucketsMethod) == null) { - StorageGrpc.getListBucketsMethod = - getListBucketsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBuckets")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListBucketsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListBucketsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ListBuckets")) - .build(); + StorageGrpc.getListBucketsMethod = getListBucketsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBuckets")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListBucketsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListBucketsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ListBuckets")) + .build(); } } } return getListBucketsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.LockBucketRetentionPolicyRequest, com.google.storage.v2.Bucket> - getLockBucketRetentionPolicyMethod; + private static volatile io.grpc.MethodDescriptor getLockBucketRetentionPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "LockBucketRetentionPolicy", requestType = com.google.storage.v2.LockBucketRetentionPolicyRequest.class, responseType = com.google.storage.v2.Bucket.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.LockBucketRetentionPolicyRequest, com.google.storage.v2.Bucket> - getLockBucketRetentionPolicyMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.LockBucketRetentionPolicyRequest, com.google.storage.v2.Bucket> - getLockBucketRetentionPolicyMethod; - if ((getLockBucketRetentionPolicyMethod = StorageGrpc.getLockBucketRetentionPolicyMethod) - == null) { + public static io.grpc.MethodDescriptor getLockBucketRetentionPolicyMethod() { + io.grpc.MethodDescriptor getLockBucketRetentionPolicyMethod; + if ((getLockBucketRetentionPolicyMethod = StorageGrpc.getLockBucketRetentionPolicyMethod) == null) { synchronized (StorageGrpc.class) { - if ((getLockBucketRetentionPolicyMethod = StorageGrpc.getLockBucketRetentionPolicyMethod) - == null) { - StorageGrpc.getLockBucketRetentionPolicyMethod = - getLockBucketRetentionPolicyMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "LockBucketRetentionPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.LockBucketRetentionPolicyRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Bucket.getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("LockBucketRetentionPolicy")) - .build(); + if ((getLockBucketRetentionPolicyMethod = StorageGrpc.getLockBucketRetentionPolicyMethod) == null) { + StorageGrpc.getLockBucketRetentionPolicyMethod = getLockBucketRetentionPolicyMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "LockBucketRetentionPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.LockBucketRetentionPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Bucket.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("LockBucketRetentionPolicy")) + .build(); } } } return getLockBucketRetentionPolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getGetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", requestType = com.google.iam.v1.GetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> - getGetIamPolicyMethod() { - io.grpc.MethodDescriptor - getGetIamPolicyMethod; + public static io.grpc.MethodDescriptor getGetIamPolicyMethod() { + io.grpc.MethodDescriptor getGetIamPolicyMethod; if ((getGetIamPolicyMethod = StorageGrpc.getGetIamPolicyMethod) == null) { synchronized (StorageGrpc.class) { if ((getGetIamPolicyMethod = StorageGrpc.getGetIamPolicyMethod) == null) { - StorageGrpc.getGetIamPolicyMethod = - getGetIamPolicyMethod = - io.grpc.MethodDescriptor - . newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetIamPolicy")) - .build(); + StorageGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetIamPolicy")) + .build(); } } } return getGetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod; + private static volatile io.grpc.MethodDescriptor getSetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", requestType = com.google.iam.v1.SetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> - getSetIamPolicyMethod() { - io.grpc.MethodDescriptor - getSetIamPolicyMethod; + public static io.grpc.MethodDescriptor getSetIamPolicyMethod() { + io.grpc.MethodDescriptor getSetIamPolicyMethod; if ((getSetIamPolicyMethod = StorageGrpc.getSetIamPolicyMethod) == null) { synchronized (StorageGrpc.class) { if ((getSetIamPolicyMethod = StorageGrpc.getSetIamPolicyMethod) == null) { - StorageGrpc.getSetIamPolicyMethod = - getSetIamPolicyMethod = - io.grpc.MethodDescriptor - . newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.Policy.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("SetIamPolicy")) - .build(); + StorageGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.Policy.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("SetIamPolicy")) + .build(); } } } return getSetIamPolicyMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; + private static volatile io.grpc.MethodDescriptor getTestIamPermissionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", requestType = com.google.iam.v1.TestIamPermissionsRequest.class, responseType = com.google.iam.v1.TestIamPermissionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod() { - io.grpc.MethodDescriptor< - com.google.iam.v1.TestIamPermissionsRequest, - com.google.iam.v1.TestIamPermissionsResponse> - getTestIamPermissionsMethod; + public static io.grpc.MethodDescriptor getTestIamPermissionsMethod() { + io.grpc.MethodDescriptor getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = StorageGrpc.getTestIamPermissionsMethod) == null) { synchronized (StorageGrpc.class) { if ((getTestIamPermissionsMethod = StorageGrpc.getTestIamPermissionsMethod) == null) { - StorageGrpc.getTestIamPermissionsMethod = - getTestIamPermissionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("TestIamPermissions")) - .build(); + StorageGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("TestIamPermissions")) + .build(); } } } return getTestIamPermissionsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateBucketRequest, com.google.storage.v2.Bucket> - getUpdateBucketMethod; + private static volatile io.grpc.MethodDescriptor getUpdateBucketMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateBucket", requestType = com.google.storage.v2.UpdateBucketRequest.class, responseType = com.google.storage.v2.Bucket.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateBucketRequest, com.google.storage.v2.Bucket> - getUpdateBucketMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateBucketRequest, com.google.storage.v2.Bucket> - getUpdateBucketMethod; + public static io.grpc.MethodDescriptor getUpdateBucketMethod() { + io.grpc.MethodDescriptor getUpdateBucketMethod; if ((getUpdateBucketMethod = StorageGrpc.getUpdateBucketMethod) == null) { synchronized (StorageGrpc.class) { if ((getUpdateBucketMethod = StorageGrpc.getUpdateBucketMethod) == null) { - StorageGrpc.getUpdateBucketMethod = - getUpdateBucketMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBucket")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.UpdateBucketRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Bucket.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("UpdateBucket")) - .build(); + StorageGrpc.getUpdateBucketMethod = getUpdateBucketMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateBucket")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.UpdateBucketRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Bucket.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("UpdateBucket")) + .build(); } } } return getUpdateBucketMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteNotificationConfigRequest, com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; + private static volatile io.grpc.MethodDescriptor getDeleteNotificationConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteNotificationConfig", requestType = com.google.storage.v2.DeleteNotificationConfigRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteNotificationConfigRequest, com.google.protobuf.Empty> - getDeleteNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteNotificationConfigRequest, com.google.protobuf.Empty> - getDeleteNotificationConfigMethod; - if ((getDeleteNotificationConfigMethod = StorageGrpc.getDeleteNotificationConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getDeleteNotificationConfigMethod() { + io.grpc.MethodDescriptor getDeleteNotificationConfigMethod; + if ((getDeleteNotificationConfigMethod = StorageGrpc.getDeleteNotificationConfigMethod) == null) { synchronized (StorageGrpc.class) { - if ((getDeleteNotificationConfigMethod = StorageGrpc.getDeleteNotificationConfigMethod) - == null) { - StorageGrpc.getDeleteNotificationConfigMethod = - getDeleteNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "DeleteNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.DeleteNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("DeleteNotificationConfig")) - .build(); + if ((getDeleteNotificationConfigMethod = StorageGrpc.getDeleteNotificationConfigMethod) == null) { + StorageGrpc.getDeleteNotificationConfigMethod = getDeleteNotificationConfigMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.DeleteNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("DeleteNotificationConfig")) + .build(); } } } return getDeleteNotificationConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.GetNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getGetNotificationConfigMethod; + private static volatile io.grpc.MethodDescriptor getGetNotificationConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetNotificationConfig", requestType = com.google.storage.v2.GetNotificationConfigRequest.class, responseType = com.google.storage.v2.NotificationConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.GetNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getGetNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.GetNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getGetNotificationConfigMethod; + public static io.grpc.MethodDescriptor getGetNotificationConfigMethod() { + io.grpc.MethodDescriptor getGetNotificationConfigMethod; if ((getGetNotificationConfigMethod = StorageGrpc.getGetNotificationConfigMethod) == null) { synchronized (StorageGrpc.class) { if ((getGetNotificationConfigMethod = StorageGrpc.getGetNotificationConfigMethod) == null) { - StorageGrpc.getGetNotificationConfigMethod = - getGetNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "GetNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.GetNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.NotificationConfig.getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("GetNotificationConfig")) - .build(); + StorageGrpc.getGetNotificationConfigMethod = getGetNotificationConfigMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.GetNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.NotificationConfig.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetNotificationConfig")) + .build(); } } } return getGetNotificationConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.CreateNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getCreateNotificationConfigMethod; + private static volatile io.grpc.MethodDescriptor getCreateNotificationConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateNotificationConfig", requestType = com.google.storage.v2.CreateNotificationConfigRequest.class, responseType = com.google.storage.v2.NotificationConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.CreateNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getCreateNotificationConfigMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.CreateNotificationConfigRequest, - com.google.storage.v2.NotificationConfig> - getCreateNotificationConfigMethod; - if ((getCreateNotificationConfigMethod = StorageGrpc.getCreateNotificationConfigMethod) - == null) { + public static io.grpc.MethodDescriptor getCreateNotificationConfigMethod() { + io.grpc.MethodDescriptor getCreateNotificationConfigMethod; + if ((getCreateNotificationConfigMethod = StorageGrpc.getCreateNotificationConfigMethod) == null) { synchronized (StorageGrpc.class) { - if ((getCreateNotificationConfigMethod = StorageGrpc.getCreateNotificationConfigMethod) - == null) { - StorageGrpc.getCreateNotificationConfigMethod = - getCreateNotificationConfigMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CreateNotificationConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.CreateNotificationConfigRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.NotificationConfig.getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("CreateNotificationConfig")) - .build(); + if ((getCreateNotificationConfigMethod = StorageGrpc.getCreateNotificationConfigMethod) == null) { + StorageGrpc.getCreateNotificationConfigMethod = getCreateNotificationConfigMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateNotificationConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.CreateNotificationConfigRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.NotificationConfig.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("CreateNotificationConfig")) + .build(); } } } return getCreateNotificationConfigMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.ListNotificationConfigsRequest, - com.google.storage.v2.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; + private static volatile io.grpc.MethodDescriptor getListNotificationConfigsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListNotificationConfigs", requestType = com.google.storage.v2.ListNotificationConfigsRequest.class, responseType = com.google.storage.v2.ListNotificationConfigsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.ListNotificationConfigsRequest, - com.google.storage.v2.ListNotificationConfigsResponse> - getListNotificationConfigsMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.ListNotificationConfigsRequest, - com.google.storage.v2.ListNotificationConfigsResponse> - getListNotificationConfigsMethod; + public static io.grpc.MethodDescriptor getListNotificationConfigsMethod() { + io.grpc.MethodDescriptor getListNotificationConfigsMethod; if ((getListNotificationConfigsMethod = StorageGrpc.getListNotificationConfigsMethod) == null) { synchronized (StorageGrpc.class) { - if ((getListNotificationConfigsMethod = StorageGrpc.getListNotificationConfigsMethod) - == null) { - StorageGrpc.getListNotificationConfigsMethod = - getListNotificationConfigsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "ListNotificationConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListNotificationConfigsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListNotificationConfigsResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("ListNotificationConfigs")) - .build(); + if ((getListNotificationConfigsMethod = StorageGrpc.getListNotificationConfigsMethod) == null) { + StorageGrpc.getListNotificationConfigsMethod = getListNotificationConfigsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListNotificationConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListNotificationConfigsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListNotificationConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ListNotificationConfigs")) + .build(); } } } return getListNotificationConfigsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.ComposeObjectRequest, com.google.storage.v2.Object> - getComposeObjectMethod; + private static volatile io.grpc.MethodDescriptor getComposeObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ComposeObject", requestType = com.google.storage.v2.ComposeObjectRequest.class, responseType = com.google.storage.v2.Object.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.ComposeObjectRequest, com.google.storage.v2.Object> - getComposeObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.ComposeObjectRequest, com.google.storage.v2.Object> - getComposeObjectMethod; + public static io.grpc.MethodDescriptor getComposeObjectMethod() { + io.grpc.MethodDescriptor getComposeObjectMethod; if ((getComposeObjectMethod = StorageGrpc.getComposeObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getComposeObjectMethod = StorageGrpc.getComposeObjectMethod) == null) { - StorageGrpc.getComposeObjectMethod = - getComposeObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComposeObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ComposeObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Object.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ComposeObject")) - .build(); + StorageGrpc.getComposeObjectMethod = getComposeObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ComposeObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ComposeObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Object.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ComposeObject")) + .build(); } } } return getComposeObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteObjectRequest, com.google.protobuf.Empty> - getDeleteObjectMethod; + private static volatile io.grpc.MethodDescriptor getDeleteObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteObject", requestType = com.google.storage.v2.DeleteObjectRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.DeleteObjectRequest, com.google.protobuf.Empty> - getDeleteObjectMethod() { - io.grpc.MethodDescriptor - getDeleteObjectMethod; + public static io.grpc.MethodDescriptor getDeleteObjectMethod() { + io.grpc.MethodDescriptor getDeleteObjectMethod; if ((getDeleteObjectMethod = StorageGrpc.getDeleteObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getDeleteObjectMethod = StorageGrpc.getDeleteObjectMethod) == null) { - StorageGrpc.getDeleteObjectMethod = - getDeleteObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.DeleteObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.protobuf.Empty.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("DeleteObject")) - .build(); + StorageGrpc.getDeleteObjectMethod = getDeleteObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.DeleteObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.protobuf.Empty.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("DeleteObject")) + .build(); } } } return getDeleteObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.RestoreObjectRequest, com.google.storage.v2.Object> - getRestoreObjectMethod; + private static volatile io.grpc.MethodDescriptor getRestoreObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RestoreObject", requestType = com.google.storage.v2.RestoreObjectRequest.class, responseType = com.google.storage.v2.Object.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.RestoreObjectRequest, com.google.storage.v2.Object> - getRestoreObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.RestoreObjectRequest, com.google.storage.v2.Object> - getRestoreObjectMethod; + public static io.grpc.MethodDescriptor getRestoreObjectMethod() { + io.grpc.MethodDescriptor getRestoreObjectMethod; if ((getRestoreObjectMethod = StorageGrpc.getRestoreObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getRestoreObjectMethod = StorageGrpc.getRestoreObjectMethod) == null) { - StorageGrpc.getRestoreObjectMethod = - getRestoreObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.RestoreObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Object.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("RestoreObject")) - .build(); + StorageGrpc.getRestoreObjectMethod = getRestoreObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RestoreObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.RestoreObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Object.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("RestoreObject")) + .build(); } } } return getRestoreObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.CancelResumableWriteRequest, - com.google.storage.v2.CancelResumableWriteResponse> - getCancelResumableWriteMethod; + private static volatile io.grpc.MethodDescriptor getCancelResumableWriteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CancelResumableWrite", requestType = com.google.storage.v2.CancelResumableWriteRequest.class, responseType = com.google.storage.v2.CancelResumableWriteResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.CancelResumableWriteRequest, - com.google.storage.v2.CancelResumableWriteResponse> - getCancelResumableWriteMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.CancelResumableWriteRequest, - com.google.storage.v2.CancelResumableWriteResponse> - getCancelResumableWriteMethod; + public static io.grpc.MethodDescriptor getCancelResumableWriteMethod() { + io.grpc.MethodDescriptor getCancelResumableWriteMethod; if ((getCancelResumableWriteMethod = StorageGrpc.getCancelResumableWriteMethod) == null) { synchronized (StorageGrpc.class) { if ((getCancelResumableWriteMethod = StorageGrpc.getCancelResumableWriteMethod) == null) { - StorageGrpc.getCancelResumableWriteMethod = - getCancelResumableWriteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "CancelResumableWrite")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.CancelResumableWriteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.CancelResumableWriteResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("CancelResumableWrite")) - .build(); + StorageGrpc.getCancelResumableWriteMethod = getCancelResumableWriteMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelResumableWrite")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.CancelResumableWriteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.CancelResumableWriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("CancelResumableWrite")) + .build(); } } } return getCancelResumableWriteMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.GetObjectRequest, com.google.storage.v2.Object> - getGetObjectMethod; + private static volatile io.grpc.MethodDescriptor getGetObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetObject", requestType = com.google.storage.v2.GetObjectRequest.class, responseType = com.google.storage.v2.Object.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.GetObjectRequest, com.google.storage.v2.Object> - getGetObjectMethod() { - io.grpc.MethodDescriptor - getGetObjectMethod; + public static io.grpc.MethodDescriptor getGetObjectMethod() { + io.grpc.MethodDescriptor getGetObjectMethod; if ((getGetObjectMethod = StorageGrpc.getGetObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getGetObjectMethod = StorageGrpc.getGetObjectMethod) == null) { - StorageGrpc.getGetObjectMethod = - getGetObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.GetObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Object.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetObject")) - .build(); + StorageGrpc.getGetObjectMethod = getGetObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.GetObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Object.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetObject")) + .build(); } } } return getGetObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.ReadObjectRequest, com.google.storage.v2.ReadObjectResponse> - getReadObjectMethod; + private static volatile io.grpc.MethodDescriptor getReadObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ReadObject", requestType = com.google.storage.v2.ReadObjectRequest.class, responseType = com.google.storage.v2.ReadObjectResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.ReadObjectRequest, com.google.storage.v2.ReadObjectResponse> - getReadObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.ReadObjectRequest, com.google.storage.v2.ReadObjectResponse> - getReadObjectMethod; + public static io.grpc.MethodDescriptor getReadObjectMethod() { + io.grpc.MethodDescriptor getReadObjectMethod; if ((getReadObjectMethod = StorageGrpc.getReadObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getReadObjectMethod = StorageGrpc.getReadObjectMethod) == null) { - StorageGrpc.getReadObjectMethod = - getReadObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ReadObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ReadObjectResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ReadObject")) - .build(); + StorageGrpc.getReadObjectMethod = getReadObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ReadObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ReadObjectResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ReadObject")) + .build(); } } } return getReadObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateObjectRequest, com.google.storage.v2.Object> - getUpdateObjectMethod; + private static volatile io.grpc.MethodDescriptor getUpdateObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateObject", requestType = com.google.storage.v2.UpdateObjectRequest.class, responseType = com.google.storage.v2.Object.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateObjectRequest, com.google.storage.v2.Object> - getUpdateObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.UpdateObjectRequest, com.google.storage.v2.Object> - getUpdateObjectMethod; + public static io.grpc.MethodDescriptor getUpdateObjectMethod() { + io.grpc.MethodDescriptor getUpdateObjectMethod; if ((getUpdateObjectMethod = StorageGrpc.getUpdateObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getUpdateObjectMethod = StorageGrpc.getUpdateObjectMethod) == null) { - StorageGrpc.getUpdateObjectMethod = - getUpdateObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.UpdateObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.Object.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("UpdateObject")) - .build(); + StorageGrpc.getUpdateObjectMethod = getUpdateObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.UpdateObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.Object.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("UpdateObject")) + .build(); } } } return getUpdateObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.WriteObjectRequest, com.google.storage.v2.WriteObjectResponse> - getWriteObjectMethod; + private static volatile io.grpc.MethodDescriptor getWriteObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "WriteObject", requestType = com.google.storage.v2.WriteObjectRequest.class, responseType = com.google.storage.v2.WriteObjectResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.WriteObjectRequest, com.google.storage.v2.WriteObjectResponse> - getWriteObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.WriteObjectRequest, com.google.storage.v2.WriteObjectResponse> - getWriteObjectMethod; + public static io.grpc.MethodDescriptor getWriteObjectMethod() { + io.grpc.MethodDescriptor getWriteObjectMethod; if ((getWriteObjectMethod = StorageGrpc.getWriteObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getWriteObjectMethod = StorageGrpc.getWriteObjectMethod) == null) { - StorageGrpc.getWriteObjectMethod = - getWriteObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.WriteObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.WriteObjectResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("WriteObject")) - .build(); + StorageGrpc.getWriteObjectMethod = getWriteObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "WriteObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.WriteObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.WriteObjectResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("WriteObject")) + .build(); } } } return getWriteObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.BidiWriteObjectRequest, - com.google.storage.v2.BidiWriteObjectResponse> - getBidiWriteObjectMethod; + private static volatile io.grpc.MethodDescriptor getBidiWriteObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "BidiWriteObject", requestType = com.google.storage.v2.BidiWriteObjectRequest.class, responseType = com.google.storage.v2.BidiWriteObjectResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.BidiWriteObjectRequest, - com.google.storage.v2.BidiWriteObjectResponse> - getBidiWriteObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.BidiWriteObjectRequest, - com.google.storage.v2.BidiWriteObjectResponse> - getBidiWriteObjectMethod; + public static io.grpc.MethodDescriptor getBidiWriteObjectMethod() { + io.grpc.MethodDescriptor getBidiWriteObjectMethod; if ((getBidiWriteObjectMethod = StorageGrpc.getBidiWriteObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getBidiWriteObjectMethod = StorageGrpc.getBidiWriteObjectMethod) == null) { - StorageGrpc.getBidiWriteObjectMethod = - getBidiWriteObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BidiWriteObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.BidiWriteObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.BidiWriteObjectResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("BidiWriteObject")) - .build(); + StorageGrpc.getBidiWriteObjectMethod = getBidiWriteObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BidiWriteObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.BidiWriteObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.BidiWriteObjectResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("BidiWriteObject")) + .build(); } } } return getBidiWriteObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.ListObjectsRequest, com.google.storage.v2.ListObjectsResponse> - getListObjectsMethod; + private static volatile io.grpc.MethodDescriptor getListObjectsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListObjects", requestType = com.google.storage.v2.ListObjectsRequest.class, responseType = com.google.storage.v2.ListObjectsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.ListObjectsRequest, com.google.storage.v2.ListObjectsResponse> - getListObjectsMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.ListObjectsRequest, com.google.storage.v2.ListObjectsResponse> - getListObjectsMethod; + public static io.grpc.MethodDescriptor getListObjectsMethod() { + io.grpc.MethodDescriptor getListObjectsMethod; if ((getListObjectsMethod = StorageGrpc.getListObjectsMethod) == null) { synchronized (StorageGrpc.class) { if ((getListObjectsMethod = StorageGrpc.getListObjectsMethod) == null) { - StorageGrpc.getListObjectsMethod = - getListObjectsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListObjects")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListObjectsRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ListObjectsResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ListObjects")) - .build(); + StorageGrpc.getListObjectsMethod = getListObjectsMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListObjects")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListObjectsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ListObjectsResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("ListObjects")) + .build(); } } } return getListObjectsMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.RewriteObjectRequest, com.google.storage.v2.RewriteResponse> - getRewriteObjectMethod; + private static volatile io.grpc.MethodDescriptor getRewriteObjectMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RewriteObject", requestType = com.google.storage.v2.RewriteObjectRequest.class, responseType = com.google.storage.v2.RewriteResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.RewriteObjectRequest, com.google.storage.v2.RewriteResponse> - getRewriteObjectMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.RewriteObjectRequest, com.google.storage.v2.RewriteResponse> - getRewriteObjectMethod; + public static io.grpc.MethodDescriptor getRewriteObjectMethod() { + io.grpc.MethodDescriptor getRewriteObjectMethod; if ((getRewriteObjectMethod = StorageGrpc.getRewriteObjectMethod) == null) { synchronized (StorageGrpc.class) { if ((getRewriteObjectMethod = StorageGrpc.getRewriteObjectMethod) == null) { - StorageGrpc.getRewriteObjectMethod = - getRewriteObjectMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RewriteObject")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.RewriteObjectRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.RewriteResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("RewriteObject")) - .build(); + StorageGrpc.getRewriteObjectMethod = getRewriteObjectMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RewriteObject")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.RewriteObjectRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.RewriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("RewriteObject")) + .build(); } } } return getRewriteObjectMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.StartResumableWriteRequest, - com.google.storage.v2.StartResumableWriteResponse> - getStartResumableWriteMethod; + private static volatile io.grpc.MethodDescriptor getStartResumableWriteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StartResumableWrite", requestType = com.google.storage.v2.StartResumableWriteRequest.class, responseType = com.google.storage.v2.StartResumableWriteResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.StartResumableWriteRequest, - com.google.storage.v2.StartResumableWriteResponse> - getStartResumableWriteMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.StartResumableWriteRequest, - com.google.storage.v2.StartResumableWriteResponse> - getStartResumableWriteMethod; + public static io.grpc.MethodDescriptor getStartResumableWriteMethod() { + io.grpc.MethodDescriptor getStartResumableWriteMethod; if ((getStartResumableWriteMethod = StorageGrpc.getStartResumableWriteMethod) == null) { synchronized (StorageGrpc.class) { if ((getStartResumableWriteMethod = StorageGrpc.getStartResumableWriteMethod) == null) { - StorageGrpc.getStartResumableWriteMethod = - getStartResumableWriteMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName( - generateFullMethodName(SERVICE_NAME, "StartResumableWrite")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.StartResumableWriteRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.StartResumableWriteResponse - .getDefaultInstance())) - .setSchemaDescriptor( - new StorageMethodDescriptorSupplier("StartResumableWrite")) - .build(); + StorageGrpc.getStartResumableWriteMethod = getStartResumableWriteMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StartResumableWrite")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.StartResumableWriteRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.StartResumableWriteResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("StartResumableWrite")) + .build(); } } } return getStartResumableWriteMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.QueryWriteStatusRequest, - com.google.storage.v2.QueryWriteStatusResponse> - getQueryWriteStatusMethod; + private static volatile io.grpc.MethodDescriptor getQueryWriteStatusMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "QueryWriteStatus", requestType = com.google.storage.v2.QueryWriteStatusRequest.class, responseType = com.google.storage.v2.QueryWriteStatusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.QueryWriteStatusRequest, - com.google.storage.v2.QueryWriteStatusResponse> - getQueryWriteStatusMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.QueryWriteStatusRequest, - com.google.storage.v2.QueryWriteStatusResponse> - getQueryWriteStatusMethod; + public static io.grpc.MethodDescriptor getQueryWriteStatusMethod() { + io.grpc.MethodDescriptor getQueryWriteStatusMethod; if ((getQueryWriteStatusMethod = StorageGrpc.getQueryWriteStatusMethod) == null) { synchronized (StorageGrpc.class) { if ((getQueryWriteStatusMethod = StorageGrpc.getQueryWriteStatusMethod) == null) { - StorageGrpc.getQueryWriteStatusMethod = - getQueryWriteStatusMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWriteStatus")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.QueryWriteStatusRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.QueryWriteStatusResponse.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("QueryWriteStatus")) - .build(); + StorageGrpc.getQueryWriteStatusMethod = getQueryWriteStatusMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "QueryWriteStatus")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.QueryWriteStatusRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.QueryWriteStatusResponse.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("QueryWriteStatus")) + .build(); } } } return getQueryWriteStatusMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.GetServiceAccountRequest, com.google.storage.v2.ServiceAccount> - getGetServiceAccountMethod; + private static volatile io.grpc.MethodDescriptor getGetServiceAccountMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetServiceAccount", requestType = com.google.storage.v2.GetServiceAccountRequest.class, responseType = com.google.storage.v2.ServiceAccount.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.GetServiceAccountRequest, com.google.storage.v2.ServiceAccount> - getGetServiceAccountMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.GetServiceAccountRequest, com.google.storage.v2.ServiceAccount> - getGetServiceAccountMethod; + public static io.grpc.MethodDescriptor getGetServiceAccountMethod() { + io.grpc.MethodDescriptor getGetServiceAccountMethod; if ((getGetServiceAccountMethod = StorageGrpc.getGetServiceAccountMethod) == null) { synchronized (StorageGrpc.class) { if ((getGetServiceAccountMethod = StorageGrpc.getGetServiceAccountMethod) == null) { - StorageGrpc.getGetServiceAccountMethod = - getGetServiceAccountMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceAccount")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.GetServiceAccountRequest.getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.storage.v2.ServiceAccount.getDefaultInstance())) - .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetServiceAccount")) - .build(); + StorageGrpc.getGetServiceAccountMethod = getGetServiceAccountMethod = + io.grpc.MethodDescriptor. newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetServiceAccount")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.GetServiceAccountRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.storage.v2.ServiceAccount.getDefaultInstance())) + .setSchemaDescriptor(new StorageMethodDescriptorSupplier("GetServiceAccount")) + .build(); } } } return getGetServiceAccountMethod; } - private static volatile io.grpc.MethodDescriptor< - com.google.storage.v2.CreateHmacKeyRequest, com.google.storage.v2.CreateHmacKeyResponse> - getCreateHmacKeyMethod; + private static volatile io.grpc.MethodDescriptor getCreateHmacKeyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateHmacKey", requestType = com.google.storage.v2.CreateHmacKeyRequest.class, responseType = com.google.storage.v2.CreateHmacKeyResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.storage.v2.CreateHmacKeyRequest, com.google.storage.v2.CreateHmacKeyResponse> - getCreateHmacKeyMethod() { - io.grpc.MethodDescriptor< - com.google.storage.v2.CreateHmacKeyRequest, com.google.storage.v2.CreateHmacKeyResponse> - getCreateHmacKeyMethod; + public static io.grpc.MethodDescriptor getCreateHmacKeyMethod() { + io.grpc.MethodDescriptor getCreateHmacKeyMethod; if ((getCreateHmacKeyMethod = StorageGrpc.getCreateHmacKeyMethod) == null) { synchronized (StorageGrpc.class) { if ((getCreateHmacKeyMethod = StorageGrpc.getCreateHmacKeyMethod) == null) { - StorageGrpc.getCreateHmacKeyMethod = - getCreateHmacKeyMethod = - io.grpc.MethodDescriptor - .