All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.netapp.v1.NetAppGrpc Maven / Gradle / Ivy

There is a newer version: 0.30.0
Show newest version
/*
 * 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.
 * 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.cloud.netapp.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 *
 *
 * 
 * NetApp Files Google Cloud Service
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/netapp/v1/cloud_netapp_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class NetAppGrpc { private NetAppGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.netapp.v1.NetApp"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListStoragePoolsRequest, com.google.cloud.netapp.v1.ListStoragePoolsResponse> getListStoragePoolsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListStoragePools", requestType = com.google.cloud.netapp.v1.ListStoragePoolsRequest.class, responseType = com.google.cloud.netapp.v1.ListStoragePoolsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListStoragePoolsRequest, com.google.cloud.netapp.v1.ListStoragePoolsResponse> getListStoragePoolsMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListStoragePoolsRequest, com.google.cloud.netapp.v1.ListStoragePoolsResponse> getListStoragePoolsMethod; if ((getListStoragePoolsMethod = NetAppGrpc.getListStoragePoolsMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListStoragePoolsMethod = NetAppGrpc.getListStoragePoolsMethod) == null) { NetAppGrpc.getListStoragePoolsMethod = getListStoragePoolsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListStoragePools")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListStoragePoolsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListStoragePoolsResponse .getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ListStoragePools")) .build(); } } } return getListStoragePoolsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateStoragePoolRequest, com.google.longrunning.Operation> getCreateStoragePoolMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateStoragePool", requestType = com.google.cloud.netapp.v1.CreateStoragePoolRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateStoragePoolRequest, com.google.longrunning.Operation> getCreateStoragePoolMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateStoragePoolRequest, com.google.longrunning.Operation> getCreateStoragePoolMethod; if ((getCreateStoragePoolMethod = NetAppGrpc.getCreateStoragePoolMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateStoragePoolMethod = NetAppGrpc.getCreateStoragePoolMethod) == null) { NetAppGrpc.getCreateStoragePoolMethod = getCreateStoragePoolMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateStoragePool")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateStoragePoolRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("CreateStoragePool")) .build(); } } } return getCreateStoragePoolMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetStoragePoolRequest, com.google.cloud.netapp.v1.StoragePool> getGetStoragePoolMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetStoragePool", requestType = com.google.cloud.netapp.v1.GetStoragePoolRequest.class, responseType = com.google.cloud.netapp.v1.StoragePool.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetStoragePoolRequest, com.google.cloud.netapp.v1.StoragePool> getGetStoragePoolMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetStoragePoolRequest, com.google.cloud.netapp.v1.StoragePool> getGetStoragePoolMethod; if ((getGetStoragePoolMethod = NetAppGrpc.getGetStoragePoolMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetStoragePoolMethod = NetAppGrpc.getGetStoragePoolMethod) == null) { NetAppGrpc.getGetStoragePoolMethod = getGetStoragePoolMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStoragePool")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetStoragePoolRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.StoragePool.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetStoragePool")) .build(); } } } return getGetStoragePoolMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateStoragePoolRequest, com.google.longrunning.Operation> getUpdateStoragePoolMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateStoragePool", requestType = com.google.cloud.netapp.v1.UpdateStoragePoolRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateStoragePoolRequest, com.google.longrunning.Operation> getUpdateStoragePoolMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateStoragePoolRequest, com.google.longrunning.Operation> getUpdateStoragePoolMethod; if ((getUpdateStoragePoolMethod = NetAppGrpc.getUpdateStoragePoolMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateStoragePoolMethod = NetAppGrpc.getUpdateStoragePoolMethod) == null) { NetAppGrpc.getUpdateStoragePoolMethod = getUpdateStoragePoolMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateStoragePool")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateStoragePoolRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("UpdateStoragePool")) .build(); } } } return getUpdateStoragePoolMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteStoragePoolRequest, com.google.longrunning.Operation> getDeleteStoragePoolMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteStoragePool", requestType = com.google.cloud.netapp.v1.DeleteStoragePoolRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteStoragePoolRequest, com.google.longrunning.Operation> getDeleteStoragePoolMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteStoragePoolRequest, com.google.longrunning.Operation> getDeleteStoragePoolMethod; if ((getDeleteStoragePoolMethod = NetAppGrpc.getDeleteStoragePoolMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteStoragePoolMethod = NetAppGrpc.getDeleteStoragePoolMethod) == null) { NetAppGrpc.getDeleteStoragePoolMethod = getDeleteStoragePoolMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteStoragePool")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteStoragePoolRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("DeleteStoragePool")) .build(); } } } return getDeleteStoragePoolMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListVolumesRequest, com.google.cloud.netapp.v1.ListVolumesResponse> getListVolumesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListVolumes", requestType = com.google.cloud.netapp.v1.ListVolumesRequest.class, responseType = com.google.cloud.netapp.v1.ListVolumesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListVolumesRequest, com.google.cloud.netapp.v1.ListVolumesResponse> getListVolumesMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListVolumesRequest, com.google.cloud.netapp.v1.ListVolumesResponse> getListVolumesMethod; if ((getListVolumesMethod = NetAppGrpc.getListVolumesMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListVolumesMethod = NetAppGrpc.getListVolumesMethod) == null) { NetAppGrpc.getListVolumesMethod = getListVolumesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListVolumes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListVolumesRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListVolumesResponse.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ListVolumes")) .build(); } } } return getListVolumesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetVolumeRequest, com.google.cloud.netapp.v1.Volume> getGetVolumeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetVolume", requestType = com.google.cloud.netapp.v1.GetVolumeRequest.class, responseType = com.google.cloud.netapp.v1.Volume.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetVolumeRequest, com.google.cloud.netapp.v1.Volume> getGetVolumeMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetVolumeRequest, com.google.cloud.netapp.v1.Volume> getGetVolumeMethod; if ((getGetVolumeMethod = NetAppGrpc.getGetVolumeMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetVolumeMethod = NetAppGrpc.getGetVolumeMethod) == null) { NetAppGrpc.getGetVolumeMethod = getGetVolumeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetVolumeRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.Volume.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetVolume")) .build(); } } } return getGetVolumeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateVolumeRequest, com.google.longrunning.Operation> getCreateVolumeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateVolume", requestType = com.google.cloud.netapp.v1.CreateVolumeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateVolumeRequest, com.google.longrunning.Operation> getCreateVolumeMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateVolumeRequest, com.google.longrunning.Operation> getCreateVolumeMethod; if ((getCreateVolumeMethod = NetAppGrpc.getCreateVolumeMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateVolumeMethod = NetAppGrpc.getCreateVolumeMethod) == null) { NetAppGrpc.getCreateVolumeMethod = getCreateVolumeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateVolumeRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("CreateVolume")) .build(); } } } return getCreateVolumeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateVolumeRequest, com.google.longrunning.Operation> getUpdateVolumeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateVolume", requestType = com.google.cloud.netapp.v1.UpdateVolumeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateVolumeRequest, com.google.longrunning.Operation> getUpdateVolumeMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateVolumeRequest, com.google.longrunning.Operation> getUpdateVolumeMethod; if ((getUpdateVolumeMethod = NetAppGrpc.getUpdateVolumeMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateVolumeMethod = NetAppGrpc.getUpdateVolumeMethod) == null) { NetAppGrpc.getUpdateVolumeMethod = getUpdateVolumeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateVolumeRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("UpdateVolume")) .build(); } } } return getUpdateVolumeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteVolumeRequest, com.google.longrunning.Operation> getDeleteVolumeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteVolume", requestType = com.google.cloud.netapp.v1.DeleteVolumeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteVolumeRequest, com.google.longrunning.Operation> getDeleteVolumeMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteVolumeRequest, com.google.longrunning.Operation> getDeleteVolumeMethod; if ((getDeleteVolumeMethod = NetAppGrpc.getDeleteVolumeMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteVolumeMethod = NetAppGrpc.getDeleteVolumeMethod) == null) { NetAppGrpc.getDeleteVolumeMethod = getDeleteVolumeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteVolumeRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("DeleteVolume")) .build(); } } } return getDeleteVolumeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.RevertVolumeRequest, com.google.longrunning.Operation> getRevertVolumeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "RevertVolume", requestType = com.google.cloud.netapp.v1.RevertVolumeRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.RevertVolumeRequest, com.google.longrunning.Operation> getRevertVolumeMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.RevertVolumeRequest, com.google.longrunning.Operation> getRevertVolumeMethod; if ((getRevertVolumeMethod = NetAppGrpc.getRevertVolumeMethod) == null) { synchronized (NetAppGrpc.class) { if ((getRevertVolumeMethod = NetAppGrpc.getRevertVolumeMethod) == null) { NetAppGrpc.getRevertVolumeMethod = getRevertVolumeMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RevertVolume")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.RevertVolumeRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("RevertVolume")) .build(); } } } return getRevertVolumeMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListSnapshotsRequest, com.google.cloud.netapp.v1.ListSnapshotsResponse> getListSnapshotsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListSnapshots", requestType = com.google.cloud.netapp.v1.ListSnapshotsRequest.class, responseType = com.google.cloud.netapp.v1.ListSnapshotsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListSnapshotsRequest, com.google.cloud.netapp.v1.ListSnapshotsResponse> getListSnapshotsMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListSnapshotsRequest, com.google.cloud.netapp.v1.ListSnapshotsResponse> getListSnapshotsMethod; if ((getListSnapshotsMethod = NetAppGrpc.getListSnapshotsMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListSnapshotsMethod = NetAppGrpc.getListSnapshotsMethod) == null) { NetAppGrpc.getListSnapshotsMethod = getListSnapshotsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListSnapshots")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListSnapshotsRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListSnapshotsResponse .getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ListSnapshots")) .build(); } } } return getListSnapshotsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetSnapshotRequest, com.google.cloud.netapp.v1.Snapshot> getGetSnapshotMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetSnapshot", requestType = com.google.cloud.netapp.v1.GetSnapshotRequest.class, responseType = com.google.cloud.netapp.v1.Snapshot.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetSnapshotRequest, com.google.cloud.netapp.v1.Snapshot> getGetSnapshotMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetSnapshotRequest, com.google.cloud.netapp.v1.Snapshot> getGetSnapshotMethod; if ((getGetSnapshotMethod = NetAppGrpc.getGetSnapshotMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetSnapshotMethod = NetAppGrpc.getGetSnapshotMethod) == null) { NetAppGrpc.getGetSnapshotMethod = getGetSnapshotMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetSnapshotRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.Snapshot.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetSnapshot")) .build(); } } } return getGetSnapshotMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateSnapshotRequest, com.google.longrunning.Operation> getCreateSnapshotMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateSnapshot", requestType = com.google.cloud.netapp.v1.CreateSnapshotRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateSnapshotRequest, com.google.longrunning.Operation> getCreateSnapshotMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateSnapshotRequest, com.google.longrunning.Operation> getCreateSnapshotMethod; if ((getCreateSnapshotMethod = NetAppGrpc.getCreateSnapshotMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateSnapshotMethod = NetAppGrpc.getCreateSnapshotMethod) == null) { NetAppGrpc.getCreateSnapshotMethod = getCreateSnapshotMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateSnapshotRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("CreateSnapshot")) .build(); } } } return getCreateSnapshotMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteSnapshotRequest, com.google.longrunning.Operation> getDeleteSnapshotMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteSnapshot", requestType = com.google.cloud.netapp.v1.DeleteSnapshotRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteSnapshotRequest, com.google.longrunning.Operation> getDeleteSnapshotMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteSnapshotRequest, com.google.longrunning.Operation> getDeleteSnapshotMethod; if ((getDeleteSnapshotMethod = NetAppGrpc.getDeleteSnapshotMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteSnapshotMethod = NetAppGrpc.getDeleteSnapshotMethod) == null) { NetAppGrpc.getDeleteSnapshotMethod = getDeleteSnapshotMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteSnapshotRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("DeleteSnapshot")) .build(); } } } return getDeleteSnapshotMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateSnapshotRequest, com.google.longrunning.Operation> getUpdateSnapshotMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateSnapshot", requestType = com.google.cloud.netapp.v1.UpdateSnapshotRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateSnapshotRequest, com.google.longrunning.Operation> getUpdateSnapshotMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateSnapshotRequest, com.google.longrunning.Operation> getUpdateSnapshotMethod; if ((getUpdateSnapshotMethod = NetAppGrpc.getUpdateSnapshotMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateSnapshotMethod = NetAppGrpc.getUpdateSnapshotMethod) == null) { NetAppGrpc.getUpdateSnapshotMethod = getUpdateSnapshotMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateSnapshot")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateSnapshotRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("UpdateSnapshot")) .build(); } } } return getUpdateSnapshotMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListActiveDirectoriesRequest, com.google.cloud.netapp.v1.ListActiveDirectoriesResponse> getListActiveDirectoriesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListActiveDirectories", requestType = com.google.cloud.netapp.v1.ListActiveDirectoriesRequest.class, responseType = com.google.cloud.netapp.v1.ListActiveDirectoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListActiveDirectoriesRequest, com.google.cloud.netapp.v1.ListActiveDirectoriesResponse> getListActiveDirectoriesMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListActiveDirectoriesRequest, com.google.cloud.netapp.v1.ListActiveDirectoriesResponse> getListActiveDirectoriesMethod; if ((getListActiveDirectoriesMethod = NetAppGrpc.getListActiveDirectoriesMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListActiveDirectoriesMethod = NetAppGrpc.getListActiveDirectoriesMethod) == null) { NetAppGrpc.getListActiveDirectoriesMethod = getListActiveDirectoriesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ListActiveDirectories")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListActiveDirectoriesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListActiveDirectoriesResponse .getDefaultInstance())) .setSchemaDescriptor( new NetAppMethodDescriptorSupplier("ListActiveDirectories")) .build(); } } } return getListActiveDirectoriesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetActiveDirectoryRequest, com.google.cloud.netapp.v1.ActiveDirectory> getGetActiveDirectoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetActiveDirectory", requestType = com.google.cloud.netapp.v1.GetActiveDirectoryRequest.class, responseType = com.google.cloud.netapp.v1.ActiveDirectory.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetActiveDirectoryRequest, com.google.cloud.netapp.v1.ActiveDirectory> getGetActiveDirectoryMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetActiveDirectoryRequest, com.google.cloud.netapp.v1.ActiveDirectory> getGetActiveDirectoryMethod; if ((getGetActiveDirectoryMethod = NetAppGrpc.getGetActiveDirectoryMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetActiveDirectoryMethod = NetAppGrpc.getGetActiveDirectoryMethod) == null) { NetAppGrpc.getGetActiveDirectoryMethod = getGetActiveDirectoryMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetActiveDirectory")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetActiveDirectoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ActiveDirectory.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetActiveDirectory")) .build(); } } } return getGetActiveDirectoryMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateActiveDirectoryRequest, com.google.longrunning.Operation> getCreateActiveDirectoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateActiveDirectory", requestType = com.google.cloud.netapp.v1.CreateActiveDirectoryRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateActiveDirectoryRequest, com.google.longrunning.Operation> getCreateActiveDirectoryMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateActiveDirectoryRequest, com.google.longrunning.Operation> getCreateActiveDirectoryMethod; if ((getCreateActiveDirectoryMethod = NetAppGrpc.getCreateActiveDirectoryMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateActiveDirectoryMethod = NetAppGrpc.getCreateActiveDirectoryMethod) == null) { NetAppGrpc.getCreateActiveDirectoryMethod = getCreateActiveDirectoryMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "CreateActiveDirectory")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateActiveDirectoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NetAppMethodDescriptorSupplier("CreateActiveDirectory")) .build(); } } } return getCreateActiveDirectoryMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest, com.google.longrunning.Operation> getUpdateActiveDirectoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateActiveDirectory", requestType = com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest, com.google.longrunning.Operation> getUpdateActiveDirectoryMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest, com.google.longrunning.Operation> getUpdateActiveDirectoryMethod; if ((getUpdateActiveDirectoryMethod = NetAppGrpc.getUpdateActiveDirectoryMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateActiveDirectoryMethod = NetAppGrpc.getUpdateActiveDirectoryMethod) == null) { NetAppGrpc.getUpdateActiveDirectoryMethod = getUpdateActiveDirectoryMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "UpdateActiveDirectory")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NetAppMethodDescriptorSupplier("UpdateActiveDirectory")) .build(); } } } return getUpdateActiveDirectoryMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest, com.google.longrunning.Operation> getDeleteActiveDirectoryMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteActiveDirectory", requestType = com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest, com.google.longrunning.Operation> getDeleteActiveDirectoryMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest, com.google.longrunning.Operation> getDeleteActiveDirectoryMethod; if ((getDeleteActiveDirectoryMethod = NetAppGrpc.getDeleteActiveDirectoryMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteActiveDirectoryMethod = NetAppGrpc.getDeleteActiveDirectoryMethod) == null) { NetAppGrpc.getDeleteActiveDirectoryMethod = getDeleteActiveDirectoryMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "DeleteActiveDirectory")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NetAppMethodDescriptorSupplier("DeleteActiveDirectory")) .build(); } } } return getDeleteActiveDirectoryMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListKmsConfigsRequest, com.google.cloud.netapp.v1.ListKmsConfigsResponse> getListKmsConfigsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListKmsConfigs", requestType = com.google.cloud.netapp.v1.ListKmsConfigsRequest.class, responseType = com.google.cloud.netapp.v1.ListKmsConfigsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListKmsConfigsRequest, com.google.cloud.netapp.v1.ListKmsConfigsResponse> getListKmsConfigsMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListKmsConfigsRequest, com.google.cloud.netapp.v1.ListKmsConfigsResponse> getListKmsConfigsMethod; if ((getListKmsConfigsMethod = NetAppGrpc.getListKmsConfigsMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListKmsConfigsMethod = NetAppGrpc.getListKmsConfigsMethod) == null) { NetAppGrpc.getListKmsConfigsMethod = getListKmsConfigsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListKmsConfigs")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListKmsConfigsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListKmsConfigsResponse .getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ListKmsConfigs")) .build(); } } } return getListKmsConfigsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateKmsConfigRequest, com.google.longrunning.Operation> getCreateKmsConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateKmsConfig", requestType = com.google.cloud.netapp.v1.CreateKmsConfigRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateKmsConfigRequest, com.google.longrunning.Operation> getCreateKmsConfigMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateKmsConfigRequest, com.google.longrunning.Operation> getCreateKmsConfigMethod; if ((getCreateKmsConfigMethod = NetAppGrpc.getCreateKmsConfigMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateKmsConfigMethod = NetAppGrpc.getCreateKmsConfigMethod) == null) { NetAppGrpc.getCreateKmsConfigMethod = getCreateKmsConfigMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateKmsConfig")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateKmsConfigRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("CreateKmsConfig")) .build(); } } } return getCreateKmsConfigMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetKmsConfigRequest, com.google.cloud.netapp.v1.KmsConfig> getGetKmsConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetKmsConfig", requestType = com.google.cloud.netapp.v1.GetKmsConfigRequest.class, responseType = com.google.cloud.netapp.v1.KmsConfig.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetKmsConfigRequest, com.google.cloud.netapp.v1.KmsConfig> getGetKmsConfigMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetKmsConfigRequest, com.google.cloud.netapp.v1.KmsConfig> getGetKmsConfigMethod; if ((getGetKmsConfigMethod = NetAppGrpc.getGetKmsConfigMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetKmsConfigMethod = NetAppGrpc.getGetKmsConfigMethod) == null) { NetAppGrpc.getGetKmsConfigMethod = getGetKmsConfigMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetKmsConfig")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetKmsConfigRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.KmsConfig.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetKmsConfig")) .build(); } } } return getGetKmsConfigMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateKmsConfigRequest, com.google.longrunning.Operation> getUpdateKmsConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateKmsConfig", requestType = com.google.cloud.netapp.v1.UpdateKmsConfigRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateKmsConfigRequest, com.google.longrunning.Operation> getUpdateKmsConfigMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateKmsConfigRequest, com.google.longrunning.Operation> getUpdateKmsConfigMethod; if ((getUpdateKmsConfigMethod = NetAppGrpc.getUpdateKmsConfigMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateKmsConfigMethod = NetAppGrpc.getUpdateKmsConfigMethod) == null) { NetAppGrpc.getUpdateKmsConfigMethod = getUpdateKmsConfigMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateKmsConfig")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateKmsConfigRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("UpdateKmsConfig")) .build(); } } } return getUpdateKmsConfigMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.EncryptVolumesRequest, com.google.longrunning.Operation> getEncryptVolumesMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "EncryptVolumes", requestType = com.google.cloud.netapp.v1.EncryptVolumesRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.EncryptVolumesRequest, com.google.longrunning.Operation> getEncryptVolumesMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.EncryptVolumesRequest, com.google.longrunning.Operation> getEncryptVolumesMethod; if ((getEncryptVolumesMethod = NetAppGrpc.getEncryptVolumesMethod) == null) { synchronized (NetAppGrpc.class) { if ((getEncryptVolumesMethod = NetAppGrpc.getEncryptVolumesMethod) == null) { NetAppGrpc.getEncryptVolumesMethod = getEncryptVolumesMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "EncryptVolumes")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.EncryptVolumesRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("EncryptVolumes")) .build(); } } } return getEncryptVolumesMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.VerifyKmsConfigRequest, com.google.cloud.netapp.v1.VerifyKmsConfigResponse> getVerifyKmsConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "VerifyKmsConfig", requestType = com.google.cloud.netapp.v1.VerifyKmsConfigRequest.class, responseType = com.google.cloud.netapp.v1.VerifyKmsConfigResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.VerifyKmsConfigRequest, com.google.cloud.netapp.v1.VerifyKmsConfigResponse> getVerifyKmsConfigMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.VerifyKmsConfigRequest, com.google.cloud.netapp.v1.VerifyKmsConfigResponse> getVerifyKmsConfigMethod; if ((getVerifyKmsConfigMethod = NetAppGrpc.getVerifyKmsConfigMethod) == null) { synchronized (NetAppGrpc.class) { if ((getVerifyKmsConfigMethod = NetAppGrpc.getVerifyKmsConfigMethod) == null) { NetAppGrpc.getVerifyKmsConfigMethod = getVerifyKmsConfigMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerifyKmsConfig")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.VerifyKmsConfigRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.VerifyKmsConfigResponse .getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("VerifyKmsConfig")) .build(); } } } return getVerifyKmsConfigMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteKmsConfigRequest, com.google.longrunning.Operation> getDeleteKmsConfigMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteKmsConfig", requestType = com.google.cloud.netapp.v1.DeleteKmsConfigRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteKmsConfigRequest, com.google.longrunning.Operation> getDeleteKmsConfigMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteKmsConfigRequest, com.google.longrunning.Operation> getDeleteKmsConfigMethod; if ((getDeleteKmsConfigMethod = NetAppGrpc.getDeleteKmsConfigMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteKmsConfigMethod = NetAppGrpc.getDeleteKmsConfigMethod) == null) { NetAppGrpc.getDeleteKmsConfigMethod = getDeleteKmsConfigMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteKmsConfig")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteKmsConfigRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("DeleteKmsConfig")) .build(); } } } return getDeleteKmsConfigMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListReplicationsRequest, com.google.cloud.netapp.v1.ListReplicationsResponse> getListReplicationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListReplications", requestType = com.google.cloud.netapp.v1.ListReplicationsRequest.class, responseType = com.google.cloud.netapp.v1.ListReplicationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListReplicationsRequest, com.google.cloud.netapp.v1.ListReplicationsResponse> getListReplicationsMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ListReplicationsRequest, com.google.cloud.netapp.v1.ListReplicationsResponse> getListReplicationsMethod; if ((getListReplicationsMethod = NetAppGrpc.getListReplicationsMethod) == null) { synchronized (NetAppGrpc.class) { if ((getListReplicationsMethod = NetAppGrpc.getListReplicationsMethod) == null) { NetAppGrpc.getListReplicationsMethod = getListReplicationsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListReplications")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListReplicationsRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ListReplicationsResponse .getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ListReplications")) .build(); } } } return getListReplicationsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetReplicationRequest, com.google.cloud.netapp.v1.Replication> getGetReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetReplication", requestType = com.google.cloud.netapp.v1.GetReplicationRequest.class, responseType = com.google.cloud.netapp.v1.Replication.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetReplicationRequest, com.google.cloud.netapp.v1.Replication> getGetReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.GetReplicationRequest, com.google.cloud.netapp.v1.Replication> getGetReplicationMethod; if ((getGetReplicationMethod = NetAppGrpc.getGetReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getGetReplicationMethod = NetAppGrpc.getGetReplicationMethod) == null) { NetAppGrpc.getGetReplicationMethod = getGetReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.GetReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.Replication.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("GetReplication")) .build(); } } } return getGetReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateReplicationRequest, com.google.longrunning.Operation> getCreateReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateReplication", requestType = com.google.cloud.netapp.v1.CreateReplicationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateReplicationRequest, com.google.longrunning.Operation> getCreateReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.CreateReplicationRequest, com.google.longrunning.Operation> getCreateReplicationMethod; if ((getCreateReplicationMethod = NetAppGrpc.getCreateReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getCreateReplicationMethod = NetAppGrpc.getCreateReplicationMethod) == null) { NetAppGrpc.getCreateReplicationMethod = getCreateReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.CreateReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("CreateReplication")) .build(); } } } return getCreateReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteReplicationRequest, com.google.longrunning.Operation> getDeleteReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteReplication", requestType = com.google.cloud.netapp.v1.DeleteReplicationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteReplicationRequest, com.google.longrunning.Operation> getDeleteReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.DeleteReplicationRequest, com.google.longrunning.Operation> getDeleteReplicationMethod; if ((getDeleteReplicationMethod = NetAppGrpc.getDeleteReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getDeleteReplicationMethod = NetAppGrpc.getDeleteReplicationMethod) == null) { NetAppGrpc.getDeleteReplicationMethod = getDeleteReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.DeleteReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("DeleteReplication")) .build(); } } } return getDeleteReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateReplicationRequest, com.google.longrunning.Operation> getUpdateReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateReplication", requestType = com.google.cloud.netapp.v1.UpdateReplicationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateReplicationRequest, com.google.longrunning.Operation> getUpdateReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.UpdateReplicationRequest, com.google.longrunning.Operation> getUpdateReplicationMethod; if ((getUpdateReplicationMethod = NetAppGrpc.getUpdateReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getUpdateReplicationMethod = NetAppGrpc.getUpdateReplicationMethod) == null) { NetAppGrpc.getUpdateReplicationMethod = getUpdateReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.UpdateReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("UpdateReplication")) .build(); } } } return getUpdateReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.StopReplicationRequest, com.google.longrunning.Operation> getStopReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "StopReplication", requestType = com.google.cloud.netapp.v1.StopReplicationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.StopReplicationRequest, com.google.longrunning.Operation> getStopReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.StopReplicationRequest, com.google.longrunning.Operation> getStopReplicationMethod; if ((getStopReplicationMethod = NetAppGrpc.getStopReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getStopReplicationMethod = NetAppGrpc.getStopReplicationMethod) == null) { NetAppGrpc.getStopReplicationMethod = getStopReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StopReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.StopReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("StopReplication")) .build(); } } } return getStopReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ResumeReplicationRequest, com.google.longrunning.Operation> getResumeReplicationMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ResumeReplication", requestType = com.google.cloud.netapp.v1.ResumeReplicationRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ResumeReplicationRequest, com.google.longrunning.Operation> getResumeReplicationMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ResumeReplicationRequest, com.google.longrunning.Operation> getResumeReplicationMethod; if ((getResumeReplicationMethod = NetAppGrpc.getResumeReplicationMethod) == null) { synchronized (NetAppGrpc.class) { if ((getResumeReplicationMethod = NetAppGrpc.getResumeReplicationMethod) == null) { NetAppGrpc.getResumeReplicationMethod = getResumeReplicationMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ResumeReplication")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ResumeReplicationRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor(new NetAppMethodDescriptorSupplier("ResumeReplication")) .build(); } } } return getResumeReplicationMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest, com.google.longrunning.Operation> getReverseReplicationDirectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ReverseReplicationDirection", requestType = com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest.class, responseType = com.google.longrunning.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest, com.google.longrunning.Operation> getReverseReplicationDirectionMethod() { io.grpc.MethodDescriptor< com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest, com.google.longrunning.Operation> getReverseReplicationDirectionMethod; if ((getReverseReplicationDirectionMethod = NetAppGrpc.getReverseReplicationDirectionMethod) == null) { synchronized (NetAppGrpc.class) { if ((getReverseReplicationDirectionMethod = NetAppGrpc.getReverseReplicationDirectionMethod) == null) { NetAppGrpc.getReverseReplicationDirectionMethod = getReverseReplicationDirectionMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "ReverseReplicationDirection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest .getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.longrunning.Operation.getDefaultInstance())) .setSchemaDescriptor( new NetAppMethodDescriptorSupplier("ReverseReplicationDirection")) .build(); } } } return getReverseReplicationDirectionMethod; } /** Creates a new async stub that supports all call types for the service */ public static NetAppStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NetAppStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppStub(channel, callOptions); } }; return NetAppStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static NetAppBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NetAppBlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppBlockingStub(channel, callOptions); } }; return NetAppBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static NetAppFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public NetAppFutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppFutureStub(channel, callOptions); } }; return NetAppFutureStub.newStub(factory, channel); } /** * * *
   * NetApp Files Google Cloud Service
   * 
*/ public interface AsyncService { /** * * *
     * Returns descriptions of all storage pools owned by the caller.
     * 
*/ default void listStoragePools( com.google.cloud.netapp.v1.ListStoragePoolsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListStoragePoolsMethod(), responseObserver); } /** * * *
     * Creates a new storage pool.
     * 
*/ default void createStoragePool( com.google.cloud.netapp.v1.CreateStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateStoragePoolMethod(), responseObserver); } /** * * *
     * Returns the description of the specified storage pool by poolId.
     * 
*/ default void getStoragePool( com.google.cloud.netapp.v1.GetStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetStoragePoolMethod(), responseObserver); } /** * * *
     * Updates the storage pool properties with the full spec
     * 
*/ default void updateStoragePool( com.google.cloud.netapp.v1.UpdateStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateStoragePoolMethod(), responseObserver); } /** * * *
     * Warning! This operation will permanently delete the storage pool.
     * 
*/ default void deleteStoragePool( com.google.cloud.netapp.v1.DeleteStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteStoragePoolMethod(), responseObserver); } /** * * *
     * Lists Volumes in a given project.
     * 
*/ default void listVolumes( com.google.cloud.netapp.v1.ListVolumesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListVolumesMethod(), responseObserver); } /** * * *
     * Gets details of a single Volume.
     * 
*/ default void getVolume( com.google.cloud.netapp.v1.GetVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetVolumeMethod(), responseObserver); } /** * * *
     * Creates a new Volume in a given project and location.
     * 
*/ default void createVolume( com.google.cloud.netapp.v1.CreateVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateVolumeMethod(), responseObserver); } /** * * *
     * Updates the parameters of a single Volume.
     * 
*/ default void updateVolume( com.google.cloud.netapp.v1.UpdateVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateVolumeMethod(), responseObserver); } /** * * *
     * Deletes a single Volume.
     * 
*/ default void deleteVolume( com.google.cloud.netapp.v1.DeleteVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteVolumeMethod(), responseObserver); } /** * * *
     * Revert an existing volume to a specified snapshot.
     * Warning! This operation will permanently revert all changes made after the
     * snapshot was created.
     * 
*/ default void revertVolume( com.google.cloud.netapp.v1.RevertVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getRevertVolumeMethod(), responseObserver); } /** * * *
     * Returns descriptions of all snapshots for a volume.
     * 
*/ default void listSnapshots( com.google.cloud.netapp.v1.ListSnapshotsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListSnapshotsMethod(), responseObserver); } /** * * *
     * Describe a snapshot for a volume.
     * 
*/ default void getSnapshot( com.google.cloud.netapp.v1.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetSnapshotMethod(), responseObserver); } /** * * *
     * Create a new snapshot for a volume.
     * 
*/ default void createSnapshot( com.google.cloud.netapp.v1.CreateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateSnapshotMethod(), responseObserver); } /** * * *
     * Deletes a snapshot.
     * 
*/ default void deleteSnapshot( com.google.cloud.netapp.v1.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteSnapshotMethod(), responseObserver); } /** * * *
     * Updates the settings of a specific snapshot.
     * 
*/ default void updateSnapshot( com.google.cloud.netapp.v1.UpdateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateSnapshotMethod(), responseObserver); } /** * * *
     * Lists active directories.
     * 
*/ default void listActiveDirectories( com.google.cloud.netapp.v1.ListActiveDirectoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListActiveDirectoriesMethod(), responseObserver); } /** * * *
     * Describes a specified active directory.
     * 
*/ default void getActiveDirectory( com.google.cloud.netapp.v1.GetActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetActiveDirectoryMethod(), responseObserver); } /** * * *
     * CreateActiveDirectory
     * Creates the active directory specified in the request.
     * 
*/ default void createActiveDirectory( com.google.cloud.netapp.v1.CreateActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateActiveDirectoryMethod(), responseObserver); } /** * * *
     * Update the parameters of an active directories.
     * 
*/ default void updateActiveDirectory( com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateActiveDirectoryMethod(), responseObserver); } /** * * *
     * Delete the active directory specified in the request.
     * 
*/ default void deleteActiveDirectory( com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteActiveDirectoryMethod(), responseObserver); } /** * * *
     * Returns descriptions of all KMS configs owned by the caller.
     * 
*/ default void listKmsConfigs( com.google.cloud.netapp.v1.ListKmsConfigsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListKmsConfigsMethod(), responseObserver); } /** * * *
     * Creates a new KMS config.
     * 
*/ default void createKmsConfig( com.google.cloud.netapp.v1.CreateKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateKmsConfigMethod(), responseObserver); } /** * * *
     * Returns the description of the specified KMS config by kms_config_id.
     * 
*/ default void getKmsConfig( com.google.cloud.netapp.v1.GetKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetKmsConfigMethod(), responseObserver); } /** * * *
     * Updates the Kms config properties with the full spec
     * 
*/ default void updateKmsConfig( com.google.cloud.netapp.v1.UpdateKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateKmsConfigMethod(), responseObserver); } /** * * *
     * Encrypt the existing volumes without CMEK encryption with the desired the
     * KMS config for the whole region.
     * 
*/ default void encryptVolumes( com.google.cloud.netapp.v1.EncryptVolumesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getEncryptVolumesMethod(), responseObserver); } /** * * *
     * Verifies KMS config reachability.
     * 
*/ default void verifyKmsConfig( com.google.cloud.netapp.v1.VerifyKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getVerifyKmsConfigMethod(), responseObserver); } /** * * *
     * Warning! This operation will permanently delete the Kms config.
     * 
*/ default void deleteKmsConfig( com.google.cloud.netapp.v1.DeleteKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteKmsConfigMethod(), responseObserver); } /** * * *
     * Returns descriptions of all replications for a volume.
     * 
*/ default void listReplications( com.google.cloud.netapp.v1.ListReplicationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListReplicationsMethod(), responseObserver); } /** * * *
     * Describe a replication for a volume.
     * 
*/ default void getReplication( com.google.cloud.netapp.v1.GetReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetReplicationMethod(), responseObserver); } /** * * *
     * Create a new replication for a volume.
     * 
*/ default void createReplication( com.google.cloud.netapp.v1.CreateReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateReplicationMethod(), responseObserver); } /** * * *
     * Deletes a replication.
     * 
*/ default void deleteReplication( com.google.cloud.netapp.v1.DeleteReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteReplicationMethod(), responseObserver); } /** * * *
     * Updates the settings of a specific replication.
     * 
*/ default void updateReplication( com.google.cloud.netapp.v1.UpdateReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateReplicationMethod(), responseObserver); } /** * * *
     * Stop Cross Region Replication.
     * 
*/ default void stopReplication( com.google.cloud.netapp.v1.StopReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getStopReplicationMethod(), responseObserver); } /** * * *
     * Resume Cross Region Replication.
     * 
*/ default void resumeReplication( com.google.cloud.netapp.v1.ResumeReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getResumeReplicationMethod(), responseObserver); } /** * * *
     * Reverses direction of replication. Source becomes destination and
     * destination becomes source.
     * 
*/ default void reverseReplicationDirection( com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getReverseReplicationDirectionMethod(), responseObserver); } } /** * Base class for the server implementation of the service NetApp. * *
   * NetApp Files Google Cloud Service
   * 
*/ public abstract static class NetAppImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return NetAppGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service NetApp. * *
   * NetApp Files Google Cloud Service
   * 
*/ public static final class NetAppStub extends io.grpc.stub.AbstractAsyncStub { private NetAppStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NetAppStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppStub(channel, callOptions); } /** * * *
     * Returns descriptions of all storage pools owned by the caller.
     * 
*/ public void listStoragePools( com.google.cloud.netapp.v1.ListStoragePoolsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListStoragePoolsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Creates a new storage pool.
     * 
*/ public void createStoragePool( com.google.cloud.netapp.v1.CreateStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateStoragePoolMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns the description of the specified storage pool by poolId.
     * 
*/ public void getStoragePool( com.google.cloud.netapp.v1.GetStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetStoragePoolMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the storage pool properties with the full spec
     * 
*/ public void updateStoragePool( com.google.cloud.netapp.v1.UpdateStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateStoragePoolMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Warning! This operation will permanently delete the storage pool.
     * 
*/ public void deleteStoragePool( com.google.cloud.netapp.v1.DeleteStoragePoolRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteStoragePoolMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists Volumes in a given project.
     * 
*/ public void listVolumes( com.google.cloud.netapp.v1.ListVolumesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListVolumesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets details of a single Volume.
     * 
*/ public void getVolume( com.google.cloud.netapp.v1.GetVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetVolumeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Creates a new Volume in a given project and location.
     * 
*/ public void createVolume( com.google.cloud.netapp.v1.CreateVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateVolumeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the parameters of a single Volume.
     * 
*/ public void updateVolume( com.google.cloud.netapp.v1.UpdateVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateVolumeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a single Volume.
     * 
*/ public void deleteVolume( com.google.cloud.netapp.v1.DeleteVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteVolumeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Revert an existing volume to a specified snapshot.
     * Warning! This operation will permanently revert all changes made after the
     * snapshot was created.
     * 
*/ public void revertVolume( com.google.cloud.netapp.v1.RevertVolumeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRevertVolumeMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns descriptions of all snapshots for a volume.
     * 
*/ public void listSnapshots( com.google.cloud.netapp.v1.ListSnapshotsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Describe a snapshot for a volume.
     * 
*/ public void getSnapshot( com.google.cloud.netapp.v1.GetSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Create a new snapshot for a volume.
     * 
*/ public void createSnapshot( com.google.cloud.netapp.v1.CreateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateSnapshotMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a snapshot.
     * 
*/ public void deleteSnapshot( com.google.cloud.netapp.v1.DeleteSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the settings of a specific snapshot.
     * 
*/ public void updateSnapshot( com.google.cloud.netapp.v1.UpdateSnapshotRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateSnapshotMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Lists active directories.
     * 
*/ public void listActiveDirectories( com.google.cloud.netapp.v1.ListActiveDirectoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListActiveDirectoriesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Describes a specified active directory.
     * 
*/ public void getActiveDirectory( com.google.cloud.netapp.v1.GetActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetActiveDirectoryMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * CreateActiveDirectory
     * Creates the active directory specified in the request.
     * 
*/ public void createActiveDirectory( com.google.cloud.netapp.v1.CreateActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateActiveDirectoryMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Update the parameters of an active directories.
     * 
*/ public void updateActiveDirectory( com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateActiveDirectoryMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Delete the active directory specified in the request.
     * 
*/ public void deleteActiveDirectory( com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteActiveDirectoryMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns descriptions of all KMS configs owned by the caller.
     * 
*/ public void listKmsConfigs( com.google.cloud.netapp.v1.ListKmsConfigsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListKmsConfigsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Creates a new KMS config.
     * 
*/ public void createKmsConfig( com.google.cloud.netapp.v1.CreateKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateKmsConfigMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns the description of the specified KMS config by kms_config_id.
     * 
*/ public void getKmsConfig( com.google.cloud.netapp.v1.GetKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetKmsConfigMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the Kms config properties with the full spec
     * 
*/ public void updateKmsConfig( com.google.cloud.netapp.v1.UpdateKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateKmsConfigMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Encrypt the existing volumes without CMEK encryption with the desired the
     * KMS config for the whole region.
     * 
*/ public void encryptVolumes( com.google.cloud.netapp.v1.EncryptVolumesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getEncryptVolumesMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Verifies KMS config reachability.
     * 
*/ public void verifyKmsConfig( com.google.cloud.netapp.v1.VerifyKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getVerifyKmsConfigMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Warning! This operation will permanently delete the Kms config.
     * 
*/ public void deleteKmsConfig( com.google.cloud.netapp.v1.DeleteKmsConfigRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteKmsConfigMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns descriptions of all replications for a volume.
     * 
*/ public void listReplications( com.google.cloud.netapp.v1.ListReplicationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListReplicationsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Describe a replication for a volume.
     * 
*/ public void getReplication( com.google.cloud.netapp.v1.GetReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Create a new replication for a volume.
     * 
*/ public void createReplication( com.google.cloud.netapp.v1.CreateReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes a replication.
     * 
*/ public void deleteReplication( com.google.cloud.netapp.v1.DeleteReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the settings of a specific replication.
     * 
*/ public void updateReplication( com.google.cloud.netapp.v1.UpdateReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Stop Cross Region Replication.
     * 
*/ public void stopReplication( com.google.cloud.netapp.v1.StopReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStopReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Resume Cross Region Replication.
     * 
*/ public void resumeReplication( com.google.cloud.netapp.v1.ResumeReplicationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResumeReplicationMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Reverses direction of replication. Source becomes destination and
     * destination becomes source.
     * 
*/ public void reverseReplicationDirection( com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReverseReplicationDirectionMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service NetApp. * *
   * NetApp Files Google Cloud Service
   * 
*/ public static final class NetAppBlockingStub extends io.grpc.stub.AbstractBlockingStub { private NetAppBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NetAppBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppBlockingStub(channel, callOptions); } /** * * *
     * Returns descriptions of all storage pools owned by the caller.
     * 
*/ public com.google.cloud.netapp.v1.ListStoragePoolsResponse listStoragePools( com.google.cloud.netapp.v1.ListStoragePoolsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListStoragePoolsMethod(), getCallOptions(), request); } /** * * *
     * Creates a new storage pool.
     * 
*/ public com.google.longrunning.Operation createStoragePool( com.google.cloud.netapp.v1.CreateStoragePoolRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateStoragePoolMethod(), getCallOptions(), request); } /** * * *
     * Returns the description of the specified storage pool by poolId.
     * 
*/ public com.google.cloud.netapp.v1.StoragePool getStoragePool( com.google.cloud.netapp.v1.GetStoragePoolRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetStoragePoolMethod(), getCallOptions(), request); } /** * * *
     * Updates the storage pool properties with the full spec
     * 
*/ public com.google.longrunning.Operation updateStoragePool( com.google.cloud.netapp.v1.UpdateStoragePoolRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateStoragePoolMethod(), getCallOptions(), request); } /** * * *
     * Warning! This operation will permanently delete the storage pool.
     * 
*/ public com.google.longrunning.Operation deleteStoragePool( com.google.cloud.netapp.v1.DeleteStoragePoolRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteStoragePoolMethod(), getCallOptions(), request); } /** * * *
     * Lists Volumes in a given project.
     * 
*/ public com.google.cloud.netapp.v1.ListVolumesResponse listVolumes( com.google.cloud.netapp.v1.ListVolumesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListVolumesMethod(), getCallOptions(), request); } /** * * *
     * Gets details of a single Volume.
     * 
*/ public com.google.cloud.netapp.v1.Volume getVolume( com.google.cloud.netapp.v1.GetVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetVolumeMethod(), getCallOptions(), request); } /** * * *
     * Creates a new Volume in a given project and location.
     * 
*/ public com.google.longrunning.Operation createVolume( com.google.cloud.netapp.v1.CreateVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateVolumeMethod(), getCallOptions(), request); } /** * * *
     * Updates the parameters of a single Volume.
     * 
*/ public com.google.longrunning.Operation updateVolume( com.google.cloud.netapp.v1.UpdateVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateVolumeMethod(), getCallOptions(), request); } /** * * *
     * Deletes a single Volume.
     * 
*/ public com.google.longrunning.Operation deleteVolume( com.google.cloud.netapp.v1.DeleteVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteVolumeMethod(), getCallOptions(), request); } /** * * *
     * Revert an existing volume to a specified snapshot.
     * Warning! This operation will permanently revert all changes made after the
     * snapshot was created.
     * 
*/ public com.google.longrunning.Operation revertVolume( com.google.cloud.netapp.v1.RevertVolumeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRevertVolumeMethod(), getCallOptions(), request); } /** * * *
     * Returns descriptions of all snapshots for a volume.
     * 
*/ public com.google.cloud.netapp.v1.ListSnapshotsResponse listSnapshots( com.google.cloud.netapp.v1.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListSnapshotsMethod(), getCallOptions(), request); } /** * * *
     * Describe a snapshot for a volume.
     * 
*/ public com.google.cloud.netapp.v1.Snapshot getSnapshot( com.google.cloud.netapp.v1.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetSnapshotMethod(), getCallOptions(), request); } /** * * *
     * Create a new snapshot for a volume.
     * 
*/ public com.google.longrunning.Operation createSnapshot( com.google.cloud.netapp.v1.CreateSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSnapshotMethod(), getCallOptions(), request); } /** * * *
     * Deletes a snapshot.
     * 
*/ public com.google.longrunning.Operation deleteSnapshot( com.google.cloud.netapp.v1.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSnapshotMethod(), getCallOptions(), request); } /** * * *
     * Updates the settings of a specific snapshot.
     * 
*/ public com.google.longrunning.Operation updateSnapshot( com.google.cloud.netapp.v1.UpdateSnapshotRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateSnapshotMethod(), getCallOptions(), request); } /** * * *
     * Lists active directories.
     * 
*/ public com.google.cloud.netapp.v1.ListActiveDirectoriesResponse listActiveDirectories( com.google.cloud.netapp.v1.ListActiveDirectoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListActiveDirectoriesMethod(), getCallOptions(), request); } /** * * *
     * Describes a specified active directory.
     * 
*/ public com.google.cloud.netapp.v1.ActiveDirectory getActiveDirectory( com.google.cloud.netapp.v1.GetActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetActiveDirectoryMethod(), getCallOptions(), request); } /** * * *
     * CreateActiveDirectory
     * Creates the active directory specified in the request.
     * 
*/ public com.google.longrunning.Operation createActiveDirectory( com.google.cloud.netapp.v1.CreateActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateActiveDirectoryMethod(), getCallOptions(), request); } /** * * *
     * Update the parameters of an active directories.
     * 
*/ public com.google.longrunning.Operation updateActiveDirectory( com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateActiveDirectoryMethod(), getCallOptions(), request); } /** * * *
     * Delete the active directory specified in the request.
     * 
*/ public com.google.longrunning.Operation deleteActiveDirectory( com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteActiveDirectoryMethod(), getCallOptions(), request); } /** * * *
     * Returns descriptions of all KMS configs owned by the caller.
     * 
*/ public com.google.cloud.netapp.v1.ListKmsConfigsResponse listKmsConfigs( com.google.cloud.netapp.v1.ListKmsConfigsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListKmsConfigsMethod(), getCallOptions(), request); } /** * * *
     * Creates a new KMS config.
     * 
*/ public com.google.longrunning.Operation createKmsConfig( com.google.cloud.netapp.v1.CreateKmsConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateKmsConfigMethod(), getCallOptions(), request); } /** * * *
     * Returns the description of the specified KMS config by kms_config_id.
     * 
*/ public com.google.cloud.netapp.v1.KmsConfig getKmsConfig( com.google.cloud.netapp.v1.GetKmsConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetKmsConfigMethod(), getCallOptions(), request); } /** * * *
     * Updates the Kms config properties with the full spec
     * 
*/ public com.google.longrunning.Operation updateKmsConfig( com.google.cloud.netapp.v1.UpdateKmsConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateKmsConfigMethod(), getCallOptions(), request); } /** * * *
     * Encrypt the existing volumes without CMEK encryption with the desired the
     * KMS config for the whole region.
     * 
*/ public com.google.longrunning.Operation encryptVolumes( com.google.cloud.netapp.v1.EncryptVolumesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getEncryptVolumesMethod(), getCallOptions(), request); } /** * * *
     * Verifies KMS config reachability.
     * 
*/ public com.google.cloud.netapp.v1.VerifyKmsConfigResponse verifyKmsConfig( com.google.cloud.netapp.v1.VerifyKmsConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getVerifyKmsConfigMethod(), getCallOptions(), request); } /** * * *
     * Warning! This operation will permanently delete the Kms config.
     * 
*/ public com.google.longrunning.Operation deleteKmsConfig( com.google.cloud.netapp.v1.DeleteKmsConfigRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteKmsConfigMethod(), getCallOptions(), request); } /** * * *
     * Returns descriptions of all replications for a volume.
     * 
*/ public com.google.cloud.netapp.v1.ListReplicationsResponse listReplications( com.google.cloud.netapp.v1.ListReplicationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListReplicationsMethod(), getCallOptions(), request); } /** * * *
     * Describe a replication for a volume.
     * 
*/ public com.google.cloud.netapp.v1.Replication getReplication( com.google.cloud.netapp.v1.GetReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetReplicationMethod(), getCallOptions(), request); } /** * * *
     * Create a new replication for a volume.
     * 
*/ public com.google.longrunning.Operation createReplication( com.google.cloud.netapp.v1.CreateReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateReplicationMethod(), getCallOptions(), request); } /** * * *
     * Deletes a replication.
     * 
*/ public com.google.longrunning.Operation deleteReplication( com.google.cloud.netapp.v1.DeleteReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteReplicationMethod(), getCallOptions(), request); } /** * * *
     * Updates the settings of a specific replication.
     * 
*/ public com.google.longrunning.Operation updateReplication( com.google.cloud.netapp.v1.UpdateReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateReplicationMethod(), getCallOptions(), request); } /** * * *
     * Stop Cross Region Replication.
     * 
*/ public com.google.longrunning.Operation stopReplication( com.google.cloud.netapp.v1.StopReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStopReplicationMethod(), getCallOptions(), request); } /** * * *
     * Resume Cross Region Replication.
     * 
*/ public com.google.longrunning.Operation resumeReplication( com.google.cloud.netapp.v1.ResumeReplicationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResumeReplicationMethod(), getCallOptions(), request); } /** * * *
     * Reverses direction of replication. Source becomes destination and
     * destination becomes source.
     * 
*/ public com.google.longrunning.Operation reverseReplicationDirection( com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReverseReplicationDirectionMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service NetApp. * *
   * NetApp Files Google Cloud Service
   * 
*/ public static final class NetAppFutureStub extends io.grpc.stub.AbstractFutureStub { private NetAppFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected NetAppFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new NetAppFutureStub(channel, callOptions); } /** * * *
     * Returns descriptions of all storage pools owned by the caller.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListStoragePoolsResponse> listStoragePools(com.google.cloud.netapp.v1.ListStoragePoolsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListStoragePoolsMethod(), getCallOptions()), request); } /** * * *
     * Creates a new storage pool.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createStoragePool(com.google.cloud.netapp.v1.CreateStoragePoolRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateStoragePoolMethod(), getCallOptions()), request); } /** * * *
     * Returns the description of the specified storage pool by poolId.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.StoragePool> getStoragePool(com.google.cloud.netapp.v1.GetStoragePoolRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetStoragePoolMethod(), getCallOptions()), request); } /** * * *
     * Updates the storage pool properties with the full spec
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateStoragePool(com.google.cloud.netapp.v1.UpdateStoragePoolRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateStoragePoolMethod(), getCallOptions()), request); } /** * * *
     * Warning! This operation will permanently delete the storage pool.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteStoragePool(com.google.cloud.netapp.v1.DeleteStoragePoolRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteStoragePoolMethod(), getCallOptions()), request); } /** * * *
     * Lists Volumes in a given project.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListVolumesResponse> listVolumes(com.google.cloud.netapp.v1.ListVolumesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListVolumesMethod(), getCallOptions()), request); } /** * * *
     * Gets details of a single Volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getVolume(com.google.cloud.netapp.v1.GetVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetVolumeMethod(), getCallOptions()), request); } /** * * *
     * Creates a new Volume in a given project and location.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createVolume(com.google.cloud.netapp.v1.CreateVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateVolumeMethod(), getCallOptions()), request); } /** * * *
     * Updates the parameters of a single Volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateVolume(com.google.cloud.netapp.v1.UpdateVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateVolumeMethod(), getCallOptions()), request); } /** * * *
     * Deletes a single Volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteVolume(com.google.cloud.netapp.v1.DeleteVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteVolumeMethod(), getCallOptions()), request); } /** * * *
     * Revert an existing volume to a specified snapshot.
     * Warning! This operation will permanently revert all changes made after the
     * snapshot was created.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture revertVolume(com.google.cloud.netapp.v1.RevertVolumeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRevertVolumeMethod(), getCallOptions()), request); } /** * * *
     * Returns descriptions of all snapshots for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListSnapshotsResponse> listSnapshots(com.google.cloud.netapp.v1.ListSnapshotsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListSnapshotsMethod(), getCallOptions()), request); } /** * * *
     * Describe a snapshot for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getSnapshot(com.google.cloud.netapp.v1.GetSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetSnapshotMethod(), getCallOptions()), request); } /** * * *
     * Create a new snapshot for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createSnapshot(com.google.cloud.netapp.v1.CreateSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateSnapshotMethod(), getCallOptions()), request); } /** * * *
     * Deletes a snapshot.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteSnapshot(com.google.cloud.netapp.v1.DeleteSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSnapshotMethod(), getCallOptions()), request); } /** * * *
     * Updates the settings of a specific snapshot.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateSnapshot(com.google.cloud.netapp.v1.UpdateSnapshotRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateSnapshotMethod(), getCallOptions()), request); } /** * * *
     * Lists active directories.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListActiveDirectoriesResponse> listActiveDirectories(com.google.cloud.netapp.v1.ListActiveDirectoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListActiveDirectoriesMethod(), getCallOptions()), request); } /** * * *
     * Describes a specified active directory.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ActiveDirectory> getActiveDirectory(com.google.cloud.netapp.v1.GetActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetActiveDirectoryMethod(), getCallOptions()), request); } /** * * *
     * CreateActiveDirectory
     * Creates the active directory specified in the request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createActiveDirectory(com.google.cloud.netapp.v1.CreateActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateActiveDirectoryMethod(), getCallOptions()), request); } /** * * *
     * Update the parameters of an active directories.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateActiveDirectory(com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateActiveDirectoryMethod(), getCallOptions()), request); } /** * * *
     * Delete the active directory specified in the request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteActiveDirectory(com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteActiveDirectoryMethod(), getCallOptions()), request); } /** * * *
     * Returns descriptions of all KMS configs owned by the caller.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListKmsConfigsResponse> listKmsConfigs(com.google.cloud.netapp.v1.ListKmsConfigsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListKmsConfigsMethod(), getCallOptions()), request); } /** * * *
     * Creates a new KMS config.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createKmsConfig(com.google.cloud.netapp.v1.CreateKmsConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateKmsConfigMethod(), getCallOptions()), request); } /** * * *
     * Returns the description of the specified KMS config by kms_config_id.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getKmsConfig(com.google.cloud.netapp.v1.GetKmsConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetKmsConfigMethod(), getCallOptions()), request); } /** * * *
     * Updates the Kms config properties with the full spec
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateKmsConfig(com.google.cloud.netapp.v1.UpdateKmsConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateKmsConfigMethod(), getCallOptions()), request); } /** * * *
     * Encrypt the existing volumes without CMEK encryption with the desired the
     * KMS config for the whole region.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture encryptVolumes(com.google.cloud.netapp.v1.EncryptVolumesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getEncryptVolumesMethod(), getCallOptions()), request); } /** * * *
     * Verifies KMS config reachability.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.VerifyKmsConfigResponse> verifyKmsConfig(com.google.cloud.netapp.v1.VerifyKmsConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getVerifyKmsConfigMethod(), getCallOptions()), request); } /** * * *
     * Warning! This operation will permanently delete the Kms config.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteKmsConfig(com.google.cloud.netapp.v1.DeleteKmsConfigRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteKmsConfigMethod(), getCallOptions()), request); } /** * * *
     * Returns descriptions of all replications for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.ListReplicationsResponse> listReplications(com.google.cloud.netapp.v1.ListReplicationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListReplicationsMethod(), getCallOptions()), request); } /** * * *
     * Describe a replication for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.netapp.v1.Replication> getReplication(com.google.cloud.netapp.v1.GetReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetReplicationMethod(), getCallOptions()), request); } /** * * *
     * Create a new replication for a volume.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createReplication(com.google.cloud.netapp.v1.CreateReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateReplicationMethod(), getCallOptions()), request); } /** * * *
     * Deletes a replication.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteReplication(com.google.cloud.netapp.v1.DeleteReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteReplicationMethod(), getCallOptions()), request); } /** * * *
     * Updates the settings of a specific replication.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateReplication(com.google.cloud.netapp.v1.UpdateReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateReplicationMethod(), getCallOptions()), request); } /** * * *
     * Stop Cross Region Replication.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture stopReplication(com.google.cloud.netapp.v1.StopReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStopReplicationMethod(), getCallOptions()), request); } /** * * *
     * Resume Cross Region Replication.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture resumeReplication(com.google.cloud.netapp.v1.ResumeReplicationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResumeReplicationMethod(), getCallOptions()), request); } /** * * *
     * Reverses direction of replication. Source becomes destination and
     * destination becomes source.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture reverseReplicationDirection( com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReverseReplicationDirectionMethod(), getCallOptions()), request); } } private static final int METHODID_LIST_STORAGE_POOLS = 0; private static final int METHODID_CREATE_STORAGE_POOL = 1; private static final int METHODID_GET_STORAGE_POOL = 2; private static final int METHODID_UPDATE_STORAGE_POOL = 3; private static final int METHODID_DELETE_STORAGE_POOL = 4; private static final int METHODID_LIST_VOLUMES = 5; private static final int METHODID_GET_VOLUME = 6; private static final int METHODID_CREATE_VOLUME = 7; private static final int METHODID_UPDATE_VOLUME = 8; private static final int METHODID_DELETE_VOLUME = 9; private static final int METHODID_REVERT_VOLUME = 10; private static final int METHODID_LIST_SNAPSHOTS = 11; private static final int METHODID_GET_SNAPSHOT = 12; private static final int METHODID_CREATE_SNAPSHOT = 13; private static final int METHODID_DELETE_SNAPSHOT = 14; private static final int METHODID_UPDATE_SNAPSHOT = 15; private static final int METHODID_LIST_ACTIVE_DIRECTORIES = 16; private static final int METHODID_GET_ACTIVE_DIRECTORY = 17; private static final int METHODID_CREATE_ACTIVE_DIRECTORY = 18; private static final int METHODID_UPDATE_ACTIVE_DIRECTORY = 19; private static final int METHODID_DELETE_ACTIVE_DIRECTORY = 20; private static final int METHODID_LIST_KMS_CONFIGS = 21; private static final int METHODID_CREATE_KMS_CONFIG = 22; private static final int METHODID_GET_KMS_CONFIG = 23; private static final int METHODID_UPDATE_KMS_CONFIG = 24; private static final int METHODID_ENCRYPT_VOLUMES = 25; private static final int METHODID_VERIFY_KMS_CONFIG = 26; private static final int METHODID_DELETE_KMS_CONFIG = 27; private static final int METHODID_LIST_REPLICATIONS = 28; private static final int METHODID_GET_REPLICATION = 29; private static final int METHODID_CREATE_REPLICATION = 30; private static final int METHODID_DELETE_REPLICATION = 31; private static final int METHODID_UPDATE_REPLICATION = 32; private static final int METHODID_STOP_REPLICATION = 33; private static final int METHODID_RESUME_REPLICATION = 34; private static final int METHODID_REVERSE_REPLICATION_DIRECTION = 35; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_LIST_STORAGE_POOLS: serviceImpl.listStoragePools( (com.google.cloud.netapp.v1.ListStoragePoolsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_STORAGE_POOL: serviceImpl.createStoragePool( (com.google.cloud.netapp.v1.CreateStoragePoolRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_STORAGE_POOL: serviceImpl.getStoragePool( (com.google.cloud.netapp.v1.GetStoragePoolRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_STORAGE_POOL: serviceImpl.updateStoragePool( (com.google.cloud.netapp.v1.UpdateStoragePoolRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_STORAGE_POOL: serviceImpl.deleteStoragePool( (com.google.cloud.netapp.v1.DeleteStoragePoolRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_VOLUMES: serviceImpl.listVolumes( (com.google.cloud.netapp.v1.ListVolumesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_VOLUME: serviceImpl.getVolume( (com.google.cloud.netapp.v1.GetVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_VOLUME: serviceImpl.createVolume( (com.google.cloud.netapp.v1.CreateVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_VOLUME: serviceImpl.updateVolume( (com.google.cloud.netapp.v1.UpdateVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_VOLUME: serviceImpl.deleteVolume( (com.google.cloud.netapp.v1.DeleteVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REVERT_VOLUME: serviceImpl.revertVolume( (com.google.cloud.netapp.v1.RevertVolumeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_SNAPSHOTS: serviceImpl.listSnapshots( (com.google.cloud.netapp.v1.ListSnapshotsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_SNAPSHOT: serviceImpl.getSnapshot( (com.google.cloud.netapp.v1.GetSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_SNAPSHOT: serviceImpl.createSnapshot( (com.google.cloud.netapp.v1.CreateSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SNAPSHOT: serviceImpl.deleteSnapshot( (com.google.cloud.netapp.v1.DeleteSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_SNAPSHOT: serviceImpl.updateSnapshot( (com.google.cloud.netapp.v1.UpdateSnapshotRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ACTIVE_DIRECTORIES: serviceImpl.listActiveDirectories( (com.google.cloud.netapp.v1.ListActiveDirectoriesRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.netapp.v1.ListActiveDirectoriesResponse>) responseObserver); break; case METHODID_GET_ACTIVE_DIRECTORY: serviceImpl.getActiveDirectory( (com.google.cloud.netapp.v1.GetActiveDirectoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_ACTIVE_DIRECTORY: serviceImpl.createActiveDirectory( (com.google.cloud.netapp.v1.CreateActiveDirectoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ACTIVE_DIRECTORY: serviceImpl.updateActiveDirectory( (com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_ACTIVE_DIRECTORY: serviceImpl.deleteActiveDirectory( (com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_KMS_CONFIGS: serviceImpl.listKmsConfigs( (com.google.cloud.netapp.v1.ListKmsConfigsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_KMS_CONFIG: serviceImpl.createKmsConfig( (com.google.cloud.netapp.v1.CreateKmsConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_KMS_CONFIG: serviceImpl.getKmsConfig( (com.google.cloud.netapp.v1.GetKmsConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_KMS_CONFIG: serviceImpl.updateKmsConfig( (com.google.cloud.netapp.v1.UpdateKmsConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ENCRYPT_VOLUMES: serviceImpl.encryptVolumes( (com.google.cloud.netapp.v1.EncryptVolumesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_VERIFY_KMS_CONFIG: serviceImpl.verifyKmsConfig( (com.google.cloud.netapp.v1.VerifyKmsConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_KMS_CONFIG: serviceImpl.deleteKmsConfig( (com.google.cloud.netapp.v1.DeleteKmsConfigRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_REPLICATIONS: serviceImpl.listReplications( (com.google.cloud.netapp.v1.ListReplicationsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_REPLICATION: serviceImpl.getReplication( (com.google.cloud.netapp.v1.GetReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_REPLICATION: serviceImpl.createReplication( (com.google.cloud.netapp.v1.CreateReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_REPLICATION: serviceImpl.deleteReplication( (com.google.cloud.netapp.v1.DeleteReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_REPLICATION: serviceImpl.updateReplication( (com.google.cloud.netapp.v1.UpdateReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STOP_REPLICATION: serviceImpl.stopReplication( (com.google.cloud.netapp.v1.StopReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESUME_REPLICATION: serviceImpl.resumeReplication( (com.google.cloud.netapp.v1.ResumeReplicationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REVERSE_REPLICATION_DIRECTION: serviceImpl.reverseReplicationDirection( (com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getListStoragePoolsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListStoragePoolsRequest, com.google.cloud.netapp.v1.ListStoragePoolsResponse>( service, METHODID_LIST_STORAGE_POOLS))) .addMethod( getCreateStoragePoolMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateStoragePoolRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_STORAGE_POOL))) .addMethod( getGetStoragePoolMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetStoragePoolRequest, com.google.cloud.netapp.v1.StoragePool>(service, METHODID_GET_STORAGE_POOL))) .addMethod( getUpdateStoragePoolMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateStoragePoolRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_STORAGE_POOL))) .addMethod( getDeleteStoragePoolMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteStoragePoolRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_STORAGE_POOL))) .addMethod( getListVolumesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListVolumesRequest, com.google.cloud.netapp.v1.ListVolumesResponse>( service, METHODID_LIST_VOLUMES))) .addMethod( getGetVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetVolumeRequest, com.google.cloud.netapp.v1.Volume>( service, METHODID_GET_VOLUME))) .addMethod( getCreateVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateVolumeRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_VOLUME))) .addMethod( getUpdateVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateVolumeRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_VOLUME))) .addMethod( getDeleteVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteVolumeRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_VOLUME))) .addMethod( getRevertVolumeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.RevertVolumeRequest, com.google.longrunning.Operation>(service, METHODID_REVERT_VOLUME))) .addMethod( getListSnapshotsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListSnapshotsRequest, com.google.cloud.netapp.v1.ListSnapshotsResponse>( service, METHODID_LIST_SNAPSHOTS))) .addMethod( getGetSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetSnapshotRequest, com.google.cloud.netapp.v1.Snapshot>(service, METHODID_GET_SNAPSHOT))) .addMethod( getCreateSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateSnapshotRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_SNAPSHOT))) .addMethod( getDeleteSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteSnapshotRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_SNAPSHOT))) .addMethod( getUpdateSnapshotMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateSnapshotRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_SNAPSHOT))) .addMethod( getListActiveDirectoriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListActiveDirectoriesRequest, com.google.cloud.netapp.v1.ListActiveDirectoriesResponse>( service, METHODID_LIST_ACTIVE_DIRECTORIES))) .addMethod( getGetActiveDirectoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetActiveDirectoryRequest, com.google.cloud.netapp.v1.ActiveDirectory>( service, METHODID_GET_ACTIVE_DIRECTORY))) .addMethod( getCreateActiveDirectoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateActiveDirectoryRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_ACTIVE_DIRECTORY))) .addMethod( getUpdateActiveDirectoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateActiveDirectoryRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_ACTIVE_DIRECTORY))) .addMethod( getDeleteActiveDirectoryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteActiveDirectoryRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_ACTIVE_DIRECTORY))) .addMethod( getListKmsConfigsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListKmsConfigsRequest, com.google.cloud.netapp.v1.ListKmsConfigsResponse>( service, METHODID_LIST_KMS_CONFIGS))) .addMethod( getCreateKmsConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateKmsConfigRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_KMS_CONFIG))) .addMethod( getGetKmsConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetKmsConfigRequest, com.google.cloud.netapp.v1.KmsConfig>(service, METHODID_GET_KMS_CONFIG))) .addMethod( getUpdateKmsConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateKmsConfigRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_KMS_CONFIG))) .addMethod( getEncryptVolumesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.EncryptVolumesRequest, com.google.longrunning.Operation>(service, METHODID_ENCRYPT_VOLUMES))) .addMethod( getVerifyKmsConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.VerifyKmsConfigRequest, com.google.cloud.netapp.v1.VerifyKmsConfigResponse>( service, METHODID_VERIFY_KMS_CONFIG))) .addMethod( getDeleteKmsConfigMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteKmsConfigRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_KMS_CONFIG))) .addMethod( getListReplicationsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ListReplicationsRequest, com.google.cloud.netapp.v1.ListReplicationsResponse>( service, METHODID_LIST_REPLICATIONS))) .addMethod( getGetReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.GetReplicationRequest, com.google.cloud.netapp.v1.Replication>(service, METHODID_GET_REPLICATION))) .addMethod( getCreateReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.CreateReplicationRequest, com.google.longrunning.Operation>(service, METHODID_CREATE_REPLICATION))) .addMethod( getDeleteReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.DeleteReplicationRequest, com.google.longrunning.Operation>(service, METHODID_DELETE_REPLICATION))) .addMethod( getUpdateReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.UpdateReplicationRequest, com.google.longrunning.Operation>(service, METHODID_UPDATE_REPLICATION))) .addMethod( getStopReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.StopReplicationRequest, com.google.longrunning.Operation>(service, METHODID_STOP_REPLICATION))) .addMethod( getResumeReplicationMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ResumeReplicationRequest, com.google.longrunning.Operation>(service, METHODID_RESUME_REPLICATION))) .addMethod( getReverseReplicationDirectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.netapp.v1.ReverseReplicationDirectionRequest, com.google.longrunning.Operation>( service, METHODID_REVERSE_REPLICATION_DIRECTION))) .build(); } private abstract static class NetAppBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { NetAppBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.cloud.netapp.v1.CloudNetappServiceProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("NetApp"); } } private static final class NetAppFileDescriptorSupplier extends NetAppBaseDescriptorSupplier { NetAppFileDescriptorSupplier() {} } private static final class NetAppMethodDescriptorSupplier extends NetAppBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; NetAppMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (NetAppGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new NetAppFileDescriptorSupplier()) .addMethod(getListStoragePoolsMethod()) .addMethod(getCreateStoragePoolMethod()) .addMethod(getGetStoragePoolMethod()) .addMethod(getUpdateStoragePoolMethod()) .addMethod(getDeleteStoragePoolMethod()) .addMethod(getListVolumesMethod()) .addMethod(getGetVolumeMethod()) .addMethod(getCreateVolumeMethod()) .addMethod(getUpdateVolumeMethod()) .addMethod(getDeleteVolumeMethod()) .addMethod(getRevertVolumeMethod()) .addMethod(getListSnapshotsMethod()) .addMethod(getGetSnapshotMethod()) .addMethod(getCreateSnapshotMethod()) .addMethod(getDeleteSnapshotMethod()) .addMethod(getUpdateSnapshotMethod()) .addMethod(getListActiveDirectoriesMethod()) .addMethod(getGetActiveDirectoryMethod()) .addMethod(getCreateActiveDirectoryMethod()) .addMethod(getUpdateActiveDirectoryMethod()) .addMethod(getDeleteActiveDirectoryMethod()) .addMethod(getListKmsConfigsMethod()) .addMethod(getCreateKmsConfigMethod()) .addMethod(getGetKmsConfigMethod()) .addMethod(getUpdateKmsConfigMethod()) .addMethod(getEncryptVolumesMethod()) .addMethod(getVerifyKmsConfigMethod()) .addMethod(getDeleteKmsConfigMethod()) .addMethod(getListReplicationsMethod()) .addMethod(getGetReplicationMethod()) .addMethod(getCreateReplicationMethod()) .addMethod(getDeleteReplicationMethod()) .addMethod(getUpdateReplicationMethod()) .addMethod(getStopReplicationMethod()) .addMethod(getResumeReplicationMethod()) .addMethod(getReverseReplicationDirectionMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy