cz.proto.ingestion.IGSControllerServiceGrpc Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
package cz.proto.ingestion;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.47.0)",
comments = "Source: ingestion.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class IGSControllerServiceGrpc {
private IGSControllerServiceGrpc() {}
public static final String SERVICE_NAME = "cz.proto.ingestion.IGSControllerService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getGatewayRpcCallMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GatewayRpcCall",
requestType = cz.proto.ingestion.Ingestion.GatewayRequest.class,
responseType = cz.proto.ingestion.Ingestion.GatewayResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGatewayRpcCallMethod() {
io.grpc.MethodDescriptor getGatewayRpcCallMethod;
if ((getGatewayRpcCallMethod = IGSControllerServiceGrpc.getGatewayRpcCallMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getGatewayRpcCallMethod = IGSControllerServiceGrpc.getGatewayRpcCallMethod) == null) {
IGSControllerServiceGrpc.getGatewayRpcCallMethod = getGatewayRpcCallMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GatewayRpcCall"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GatewayRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GatewayResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("GatewayRpcCall"))
.build();
}
}
}
return getGatewayRpcCallMethod;
}
private static volatile io.grpc.MethodDescriptor getGetTableMetaMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetTableMeta",
requestType = cz.proto.ingestion.Ingestion.GetTableMetaRequest.class,
responseType = cz.proto.ingestion.Ingestion.GetTableMetaResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetTableMetaMethod() {
io.grpc.MethodDescriptor getGetTableMetaMethod;
if ((getGetTableMetaMethod = IGSControllerServiceGrpc.getGetTableMetaMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getGetTableMetaMethod = IGSControllerServiceGrpc.getGetTableMetaMethod) == null) {
IGSControllerServiceGrpc.getGetTableMetaMethod = getGetTableMetaMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetTableMeta"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GetTableMetaRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GetTableMetaResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("GetTableMeta"))
.build();
}
}
}
return getGetTableMetaMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateTabletMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateTablet",
requestType = cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.class,
responseType = cz.proto.ingestion.Ingestion.CreateTabletResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateTabletMethod() {
io.grpc.MethodDescriptor getCreateTabletMethod;
if ((getCreateTabletMethod = IGSControllerServiceGrpc.getCreateTabletMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getCreateTabletMethod = IGSControllerServiceGrpc.getCreateTabletMethod) == null) {
IGSControllerServiceGrpc.getCreateTabletMethod = getCreateTabletMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTablet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.CreateTabletResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("CreateTablet"))
.build();
}
}
}
return getCreateTabletMethod;
}
private static volatile io.grpc.MethodDescriptor getCommitTabletMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CommitTablet",
requestType = cz.proto.ingestion.Ingestion.CommitTabletRequest.class,
responseType = cz.proto.ingestion.Ingestion.CommitTabletResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCommitTabletMethod() {
io.grpc.MethodDescriptor getCommitTabletMethod;
if ((getCommitTabletMethod = IGSControllerServiceGrpc.getCommitTabletMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getCommitTabletMethod = IGSControllerServiceGrpc.getCommitTabletMethod) == null) {
IGSControllerServiceGrpc.getCommitTabletMethod = getCommitTabletMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitTablet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.CommitTabletRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.CommitTabletResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("CommitTablet"))
.build();
}
}
}
return getCommitTabletMethod;
}
private static volatile io.grpc.MethodDescriptor getDropTabletMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DropTablet",
requestType = cz.proto.ingestion.Ingestion.DropTabletRequest.class,
responseType = cz.proto.ingestion.Ingestion.DropTabletResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDropTabletMethod() {
io.grpc.MethodDescriptor getDropTabletMethod;
if ((getDropTabletMethod = IGSControllerServiceGrpc.getDropTabletMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getDropTabletMethod = IGSControllerServiceGrpc.getDropTabletMethod) == null) {
IGSControllerServiceGrpc.getDropTabletMethod = getDropTabletMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropTablet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.DropTabletRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.DropTabletResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("DropTablet"))
.build();
}
}
}
return getDropTabletMethod;
}
private static volatile io.grpc.MethodDescriptor getGetMutateWorkersMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetMutateWorkers",
requestType = cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.class,
responseType = cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetMutateWorkersMethod() {
io.grpc.MethodDescriptor getGetMutateWorkersMethod;
if ((getGetMutateWorkersMethod = IGSControllerServiceGrpc.getGetMutateWorkersMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getGetMutateWorkersMethod = IGSControllerServiceGrpc.getGetMutateWorkersMethod) == null) {
IGSControllerServiceGrpc.getGetMutateWorkersMethod = getGetMutateWorkersMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetMutateWorkers"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GetMutateWorkersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.GetMutateWorkersResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("GetMutateWorkers"))
.build();
}
}
}
return getGetMutateWorkersMethod;
}
private static volatile io.grpc.MethodDescriptor getCheckTableExistsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CheckTableExists",
requestType = cz.proto.ingestion.Ingestion.CheckTableExistsRequest.class,
responseType = cz.proto.ingestion.Ingestion.CheckTableExistsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCheckTableExistsMethod() {
io.grpc.MethodDescriptor getCheckTableExistsMethod;
if ((getCheckTableExistsMethod = IGSControllerServiceGrpc.getCheckTableExistsMethod) == null) {
synchronized (IGSControllerServiceGrpc.class) {
if ((getCheckTableExistsMethod = IGSControllerServiceGrpc.getCheckTableExistsMethod) == null) {
IGSControllerServiceGrpc.getCheckTableExistsMethod = getCheckTableExistsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckTableExists"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.CheckTableExistsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.Ingestion.CheckTableExistsResponse.getDefaultInstance()))
.setSchemaDescriptor(new IGSControllerServiceMethodDescriptorSupplier("CheckTableExists"))
.build();
}
}
}
return getCheckTableExistsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static IGSControllerServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IGSControllerServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceStub(channel, callOptions);
}
};
return IGSControllerServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static IGSControllerServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IGSControllerServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceBlockingStub(channel, callOptions);
}
};
return IGSControllerServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static IGSControllerServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IGSControllerServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceFutureStub(channel, callOptions);
}
};
return IGSControllerServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class IGSControllerServiceImplBase implements io.grpc.BindableService {
/**
*/
public void gatewayRpcCall(cz.proto.ingestion.Ingestion.GatewayRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGatewayRpcCallMethod(), responseObserver);
}
/**
*/
public void getTableMeta(cz.proto.ingestion.Ingestion.GetTableMetaRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetTableMetaMethod(), responseObserver);
}
/**
*/
public void createTablet(cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTabletMethod(), responseObserver);
}
/**
*/
public void commitTablet(cz.proto.ingestion.Ingestion.CommitTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitTabletMethod(), responseObserver);
}
/**
*/
public void dropTablet(cz.proto.ingestion.Ingestion.DropTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropTabletMethod(), responseObserver);
}
/**
*/
public void getMutateWorkers(cz.proto.ingestion.Ingestion.GetMutateWorkersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetMutateWorkersMethod(), responseObserver);
}
/**
*/
public void checkTableExists(cz.proto.ingestion.Ingestion.CheckTableExistsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckTableExistsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getGatewayRpcCallMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.GatewayRequest,
cz.proto.ingestion.Ingestion.GatewayResponse>(
this, METHODID_GATEWAY_RPC_CALL)))
.addMethod(
getGetTableMetaMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.GetTableMetaRequest,
cz.proto.ingestion.Ingestion.GetTableMetaResponse>(
this, METHODID_GET_TABLE_META)))
.addMethod(
getCreateTabletMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest,
cz.proto.ingestion.Ingestion.CreateTabletResponse>(
this, METHODID_CREATE_TABLET)))
.addMethod(
getCommitTabletMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.CommitTabletRequest,
cz.proto.ingestion.Ingestion.CommitTabletResponse>(
this, METHODID_COMMIT_TABLET)))
.addMethod(
getDropTabletMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.DropTabletRequest,
cz.proto.ingestion.Ingestion.DropTabletResponse>(
this, METHODID_DROP_TABLET)))
.addMethod(
getGetMutateWorkersMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.GetMutateWorkersRequest,
cz.proto.ingestion.Ingestion.GetMutateWorkersResponse>(
this, METHODID_GET_MUTATE_WORKERS)))
.addMethod(
getCheckTableExistsMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.Ingestion.CheckTableExistsRequest,
cz.proto.ingestion.Ingestion.CheckTableExistsResponse>(
this, METHODID_CHECK_TABLE_EXISTS)))
.build();
}
}
/**
*/
public static final class IGSControllerServiceStub extends io.grpc.stub.AbstractAsyncStub {
private IGSControllerServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IGSControllerServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceStub(channel, callOptions);
}
/**
*/
public void gatewayRpcCall(cz.proto.ingestion.Ingestion.GatewayRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGatewayRpcCallMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getTableMeta(cz.proto.ingestion.Ingestion.GetTableMetaRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetTableMetaMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void createTablet(cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateTabletMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void commitTablet(cz.proto.ingestion.Ingestion.CommitTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCommitTabletMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void dropTablet(cz.proto.ingestion.Ingestion.DropTabletRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getDropTabletMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getMutateWorkers(cz.proto.ingestion.Ingestion.GetMutateWorkersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetMutateWorkersMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void checkTableExists(cz.proto.ingestion.Ingestion.CheckTableExistsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCheckTableExistsMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class IGSControllerServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private IGSControllerServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IGSControllerServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceBlockingStub(channel, callOptions);
}
/**
*/
public cz.proto.ingestion.Ingestion.GatewayResponse gatewayRpcCall(cz.proto.ingestion.Ingestion.GatewayRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGatewayRpcCallMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.GetTableMetaResponse getTableMeta(cz.proto.ingestion.Ingestion.GetTableMetaRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetTableMetaMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.CreateTabletResponse createTablet(cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateTabletMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.CommitTabletResponse commitTablet(cz.proto.ingestion.Ingestion.CommitTabletRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCommitTabletMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.DropTabletResponse dropTablet(cz.proto.ingestion.Ingestion.DropTabletRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getDropTabletMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.GetMutateWorkersResponse getMutateWorkers(cz.proto.ingestion.Ingestion.GetMutateWorkersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetMutateWorkersMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.Ingestion.CheckTableExistsResponse checkTableExists(cz.proto.ingestion.Ingestion.CheckTableExistsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCheckTableExistsMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class IGSControllerServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private IGSControllerServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IGSControllerServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IGSControllerServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture gatewayRpcCall(
cz.proto.ingestion.Ingestion.GatewayRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGatewayRpcCallMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getTableMeta(
cz.proto.ingestion.Ingestion.GetTableMetaRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetTableMetaMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture createTablet(
cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateTabletMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture commitTablet(
cz.proto.ingestion.Ingestion.CommitTabletRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCommitTabletMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture dropTablet(
cz.proto.ingestion.Ingestion.DropTabletRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getDropTabletMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getMutateWorkers(
cz.proto.ingestion.Ingestion.GetMutateWorkersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetMutateWorkersMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture checkTableExists(
cz.proto.ingestion.Ingestion.CheckTableExistsRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCheckTableExistsMethod(), getCallOptions()), request);
}
}
private static final int METHODID_GATEWAY_RPC_CALL = 0;
private static final int METHODID_GET_TABLE_META = 1;
private static final int METHODID_CREATE_TABLET = 2;
private static final int METHODID_COMMIT_TABLET = 3;
private static final int METHODID_DROP_TABLET = 4;
private static final int METHODID_GET_MUTATE_WORKERS = 5;
private static final int METHODID_CHECK_TABLE_EXISTS = 6;
private static final class MethodHandlers implements
io.grpc.stub.ServerCalls.UnaryMethod,
io.grpc.stub.ServerCalls.ServerStreamingMethod,
io.grpc.stub.ServerCalls.ClientStreamingMethod,
io.grpc.stub.ServerCalls.BidiStreamingMethod {
private final IGSControllerServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(IGSControllerServiceImplBase 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_GATEWAY_RPC_CALL:
serviceImpl.gatewayRpcCall((cz.proto.ingestion.Ingestion.GatewayRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_TABLE_META:
serviceImpl.getTableMeta((cz.proto.ingestion.Ingestion.GetTableMetaRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_TABLET:
serviceImpl.createTablet((cz.proto.ingestion.Ingestion.ControllerCreateTabletRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_COMMIT_TABLET:
serviceImpl.commitTablet((cz.proto.ingestion.Ingestion.CommitTabletRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_DROP_TABLET:
serviceImpl.dropTablet((cz.proto.ingestion.Ingestion.DropTabletRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_MUTATE_WORKERS:
serviceImpl.getMutateWorkers((cz.proto.ingestion.Ingestion.GetMutateWorkersRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CHECK_TABLE_EXISTS:
serviceImpl.checkTableExists((cz.proto.ingestion.Ingestion.CheckTableExistsRequest) 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 IGSControllerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
IGSControllerServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return cz.proto.ingestion.Ingestion.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("IGSControllerService");
}
}
private static final class IGSControllerServiceFileDescriptorSupplier
extends IGSControllerServiceBaseDescriptorSupplier {
IGSControllerServiceFileDescriptorSupplier() {}
}
private static final class IGSControllerServiceMethodDescriptorSupplier
extends IGSControllerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
IGSControllerServiceMethodDescriptorSupplier(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 (IGSControllerServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new IGSControllerServiceFileDescriptorSupplier())
.addMethod(getGatewayRpcCallMethod())
.addMethod(getGetTableMetaMethod())
.addMethod(getCreateTabletMethod())
.addMethod(getCommitTabletMethod())
.addMethod(getDropTabletMethod())
.addMethod(getGetMutateWorkersMethod())
.addMethod(getCheckTableExistsMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy