yandex.cloud.api.datasphere.v2.ProjectServiceGrpc Maven / Gradle / Ivy
package yandex.cloud.api.datasphere.v2;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*
* A set of methods for managing Project resources.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
comments = "Source: yandex/cloud/datasphere/v2/project_service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class ProjectServiceGrpc {
private ProjectServiceGrpc() {}
public static final String SERVICE_NAME = "yandex.cloud.datasphere.v2.ProjectService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCreateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Create",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest.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 = ProjectServiceGrpc.getCreateMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getCreateMethod = ProjectServiceGrpc.getCreateMethod) == null) {
ProjectServiceGrpc.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.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Create"))
.build();
}
}
}
return getCreateMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Update",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest.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 = ProjectServiceGrpc.getUpdateMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getUpdateMethod = ProjectServiceGrpc.getUpdateMethod) == null) {
ProjectServiceGrpc.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.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Update"))
.build();
}
}
}
return getUpdateMethod;
}
private static volatile io.grpc.MethodDescriptor getDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Delete",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest.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 = ProjectServiceGrpc.getDeleteMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getDeleteMethod = ProjectServiceGrpc.getDeleteMethod) == null) {
ProjectServiceGrpc.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.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Delete"))
.build();
}
}
}
return getDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor getOpenMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Open",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getOpenMethod() {
io.grpc.MethodDescriptor getOpenMethod;
if ((getOpenMethod = ProjectServiceGrpc.getOpenMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getOpenMethod = ProjectServiceGrpc.getOpenMethod) == null) {
ProjectServiceGrpc.getOpenMethod = getOpenMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Open"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Open"))
.build();
}
}
}
return getOpenMethod;
}
private static volatile io.grpc.MethodDescriptor getGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Get",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest.class,
responseType = yandex.cloud.api.datasphere.v2.ProjectOuterClass.Project.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMethod() {
io.grpc.MethodDescriptor getGetMethod;
if ((getGetMethod = ProjectServiceGrpc.getGetMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getGetMethod = ProjectServiceGrpc.getGetMethod) == null) {
ProjectServiceGrpc.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.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectOuterClass.Project.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Get"))
.build();
}
}
}
return getGetMethod;
}
private static volatile io.grpc.MethodDescriptor getListMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "List",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest.class,
responseType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getListMethod() {
io.grpc.MethodDescriptor getListMethod;
if ((getListMethod = ProjectServiceGrpc.getListMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getListMethod = ProjectServiceGrpc.getListMethod) == null) {
ProjectServiceGrpc.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.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("List"))
.build();
}
}
}
return getListMethod;
}
private static volatile io.grpc.MethodDescriptor getGetUnitBalanceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetUnitBalance",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest.class,
responseType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetUnitBalanceMethod() {
io.grpc.MethodDescriptor getGetUnitBalanceMethod;
if ((getGetUnitBalanceMethod = ProjectServiceGrpc.getGetUnitBalanceMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getGetUnitBalanceMethod = ProjectServiceGrpc.getGetUnitBalanceMethod) == null) {
ProjectServiceGrpc.getGetUnitBalanceMethod = getGetUnitBalanceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetUnitBalance"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceResponse.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("GetUnitBalance"))
.build();
}
}
}
return getGetUnitBalanceMethod;
}
private static volatile io.grpc.MethodDescriptor getSetUnitBalanceMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SetUnitBalance",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSetUnitBalanceMethod() {
io.grpc.MethodDescriptor getSetUnitBalanceMethod;
if ((getSetUnitBalanceMethod = ProjectServiceGrpc.getSetUnitBalanceMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getSetUnitBalanceMethod = ProjectServiceGrpc.getSetUnitBalanceMethod) == null) {
ProjectServiceGrpc.getSetUnitBalanceMethod = getSetUnitBalanceMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetUnitBalance"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("SetUnitBalance"))
.build();
}
}
}
return getSetUnitBalanceMethod;
}
private static volatile io.grpc.MethodDescriptor getExecuteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Execute",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest.class,
responseType = yandex.cloud.api.operation.OperationOuterClass.Operation.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getExecuteMethod() {
io.grpc.MethodDescriptor getExecuteMethod;
if ((getExecuteMethod = ProjectServiceGrpc.getExecuteMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getExecuteMethod = ProjectServiceGrpc.getExecuteMethod) == null) {
ProjectServiceGrpc.getExecuteMethod = getExecuteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Execute"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.operation.OperationOuterClass.Operation.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("Execute"))
.build();
}
}
}
return getExecuteMethod;
}
private static volatile io.grpc.MethodDescriptor getGetCellOutputsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetCellOutputs",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest.class,
responseType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetCellOutputsMethod() {
io.grpc.MethodDescriptor getGetCellOutputsMethod;
if ((getGetCellOutputsMethod = ProjectServiceGrpc.getGetCellOutputsMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getGetCellOutputsMethod = ProjectServiceGrpc.getGetCellOutputsMethod) == null) {
ProjectServiceGrpc.getGetCellOutputsMethod = getGetCellOutputsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCellOutputs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsResponse.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("GetCellOutputs"))
.build();
}
}
}
return getGetCellOutputsMethod;
}
private static volatile io.grpc.MethodDescriptor getGetStateVariablesMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetStateVariables",
requestType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest.class,
responseType = yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetStateVariablesMethod() {
io.grpc.MethodDescriptor getGetStateVariablesMethod;
if ((getGetStateVariablesMethod = ProjectServiceGrpc.getGetStateVariablesMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getGetStateVariablesMethod = ProjectServiceGrpc.getGetStateVariablesMethod) == null) {
ProjectServiceGrpc.getGetStateVariablesMethod = getGetStateVariablesMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetStateVariables"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesResponse.getDefaultInstance()))
.setSchemaDescriptor(new ProjectServiceMethodDescriptorSupplier("GetStateVariables"))
.build();
}
}
}
return getGetStateVariablesMethod;
}
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 = ProjectServiceGrpc.getListAccessBindingsMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getListAccessBindingsMethod = ProjectServiceGrpc.getListAccessBindingsMethod) == null) {
ProjectServiceGrpc.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 ProjectServiceMethodDescriptorSupplier("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 = ProjectServiceGrpc.getSetAccessBindingsMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getSetAccessBindingsMethod = ProjectServiceGrpc.getSetAccessBindingsMethod) == null) {
ProjectServiceGrpc.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 ProjectServiceMethodDescriptorSupplier("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 = ProjectServiceGrpc.getUpdateAccessBindingsMethod) == null) {
synchronized (ProjectServiceGrpc.class) {
if ((getUpdateAccessBindingsMethod = ProjectServiceGrpc.getUpdateAccessBindingsMethod) == null) {
ProjectServiceGrpc.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 ProjectServiceMethodDescriptorSupplier("UpdateAccessBindings"))
.build();
}
}
}
return getUpdateAccessBindingsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static ProjectServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ProjectServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceStub(channel, callOptions);
}
};
return ProjectServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static ProjectServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ProjectServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceBlockingStub(channel, callOptions);
}
};
return ProjectServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static ProjectServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public ProjectServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceFutureStub(channel, callOptions);
}
};
return ProjectServiceFutureStub.newStub(factory, channel);
}
/**
*
* A set of methods for managing Project resources.
*
*/
public static abstract class ProjectServiceImplBase implements io.grpc.BindableService {
/**
*
* Creates a project in the specified folder.
*
*/
public void create(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateMethod(), responseObserver);
}
/**
*
* Updates the specified project.
*
*/
public void update(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateMethod(), responseObserver);
}
/**
*
* Deletes the specified project.
*
*/
public void delete(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteMethod(), responseObserver);
}
/**
*
* Opens the specified project.
*
*/
public void open(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOpenMethod(), responseObserver);
}
/**
*
* Returns the specified project.
*
*/
public void get(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMethod(), responseObserver);
}
/**
*
* Lists projects for the specified community.
*
*/
public void list(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListMethod(), responseObserver);
}
/**
*
* Returns the unit balance of the specified project.
*
*/
public void getUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUnitBalanceMethod(), responseObserver);
}
/**
*
* Sets the unit balance of the specified project.
*
*/
public void setUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSetUnitBalanceMethod(), responseObserver);
}
/**
*
* Executes code in the specified cell or notebook.
*
*/
public void execute(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteMethod(), responseObserver);
}
/**
*
* Returns outputs of the specified cell.
*
*/
public void getCellOutputs(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCellOutputsMethod(), responseObserver);
}
/**
*
* Returns state variables of the specified notebook.
*
*/
public void getStateVariables(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetStateVariablesMethod(), responseObserver);
}
/**
*
* Lists access bindings for the project.
*
*/
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 project.
*
*/
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 project.
*
*/
public void updateAccessBindings(yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateAccessBindingsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_CREATE)))
.addMethod(
getUpdateMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_UPDATE)))
.addMethod(
getDeleteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_DELETE)))
.addMethod(
getOpenMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_OPEN)))
.addMethod(
getGetMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest,
yandex.cloud.api.datasphere.v2.ProjectOuterClass.Project>(
this, METHODID_GET)))
.addMethod(
getListMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest,
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsResponse>(
this, METHODID_LIST)))
.addMethod(
getGetUnitBalanceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest,
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceResponse>(
this, METHODID_GET_UNIT_BALANCE)))
.addMethod(
getSetUnitBalanceMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_SET_UNIT_BALANCE)))
.addMethod(
getExecuteMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest,
yandex.cloud.api.operation.OperationOuterClass.Operation>(
this, METHODID_EXECUTE)))
.addMethod(
getGetCellOutputsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest,
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsResponse>(
this, METHODID_GET_CELL_OUTPUTS)))
.addMethod(
getGetStateVariablesMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest,
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesResponse>(
this, METHODID_GET_STATE_VARIABLES)))
.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 Project resources.
*
*/
public static final class ProjectServiceStub extends io.grpc.stub.AbstractAsyncStub {
private ProjectServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ProjectServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceStub(channel, callOptions);
}
/**
*
* Creates a project in the specified folder.
*
*/
public void create(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Updates the specified project.
*
*/
public void update(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Deletes the specified project.
*
*/
public void delete(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Opens the specified project.
*
*/
public void open(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getOpenMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns the specified project.
*
*/
public void get(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Lists projects for the specified community.
*
*/
public void list(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns the unit balance of the specified project.
*
*/
public void getUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetUnitBalanceMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Sets the unit balance of the specified project.
*
*/
public void setUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getSetUnitBalanceMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Executes code in the specified cell or notebook.
*
*/
public void execute(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns outputs of the specified cell.
*
*/
public void getCellOutputs(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetCellOutputsMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Returns state variables of the specified notebook.
*
*/
public void getStateVariables(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetStateVariablesMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* Lists access bindings for the project.
*
*/
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 project.
*
*/
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 project.
*
*/
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 Project resources.
*
*/
public static final class ProjectServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private ProjectServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ProjectServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceBlockingStub(channel, callOptions);
}
/**
*
* Creates a project in the specified folder.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation create(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateMethod(), getCallOptions(), request);
}
/**
*
* Updates the specified project.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation update(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateMethod(), getCallOptions(), request);
}
/**
*
* Deletes the specified project.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation delete(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDeleteMethod(), getCallOptions(), request);
}
/**
*
* Opens the specified project.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation open(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getOpenMethod(), getCallOptions(), request);
}
/**
*
* Returns the specified project.
*
*/
public yandex.cloud.api.datasphere.v2.ProjectOuterClass.Project get(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMethod(), getCallOptions(), request);
}
/**
*
* Lists projects for the specified community.
*
*/
public yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsResponse list(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getListMethod(), getCallOptions(), request);
}
/**
*
* Returns the unit balance of the specified project.
*
*/
public yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceResponse getUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetUnitBalanceMethod(), getCallOptions(), request);
}
/**
*
* Sets the unit balance of the specified project.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation setUnitBalance(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getSetUnitBalanceMethod(), getCallOptions(), request);
}
/**
*
* Executes code in the specified cell or notebook.
*
*/
public yandex.cloud.api.operation.OperationOuterClass.Operation execute(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getExecuteMethod(), getCallOptions(), request);
}
/**
*
* Returns outputs of the specified cell.
*
*/
public yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsResponse getCellOutputs(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetCellOutputsMethod(), getCallOptions(), request);
}
/**
*
* Returns state variables of the specified notebook.
*
*/
public yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesResponse getStateVariables(yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetStateVariablesMethod(), getCallOptions(), request);
}
/**
*
* Lists access bindings for the project.
*
*/
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 project.
*
*/
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 project.
*
*/
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 Project resources.
*
*/
public static final class ProjectServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private ProjectServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected ProjectServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new ProjectServiceFutureStub(channel, callOptions);
}
/**
*
* Creates a project in the specified folder.
*
*/
public com.google.common.util.concurrent.ListenableFuture create(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateMethod(), getCallOptions()), request);
}
/**
*
* Updates the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture update(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateMethod(), getCallOptions()), request);
}
/**
*
* Deletes the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture delete(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDeleteMethod(), getCallOptions()), request);
}
/**
*
* Opens the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture open(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getOpenMethod(), getCallOptions()), request);
}
/**
*
* Returns the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture get(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMethod(), getCallOptions()), request);
}
/**
*
* Lists projects for the specified community.
*
*/
public com.google.common.util.concurrent.ListenableFuture list(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getListMethod(), getCallOptions()), request);
}
/**
*
* Returns the unit balance of the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture getUnitBalance(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetUnitBalanceMethod(), getCallOptions()), request);
}
/**
*
* Sets the unit balance of the specified project.
*
*/
public com.google.common.util.concurrent.ListenableFuture setUnitBalance(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getSetUnitBalanceMethod(), getCallOptions()), request);
}
/**
*
* Executes code in the specified cell or notebook.
*
*/
public com.google.common.util.concurrent.ListenableFuture execute(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getExecuteMethod(), getCallOptions()), request);
}
/**
*
* Returns outputs of the specified cell.
*
*/
public com.google.common.util.concurrent.ListenableFuture getCellOutputs(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetCellOutputsMethod(), getCallOptions()), request);
}
/**
*
* Returns state variables of the specified notebook.
*
*/
public com.google.common.util.concurrent.ListenableFuture getStateVariables(
yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetStateVariablesMethod(), getCallOptions()), request);
}
/**
*
* Lists access bindings for the project.
*
*/
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 project.
*
*/
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 project.
*
*/
public com.google.common.util.concurrent.ListenableFuture updateAccessBindings(
yandex.cloud.api.access.Access.UpdateAccessBindingsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateAccessBindingsMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE = 0;
private static final int METHODID_UPDATE = 1;
private static final int METHODID_DELETE = 2;
private static final int METHODID_OPEN = 3;
private static final int METHODID_GET = 4;
private static final int METHODID_LIST = 5;
private static final int METHODID_GET_UNIT_BALANCE = 6;
private static final int METHODID_SET_UNIT_BALANCE = 7;
private static final int METHODID_EXECUTE = 8;
private static final int METHODID_GET_CELL_OUTPUTS = 9;
private static final int METHODID_GET_STATE_VARIABLES = 10;
private static final int METHODID_LIST_ACCESS_BINDINGS = 11;
private static final int METHODID_SET_ACCESS_BINDINGS = 12;
private static final int METHODID_UPDATE_ACCESS_BINDINGS = 13;
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 ProjectServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(ProjectServiceImplBase serviceImpl, int methodId) {
this.serviceImpl = serviceImpl;
this.methodId = methodId;
}
@java.lang.Override
@java.lang.SuppressWarnings("unchecked")
public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) {
switch (methodId) {
case METHODID_CREATE:
serviceImpl.create((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CreateProjectRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE:
serviceImpl.update((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.UpdateProjectRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DELETE:
serviceImpl.delete((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.DeleteProjectRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_OPEN:
serviceImpl.open((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.OpenProjectRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET:
serviceImpl.get((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetProjectRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_LIST:
serviceImpl.list((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ListProjectsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_UNIT_BALANCE:
serviceImpl.getUnitBalance((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetUnitBalanceRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_SET_UNIT_BALANCE:
serviceImpl.setUnitBalance((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.SetUnitBalanceRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_EXECUTE:
serviceImpl.execute((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.ProjectExecutionRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_CELL_OUTPUTS:
serviceImpl.getCellOutputs((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.CellOutputsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_STATE_VARIABLES:
serviceImpl.getStateVariables((yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.GetStateVariablesRequest) 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 ProjectServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
ProjectServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return yandex.cloud.api.datasphere.v2.ProjectServiceOuterClass.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("ProjectService");
}
}
private static final class ProjectServiceFileDescriptorSupplier
extends ProjectServiceBaseDescriptorSupplier {
ProjectServiceFileDescriptorSupplier() {}
}
private static final class ProjectServiceMethodDescriptorSupplier
extends ProjectServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
ProjectServiceMethodDescriptorSupplier(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 (ProjectServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new ProjectServiceFileDescriptorSupplier())
.addMethod(getCreateMethod())
.addMethod(getUpdateMethod())
.addMethod(getDeleteMethod())
.addMethod(getOpenMethod())
.addMethod(getGetMethod())
.addMethod(getListMethod())
.addMethod(getGetUnitBalanceMethod())
.addMethod(getSetUnitBalanceMethod())
.addMethod(getExecuteMethod())
.addMethod(getGetCellOutputsMethod())
.addMethod(getGetStateVariablesMethod())
.addMethod(getListAccessBindingsMethod())
.addMethod(getSetAccessBindingsMethod())
.addMethod(getUpdateAccessBindingsMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy