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

yandex.cloud.api.containerregistry.v1.RepositoryServiceGrpc Maven / Gradle / Ivy

package yandex.cloud.api.containerregistry.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * A set of methods for managing Repository resources.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.43.2)", comments = "Source: yandex/cloud/containerregistry/v1/repository_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class RepositoryServiceGrpc { private RepositoryServiceGrpc() {} public static final String SERVICE_NAME = "yandex.cloud.containerregistry.v1.RepositoryService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getGetMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Get", requestType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest.class, responseType = yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetMethod() { io.grpc.MethodDescriptor getGetMethod; if ((getGetMethod = RepositoryServiceGrpc.getGetMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getGetMethod = RepositoryServiceGrpc.getGetMethod) == null) { RepositoryServiceGrpc.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.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository.getDefaultInstance())) .setSchemaDescriptor(new RepositoryServiceMethodDescriptorSupplier("Get")) .build(); } } } return getGetMethod; } private static volatile io.grpc.MethodDescriptor getGetByNameMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetByName", requestType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest.class, responseType = yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetByNameMethod() { io.grpc.MethodDescriptor getGetByNameMethod; if ((getGetByNameMethod = RepositoryServiceGrpc.getGetByNameMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getGetByNameMethod = RepositoryServiceGrpc.getGetByNameMethod) == null) { RepositoryServiceGrpc.getGetByNameMethod = getGetByNameMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetByName")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository.getDefaultInstance())) .setSchemaDescriptor(new RepositoryServiceMethodDescriptorSupplier("GetByName")) .build(); } } } return getGetByNameMethod; } private static volatile io.grpc.MethodDescriptor getListMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "List", requestType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest.class, responseType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListMethod() { io.grpc.MethodDescriptor getListMethod; if ((getListMethod = RepositoryServiceGrpc.getListMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getListMethod = RepositoryServiceGrpc.getListMethod) == null) { RepositoryServiceGrpc.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.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesResponse.getDefaultInstance())) .setSchemaDescriptor(new RepositoryServiceMethodDescriptorSupplier("List")) .build(); } } } return getListMethod; } 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 = RepositoryServiceGrpc.getListAccessBindingsMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getListAccessBindingsMethod = RepositoryServiceGrpc.getListAccessBindingsMethod) == null) { RepositoryServiceGrpc.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 RepositoryServiceMethodDescriptorSupplier("ListAccessBindings")) .build(); } } } return getListAccessBindingsMethod; } private static volatile io.grpc.MethodDescriptor getUpsertMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Upsert", requestType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest.class, responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpsertMethod() { io.grpc.MethodDescriptor getUpsertMethod; if ((getUpsertMethod = RepositoryServiceGrpc.getUpsertMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getUpsertMethod = RepositoryServiceGrpc.getUpsertMethod) == null) { RepositoryServiceGrpc.getUpsertMethod = getUpsertMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Upsert")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new RepositoryServiceMethodDescriptorSupplier("Upsert")) .build(); } } } return getUpsertMethod; } private static volatile io.grpc.MethodDescriptor getDeleteMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Delete", requestType = yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest.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 = RepositoryServiceGrpc.getDeleteMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getDeleteMethod = RepositoryServiceGrpc.getDeleteMethod) == null) { RepositoryServiceGrpc.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.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new RepositoryServiceMethodDescriptorSupplier("Delete")) .build(); } } } return getDeleteMethod; } 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 = RepositoryServiceGrpc.getSetAccessBindingsMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getSetAccessBindingsMethod = RepositoryServiceGrpc.getSetAccessBindingsMethod) == null) { RepositoryServiceGrpc.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 RepositoryServiceMethodDescriptorSupplier("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 = RepositoryServiceGrpc.getUpdateAccessBindingsMethod) == null) { synchronized (RepositoryServiceGrpc.class) { if ((getUpdateAccessBindingsMethod = RepositoryServiceGrpc.getUpdateAccessBindingsMethod) == null) { RepositoryServiceGrpc.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 RepositoryServiceMethodDescriptorSupplier("UpdateAccessBindings")) .build(); } } } return getUpdateAccessBindingsMethod; } /** * Creates a new async stub that supports all call types for the service */ public static RepositoryServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public RepositoryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceStub(channel, callOptions); } }; return RepositoryServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static RepositoryServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public RepositoryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceBlockingStub(channel, callOptions); } }; return RepositoryServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static RepositoryServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public RepositoryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceFutureStub(channel, callOptions); } }; return RepositoryServiceFutureStub.newStub(factory, channel); } /** *
   * A set of methods for managing Repository resources.
   * 
*/ public static abstract class RepositoryServiceImplBase implements io.grpc.BindableService { /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public void getByName(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetByNameMethod(), responseObserver); } /** *
     * Retrieves the list of Repository resources in the specified registry.
     * 
*/ public void list(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver); } /** *
     * Lists access bindings for the specified repository.
     * 
*/ public void listAccessBindings(yandex.cloud.api.access.Access.ListAccessBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListAccessBindingsMethod(), responseObserver); } /** *
     * Upserts a repository in the specified registry.
     * 
*/ public void upsert(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpsertMethod(), responseObserver); } /** *
     * Deletes the specified repository.
     * 
*/ public void delete(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver); } /** *
     * Sets access bindings for the specified repository.
     * 
*/ 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 repository.
     * 
*/ 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( getGetMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest, yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository>( this, METHODID_GET))) .addMethod( getGetByNameMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest, yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository>( this, METHODID_GET_BY_NAME))) .addMethod( getListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest, yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesResponse>( this, METHODID_LIST))) .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( getUpsertMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPSERT))) .addMethod( getDeleteMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_DELETE))) .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(); } } /** *
   * A set of methods for managing Repository resources.
   * 
*/ public static final class RepositoryServiceStub extends io.grpc.stub.AbstractAsyncStub { private RepositoryServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected RepositoryServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceStub(channel, callOptions); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public void getByName(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetByNameMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the list of Repository resources in the specified registry.
     * 
*/ public void list(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists access bindings for the specified repository.
     * 
*/ 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); } /** *
     * Upserts a repository in the specified registry.
     * 
*/ public void upsert(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpsertMethod(), getCallOptions()), request, responseObserver); } /** *
     * Deletes the specified repository.
     * 
*/ public void delete(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver); } /** *
     * Sets access bindings for the specified repository.
     * 
*/ 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 repository.
     * 
*/ 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); } } /** *
   * A set of methods for managing Repository resources.
   * 
*/ public static final class RepositoryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private RepositoryServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected RepositoryServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceBlockingStub(channel, callOptions); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository get(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMethod(), getCallOptions(), request); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public yandex.cloud.api.containerregistry.v1.RepositoryOuterClass.Repository getByName(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetByNameMethod(), getCallOptions(), request); } /** *
     * Retrieves the list of Repository resources in the specified registry.
     * 
*/ public yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesResponse list(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMethod(), getCallOptions(), request); } /** *
     * Lists access bindings for the specified repository.
     * 
*/ 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); } /** *
     * Upserts a repository in the specified registry.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation upsert(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpsertMethod(), getCallOptions(), request); } /** *
     * Deletes the specified repository.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteMethod(), getCallOptions(), request); } /** *
     * Sets access bindings for the specified repository.
     * 
*/ 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 repository.
     * 
*/ 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); } } /** *
   * A set of methods for managing Repository resources.
   * 
*/ public static final class RepositoryServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private RepositoryServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected RepositoryServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new RepositoryServiceFutureStub(channel, callOptions); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture get( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); } /** *
     * Returns the specified Repository resource.
     * To get the list of available Repository resources, make a [List] request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getByName( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetByNameMethod(), getCallOptions()), request); } /** *
     * Retrieves the list of Repository resources in the specified registry.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture list( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request); } /** *
     * Lists access bindings for the specified repository.
     * 
*/ 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); } /** *
     * Upserts a repository in the specified registry.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture upsert( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpsertMethod(), getCallOptions()), request); } /** *
     * Deletes the specified repository.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture delete( yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteMethod(), getCallOptions()), request); } /** *
     * Sets access bindings for the specified repository.
     * 
*/ 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 repository.
     * 
*/ 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_GET = 0; private static final int METHODID_GET_BY_NAME = 1; private static final int METHODID_LIST = 2; private static final int METHODID_LIST_ACCESS_BINDINGS = 3; private static final int METHODID_UPSERT = 4; private static final int METHODID_DELETE = 5; private static final int METHODID_SET_ACCESS_BINDINGS = 6; private static final int METHODID_UPDATE_ACCESS_BINDINGS = 7; 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 RepositoryServiceImplBase serviceImpl; private final int methodId; MethodHandlers(RepositoryServiceImplBase 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_GET: serviceImpl.get((yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_BY_NAME: serviceImpl.getByName((yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.GetRepositoryByNameRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.ListRepositoriesRequest) 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_UPSERT: serviceImpl.upsert((yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.UpsertRepositoryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE: serviceImpl.delete((yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.DeleteRepositoryRequest) 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 RepositoryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { RepositoryServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return yandex.cloud.api.containerregistry.v1.RepositoryServiceOuterClass.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("RepositoryService"); } } private static final class RepositoryServiceFileDescriptorSupplier extends RepositoryServiceBaseDescriptorSupplier { RepositoryServiceFileDescriptorSupplier() {} } private static final class RepositoryServiceMethodDescriptorSupplier extends RepositoryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; RepositoryServiceMethodDescriptorSupplier(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 (RepositoryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new RepositoryServiceFileDescriptorSupplier()) .addMethod(getGetMethod()) .addMethod(getGetByNameMethod()) .addMethod(getListMethod()) .addMethod(getListAccessBindingsMethod()) .addMethod(getUpsertMethod()) .addMethod(getDeleteMethod()) .addMethod(getSetAccessBindingsMethod()) .addMethod(getUpdateAccessBindingsMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy