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

yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceGrpc Maven / Gradle / Ivy

package yandex.cloud.api.kms.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * Set of methods for managing asymmetric signature keys.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.43.2)", comments = "Source: yandex/cloud/kms/v1/asymmetricsignature/asymmetric_signature_key_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class AsymmetricSignatureKeyServiceGrpc { private AsymmetricSignatureKeyServiceGrpc() {} public static final String SERVICE_NAME = "yandex.cloud.kms.v1.asymmetricsignature.AsymmetricSignatureKeyService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getCreateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Create", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCreateMethod() { io.grpc.MethodDescriptor getCreateMethod; if ((getCreateMethod = AsymmetricSignatureKeyServiceGrpc.getCreateMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getCreateMethod = AsymmetricSignatureKeyServiceGrpc.getCreateMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getCreateMethod = getCreateMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Create")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("Create")) .build(); } } } return getCreateMethod; } private static volatile io.grpc.MethodDescriptor getGetMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Get", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest.class, responseType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyOuterClass.AsymmetricSignatureKey.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetMethod() { io.grpc.MethodDescriptor getGetMethod; if ((getGetMethod = AsymmetricSignatureKeyServiceGrpc.getGetMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getGetMethod = AsymmetricSignatureKeyServiceGrpc.getGetMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getGetMethod = getGetMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Get")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyOuterClass.AsymmetricSignatureKey.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("Get")) .build(); } } } return getGetMethod; } private static volatile io.grpc.MethodDescriptor getListMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "List", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest.class, responseType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListMethod() { io.grpc.MethodDescriptor getListMethod; if ((getListMethod = AsymmetricSignatureKeyServiceGrpc.getListMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getListMethod = AsymmetricSignatureKeyServiceGrpc.getListMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getListMethod = getListMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "List")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysResponse.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("List")) .build(); } } } return getListMethod; } private static volatile io.grpc.MethodDescriptor getUpdateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Update", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateMethod() { io.grpc.MethodDescriptor getUpdateMethod; if ((getUpdateMethod = AsymmetricSignatureKeyServiceGrpc.getUpdateMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getUpdateMethod = AsymmetricSignatureKeyServiceGrpc.getUpdateMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getUpdateMethod = getUpdateMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Update")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("Update")) .build(); } } } return getUpdateMethod; } private static volatile io.grpc.MethodDescriptor getDeleteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Delete", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteMethod() { io.grpc.MethodDescriptor getDeleteMethod; if ((getDeleteMethod = AsymmetricSignatureKeyServiceGrpc.getDeleteMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getDeleteMethod = AsymmetricSignatureKeyServiceGrpc.getDeleteMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getDeleteMethod = getDeleteMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Delete")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("Delete")) .build(); } } } return getDeleteMethod; } private static volatile io.grpc.MethodDescriptor getListOperationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOperations", requestType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest.class, responseType = yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListOperationsMethod() { io.grpc.MethodDescriptor getListOperationsMethod; if ((getListOperationsMethod = AsymmetricSignatureKeyServiceGrpc.getListOperationsMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getListOperationsMethod = AsymmetricSignatureKeyServiceGrpc.getListOperationsMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getListOperationsMethod = getListOperationsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListOperations")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsResponse.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("ListOperations")) .build(); } } } return getListOperationsMethod; } private static volatile io.grpc.MethodDescriptor getListAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListAccessBindings", requestType = yandex.cloud.api.access.Access.ListAccessBindingsRequest.class, responseType = yandex.cloud.api.access.Access.ListAccessBindingsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListAccessBindingsMethod() { io.grpc.MethodDescriptor getListAccessBindingsMethod; if ((getListAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getListAccessBindingsMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getListAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getListAccessBindingsMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getListAccessBindingsMethod = getListAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.ListAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.ListAccessBindingsResponse.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("ListAccessBindings")) .build(); } } } return getListAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getSetAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetAccessBindings", requestType = yandex.cloud.api.access.Access.SetAccessBindingsRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getSetAccessBindingsMethod() { io.grpc.MethodDescriptor getSetAccessBindingsMethod; if ((getSetAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getSetAccessBindingsMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getSetAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getSetAccessBindingsMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getSetAccessBindingsMethod = getSetAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.SetAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("SetAccessBindings")) .build(); } } } return getSetAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getUpdateAccessBindingsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateAccessBindings", requestType = yandex.cloud.api.access.Access.UpdateAccessBindingsRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateAccessBindingsMethod() { io.grpc.MethodDescriptor getUpdateAccessBindingsMethod; if ((getUpdateAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getUpdateAccessBindingsMethod) == null) { synchronized (AsymmetricSignatureKeyServiceGrpc.class) { if ((getUpdateAccessBindingsMethod = AsymmetricSignatureKeyServiceGrpc.getUpdateAccessBindingsMethod) == null) { AsymmetricSignatureKeyServiceGrpc.getUpdateAccessBindingsMethod = getUpdateAccessBindingsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateAccessBindings")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.access.Access.UpdateAccessBindingsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceMethodDescriptorSupplier("UpdateAccessBindings")) .build(); } } } return getUpdateAccessBindingsMethod; } /** * Creates a new async stub that supports all call types for the service */ public static AsymmetricSignatureKeyServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AsymmetricSignatureKeyServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceStub(channel, callOptions); } }; return AsymmetricSignatureKeyServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static AsymmetricSignatureKeyServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AsymmetricSignatureKeyServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceBlockingStub(channel, callOptions); } }; return AsymmetricSignatureKeyServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static AsymmetricSignatureKeyServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public AsymmetricSignatureKeyServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceFutureStub(channel, callOptions); } }; return AsymmetricSignatureKeyServiceFutureStub.newStub(factory, channel); } /** *
   * Set of methods for managing asymmetric signature keys.
   * 
*/ public static abstract class AsymmetricSignatureKeyServiceImplBase implements io.grpc.BindableService { /** *
     * control plane
     * Creates an asymmetric KMS key in the specified folder.
     * 
*/ public void create(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver); } /** *
     * Returns the specified asymmetric KMS key.
     *  To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
     * 
*/ public void get(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver); } /** *
     * Returns the list of asymmetric KMS keys in the specified folder.
     * 
*/ public void list(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver); } /** *
     * Updates the specified asymmetric KMS key.
     * 
*/ public void update(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver); } /** *
     * Deletes the specified asymmetric KMS key. This action also automatically schedules
     * the destruction of all of the key's versions in 72 hours.
     * The key and its versions appear absent in [AsymmetricSignatureKeyService.Get] and [AsymmetricSignatureKeyService.List]
     * requests, but can be restored within 72 hours with a request to tech support.
     * 
*/ public void delete(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver); } /** *
     * Lists operations for the specified asymmetric KMS key.
     * 
*/ public void listOperations(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); } /** *
     * Lists existing access bindings for the specified key.
     * 
*/ public void listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccessBindingsMethod(), responseObserver); } /** *
     * Sets access bindings for the key.
     * 
*/ public void setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetAccessBindingsMethod(), responseObserver); } /** *
     * Updates access bindings for the specified key.
     * 
*/ public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccessBindingsMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_CREATE))) .addMethod( getGetMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest, yandex.cloud.api.kms.v1.AsymmetricSignatureKeyOuterClass.AsymmetricSignatureKey>( this, METHODID_GET))) .addMethod( getListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest, yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysResponse>( this, METHODID_LIST))) .addMethod( getUpdateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE))) .addMethod( getDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_DELETE))) .addMethod( getListOperationsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest, yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsResponse>( this, METHODID_LIST_OPERATIONS))) .addMethod( getListAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.ListAccessBindingsRequest, yandex.cloud.api.access.Access.ListAccessBindingsResponse>( this, METHODID_LIST_ACCESS_BINDINGS))) .addMethod( getSetAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.SetAccessBindingsRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_SET_ACCESS_BINDINGS))) .addMethod( getUpdateAccessBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.access.Access.UpdateAccessBindingsRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE_ACCESS_BINDINGS))) .build(); } } /** *
   * Set of methods for managing asymmetric signature keys.
   * 
*/ public static final class AsymmetricSignatureKeyServiceStub extends io.grpc.stub.AbstractAsyncStub { private AsymmetricSignatureKeyServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AsymmetricSignatureKeyServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceStub(channel, callOptions); } /** *
     * control plane
     * Creates an asymmetric KMS key in the specified folder.
     * 
*/ public void create(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Returns the specified asymmetric KMS key.
     *  To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
     * 
*/ public void get(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver); } /** *
     * Returns the list of asymmetric KMS keys in the specified folder.
     * 
*/ public void list(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates the specified asymmetric KMS key.
     * 
*/ public void update(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes the specified asymmetric KMS key. This action also automatically schedules
     * the destruction of all of the key's versions in 72 hours.
     * The key and its versions appear absent in [AsymmetricSignatureKeyService.Get] and [AsymmetricSignatureKeyService.List]
     * requests, but can be restored within 72 hours with a request to tech support.
     * 
*/ public void delete(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists operations for the specified asymmetric KMS key.
     * 
*/ public void listOperations(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists existing access bindings for the specified key.
     * 
*/ public void listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Sets access bindings for the key.
     * 
*/ public void setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetAccessBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates access bindings for the specified key.
     * 
*/ public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateAccessBindingsMethod(), getCallOptions()), request, responseObserver); } } /** *
   * Set of methods for managing asymmetric signature keys.
   * 
*/ public static final class AsymmetricSignatureKeyServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private AsymmetricSignatureKeyServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AsymmetricSignatureKeyServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceBlockingStub(channel, callOptions); } /** *
     * control plane
     * Creates an asymmetric KMS key in the specified folder.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation create(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateMethod(), getCallOptions(), request); } /** *
     * Returns the specified asymmetric KMS key.
     *  To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
     * 
*/ public yandex.cloud.api.kms.v1.AsymmetricSignatureKeyOuterClass.AsymmetricSignatureKey get(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMethod(), getCallOptions(), request); } /** *
     * Returns the list of asymmetric KMS keys in the specified folder.
     * 
*/ public yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysResponse list(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMethod(), getCallOptions(), request); } /** *
     * Updates the specified asymmetric KMS key.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateMethod(), getCallOptions(), request); } /** *
     * Deletes the specified asymmetric KMS key. This action also automatically schedules
     * the destruction of all of the key's versions in 72 hours.
     * The key and its versions appear absent in [AsymmetricSignatureKeyService.Get] and [AsymmetricSignatureKeyService.List]
     * requests, but can be restored within 72 hours with a request to tech support.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteMethod(), getCallOptions(), request); } /** *
     * Lists operations for the specified asymmetric KMS key.
     * 
*/ public yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsResponse listOperations(yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOperationsMethod(), getCallOptions(), request); } /** *
     * Lists existing access bindings for the specified key.
     * 
*/ public yandex.cloud.api.access.Access.ListAccessBindingsResponse listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListAccessBindingsMethod(), getCallOptions(), request); } /** *
     * Sets access bindings for the key.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation setAccessBindings(yandex.cloud.api.access.Access.SetAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSetAccessBindingsMethod(), getCallOptions(), request); } /** *
     * Updates access bindings for the specified key.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateAccessBindingsMethod(), getCallOptions(), request); } } /** *
   * Set of methods for managing asymmetric signature keys.
   * 
*/ public static final class AsymmetricSignatureKeyServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private AsymmetricSignatureKeyServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected AsymmetricSignatureKeyServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new AsymmetricSignatureKeyServiceFutureStub(channel, callOptions); } /** *
     * control plane
     * Creates an asymmetric KMS key in the specified folder.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture create( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateMethod(), getCallOptions()), request); } /** *
     * Returns the specified asymmetric KMS key.
     *  To get the list of available asymmetric KMS keys, make a [SymmetricKeyService.List] request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture get( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); } /** *
     * Returns the list of asymmetric KMS keys in the specified folder.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture list( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request); } /** *
     * Updates the specified asymmetric KMS key.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture update( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request); } /** *
     * Deletes the specified asymmetric KMS key. This action also automatically schedules
     * the destruction of all of the key's versions in 72 hours.
     * The key and its versions appear absent in [AsymmetricSignatureKeyService.Get] and [AsymmetricSignatureKeyService.List]
     * requests, but can be restored within 72 hours with a request to tech support.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture delete( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); } /** *
     * Lists operations for the specified asymmetric KMS key.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listOperations( yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); } /** *
     * Lists existing access bindings for the specified key.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listAccessBindings( yandex.cloud.api.access.Access.ListAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListAccessBindingsMethod(), getCallOptions()), request); } /** *
     * Sets access bindings for the key.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture setAccessBindings( yandex.cloud.api.access.Access.SetAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetAccessBindingsMethod(), getCallOptions()), request); } /** *
     * Updates access bindings for the specified key.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateAccessBindings( yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateAccessBindingsMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE = 0; private static final int METHODID_GET = 1; private static final int METHODID_LIST = 2; private static final int METHODID_UPDATE = 3; private static final int METHODID_DELETE = 4; private static final int METHODID_LIST_OPERATIONS = 5; private static final int METHODID_LIST_ACCESS_BINDINGS = 6; private static final int METHODID_SET_ACCESS_BINDINGS = 7; private static final int METHODID_UPDATE_ACCESS_BINDINGS = 8; 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 AsymmetricSignatureKeyServiceImplBase serviceImpl; private final int methodId; MethodHandlers(AsymmetricSignatureKeyServiceImplBase 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_CREATE: serviceImpl.create((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.CreateAsymmetricSignatureKeyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET: serviceImpl.get((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.GetAsymmetricSignatureKeyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeysRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE: serviceImpl.update((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.UpdateAsymmetricSignatureKeyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE: serviceImpl.delete((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.DeleteAsymmetricSignatureKeyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_OPERATIONS: serviceImpl.listOperations((yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.ListAsymmetricSignatureKeyOperationsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_ACCESS_BINDINGS: serviceImpl.listAccessBindings((yandex.cloud.api.access.Access.ListAccessBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_ACCESS_BINDINGS: serviceImpl.setAccessBindings((yandex.cloud.api.access.Access.SetAccessBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_ACCESS_BINDINGS: serviceImpl.updateAccessBindings((yandex.cloud.api.access.Access.UpdateAccessBindingsRequest) 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(); } } } private static abstract class AsymmetricSignatureKeyServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { AsymmetricSignatureKeyServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return yandex.cloud.api.kms.v1.AsymmetricSignatureKeyServiceOuterClass.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("AsymmetricSignatureKeyService"); } } private static final class AsymmetricSignatureKeyServiceFileDescriptorSupplier extends AsymmetricSignatureKeyServiceBaseDescriptorSupplier { AsymmetricSignatureKeyServiceFileDescriptorSupplier() {} } private static final class AsymmetricSignatureKeyServiceMethodDescriptorSupplier extends AsymmetricSignatureKeyServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; AsymmetricSignatureKeyServiceMethodDescriptorSupplier(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 (AsymmetricSignatureKeyServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new AsymmetricSignatureKeyServiceFileDescriptorSupplier()) .addMethod(getCreateMethod()) .addMethod(getGetMethod()) .addMethod(getListMethod()) .addMethod(getUpdateMethod()) .addMethod(getDeleteMethod()) .addMethod(getListOperationsMethod()) .addMethod(getListAccessBindingsMethod()) .addMethod(getSetAccessBindingsMethod()) .addMethod(getUpdateAccessBindingsMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy