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

com.clickzetta.rm.proto.VirtualClusterManagerServiceGrpc Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.clickzetta.rm.proto;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 * 
 * =============================== service =====================================
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler (version 1.47.0)", comments = "Source: virtual_cluster_management.proto") @io.grpc.stub.annotations.GrpcGenerated public final class VirtualClusterManagerServiceGrpc { private VirtualClusterManagerServiceGrpc() {} public static final String SERVICE_NAME = "com.clickzetta.rm.VirtualClusterManagerService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor getCreateVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "createVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCreateVirtualClusterMethod() { io.grpc.MethodDescriptor getCreateVirtualClusterMethod; if ((getCreateVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getCreateVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getCreateVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getCreateVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getCreateVirtualClusterMethod = getCreateVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "createVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("createVirtualCluster")) .build(); } } } return getCreateVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getUpdateVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "updateVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpdateVirtualClusterMethod() { io.grpc.MethodDescriptor getUpdateVirtualClusterMethod; if ((getUpdateVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getUpdateVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getUpdateVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getUpdateVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getUpdateVirtualClusterMethod = getUpdateVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "updateVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("updateVirtualCluster")) .build(); } } } return getUpdateVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getStartVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "startVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStartVirtualClusterMethod() { io.grpc.MethodDescriptor getStartVirtualClusterMethod; if ((getStartVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getStartVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getStartVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getStartVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getStartVirtualClusterMethod = getStartVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "startVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("startVirtualCluster")) .build(); } } } return getStartVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getStopVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "stopVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getStopVirtualClusterMethod() { io.grpc.MethodDescriptor getStopVirtualClusterMethod; if ((getStopVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getStopVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getStopVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getStopVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getStopVirtualClusterMethod = getStopVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "stopVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("stopVirtualCluster")) .build(); } } } return getStopVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getResizeVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "resizeVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getResizeVirtualClusterMethod() { io.grpc.MethodDescriptor getResizeVirtualClusterMethod; if ((getResizeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getResizeVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getResizeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getResizeVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getResizeVirtualClusterMethod = getResizeVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "resizeVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("resizeVirtualCluster")) .build(); } } } return getResizeVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getListVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "listVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClustersResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getListVirtualClusterMethod() { io.grpc.MethodDescriptor getListVirtualClusterMethod; if ((getListVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getListVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getListVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getListVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getListVirtualClusterMethod = getListVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "listVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClustersResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("listVirtualCluster")) .build(); } } } return getListVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getDescribeVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "describeVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDescribeVirtualClusterMethod() { io.grpc.MethodDescriptor getDescribeVirtualClusterMethod; if ((getDescribeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getDescribeVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getDescribeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getDescribeVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getDescribeVirtualClusterMethod = getDescribeVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "describeVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("describeVirtualCluster")) .build(); } } } return getDescribeVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getDeleteVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "deleteVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getDeleteVirtualClusterMethod() { io.grpc.MethodDescriptor getDeleteVirtualClusterMethod; if ((getDeleteVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getDeleteVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getDeleteVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getDeleteVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getDeleteVirtualClusterMethod = getDeleteVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "deleteVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("deleteVirtualCluster")) .build(); } } } return getDeleteVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getCancelAllJobsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "cancelAllJobs", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getCancelAllJobsMethod() { io.grpc.MethodDescriptor getCancelAllJobsMethod; if ((getCancelAllJobsMethod = VirtualClusterManagerServiceGrpc.getCancelAllJobsMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getCancelAllJobsMethod = VirtualClusterManagerServiceGrpc.getCancelAllJobsMethod) == null) { VirtualClusterManagerServiceGrpc.getCancelAllJobsMethod = getCancelAllJobsMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "cancelAllJobs")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("cancelAllJobs")) .build(); } } } return getCancelAllJobsMethod; } private static volatile io.grpc.MethodDescriptor getTerminateVirtualClusterStatusChangeMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "terminateVirtualClusterStatusChange", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getTerminateVirtualClusterStatusChangeMethod() { io.grpc.MethodDescriptor getTerminateVirtualClusterStatusChangeMethod; if ((getTerminateVirtualClusterStatusChangeMethod = VirtualClusterManagerServiceGrpc.getTerminateVirtualClusterStatusChangeMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getTerminateVirtualClusterStatusChangeMethod = VirtualClusterManagerServiceGrpc.getTerminateVirtualClusterStatusChangeMethod) == null) { VirtualClusterManagerServiceGrpc.getTerminateVirtualClusterStatusChangeMethod = getTerminateVirtualClusterStatusChangeMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "terminateVirtualClusterStatusChange")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("terminateVirtualClusterStatusChange")) .build(); } } } return getTerminateVirtualClusterStatusChangeMethod; } private static volatile io.grpc.MethodDescriptor getUpgradeVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "upgradeVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getUpgradeVirtualClusterMethod() { io.grpc.MethodDescriptor getUpgradeVirtualClusterMethod; if ((getUpgradeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getUpgradeVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getUpgradeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getUpgradeVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getUpgradeVirtualClusterMethod = getUpgradeVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "upgradeVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("upgradeVirtualCluster")) .build(); } } } return getUpgradeVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getAbortUpgradeVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "abortUpgradeVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getAbortUpgradeVirtualClusterMethod() { io.grpc.MethodDescriptor getAbortUpgradeVirtualClusterMethod; if ((getAbortUpgradeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getAbortUpgradeVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getAbortUpgradeVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getAbortUpgradeVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getAbortUpgradeVirtualClusterMethod = getAbortUpgradeVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "abortUpgradeVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("abortUpgradeVirtualCluster")) .build(); } } } return getAbortUpgradeVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getFinishSwitchVirtualClusterMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "finishSwitchVirtualCluster", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getFinishSwitchVirtualClusterMethod() { io.grpc.MethodDescriptor getFinishSwitchVirtualClusterMethod; if ((getFinishSwitchVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getFinishSwitchVirtualClusterMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getFinishSwitchVirtualClusterMethod = VirtualClusterManagerServiceGrpc.getFinishSwitchVirtualClusterMethod) == null) { VirtualClusterManagerServiceGrpc.getFinishSwitchVirtualClusterMethod = getFinishSwitchVirtualClusterMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "finishSwitchVirtualCluster")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("finishSwitchVirtualCluster")) .build(); } } } return getFinishSwitchVirtualClusterMethod; } private static volatile io.grpc.MethodDescriptor getGetUpgradeStatusMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "getUpgradeStatus", requestType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest.class, responseType = com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor getGetUpgradeStatusMethod() { io.grpc.MethodDescriptor getGetUpgradeStatusMethod; if ((getGetUpgradeStatusMethod = VirtualClusterManagerServiceGrpc.getGetUpgradeStatusMethod) == null) { synchronized (VirtualClusterManagerServiceGrpc.class) { if ((getGetUpgradeStatusMethod = VirtualClusterManagerServiceGrpc.getGetUpgradeStatusMethod) == null) { VirtualClusterManagerServiceGrpc.getGetUpgradeStatusMethod = getGetUpgradeStatusMethod = io.grpc.MethodDescriptor.newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "getUpgradeStatus")) .setSampledToLocalTracing(true) .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest.getDefaultInstance())) .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusResponse.getDefaultInstance())) .setSchemaDescriptor(new VirtualClusterManagerServiceMethodDescriptorSupplier("getUpgradeStatus")) .build(); } } } return getGetUpgradeStatusMethod; } /** * Creates a new async stub that supports all call types for the service */ public static VirtualClusterManagerServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public VirtualClusterManagerServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceStub(channel, callOptions); } }; return VirtualClusterManagerServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static VirtualClusterManagerServiceBlockingStub newBlockingStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public VirtualClusterManagerServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceBlockingStub(channel, callOptions); } }; return VirtualClusterManagerServiceBlockingStub.newStub(factory, channel); } /** * Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static VirtualClusterManagerServiceFutureStub newFutureStub( io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public VirtualClusterManagerServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceFutureStub(channel, callOptions); } }; return VirtualClusterManagerServiceFutureStub.newStub(factory, channel); } /** *
   * =============================== service =====================================
   * 
*/ public static abstract class VirtualClusterManagerServiceImplBase implements io.grpc.BindableService { /** */ public void createVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateVirtualClusterMethod(), responseObserver); } /** */ public void updateVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateVirtualClusterMethod(), responseObserver); } /** */ public void startVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStartVirtualClusterMethod(), responseObserver); } /** */ public void stopVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStopVirtualClusterMethod(), responseObserver); } /** */ public void resizeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getResizeVirtualClusterMethod(), responseObserver); } /** */ public void listVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListVirtualClusterMethod(), responseObserver); } /** */ public void describeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeVirtualClusterMethod(), responseObserver); } /** */ public void deleteVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteVirtualClusterMethod(), responseObserver); } /** */ public void cancelAllJobs(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelAllJobsMethod(), responseObserver); } /** */ public void terminateVirtualClusterStatusChange(com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTerminateVirtualClusterStatusChangeMethod(), responseObserver); } /** *
     *upgrade apis
     * 
*/ public void upgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpgradeVirtualClusterMethod(), responseObserver); } /** */ public void abortUpgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAbortUpgradeVirtualClusterMethod(), responseObserver); } /** */ public void finishSwitchVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinishSwitchVirtualClusterMethod(), responseObserver); } /** */ public void getUpgradeStatus(com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetUpgradeStatusMethod(), responseObserver); } @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterResponse>( this, METHODID_CREATE_VIRTUAL_CLUSTER))) .addMethod( getUpdateVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClusterResponse>( this, METHODID_UPDATE_VIRTUAL_CLUSTER))) .addMethod( getStartVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterResponse>( this, METHODID_START_VIRTUAL_CLUSTER))) .addMethod( getStopVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterResponse>( this, METHODID_STOP_VIRTUAL_CLUSTER))) .addMethod( getResizeVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterResponse>( this, METHODID_RESIZE_VIRTUAL_CLUSTER))) .addMethod( getListVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClustersResponse>( this, METHODID_LIST_VIRTUAL_CLUSTER))) .addMethod( getDescribeVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterResponse>( this, METHODID_DESCRIBE_VIRTUAL_CLUSTER))) .addMethod( getDeleteVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterResponse>( this, METHODID_DELETE_VIRTUAL_CLUSTER))) .addMethod( getCancelAllJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsResponse>( this, METHODID_CANCEL_ALL_JOBS))) .addMethod( getTerminateVirtualClusterStatusChangeMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeResponse>( this, METHODID_TERMINATE_VIRTUAL_CLUSTER_STATUS_CHANGE))) .addMethod( getUpgradeVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterResponse>( this, METHODID_UPGRADE_VIRTUAL_CLUSTER))) .addMethod( getAbortUpgradeVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterResponse>( this, METHODID_ABORT_UPGRADE_VIRTUAL_CLUSTER))) .addMethod( getFinishSwitchVirtualClusterMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterResponse>( this, METHODID_FINISH_SWITCH_VIRTUAL_CLUSTER))) .addMethod( getGetUpgradeStatusMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest, com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusResponse>( this, METHODID_GET_UPGRADE_STATUS))) .build(); } } /** *
   * =============================== service =====================================
   * 
*/ public static final class VirtualClusterManagerServiceStub extends io.grpc.stub.AbstractAsyncStub { private VirtualClusterManagerServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected VirtualClusterManagerServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceStub(channel, callOptions); } /** */ public void createVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void updateVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void startVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStartVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void stopVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getStopVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void resizeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getResizeVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void listVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void describeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void deleteVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void cancelAllJobs(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCancelAllJobsMethod(), getCallOptions()), request, responseObserver); } /** */ public void terminateVirtualClusterStatusChange(com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTerminateVirtualClusterStatusChangeMethod(), getCallOptions()), request, responseObserver); } /** *
     *upgrade apis
     * 
*/ public void upgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpgradeVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void abortUpgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAbortUpgradeVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void finishSwitchVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getFinishSwitchVirtualClusterMethod(), getCallOptions()), request, responseObserver); } /** */ public void getUpgradeStatus(com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetUpgradeStatusMethod(), getCallOptions()), request, responseObserver); } } /** *
   * =============================== service =====================================
   * 
*/ public static final class VirtualClusterManagerServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private VirtualClusterManagerServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected VirtualClusterManagerServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceBlockingStub(channel, callOptions); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterResponse createVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClusterResponse updateVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterResponse startVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStartVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterResponse stopVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getStopVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterResponse resizeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getResizeVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClustersResponse listVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterResponse describeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterResponse deleteVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsResponse cancelAllJobs(com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCancelAllJobsMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeResponse terminateVirtualClusterStatusChange(com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTerminateVirtualClusterStatusChangeMethod(), getCallOptions(), request); } /** *
     *upgrade apis
     * 
*/ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterResponse upgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpgradeVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterResponse abortUpgradeVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAbortUpgradeVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterResponse finishSwitchVirtualCluster(com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getFinishSwitchVirtualClusterMethod(), getCallOptions(), request); } /** */ public com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusResponse getUpgradeStatus(com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetUpgradeStatusMethod(), getCallOptions(), request); } } /** *
   * =============================== service =====================================
   * 
*/ public static final class VirtualClusterManagerServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private VirtualClusterManagerServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected VirtualClusterManagerServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new VirtualClusterManagerServiceFutureStub(channel, callOptions); } /** */ public com.google.common.util.concurrent.ListenableFuture createVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture updateVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture startVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStartVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture stopVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getStopVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture resizeVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getResizeVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture listVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture describeVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture deleteVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture cancelAllJobs( com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCancelAllJobsMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture terminateVirtualClusterStatusChange( com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTerminateVirtualClusterStatusChangeMethod(), getCallOptions()), request); } /** *
     *upgrade apis
     * 
*/ public com.google.common.util.concurrent.ListenableFuture upgradeVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpgradeVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture abortUpgradeVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAbortUpgradeVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture finishSwitchVirtualCluster( com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getFinishSwitchVirtualClusterMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture getUpgradeStatus( com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetUpgradeStatusMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_VIRTUAL_CLUSTER = 0; private static final int METHODID_UPDATE_VIRTUAL_CLUSTER = 1; private static final int METHODID_START_VIRTUAL_CLUSTER = 2; private static final int METHODID_STOP_VIRTUAL_CLUSTER = 3; private static final int METHODID_RESIZE_VIRTUAL_CLUSTER = 4; private static final int METHODID_LIST_VIRTUAL_CLUSTER = 5; private static final int METHODID_DESCRIBE_VIRTUAL_CLUSTER = 6; private static final int METHODID_DELETE_VIRTUAL_CLUSTER = 7; private static final int METHODID_CANCEL_ALL_JOBS = 8; private static final int METHODID_TERMINATE_VIRTUAL_CLUSTER_STATUS_CHANGE = 9; private static final int METHODID_UPGRADE_VIRTUAL_CLUSTER = 10; private static final int METHODID_ABORT_UPGRADE_VIRTUAL_CLUSTER = 11; private static final int METHODID_FINISH_SWITCH_VIRTUAL_CLUSTER = 12; private static final int METHODID_GET_UPGRADE_STATUS = 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 VirtualClusterManagerServiceImplBase serviceImpl; private final int methodId; MethodHandlers(VirtualClusterManagerServiceImplBase 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_VIRTUAL_CLUSTER: serviceImpl.createVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.CreateVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPDATE_VIRTUAL_CLUSTER: serviceImpl.updateVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpdateVirtualClustersRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_START_VIRTUAL_CLUSTER: serviceImpl.startVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.StartVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STOP_VIRTUAL_CLUSTER: serviceImpl.stopVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.StopVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RESIZE_VIRTUAL_CLUSTER: serviceImpl.resizeVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.ResizeVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_VIRTUAL_CLUSTER: serviceImpl.listVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.ListVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_VIRTUAL_CLUSTER: serviceImpl.describeVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.DescribeVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_VIRTUAL_CLUSTER: serviceImpl.deleteVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.DeleteVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CANCEL_ALL_JOBS: serviceImpl.cancelAllJobs((com.clickzetta.rm.proto.VirtualClusterManagementProtos.CancelAllJobsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TERMINATE_VIRTUAL_CLUSTER_STATUS_CHANGE: serviceImpl.terminateVirtualClusterStatusChange((com.clickzetta.rm.proto.VirtualClusterManagementProtos.TerminateVirtualClusterStatusChangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UPGRADE_VIRTUAL_CLUSTER: serviceImpl.upgradeVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.UpgradeVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ABORT_UPGRADE_VIRTUAL_CLUSTER: serviceImpl.abortUpgradeVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.AbortUpgradeVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_FINISH_SWITCH_VIRTUAL_CLUSTER: serviceImpl.finishSwitchVirtualCluster((com.clickzetta.rm.proto.VirtualClusterManagementProtos.FinishSwitchVirtualClusterRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_UPGRADE_STATUS: serviceImpl.getUpgradeStatus((com.clickzetta.rm.proto.VirtualClusterManagementProtos.GetVirtualClusterUpgradeStatusRequest) 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 VirtualClusterManagerServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { VirtualClusterManagerServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.clickzetta.rm.proto.VirtualClusterManagementProtos.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("VirtualClusterManagerService"); } } private static final class VirtualClusterManagerServiceFileDescriptorSupplier extends VirtualClusterManagerServiceBaseDescriptorSupplier { VirtualClusterManagerServiceFileDescriptorSupplier() {} } private static final class VirtualClusterManagerServiceMethodDescriptorSupplier extends VirtualClusterManagerServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; VirtualClusterManagerServiceMethodDescriptorSupplier(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 (VirtualClusterManagerServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new VirtualClusterManagerServiceFileDescriptorSupplier()) .addMethod(getCreateVirtualClusterMethod()) .addMethod(getUpdateVirtualClusterMethod()) .addMethod(getStartVirtualClusterMethod()) .addMethod(getStopVirtualClusterMethod()) .addMethod(getResizeVirtualClusterMethod()) .addMethod(getListVirtualClusterMethod()) .addMethod(getDescribeVirtualClusterMethod()) .addMethod(getDeleteVirtualClusterMethod()) .addMethod(getCancelAllJobsMethod()) .addMethod(getTerminateVirtualClusterStatusChangeMethod()) .addMethod(getUpgradeVirtualClusterMethod()) .addMethod(getAbortUpgradeVirtualClusterMethod()) .addMethod(getFinishSwitchVirtualClusterMethod()) .addMethod(getGetUpgradeStatusMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy