yandex.cloud.api.containerregistry.v1.RegistryServiceGrpc Maven / Gradle / Ivy
package yandex.cloud.api.containerregistry.v1;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
* A set of methods for managing Registry resources.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
comments = "Source: yandex/cloud/containerregistry/v1/registry_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class RegistryServiceGrpc {
private RegistryServiceGrpc() {}
public static final String SERVICE_NAME = "yandex.cloud.containerregistry.v1.RegistryService";
// 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.RegistryServiceOuterClass.GetRegistryRequest.class,
responseType = yandex.cloud.api.containerregistry.v1.RegistryOuterClass.Registry.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMethod() {
io.grpc.MethodDescriptor getGetMethod;
if ((getGetMethod = RegistryServiceGrpc.getGetMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getGetMethod = RegistryServiceGrpc.getGetMethod) == null) {
RegistryServiceGrpc.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.RegistryServiceOuterClass.GetRegistryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryOuterClass.Registry.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("Get"))
.build();
}
}
}
return getGetMethod;
}
private static volatile io.grpc.MethodDescriptor getListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "List",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest.class,
responseType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMethod() {
io.grpc.MethodDescriptor getListMethod;
if ((getListMethod = RegistryServiceGrpc.getListMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getListMethod = RegistryServiceGrpc.getListMethod) == null) {
RegistryServiceGrpc.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.RegistryServiceOuterClass.ListRegistriesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesResponse.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("List"))
.build();
}
}
}
return getListMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Create",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest.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 = RegistryServiceGrpc.getCreateMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getCreateMethod = RegistryServiceGrpc.getCreateMethod) == null) {
RegistryServiceGrpc.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.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Update",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest.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 = RegistryServiceGrpc.getUpdateMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getUpdateMethod = RegistryServiceGrpc.getUpdateMethod) == null) {
RegistryServiceGrpc.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.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Delete",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest.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 = RegistryServiceGrpc.getDeleteMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getDeleteMethod = RegistryServiceGrpc.getDeleteMethod) == null) {
RegistryServiceGrpc.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.RegistryServiceOuterClass.DeleteRegistryRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("Delete"))
.build();
}
}
}
return getDeleteMethod;
}
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 = RegistryServiceGrpc.getListAccessBindingsMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getListAccessBindingsMethod = RegistryServiceGrpc.getListAccessBindingsMethod) == null) {
RegistryServiceGrpc.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 RegistryServiceMethodDescriptorSupplier("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 = RegistryServiceGrpc.getSetAccessBindingsMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getSetAccessBindingsMethod = RegistryServiceGrpc.getSetAccessBindingsMethod) == null) {
RegistryServiceGrpc.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 RegistryServiceMethodDescriptorSupplier("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 = RegistryServiceGrpc.getUpdateAccessBindingsMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getUpdateAccessBindingsMethod = RegistryServiceGrpc.getUpdateAccessBindingsMethod) == null) {
RegistryServiceGrpc.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 RegistryServiceMethodDescriptorSupplier("UpdateAccessBindings"))
.build();
}
}
}
return getUpdateAccessBindingsMethod;
}
private static volatile io.grpc.MethodDescriptor getListIpPermissionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ListIpPermission",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest.class,
responseType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListIpPermissionMethod() {
io.grpc.MethodDescriptor getListIpPermissionMethod;
if ((getListIpPermissionMethod = RegistryServiceGrpc.getListIpPermissionMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getListIpPermissionMethod = RegistryServiceGrpc.getListIpPermissionMethod) == null) {
RegistryServiceGrpc.getListIpPermissionMethod = getListIpPermissionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListIpPermission"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionsResponse.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("ListIpPermission"))
.build();
}
}
}
return getListIpPermissionMethod;
}
private static volatile io.grpc.MethodDescriptor getSetIpPermissionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetIpPermission",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSetIpPermissionMethod() {
io.grpc.MethodDescriptor getSetIpPermissionMethod;
if ((getSetIpPermissionMethod = RegistryServiceGrpc.getSetIpPermissionMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getSetIpPermissionMethod = RegistryServiceGrpc.getSetIpPermissionMethod) == null) {
RegistryServiceGrpc.getSetIpPermissionMethod = getSetIpPermissionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIpPermission"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("SetIpPermission"))
.build();
}
}
}
return getSetIpPermissionMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateIpPermissionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateIpPermission",
requestType = yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateIpPermissionMethod() {
io.grpc.MethodDescriptor getUpdateIpPermissionMethod;
if ((getUpdateIpPermissionMethod = RegistryServiceGrpc.getUpdateIpPermissionMethod) == null) {
synchronized (RegistryServiceGrpc.class) {
if ((getUpdateIpPermissionMethod = RegistryServiceGrpc.getUpdateIpPermissionMethod) == null) {
RegistryServiceGrpc.getUpdateIpPermissionMethod = getUpdateIpPermissionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateIpPermission"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new RegistryServiceMethodDescriptorSupplier("UpdateIpPermission"))
.build();
}
}
}
return getUpdateIpPermissionMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static RegistryServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public RegistryServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceStub(channel, callOptions);
}
};
return RegistryServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static RegistryServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public RegistryServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceBlockingStub(channel, callOptions);
}
};
return RegistryServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static RegistryServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public RegistryServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceFutureStub(channel, callOptions);
}
};
return RegistryServiceFutureStub.newStub(factory, channel);
}
/**
*
* A set of methods for managing Registry resources.
*
*/
public static abstract class RegistryServiceImplBase implements io.grpc.BindableService {
/**
*
* Returns the specified Registry resource.
* To get the list of available Registry resources, make a [List] request.
*
*/
public void get(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.GetRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
}
/**
*
* Retrieves the list of Registry resources in the specified folder.
*
*/
public void list(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
}
/**
*
* Creates a registry in the specified folder.
*
*/
public void create(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*
* Updates the specified registry.
*
*/
public void update(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*
* Deletes the specified registry.
*
*/
public void delete(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver);
}
/**
*
* Lists access bindings for the specified registry.
*
*/
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 specified registry.
*
*/
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 registry.
*
*/
public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccessBindingsMethod(), responseObserver);
}
/**
*
* List ip permissions for the specified registry.
*
*/
public void listIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIpPermissionMethod(), responseObserver);
}
/**
*
* Set ip permissions for the specified registry.
*
*/
public void setIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetIpPermissionMethod(), responseObserver);
}
/**
*
* Update ip permissions for the specified registry.
*
*/
public void updateIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateIpPermissionMethod(), 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.RegistryServiceOuterClass.GetRegistryRequest,
yandex.cloud.api.containerregistry.v1.RegistryOuterClass.Registry>(
this, METHODID_GET)))
.addMethod(
getListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest,
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesResponse>(
this, METHODID_LIST)))
.addMethod(
getCreateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_CREATE)))
.addMethod(
getUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE)))
.addMethod(
getDeleteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE)))
.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)))
.addMethod(
getListIpPermissionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest,
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionsResponse>(
this, METHODID_LIST_IP_PERMISSION)))
.addMethod(
getSetIpPermissionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_SET_IP_PERMISSION)))
.addMethod(
getUpdateIpPermissionMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE_IP_PERMISSION)))
.build();
}
}
/**
*
* A set of methods for managing Registry resources.
*
*/
public static final class RegistryServiceStub extends io.grpc.stub.AbstractAsyncStub {
private RegistryServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected RegistryServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceStub(channel, callOptions);
}
/**
*
* Returns the specified Registry resource.
* To get the list of available Registry resources, make a [List] request.
*
*/
public void get(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.GetRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Retrieves the list of Registry resources in the specified folder.
*
*/
public void list(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Creates a registry in the specified folder.
*
*/
public void create(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates the specified registry.
*
*/
public void update(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified registry.
*
*/
public void delete(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Lists access bindings for the specified registry.
*
*/
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 specified registry.
*
*/
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 registry.
*
*/
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);
}
/**
*
* List ip permissions for the specified registry.
*
*/
public void listIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListIpPermissionMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Set ip permissions for the specified registry.
*
*/
public void setIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetIpPermissionMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Update ip permissions for the specified registry.
*
*/
public void updateIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateIpPermissionMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*
* A set of methods for managing Registry resources.
*
*/
public static final class RegistryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private RegistryServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected RegistryServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceBlockingStub(channel, callOptions);
}
/**
*
* Returns the specified Registry resource.
* To get the list of available Registry resources, make a [List] request.
*
*/
public yandex.cloud.api.containerregistry.v1.RegistryOuterClass.Registry get(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.GetRegistryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMethod(), getCallOptions(), request);
}
/**
*
* Retrieves the list of Registry resources in the specified folder.
*
*/
public yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesResponse list(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMethod(), getCallOptions(), request);
}
/**
*
* Creates a registry in the specified folder.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation create(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*
* Updates the specified registry.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified registry.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteMethod(), getCallOptions(), request);
}
/**
*
* Lists access bindings for the specified registry.
*
*/
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 specified registry.
*
*/
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 registry.
*
*/
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);
}
/**
*
* List ip permissions for the specified registry.
*
*/
public yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionsResponse listIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListIpPermissionMethod(), getCallOptions(), request);
}
/**
*
* Set ip permissions for the specified registry.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation setIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetIpPermissionMethod(), getCallOptions(), request);
}
/**
*
* Update ip permissions for the specified registry.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation updateIpPermission(yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateIpPermissionMethod(), getCallOptions(), request);
}
}
/**
*
* A set of methods for managing Registry resources.
*
*/
public static final class RegistryServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private RegistryServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected RegistryServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new RegistryServiceFutureStub(channel, callOptions);
}
/**
*
* Returns the specified Registry resource.
* To get the list of available Registry resources, make a [List] request.
*
*/
public com.google.common.util.concurrent.ListenableFuture get(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.GetRegistryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request);
}
/**
*
* Retrieves the list of Registry resources in the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture list(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request);
}
/**
*
* Creates a registry in the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture create(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*
* Updates the specified registry.
*
*/
public com.google.common.util.concurrent.ListenableFuture update(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified registry.
*
*/
public com.google.common.util.concurrent.ListenableFuture delete(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request);
}
/**
*
* Lists access bindings for the specified registry.
*
*/
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 specified registry.
*
*/
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 registry.
*
*/
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);
}
/**
*
* List ip permissions for the specified registry.
*
*/
public com.google.common.util.concurrent.ListenableFuture listIpPermission(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListIpPermissionMethod(), getCallOptions()), request);
}
/**
*
* Set ip permissions for the specified registry.
*
*/
public com.google.common.util.concurrent.ListenableFuture setIpPermission(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetIpPermissionMethod(), getCallOptions()), request);
}
/**
*
* Update ip permissions for the specified registry.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateIpPermission(
yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateIpPermissionMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GET = 0;
private static final int METHODID_LIST = 1;
private static final int METHODID_CREATE = 2;
private static final int METHODID_UPDATE = 3;
private static final int METHODID_DELETE = 4;
private static final int METHODID_LIST_ACCESS_BINDINGS = 5;
private static final int METHODID_SET_ACCESS_BINDINGS = 6;
private static final int METHODID_UPDATE_ACCESS_BINDINGS = 7;
private static final int METHODID_LIST_IP_PERMISSION = 8;
private static final int METHODID_SET_IP_PERMISSION = 9;
private static final int METHODID_UPDATE_IP_PERMISSION = 10;
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 RegistryServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(RegistryServiceImplBase 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.RegistryServiceOuterClass.GetRegistryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST:
serviceImpl.list((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListRegistriesRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE:
serviceImpl.create((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.CreateRegistryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateRegistryRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE:
serviceImpl.delete((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.DeleteRegistryRequest) 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;
case METHODID_LIST_IP_PERMISSION:
serviceImpl.listIpPermission((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.ListIpPermissionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SET_IP_PERMISSION:
serviceImpl.setIpPermission((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.SetIpPermissionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_IP_PERMISSION:
serviceImpl.updateIpPermission((yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.UpdateIpPermissionRequest) 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 RegistryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
RegistryServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return yandex.cloud.api.containerregistry.v1.RegistryServiceOuterClass.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("RegistryService");
}
}
private static final class RegistryServiceFileDescriptorSupplier
extends RegistryServiceBaseDescriptorSupplier {
RegistryServiceFileDescriptorSupplier() {}
}
private static final class RegistryServiceMethodDescriptorSupplier
extends RegistryServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
RegistryServiceMethodDescriptorSupplier(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 (RegistryServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new RegistryServiceFileDescriptorSupplier())
.addMethod(getGetMethod())
.addMethod(getListMethod())
.addMethod(getCreateMethod())
.addMethod(getUpdateMethod())
.addMethod(getDeleteMethod())
.addMethod(getListAccessBindingsMethod())
.addMethod(getSetAccessBindingsMethod())
.addMethod(getUpdateAccessBindingsMethod())
.addMethod(getListIpPermissionMethod())
.addMethod(getSetIpPermissionMethod())
.addMethod(getUpdateIpPermissionMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy