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

yandex.cloud.api.organizationmanager.v1.OrganizationServiceGrpc Maven / Gradle / Ivy

package yandex.cloud.api.organizationmanager.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * A set of methods for managing Organization resources.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.43.2)", comments = "Source: yandex/cloud/organizationmanager/v1/organization_service.proto") @io.grpc.stub.annotations.GrpcGenerated public final class OrganizationServiceGrpc { private OrganizationServiceGrpc() {} public static final String SERVICE_NAME = "yandex.cloud.organizationmanager.v1.OrganizationService"; // 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.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest.class, responseType = yandex.cloud.api.organizationmanager.v1.OrganizationOuterClass.Organization.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetMethod() { io.grpc.MethodDescriptor getGetMethod; if ((getGetMethod = OrganizationServiceGrpc.getGetMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getGetMethod = OrganizationServiceGrpc.getGetMethod) == null) { OrganizationServiceGrpc.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.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.organizationmanager.v1.OrganizationOuterClass.Organization.getDefaultInstance())) .setSchemaDescriptor(new OrganizationServiceMethodDescriptorSupplier("Get")) .build(); } } } return getGetMethod; } private static volatile io.grpc.MethodDescriptor getListMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "List", requestType = yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest.class, responseType = yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListMethod() { io.grpc.MethodDescriptor getListMethod; if ((getListMethod = OrganizationServiceGrpc.getListMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getListMethod = OrganizationServiceGrpc.getListMethod) == null) { OrganizationServiceGrpc.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.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsResponse.getDefaultInstance())) .setSchemaDescriptor(new OrganizationServiceMethodDescriptorSupplier("List")) .build(); } } } return getListMethod; } private static volatile io.grpc.MethodDescriptor getUpdateMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Update", requestType = yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest.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 = OrganizationServiceGrpc.getUpdateMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getUpdateMethod = OrganizationServiceGrpc.getUpdateMethod) == null) { OrganizationServiceGrpc.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.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance())) .setSchemaDescriptor(new OrganizationServiceMethodDescriptorSupplier("Update")) .build(); } } } return getUpdateMethod; } private static volatile io.grpc.MethodDescriptor getListOperationsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListOperations", requestType = yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest.class, responseType = yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListOperationsMethod() { io.grpc.MethodDescriptor getListOperationsMethod; if ((getListOperationsMethod = OrganizationServiceGrpc.getListOperationsMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getListOperationsMethod = OrganizationServiceGrpc.getListOperationsMethod) == null) { OrganizationServiceGrpc.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.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsResponse.getDefaultInstance())) .setSchemaDescriptor(new OrganizationServiceMethodDescriptorSupplier("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 = OrganizationServiceGrpc.getListAccessBindingsMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getListAccessBindingsMethod = OrganizationServiceGrpc.getListAccessBindingsMethod) == null) { OrganizationServiceGrpc.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 OrganizationServiceMethodDescriptorSupplier("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 = OrganizationServiceGrpc.getSetAccessBindingsMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getSetAccessBindingsMethod = OrganizationServiceGrpc.getSetAccessBindingsMethod) == null) { OrganizationServiceGrpc.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 OrganizationServiceMethodDescriptorSupplier("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 = OrganizationServiceGrpc.getUpdateAccessBindingsMethod) == null) { synchronized (OrganizationServiceGrpc.class) { if ((getUpdateAccessBindingsMethod = OrganizationServiceGrpc.getUpdateAccessBindingsMethod) == null) { OrganizationServiceGrpc.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 OrganizationServiceMethodDescriptorSupplier("UpdateAccessBindings")) .build(); } } } return getUpdateAccessBindingsMethod; } /** * Creates a new async stub that supports all call types for the service */ public static OrganizationServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public OrganizationServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceStub(channel, callOptions); } }; return OrganizationServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static OrganizationServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public OrganizationServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceBlockingStub(channel, callOptions); } }; return OrganizationServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static OrganizationServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public OrganizationServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceFutureStub(channel, callOptions); } }; return OrganizationServiceFutureStub.newStub(factory, channel); } /** *
   * A set of methods for managing Organization resources.
   * 
*/ public static abstract class OrganizationServiceImplBase implements io.grpc.BindableService { /** *
     * Returns the specified Organization resource.
     * To get the list of available Organization resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver); } /** *
     * Retrieves the list of Organization resources.
     * 
*/ public void list(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver); } /** *
     * Updates the specified organization.
     * 
*/ public void update(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver); } /** *
     * Lists operations for the specified organization.
     * 
*/ public void listOperations(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListOperationsMethod(), responseObserver); } /** *
     * Lists access bindings for the specified organization.
     * 
*/ 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 organization.
     * 
*/ 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 organization.
     * 
*/ 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.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest, yandex.cloud.api.organizationmanager.v1.OrganizationOuterClass.Organization>( this, METHODID_GET))) .addMethod( getListMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest, yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsResponse>( this, METHODID_LIST))) .addMethod( getUpdateMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest, yandex.cloud.api.operation.OperationOuterClass.Operation>( this, METHODID_UPDATE))) .addMethod( getListOperationsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest, yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsResponse>( 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(); } } /** *
   * A set of methods for managing Organization resources.
   * 
*/ public static final class OrganizationServiceStub extends io.grpc.stub.AbstractAsyncStub { private OrganizationServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OrganizationServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceStub(channel, callOptions); } /** *
     * Returns the specified Organization resource.
     * To get the list of available Organization resources, make a [List] request.
     * 
*/ public void get(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver); } /** *
     * Retrieves the list of Organization resources.
     * 
*/ public void list(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver); } /** *
     * Updates the specified organization.
     * 
*/ public void update(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists operations for the specified organization.
     * 
*/ public void listOperations(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Lists access bindings for the specified organization.
     * 
*/ 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 organization.
     * 
*/ 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 organization.
     * 
*/ 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 Organization resources.
   * 
*/ public static final class OrganizationServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private OrganizationServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OrganizationServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceBlockingStub(channel, callOptions); } /** *
     * Returns the specified Organization resource.
     * To get the list of available Organization resources, make a [List] request.
     * 
*/ public yandex.cloud.api.organizationmanager.v1.OrganizationOuterClass.Organization get(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetMethod(), getCallOptions(), request); } /** *
     * Retrieves the list of Organization resources.
     * 
*/ public yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsResponse list(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListMethod(), getCallOptions(), request); } /** *
     * Updates the specified organization.
     * 
*/ public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateMethod(), getCallOptions(), request); } /** *
     * Lists operations for the specified organization.
     * 
*/ public yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsResponse listOperations(yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListOperationsMethod(), getCallOptions(), request); } /** *
     * Lists access bindings for the specified organization.
     * 
*/ 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 organization.
     * 
*/ 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 organization.
     * 
*/ 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 Organization resources.
   * 
*/ public static final class OrganizationServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private OrganizationServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected OrganizationServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new OrganizationServiceFutureStub(channel, callOptions); } /** *
     * Returns the specified Organization resource.
     * To get the list of available Organization resources, make a [List] request.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture get( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetMethod(), getCallOptions()), request); } /** *
     * Retrieves the list of Organization resources.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture list( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListMethod(), getCallOptions()), request); } /** *
     * Updates the specified organization.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture update( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateMethod(), getCallOptions()), request); } /** *
     * Lists operations for the specified organization.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listOperations( yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListOperationsMethod(), getCallOptions()), request); } /** *
     * Lists access bindings for the specified organization.
     * 
*/ 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 organization.
     * 
*/ 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 organization.
     * 
*/ 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_LIST = 1; private static final int METHODID_UPDATE = 2; private static final int METHODID_LIST_OPERATIONS = 3; private static final int METHODID_LIST_ACCESS_BINDINGS = 4; private static final int METHODID_SET_ACCESS_BINDINGS = 5; private static final int METHODID_UPDATE_ACCESS_BINDINGS = 6; 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 OrganizationServiceImplBase serviceImpl; private final int methodId; MethodHandlers(OrganizationServiceImplBase 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.organizationmanager.v1.OrganizationServiceOuterClass.GetOrganizationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST: serviceImpl.list((yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE: serviceImpl.update((yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.UpdateOrganizationRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_OPERATIONS: serviceImpl.listOperations((yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.ListOrganizationOperationsRequest) 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 OrganizationServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { OrganizationServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return yandex.cloud.api.organizationmanager.v1.OrganizationServiceOuterClass.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("OrganizationService"); } } private static final class OrganizationServiceFileDescriptorSupplier extends OrganizationServiceBaseDescriptorSupplier { OrganizationServiceFileDescriptorSupplier() {} } private static final class OrganizationServiceMethodDescriptorSupplier extends OrganizationServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; OrganizationServiceMethodDescriptorSupplier(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 (OrganizationServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new OrganizationServiceFileDescriptorSupplier()) .addMethod(getGetMethod()) .addMethod(getListMethod()) .addMethod(getUpdateMethod()) .addMethod(getListOperationsMethod()) .addMethod(getListAccessBindingsMethod()) .addMethod(getSetAccessBindingsMethod()) .addMethod(getUpdateAccessBindingsMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy