cz.proto.ingestion.v2.IngestionControllerServiceGrpc 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.v2;
import static io.grpc.MethodDescriptor.generateFullMethodName;
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.47.0)",
comments = "Source: ingestion_v2.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class IngestionControllerServiceGrpc {
private IngestionControllerServiceGrpc() {}
public static final String SERVICE_NAME = "cz.proto.ingestion.v2.IngestionControllerService";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getCreateOrGetStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateOrGetStream",
requestType = cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateOrGetStreamMethod() {
io.grpc.MethodDescriptor getCreateOrGetStreamMethod;
if ((getCreateOrGetStreamMethod = IngestionControllerServiceGrpc.getCreateOrGetStreamMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCreateOrGetStreamMethod = IngestionControllerServiceGrpc.getCreateOrGetStreamMethod) == null) {
IngestionControllerServiceGrpc.getCreateOrGetStreamMethod = getCreateOrGetStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateOrGetStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("CreateOrGetStream"))
.build();
}
}
}
return getCreateOrGetStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getCloseStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CloseStream",
requestType = cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCloseStreamMethod() {
io.grpc.MethodDescriptor getCloseStreamMethod;
if ((getCloseStreamMethod = IngestionControllerServiceGrpc.getCloseStreamMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCloseStreamMethod = IngestionControllerServiceGrpc.getCloseStreamMethod) == null) {
IngestionControllerServiceGrpc.getCloseStreamMethod = getCloseStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CloseStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("CloseStream"))
.build();
}
}
}
return getCloseStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getGetRouteWorkersMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetRouteWorkers",
requestType = cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetRouteWorkersMethod() {
io.grpc.MethodDescriptor getGetRouteWorkersMethod;
if ((getGetRouteWorkersMethod = IngestionControllerServiceGrpc.getGetRouteWorkersMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getGetRouteWorkersMethod = IngestionControllerServiceGrpc.getGetRouteWorkersMethod) == null) {
IngestionControllerServiceGrpc.getGetRouteWorkersMethod = getGetRouteWorkersMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetRouteWorkers"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("GetRouteWorkers"))
.build();
}
}
}
return getGetRouteWorkersMethod;
}
private static volatile io.grpc.MethodDescriptor getCommitMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Commit",
requestType = cz.proto.ingestion.v2.IngestionV2.CommitRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CommitResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCommitMethod() {
io.grpc.MethodDescriptor getCommitMethod;
if ((getCommitMethod = IngestionControllerServiceGrpc.getCommitMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCommitMethod = IngestionControllerServiceGrpc.getCommitMethod) == null) {
IngestionControllerServiceGrpc.getCommitMethod = getCommitMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Commit"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("Commit"))
.build();
}
}
}
return getCommitMethod;
}
private static volatile io.grpc.MethodDescriptor getAsyncCommitMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "AsyncCommit",
requestType = cz.proto.ingestion.v2.IngestionV2.CommitRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CommitResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getAsyncCommitMethod() {
io.grpc.MethodDescriptor getAsyncCommitMethod;
if ((getAsyncCommitMethod = IngestionControllerServiceGrpc.getAsyncCommitMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getAsyncCommitMethod = IngestionControllerServiceGrpc.getAsyncCommitMethod) == null) {
IngestionControllerServiceGrpc.getAsyncCommitMethod = getAsyncCommitMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "AsyncCommit"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("AsyncCommit"))
.build();
}
}
}
return getAsyncCommitMethod;
}
private static volatile io.grpc.MethodDescriptor getCheckCommitResultMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CheckCommitResult",
requestType = cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCheckCommitResultMethod() {
io.grpc.MethodDescriptor getCheckCommitResultMethod;
if ((getCheckCommitResultMethod = IngestionControllerServiceGrpc.getCheckCommitResultMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCheckCommitResultMethod = IngestionControllerServiceGrpc.getCheckCommitResultMethod) == null) {
IngestionControllerServiceGrpc.getCheckCommitResultMethod = getCheckCommitResultMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckCommitResult"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("CheckCommitResult"))
.build();
}
}
}
return getCheckCommitResultMethod;
}
private static volatile io.grpc.MethodDescriptor getCreateBulkLoadStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CreateBulkLoadStream",
requestType = cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCreateBulkLoadStreamMethod() {
io.grpc.MethodDescriptor getCreateBulkLoadStreamMethod;
if ((getCreateBulkLoadStreamMethod = IngestionControllerServiceGrpc.getCreateBulkLoadStreamMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCreateBulkLoadStreamMethod = IngestionControllerServiceGrpc.getCreateBulkLoadStreamMethod) == null) {
IngestionControllerServiceGrpc.getCreateBulkLoadStreamMethod = getCreateBulkLoadStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBulkLoadStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("CreateBulkLoadStream"))
.build();
}
}
}
return getCreateBulkLoadStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getGetBulkLoadStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetBulkLoadStream",
requestType = cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetBulkLoadStreamMethod() {
io.grpc.MethodDescriptor getGetBulkLoadStreamMethod;
if ((getGetBulkLoadStreamMethod = IngestionControllerServiceGrpc.getGetBulkLoadStreamMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getGetBulkLoadStreamMethod = IngestionControllerServiceGrpc.getGetBulkLoadStreamMethod) == null) {
IngestionControllerServiceGrpc.getGetBulkLoadStreamMethod = getGetBulkLoadStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBulkLoadStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("GetBulkLoadStream"))
.build();
}
}
}
return getGetBulkLoadStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getCommitBulkLoadStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CommitBulkLoadStream",
requestType = cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCommitBulkLoadStreamMethod() {
io.grpc.MethodDescriptor getCommitBulkLoadStreamMethod;
if ((getCommitBulkLoadStreamMethod = IngestionControllerServiceGrpc.getCommitBulkLoadStreamMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getCommitBulkLoadStreamMethod = IngestionControllerServiceGrpc.getCommitBulkLoadStreamMethod) == null) {
IngestionControllerServiceGrpc.getCommitBulkLoadStreamMethod = getCommitBulkLoadStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitBulkLoadStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("CommitBulkLoadStream"))
.build();
}
}
}
return getCommitBulkLoadStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getOpenBulkLoadStreamWriterMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "OpenBulkLoadStreamWriter",
requestType = cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getOpenBulkLoadStreamWriterMethod() {
io.grpc.MethodDescriptor getOpenBulkLoadStreamWriterMethod;
if ((getOpenBulkLoadStreamWriterMethod = IngestionControllerServiceGrpc.getOpenBulkLoadStreamWriterMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getOpenBulkLoadStreamWriterMethod = IngestionControllerServiceGrpc.getOpenBulkLoadStreamWriterMethod) == null) {
IngestionControllerServiceGrpc.getOpenBulkLoadStreamWriterMethod = getOpenBulkLoadStreamWriterMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "OpenBulkLoadStreamWriter"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("OpenBulkLoadStreamWriter"))
.build();
}
}
}
return getOpenBulkLoadStreamWriterMethod;
}
private static volatile io.grpc.MethodDescriptor getFinishBulkLoadStreamWriterMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "FinishBulkLoadStreamWriter",
requestType = cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getFinishBulkLoadStreamWriterMethod() {
io.grpc.MethodDescriptor getFinishBulkLoadStreamWriterMethod;
if ((getFinishBulkLoadStreamWriterMethod = IngestionControllerServiceGrpc.getFinishBulkLoadStreamWriterMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getFinishBulkLoadStreamWriterMethod = IngestionControllerServiceGrpc.getFinishBulkLoadStreamWriterMethod) == null) {
IngestionControllerServiceGrpc.getFinishBulkLoadStreamWriterMethod = getFinishBulkLoadStreamWriterMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "FinishBulkLoadStreamWriter"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("FinishBulkLoadStreamWriter"))
.build();
}
}
}
return getFinishBulkLoadStreamWriterMethod;
}
private static volatile io.grpc.MethodDescriptor getGetBulkLoadStreamStsTokenMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "GetBulkLoadStreamStsToken",
requestType = cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getGetBulkLoadStreamStsTokenMethod() {
io.grpc.MethodDescriptor getGetBulkLoadStreamStsTokenMethod;
if ((getGetBulkLoadStreamStsTokenMethod = IngestionControllerServiceGrpc.getGetBulkLoadStreamStsTokenMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getGetBulkLoadStreamStsTokenMethod = IngestionControllerServiceGrpc.getGetBulkLoadStreamStsTokenMethod) == null) {
IngestionControllerServiceGrpc.getGetBulkLoadStreamStsTokenMethod = getGetBulkLoadStreamStsTokenMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetBulkLoadStreamStsToken"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("GetBulkLoadStreamStsToken"))
.build();
}
}
}
return getGetBulkLoadStreamStsTokenMethod;
}
private static volatile io.grpc.MethodDescriptor getUpdateRouteRuleBroadcastMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UpdateRouteRuleBroadcast",
requestType = cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUpdateRouteRuleBroadcastMethod() {
io.grpc.MethodDescriptor getUpdateRouteRuleBroadcastMethod;
if ((getUpdateRouteRuleBroadcastMethod = IngestionControllerServiceGrpc.getUpdateRouteRuleBroadcastMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getUpdateRouteRuleBroadcastMethod = IngestionControllerServiceGrpc.getUpdateRouteRuleBroadcastMethod) == null) {
IngestionControllerServiceGrpc.getUpdateRouteRuleBroadcastMethod = getUpdateRouteRuleBroadcastMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateRouteRuleBroadcast"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("UpdateRouteRuleBroadcast"))
.build();
}
}
}
return getUpdateRouteRuleBroadcastMethod;
}
private static volatile io.grpc.MethodDescriptor getHandleSchemaChangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "HandleSchemaChange",
requestType = cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.class,
responseType = cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getHandleSchemaChangeMethod() {
io.grpc.MethodDescriptor getHandleSchemaChangeMethod;
if ((getHandleSchemaChangeMethod = IngestionControllerServiceGrpc.getHandleSchemaChangeMethod) == null) {
synchronized (IngestionControllerServiceGrpc.class) {
if ((getHandleSchemaChangeMethod = IngestionControllerServiceGrpc.getHandleSchemaChangeMethod) == null) {
IngestionControllerServiceGrpc.getHandleSchemaChangeMethod = getHandleSchemaChangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "HandleSchemaChange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse.getDefaultInstance()))
.setSchemaDescriptor(new IngestionControllerServiceMethodDescriptorSupplier("HandleSchemaChange"))
.build();
}
}
}
return getHandleSchemaChangeMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static IngestionControllerServiceStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IngestionControllerServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceStub(channel, callOptions);
}
};
return IngestionControllerServiceStub.newStub(factory, channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static IngestionControllerServiceBlockingStub newBlockingStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IngestionControllerServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceBlockingStub(channel, callOptions);
}
};
return IngestionControllerServiceBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static IngestionControllerServiceFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public IngestionControllerServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceFutureStub(channel, callOptions);
}
};
return IngestionControllerServiceFutureStub.newStub(factory, channel);
}
/**
*/
public static abstract class IngestionControllerServiceImplBase implements io.grpc.BindableService {
/**
*/
public void createOrGetStream(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateOrGetStreamMethod(), responseObserver);
}
/**
*/
public void closeStream(cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCloseStreamMethod(), responseObserver);
}
/**
*/
public void getRouteWorkers(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetRouteWorkersMethod(), responseObserver);
}
/**
*/
public void commit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitMethod(), responseObserver);
}
/**
*/
public void asyncCommit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAsyncCommitMethod(), responseObserver);
}
/**
*/
public void checkCommitResult(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCheckCommitResultMethod(), responseObserver);
}
/**
*/
public void createBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBulkLoadStreamMethod(), responseObserver);
}
/**
*/
public void getBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBulkLoadStreamMethod(), responseObserver);
}
/**
*/
public void commitBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitBulkLoadStreamMethod(), responseObserver);
}
/**
*/
public void openBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getOpenBulkLoadStreamWriterMethod(), responseObserver);
}
/**
*/
public void finishBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getFinishBulkLoadStreamWriterMethod(), responseObserver);
}
/**
*/
public void getBulkLoadStreamStsToken(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetBulkLoadStreamStsTokenMethod(), responseObserver);
}
/**
*
* internal
*
*/
public void updateRouteRuleBroadcast(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateRouteRuleBroadcastMethod(), responseObserver);
}
/**
*
* schema change
*
*/
public void handleSchemaChange(cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getHandleSchemaChangeMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getCreateOrGetStreamMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest,
cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse>(
this, METHODID_CREATE_OR_GET_STREAM)))
.addMethod(
getCloseStreamMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest,
cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse>(
this, METHODID_CLOSE_STREAM)))
.addMethod(
getGetRouteWorkersMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest,
cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse>(
this, METHODID_GET_ROUTE_WORKERS)))
.addMethod(
getCommitMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CommitRequest,
cz.proto.ingestion.v2.IngestionV2.CommitResponse>(
this, METHODID_COMMIT)))
.addMethod(
getAsyncCommitMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CommitRequest,
cz.proto.ingestion.v2.IngestionV2.CommitResponse>(
this, METHODID_ASYNC_COMMIT)))
.addMethod(
getCheckCommitResultMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest,
cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse>(
this, METHODID_CHECK_COMMIT_RESULT)))
.addMethod(
getCreateBulkLoadStreamMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest,
cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse>(
this, METHODID_CREATE_BULK_LOAD_STREAM)))
.addMethod(
getGetBulkLoadStreamMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest,
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse>(
this, METHODID_GET_BULK_LOAD_STREAM)))
.addMethod(
getCommitBulkLoadStreamMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest,
cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse>(
this, METHODID_COMMIT_BULK_LOAD_STREAM)))
.addMethod(
getOpenBulkLoadStreamWriterMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest,
cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse>(
this, METHODID_OPEN_BULK_LOAD_STREAM_WRITER)))
.addMethod(
getFinishBulkLoadStreamWriterMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest,
cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse>(
this, METHODID_FINISH_BULK_LOAD_STREAM_WRITER)))
.addMethod(
getGetBulkLoadStreamStsTokenMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest,
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse>(
this, METHODID_GET_BULK_LOAD_STREAM_STS_TOKEN)))
.addMethod(
getUpdateRouteRuleBroadcastMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest,
cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse>(
this, METHODID_UPDATE_ROUTE_RULE_BROADCAST)))
.addMethod(
getHandleSchemaChangeMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
new MethodHandlers<
cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest,
cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse>(
this, METHODID_HANDLE_SCHEMA_CHANGE)))
.build();
}
}
/**
*/
public static final class IngestionControllerServiceStub extends io.grpc.stub.AbstractAsyncStub {
private IngestionControllerServiceStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IngestionControllerServiceStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceStub(channel, callOptions);
}
/**
*/
public void createOrGetStream(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateOrGetStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void closeStream(cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCloseStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getRouteWorkers(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetRouteWorkersMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void commit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCommitMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void asyncCommit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getAsyncCommitMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void checkCommitResult(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCheckCommitResultMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void createBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCreateBulkLoadStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetBulkLoadStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void commitBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getCommitBulkLoadStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void openBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getOpenBulkLoadStreamWriterMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void finishBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getFinishBulkLoadStreamWriterMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void getBulkLoadStreamStsToken(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getGetBulkLoadStreamStsTokenMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* internal
*
*/
public void updateRouteRuleBroadcast(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getUpdateRouteRuleBroadcastMethod(), getCallOptions()), request, responseObserver);
}
/**
*
* schema change
*
*/
public void handleSchemaChange(cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
io.grpc.stub.ClientCalls.asyncUnaryCall(
getChannel().newCall(getHandleSchemaChangeMethod(), getCallOptions()), request, responseObserver);
}
}
/**
*/
public static final class IngestionControllerServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub {
private IngestionControllerServiceBlockingStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IngestionControllerServiceBlockingStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceBlockingStub(channel, callOptions);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamResponse createOrGetStream(cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateOrGetStreamMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CloseStreamResponse closeStream(cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCloseStreamMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersResponse getRouteWorkers(cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetRouteWorkersMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CommitResponse commit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCommitMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CommitResponse asyncCommit(cz.proto.ingestion.v2.IngestionV2.CommitRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getAsyncCommitMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CheckCommitResultResponse checkCommitResult(cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCheckCommitResultMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamResponse createBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCreateBulkLoadStreamMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamResponse getBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetBulkLoadStreamMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamResponse commitBulkLoadStream(cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getCommitBulkLoadStreamMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterResponse openBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getOpenBulkLoadStreamWriterMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterResponse finishBulkLoadStreamWriter(cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getFinishBulkLoadStreamWriterMethod(), getCallOptions(), request);
}
/**
*/
public cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenResponse getBulkLoadStreamStsToken(cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getGetBulkLoadStreamStsTokenMethod(), getCallOptions(), request);
}
/**
*
* internal
*
*/
public cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastResponse updateRouteRuleBroadcast(cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getUpdateRouteRuleBroadcastMethod(), getCallOptions(), request);
}
/**
*
* schema change
*
*/
public cz.proto.ingestion.v2.IngestionV2.SchemaChangeResponse handleSchemaChange(cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
getChannel(), getHandleSchemaChangeMethod(), getCallOptions(), request);
}
}
/**
*/
public static final class IngestionControllerServiceFutureStub extends io.grpc.stub.AbstractFutureStub {
private IngestionControllerServiceFutureStub(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected IngestionControllerServiceFutureStub build(
io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new IngestionControllerServiceFutureStub(channel, callOptions);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture createOrGetStream(
cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateOrGetStreamMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture closeStream(
cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCloseStreamMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getRouteWorkers(
cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetRouteWorkersMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture commit(
cz.proto.ingestion.v2.IngestionV2.CommitRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCommitMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture asyncCommit(
cz.proto.ingestion.v2.IngestionV2.CommitRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getAsyncCommitMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture checkCommitResult(
cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCheckCommitResultMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture createBulkLoadStream(
cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCreateBulkLoadStreamMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getBulkLoadStream(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetBulkLoadStreamMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture commitBulkLoadStream(
cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getCommitBulkLoadStreamMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture openBulkLoadStreamWriter(
cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getOpenBulkLoadStreamWriterMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture finishBulkLoadStreamWriter(
cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getFinishBulkLoadStreamWriterMethod(), getCallOptions()), request);
}
/**
*/
public com.google.common.util.concurrent.ListenableFuture getBulkLoadStreamStsToken(
cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getGetBulkLoadStreamStsTokenMethod(), getCallOptions()), request);
}
/**
*
* internal
*
*/
public com.google.common.util.concurrent.ListenableFuture updateRouteRuleBroadcast(
cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getUpdateRouteRuleBroadcastMethod(), getCallOptions()), request);
}
/**
*
* schema change
*
*/
public com.google.common.util.concurrent.ListenableFuture handleSchemaChange(
cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
getChannel().newCall(getHandleSchemaChangeMethod(), getCallOptions()), request);
}
}
private static final int METHODID_CREATE_OR_GET_STREAM = 0;
private static final int METHODID_CLOSE_STREAM = 1;
private static final int METHODID_GET_ROUTE_WORKERS = 2;
private static final int METHODID_COMMIT = 3;
private static final int METHODID_ASYNC_COMMIT = 4;
private static final int METHODID_CHECK_COMMIT_RESULT = 5;
private static final int METHODID_CREATE_BULK_LOAD_STREAM = 6;
private static final int METHODID_GET_BULK_LOAD_STREAM = 7;
private static final int METHODID_COMMIT_BULK_LOAD_STREAM = 8;
private static final int METHODID_OPEN_BULK_LOAD_STREAM_WRITER = 9;
private static final int METHODID_FINISH_BULK_LOAD_STREAM_WRITER = 10;
private static final int METHODID_GET_BULK_LOAD_STREAM_STS_TOKEN = 11;
private static final int METHODID_UPDATE_ROUTE_RULE_BROADCAST = 12;
private static final int METHODID_HANDLE_SCHEMA_CHANGE = 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 IngestionControllerServiceImplBase serviceImpl;
private final int methodId;
MethodHandlers(IngestionControllerServiceImplBase 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_OR_GET_STREAM:
serviceImpl.createOrGetStream((cz.proto.ingestion.v2.IngestionV2.CreateOrGetStreamRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CLOSE_STREAM:
serviceImpl.closeStream((cz.proto.ingestion.v2.IngestionV2.CloseStreamRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_ROUTE_WORKERS:
serviceImpl.getRouteWorkers((cz.proto.ingestion.v2.IngestionV2.GetRouteWorkersRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_COMMIT:
serviceImpl.commit((cz.proto.ingestion.v2.IngestionV2.CommitRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_ASYNC_COMMIT:
serviceImpl.asyncCommit((cz.proto.ingestion.v2.IngestionV2.CommitRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CHECK_COMMIT_RESULT:
serviceImpl.checkCommitResult((cz.proto.ingestion.v2.IngestionV2.CheckCommitResultRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_CREATE_BULK_LOAD_STREAM:
serviceImpl.createBulkLoadStream((cz.proto.ingestion.v2.IngestionV2.CreateBulkLoadStreamRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_BULK_LOAD_STREAM:
serviceImpl.getBulkLoadStream((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_COMMIT_BULK_LOAD_STREAM:
serviceImpl.commitBulkLoadStream((cz.proto.ingestion.v2.IngestionV2.CommitBulkLoadStreamRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_OPEN_BULK_LOAD_STREAM_WRITER:
serviceImpl.openBulkLoadStreamWriter((cz.proto.ingestion.v2.IngestionV2.OpenBulkLoadStreamWriterRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_FINISH_BULK_LOAD_STREAM_WRITER:
serviceImpl.finishBulkLoadStreamWriter((cz.proto.ingestion.v2.IngestionV2.FinishBulkLoadStreamWriterRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_GET_BULK_LOAD_STREAM_STS_TOKEN:
serviceImpl.getBulkLoadStreamStsToken((cz.proto.ingestion.v2.IngestionV2.GetBulkLoadStreamStsTokenRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_UPDATE_ROUTE_RULE_BROADCAST:
serviceImpl.updateRouteRuleBroadcast((cz.proto.ingestion.v2.IngestionV2.UpdateRouteRuleBroadcastRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
case METHODID_HANDLE_SCHEMA_CHANGE:
serviceImpl.handleSchemaChange((cz.proto.ingestion.v2.IngestionV2.SchemaChangeRequest) 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 IngestionControllerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier {
IngestionControllerServiceBaseDescriptorSupplier() {}
@java.lang.Override
public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() {
return cz.proto.ingestion.v2.IngestionV2.getDescriptor();
}
@java.lang.Override
public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() {
return getFileDescriptor().findServiceByName("IngestionControllerService");
}
}
private static final class IngestionControllerServiceFileDescriptorSupplier
extends IngestionControllerServiceBaseDescriptorSupplier {
IngestionControllerServiceFileDescriptorSupplier() {}
}
private static final class IngestionControllerServiceMethodDescriptorSupplier
extends IngestionControllerServiceBaseDescriptorSupplier
implements io.grpc.protobuf.ProtoMethodDescriptorSupplier {
private final String methodName;
IngestionControllerServiceMethodDescriptorSupplier(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 (IngestionControllerServiceGrpc.class) {
result = serviceDescriptor;
if (result == null) {
serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
.setSchemaDescriptor(new IngestionControllerServiceFileDescriptorSupplier())
.addMethod(getCreateOrGetStreamMethod())
.addMethod(getCloseStreamMethod())
.addMethod(getGetRouteWorkersMethod())
.addMethod(getCommitMethod())
.addMethod(getAsyncCommitMethod())
.addMethod(getCheckCommitResultMethod())
.addMethod(getCreateBulkLoadStreamMethod())
.addMethod(getGetBulkLoadStreamMethod())
.addMethod(getCommitBulkLoadStreamMethod())
.addMethod(getOpenBulkLoadStreamWriterMethod())
.addMethod(getFinishBulkLoadStreamWriterMethod())
.addMethod(getGetBulkLoadStreamStsTokenMethod())
.addMethod(getUpdateRouteRuleBroadcastMethod())
.addMethod(getHandleSchemaChangeMethod())
.build();
}
}
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy