
org.tikv.kvproto.TikvGrpc Maven / Gradle / Ivy
The newest version!
package org.tikv.kvproto;
import static io.grpc.MethodDescriptor.generateFullMethodName;
import static io.grpc.stub.ClientCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ClientCalls.asyncClientStreamingCall;
import static io.grpc.stub.ClientCalls.asyncServerStreamingCall;
import static io.grpc.stub.ClientCalls.asyncUnaryCall;
import static io.grpc.stub.ClientCalls.blockingServerStreamingCall;
import static io.grpc.stub.ClientCalls.blockingUnaryCall;
import static io.grpc.stub.ClientCalls.futureUnaryCall;
import static io.grpc.stub.ServerCalls.asyncBidiStreamingCall;
import static io.grpc.stub.ServerCalls.asyncClientStreamingCall;
import static io.grpc.stub.ServerCalls.asyncServerStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnaryCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
import static io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall;
/**
* * Serve as a distributed kv database.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.24.0)",
comments = "Source: tikvpb.proto")
public final class TikvGrpc {
private TikvGrpc() {}
public static final String SERVICE_NAME = "tikvpb.Tikv";
// Static method descriptors that strictly reflect the proto.
private static volatile io.grpc.MethodDescriptor getKvGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvGet",
requestType = org.tikv.kvproto.Kvrpcpb.GetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.GetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvGetMethod() {
io.grpc.MethodDescriptor getKvGetMethod;
if ((getKvGetMethod = TikvGrpc.getKvGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvGetMethod = TikvGrpc.getKvGetMethod) == null) {
TikvGrpc.getKvGetMethod = getKvGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.GetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.GetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvGet"))
.build();
}
}
}
return getKvGetMethod;
}
private static volatile io.grpc.MethodDescriptor getKvScanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvScan",
requestType = org.tikv.kvproto.Kvrpcpb.ScanRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.ScanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvScanMethod() {
io.grpc.MethodDescriptor getKvScanMethod;
if ((getKvScanMethod = TikvGrpc.getKvScanMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvScanMethod = TikvGrpc.getKvScanMethod) == null) {
TikvGrpc.getKvScanMethod = getKvScanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvScan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ScanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ScanResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvScan"))
.build();
}
}
}
return getKvScanMethod;
}
private static volatile io.grpc.MethodDescriptor getKvPrewriteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvPrewrite",
requestType = org.tikv.kvproto.Kvrpcpb.PrewriteRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.PrewriteResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvPrewriteMethod() {
io.grpc.MethodDescriptor getKvPrewriteMethod;
if ((getKvPrewriteMethod = TikvGrpc.getKvPrewriteMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvPrewriteMethod = TikvGrpc.getKvPrewriteMethod) == null) {
TikvGrpc.getKvPrewriteMethod = getKvPrewriteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvPrewrite"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PrewriteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PrewriteResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvPrewrite"))
.build();
}
}
}
return getKvPrewriteMethod;
}
private static volatile io.grpc.MethodDescriptor getKvPessimisticLockMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvPessimisticLock",
requestType = org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.PessimisticLockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvPessimisticLockMethod() {
io.grpc.MethodDescriptor getKvPessimisticLockMethod;
if ((getKvPessimisticLockMethod = TikvGrpc.getKvPessimisticLockMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvPessimisticLockMethod = TikvGrpc.getKvPessimisticLockMethod) == null) {
TikvGrpc.getKvPessimisticLockMethod = getKvPessimisticLockMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvPessimisticLock"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PessimisticLockResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvPessimisticLock"))
.build();
}
}
}
return getKvPessimisticLockMethod;
}
private static volatile io.grpc.MethodDescriptor getKVPessimisticRollbackMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KVPessimisticRollback",
requestType = org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.PessimisticRollbackResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKVPessimisticRollbackMethod() {
io.grpc.MethodDescriptor getKVPessimisticRollbackMethod;
if ((getKVPessimisticRollbackMethod = TikvGrpc.getKVPessimisticRollbackMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKVPessimisticRollbackMethod = TikvGrpc.getKVPessimisticRollbackMethod) == null) {
TikvGrpc.getKVPessimisticRollbackMethod = getKVPessimisticRollbackMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KVPessimisticRollback"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PessimisticRollbackResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KVPessimisticRollback"))
.build();
}
}
}
return getKVPessimisticRollbackMethod;
}
private static volatile io.grpc.MethodDescriptor getKvTxnHeartBeatMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvTxnHeartBeat",
requestType = org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.TxnHeartBeatResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvTxnHeartBeatMethod() {
io.grpc.MethodDescriptor getKvTxnHeartBeatMethod;
if ((getKvTxnHeartBeatMethod = TikvGrpc.getKvTxnHeartBeatMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvTxnHeartBeatMethod = TikvGrpc.getKvTxnHeartBeatMethod) == null) {
TikvGrpc.getKvTxnHeartBeatMethod = getKvTxnHeartBeatMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvTxnHeartBeat"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.TxnHeartBeatResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvTxnHeartBeat"))
.build();
}
}
}
return getKvTxnHeartBeatMethod;
}
private static volatile io.grpc.MethodDescriptor getKvCheckTxnStatusMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvCheckTxnStatus",
requestType = org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CheckTxnStatusResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvCheckTxnStatusMethod() {
io.grpc.MethodDescriptor getKvCheckTxnStatusMethod;
if ((getKvCheckTxnStatusMethod = TikvGrpc.getKvCheckTxnStatusMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvCheckTxnStatusMethod = TikvGrpc.getKvCheckTxnStatusMethod) == null) {
TikvGrpc.getKvCheckTxnStatusMethod = getKvCheckTxnStatusMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvCheckTxnStatus"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckTxnStatusResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvCheckTxnStatus"))
.build();
}
}
}
return getKvCheckTxnStatusMethod;
}
private static volatile io.grpc.MethodDescriptor getKvCommitMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvCommit",
requestType = org.tikv.kvproto.Kvrpcpb.CommitRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CommitResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvCommitMethod() {
io.grpc.MethodDescriptor getKvCommitMethod;
if ((getKvCommitMethod = TikvGrpc.getKvCommitMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvCommitMethod = TikvGrpc.getKvCommitMethod) == null) {
TikvGrpc.getKvCommitMethod = getKvCommitMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvCommit"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CommitRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CommitResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvCommit"))
.build();
}
}
}
return getKvCommitMethod;
}
private static volatile io.grpc.MethodDescriptor getKvImportMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvImport",
requestType = org.tikv.kvproto.Kvrpcpb.ImportRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.ImportResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvImportMethod() {
io.grpc.MethodDescriptor getKvImportMethod;
if ((getKvImportMethod = TikvGrpc.getKvImportMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvImportMethod = TikvGrpc.getKvImportMethod) == null) {
TikvGrpc.getKvImportMethod = getKvImportMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvImport"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ImportRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ImportResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvImport"))
.build();
}
}
}
return getKvImportMethod;
}
private static volatile io.grpc.MethodDescriptor getKvCleanupMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvCleanup",
requestType = org.tikv.kvproto.Kvrpcpb.CleanupRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CleanupResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvCleanupMethod() {
io.grpc.MethodDescriptor getKvCleanupMethod;
if ((getKvCleanupMethod = TikvGrpc.getKvCleanupMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvCleanupMethod = TikvGrpc.getKvCleanupMethod) == null) {
TikvGrpc.getKvCleanupMethod = getKvCleanupMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvCleanup"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CleanupRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CleanupResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvCleanup"))
.build();
}
}
}
return getKvCleanupMethod;
}
private static volatile io.grpc.MethodDescriptor getKvBatchGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvBatchGet",
requestType = org.tikv.kvproto.Kvrpcpb.BatchGetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.BatchGetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvBatchGetMethod() {
io.grpc.MethodDescriptor getKvBatchGetMethod;
if ((getKvBatchGetMethod = TikvGrpc.getKvBatchGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvBatchGetMethod = TikvGrpc.getKvBatchGetMethod) == null) {
TikvGrpc.getKvBatchGetMethod = getKvBatchGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvBatchGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.BatchGetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.BatchGetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvBatchGet"))
.build();
}
}
}
return getKvBatchGetMethod;
}
private static volatile io.grpc.MethodDescriptor getKvBatchRollbackMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvBatchRollback",
requestType = org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.BatchRollbackResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvBatchRollbackMethod() {
io.grpc.MethodDescriptor getKvBatchRollbackMethod;
if ((getKvBatchRollbackMethod = TikvGrpc.getKvBatchRollbackMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvBatchRollbackMethod = TikvGrpc.getKvBatchRollbackMethod) == null) {
TikvGrpc.getKvBatchRollbackMethod = getKvBatchRollbackMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvBatchRollback"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.BatchRollbackResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvBatchRollback"))
.build();
}
}
}
return getKvBatchRollbackMethod;
}
private static volatile io.grpc.MethodDescriptor getKvScanLockMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvScanLock",
requestType = org.tikv.kvproto.Kvrpcpb.ScanLockRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.ScanLockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvScanLockMethod() {
io.grpc.MethodDescriptor getKvScanLockMethod;
if ((getKvScanLockMethod = TikvGrpc.getKvScanLockMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvScanLockMethod = TikvGrpc.getKvScanLockMethod) == null) {
TikvGrpc.getKvScanLockMethod = getKvScanLockMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvScanLock"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ScanLockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ScanLockResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvScanLock"))
.build();
}
}
}
return getKvScanLockMethod;
}
private static volatile io.grpc.MethodDescriptor getKvResolveLockMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvResolveLock",
requestType = org.tikv.kvproto.Kvrpcpb.ResolveLockRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.ResolveLockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvResolveLockMethod() {
io.grpc.MethodDescriptor getKvResolveLockMethod;
if ((getKvResolveLockMethod = TikvGrpc.getKvResolveLockMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvResolveLockMethod = TikvGrpc.getKvResolveLockMethod) == null) {
TikvGrpc.getKvResolveLockMethod = getKvResolveLockMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvResolveLock"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ResolveLockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ResolveLockResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvResolveLock"))
.build();
}
}
}
return getKvResolveLockMethod;
}
private static volatile io.grpc.MethodDescriptor getKvGCMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvGC",
requestType = org.tikv.kvproto.Kvrpcpb.GCRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.GCResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvGCMethod() {
io.grpc.MethodDescriptor getKvGCMethod;
if ((getKvGCMethod = TikvGrpc.getKvGCMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvGCMethod = TikvGrpc.getKvGCMethod) == null) {
TikvGrpc.getKvGCMethod = getKvGCMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvGC"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.GCRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.GCResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvGC"))
.build();
}
}
}
return getKvGCMethod;
}
private static volatile io.grpc.MethodDescriptor getKvDeleteRangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvDeleteRange",
requestType = org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.DeleteRangeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvDeleteRangeMethod() {
io.grpc.MethodDescriptor getKvDeleteRangeMethod;
if ((getKvDeleteRangeMethod = TikvGrpc.getKvDeleteRangeMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvDeleteRangeMethod = TikvGrpc.getKvDeleteRangeMethod) == null) {
TikvGrpc.getKvDeleteRangeMethod = getKvDeleteRangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvDeleteRange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.DeleteRangeResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvDeleteRange"))
.build();
}
}
}
return getKvDeleteRangeMethod;
}
private static volatile io.grpc.MethodDescriptor getRawGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawGet",
requestType = org.tikv.kvproto.Kvrpcpb.RawGetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawGetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawGetMethod() {
io.grpc.MethodDescriptor getRawGetMethod;
if ((getRawGetMethod = TikvGrpc.getRawGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawGetMethod = TikvGrpc.getRawGetMethod) == null) {
TikvGrpc.getRawGetMethod = getRawGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawGetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawGetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawGet"))
.build();
}
}
}
return getRawGetMethod;
}
private static volatile io.grpc.MethodDescriptor getRawBatchGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawBatchGet",
requestType = org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawBatchGetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawBatchGetMethod() {
io.grpc.MethodDescriptor getRawBatchGetMethod;
if ((getRawBatchGetMethod = TikvGrpc.getRawBatchGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawBatchGetMethod = TikvGrpc.getRawBatchGetMethod) == null) {
TikvGrpc.getRawBatchGetMethod = getRawBatchGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawBatchGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchGetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawBatchGet"))
.build();
}
}
}
return getRawBatchGetMethod;
}
private static volatile io.grpc.MethodDescriptor getRawPutMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawPut",
requestType = org.tikv.kvproto.Kvrpcpb.RawPutRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawPutResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawPutMethod() {
io.grpc.MethodDescriptor getRawPutMethod;
if ((getRawPutMethod = TikvGrpc.getRawPutMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawPutMethod = TikvGrpc.getRawPutMethod) == null) {
TikvGrpc.getRawPutMethod = getRawPutMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawPut"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawPutRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawPutResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawPut"))
.build();
}
}
}
return getRawPutMethod;
}
private static volatile io.grpc.MethodDescriptor getRawBatchPutMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawBatchPut",
requestType = org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawBatchPutResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawBatchPutMethod() {
io.grpc.MethodDescriptor getRawBatchPutMethod;
if ((getRawBatchPutMethod = TikvGrpc.getRawBatchPutMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawBatchPutMethod = TikvGrpc.getRawBatchPutMethod) == null) {
TikvGrpc.getRawBatchPutMethod = getRawBatchPutMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawBatchPut"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchPutResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawBatchPut"))
.build();
}
}
}
return getRawBatchPutMethod;
}
private static volatile io.grpc.MethodDescriptor getRawDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawDelete",
requestType = org.tikv.kvproto.Kvrpcpb.RawDeleteRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawDeleteResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawDeleteMethod() {
io.grpc.MethodDescriptor getRawDeleteMethod;
if ((getRawDeleteMethod = TikvGrpc.getRawDeleteMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawDeleteMethod = TikvGrpc.getRawDeleteMethod) == null) {
TikvGrpc.getRawDeleteMethod = getRawDeleteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawDelete"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawDeleteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawDeleteResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawDelete"))
.build();
}
}
}
return getRawDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor getRawBatchDeleteMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawBatchDelete",
requestType = org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawBatchDeleteResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawBatchDeleteMethod() {
io.grpc.MethodDescriptor getRawBatchDeleteMethod;
if ((getRawBatchDeleteMethod = TikvGrpc.getRawBatchDeleteMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawBatchDeleteMethod = TikvGrpc.getRawBatchDeleteMethod) == null) {
TikvGrpc.getRawBatchDeleteMethod = getRawBatchDeleteMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawBatchDelete"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchDeleteResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawBatchDelete"))
.build();
}
}
}
return getRawBatchDeleteMethod;
}
private static volatile io.grpc.MethodDescriptor getRawScanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawScan",
requestType = org.tikv.kvproto.Kvrpcpb.RawScanRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawScanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawScanMethod() {
io.grpc.MethodDescriptor getRawScanMethod;
if ((getRawScanMethod = TikvGrpc.getRawScanMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawScanMethod = TikvGrpc.getRawScanMethod) == null) {
TikvGrpc.getRawScanMethod = getRawScanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawScan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawScanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawScanResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawScan"))
.build();
}
}
}
return getRawScanMethod;
}
private static volatile io.grpc.MethodDescriptor getRawDeleteRangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawDeleteRange",
requestType = org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawDeleteRangeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawDeleteRangeMethod() {
io.grpc.MethodDescriptor getRawDeleteRangeMethod;
if ((getRawDeleteRangeMethod = TikvGrpc.getRawDeleteRangeMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawDeleteRangeMethod = TikvGrpc.getRawDeleteRangeMethod) == null) {
TikvGrpc.getRawDeleteRangeMethod = getRawDeleteRangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawDeleteRange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawDeleteRangeResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawDeleteRange"))
.build();
}
}
}
return getRawDeleteRangeMethod;
}
private static volatile io.grpc.MethodDescriptor getRawBatchScanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawBatchScan",
requestType = org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawBatchScanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawBatchScanMethod() {
io.grpc.MethodDescriptor getRawBatchScanMethod;
if ((getRawBatchScanMethod = TikvGrpc.getRawBatchScanMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawBatchScanMethod = TikvGrpc.getRawBatchScanMethod) == null) {
TikvGrpc.getRawBatchScanMethod = getRawBatchScanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawBatchScan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawBatchScanResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawBatchScan"))
.build();
}
}
}
return getRawBatchScanMethod;
}
private static volatile io.grpc.MethodDescriptor getUnsafeDestroyRangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "UnsafeDestroyRange",
requestType = org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getUnsafeDestroyRangeMethod() {
io.grpc.MethodDescriptor getUnsafeDestroyRangeMethod;
if ((getUnsafeDestroyRangeMethod = TikvGrpc.getUnsafeDestroyRangeMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getUnsafeDestroyRangeMethod = TikvGrpc.getUnsafeDestroyRangeMethod) == null) {
TikvGrpc.getUnsafeDestroyRangeMethod = getUnsafeDestroyRangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "UnsafeDestroyRange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("UnsafeDestroyRange"))
.build();
}
}
}
return getUnsafeDestroyRangeMethod;
}
private static volatile io.grpc.MethodDescriptor getRegisterLockObserverMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RegisterLockObserver",
requestType = org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RegisterLockObserverResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRegisterLockObserverMethod() {
io.grpc.MethodDescriptor getRegisterLockObserverMethod;
if ((getRegisterLockObserverMethod = TikvGrpc.getRegisterLockObserverMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRegisterLockObserverMethod = TikvGrpc.getRegisterLockObserverMethod) == null) {
TikvGrpc.getRegisterLockObserverMethod = getRegisterLockObserverMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RegisterLockObserver"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RegisterLockObserverResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RegisterLockObserver"))
.build();
}
}
}
return getRegisterLockObserverMethod;
}
private static volatile io.grpc.MethodDescriptor getCheckLockObserverMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CheckLockObserver",
requestType = org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CheckLockObserverResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCheckLockObserverMethod() {
io.grpc.MethodDescriptor getCheckLockObserverMethod;
if ((getCheckLockObserverMethod = TikvGrpc.getCheckLockObserverMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getCheckLockObserverMethod = TikvGrpc.getCheckLockObserverMethod) == null) {
TikvGrpc.getCheckLockObserverMethod = getCheckLockObserverMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckLockObserver"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckLockObserverResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("CheckLockObserver"))
.build();
}
}
}
return getCheckLockObserverMethod;
}
private static volatile io.grpc.MethodDescriptor getRemoveLockObserverMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RemoveLockObserver",
requestType = org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RemoveLockObserverResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRemoveLockObserverMethod() {
io.grpc.MethodDescriptor getRemoveLockObserverMethod;
if ((getRemoveLockObserverMethod = TikvGrpc.getRemoveLockObserverMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRemoveLockObserverMethod = TikvGrpc.getRemoveLockObserverMethod) == null) {
TikvGrpc.getRemoveLockObserverMethod = getRemoveLockObserverMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RemoveLockObserver"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RemoveLockObserverResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RemoveLockObserver"))
.build();
}
}
}
return getRemoveLockObserverMethod;
}
private static volatile io.grpc.MethodDescriptor getPhysicalScanLockMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "PhysicalScanLock",
requestType = org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.PhysicalScanLockResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getPhysicalScanLockMethod() {
io.grpc.MethodDescriptor getPhysicalScanLockMethod;
if ((getPhysicalScanLockMethod = TikvGrpc.getPhysicalScanLockMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getPhysicalScanLockMethod = TikvGrpc.getPhysicalScanLockMethod) == null) {
TikvGrpc.getPhysicalScanLockMethod = getPhysicalScanLockMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "PhysicalScanLock"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.PhysicalScanLockResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("PhysicalScanLock"))
.build();
}
}
}
return getPhysicalScanLockMethod;
}
private static volatile io.grpc.MethodDescriptor getCoprocessorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Coprocessor",
requestType = org.tikv.kvproto.Coprocessor.Request.class,
responseType = org.tikv.kvproto.Coprocessor.Response.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCoprocessorMethod() {
io.grpc.MethodDescriptor getCoprocessorMethod;
if ((getCoprocessorMethod = TikvGrpc.getCoprocessorMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getCoprocessorMethod = TikvGrpc.getCoprocessorMethod) == null) {
TikvGrpc.getCoprocessorMethod = getCoprocessorMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Coprocessor"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.Response.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("Coprocessor"))
.build();
}
}
}
return getCoprocessorMethod;
}
private static volatile io.grpc.MethodDescriptor getCoprocessorStreamMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CoprocessorStream",
requestType = org.tikv.kvproto.Coprocessor.Request.class,
responseType = org.tikv.kvproto.Coprocessor.Response.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getCoprocessorStreamMethod() {
io.grpc.MethodDescriptor getCoprocessorStreamMethod;
if ((getCoprocessorStreamMethod = TikvGrpc.getCoprocessorStreamMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getCoprocessorStreamMethod = TikvGrpc.getCoprocessorStreamMethod) == null) {
TikvGrpc.getCoprocessorStreamMethod = getCoprocessorStreamMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CoprocessorStream"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.Request.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.Response.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("CoprocessorStream"))
.build();
}
}
}
return getCoprocessorStreamMethod;
}
private static volatile io.grpc.MethodDescriptor getRaftMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Raft",
requestType = org.tikv.kvproto.RaftServerpb.RaftMessage.class,
responseType = org.tikv.kvproto.RaftServerpb.Done.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor getRaftMethod() {
io.grpc.MethodDescriptor getRaftMethod;
if ((getRaftMethod = TikvGrpc.getRaftMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRaftMethod = TikvGrpc.getRaftMethod) == null) {
TikvGrpc.getRaftMethod = getRaftMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Raft"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.RaftServerpb.RaftMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.RaftServerpb.Done.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("Raft"))
.build();
}
}
}
return getRaftMethod;
}
private static volatile io.grpc.MethodDescriptor getBatchRaftMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "BatchRaft",
requestType = org.tikv.kvproto.Tikvpb.BatchRaftMessage.class,
responseType = org.tikv.kvproto.RaftServerpb.Done.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor getBatchRaftMethod() {
io.grpc.MethodDescriptor getBatchRaftMethod;
if ((getBatchRaftMethod = TikvGrpc.getBatchRaftMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getBatchRaftMethod = TikvGrpc.getBatchRaftMethod) == null) {
TikvGrpc.getBatchRaftMethod = getBatchRaftMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchRaft"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Tikvpb.BatchRaftMessage.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.RaftServerpb.Done.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("BatchRaft"))
.build();
}
}
}
return getBatchRaftMethod;
}
private static volatile io.grpc.MethodDescriptor getSnapshotMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "Snapshot",
requestType = org.tikv.kvproto.RaftServerpb.SnapshotChunk.class,
responseType = org.tikv.kvproto.RaftServerpb.Done.class,
methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
public static io.grpc.MethodDescriptor getSnapshotMethod() {
io.grpc.MethodDescriptor getSnapshotMethod;
if ((getSnapshotMethod = TikvGrpc.getSnapshotMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getSnapshotMethod = TikvGrpc.getSnapshotMethod) == null) {
TikvGrpc.getSnapshotMethod = getSnapshotMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "Snapshot"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.RaftServerpb.SnapshotChunk.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.RaftServerpb.Done.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("Snapshot"))
.build();
}
}
}
return getSnapshotMethod;
}
private static volatile io.grpc.MethodDescriptor getSplitRegionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "SplitRegion",
requestType = org.tikv.kvproto.Kvrpcpb.SplitRegionRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.SplitRegionResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getSplitRegionMethod() {
io.grpc.MethodDescriptor getSplitRegionMethod;
if ((getSplitRegionMethod = TikvGrpc.getSplitRegionMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getSplitRegionMethod = TikvGrpc.getSplitRegionMethod) == null) {
TikvGrpc.getSplitRegionMethod = getSplitRegionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "SplitRegion"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.SplitRegionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.SplitRegionResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("SplitRegion"))
.build();
}
}
}
return getSplitRegionMethod;
}
private static volatile io.grpc.MethodDescriptor getReadIndexMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "ReadIndex",
requestType = org.tikv.kvproto.Kvrpcpb.ReadIndexRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.ReadIndexResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getReadIndexMethod() {
io.grpc.MethodDescriptor getReadIndexMethod;
if ((getReadIndexMethod = TikvGrpc.getReadIndexMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getReadIndexMethod = TikvGrpc.getReadIndexMethod) == null) {
TikvGrpc.getReadIndexMethod = getReadIndexMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadIndex"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ReadIndexRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.ReadIndexResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("ReadIndex"))
.build();
}
}
}
return getReadIndexMethod;
}
private static volatile io.grpc.MethodDescriptor getMvccGetByKeyMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "MvccGetByKey",
requestType = org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.MvccGetByKeyResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getMvccGetByKeyMethod() {
io.grpc.MethodDescriptor getMvccGetByKeyMethod;
if ((getMvccGetByKeyMethod = TikvGrpc.getMvccGetByKeyMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getMvccGetByKeyMethod = TikvGrpc.getMvccGetByKeyMethod) == null) {
TikvGrpc.getMvccGetByKeyMethod = getMvccGetByKeyMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "MvccGetByKey"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.MvccGetByKeyResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("MvccGetByKey"))
.build();
}
}
}
return getMvccGetByKeyMethod;
}
private static volatile io.grpc.MethodDescriptor getMvccGetByStartTsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "MvccGetByStartTs",
requestType = org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getMvccGetByStartTsMethod() {
io.grpc.MethodDescriptor getMvccGetByStartTsMethod;
if ((getMvccGetByStartTsMethod = TikvGrpc.getMvccGetByStartTsMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getMvccGetByStartTsMethod = TikvGrpc.getMvccGetByStartTsMethod) == null) {
TikvGrpc.getMvccGetByStartTsMethod = getMvccGetByStartTsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "MvccGetByStartTs"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("MvccGetByStartTs"))
.build();
}
}
}
return getMvccGetByStartTsMethod;
}
private static volatile io.grpc.MethodDescriptor getBatchCommandsMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "BatchCommands",
requestType = org.tikv.kvproto.Tikvpb.BatchCommandsRequest.class,
responseType = org.tikv.kvproto.Tikvpb.BatchCommandsResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
public static io.grpc.MethodDescriptor getBatchCommandsMethod() {
io.grpc.MethodDescriptor getBatchCommandsMethod;
if ((getBatchCommandsMethod = TikvGrpc.getBatchCommandsMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getBatchCommandsMethod = TikvGrpc.getBatchCommandsMethod) == null) {
TikvGrpc.getBatchCommandsMethod = getBatchCommandsMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCommands"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Tikvpb.BatchCommandsRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Tikvpb.BatchCommandsResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("BatchCommands"))
.build();
}
}
}
return getBatchCommandsMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TikvStub newStub(io.grpc.Channel channel) {
return new TikvStub(channel);
}
/**
* Creates a new blocking-style stub that supports unary and streaming output calls on the service
*/
public static TikvBlockingStub newBlockingStub(
io.grpc.Channel channel) {
return new TikvBlockingStub(channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TikvFutureStub newFutureStub(
io.grpc.Channel channel) {
return new TikvFutureStub(channel);
}
/**
* * Serve as a distributed kv database.
*
*/
public static abstract class TikvImplBase implements io.grpc.BindableService {
/**
* * KV commands with mvcc/txn supported.
*
*/
public void kvGet(org.tikv.kvproto.Kvrpcpb.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvGetMethod(), responseObserver);
}
/**
*/
public void kvScan(org.tikv.kvproto.Kvrpcpb.ScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvScanMethod(), responseObserver);
}
/**
*/
public void kvPrewrite(org.tikv.kvproto.Kvrpcpb.PrewriteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvPrewriteMethod(), responseObserver);
}
/**
*/
public void kvPessimisticLock(org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvPessimisticLockMethod(), responseObserver);
}
/**
*/
public void kVPessimisticRollback(org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKVPessimisticRollbackMethod(), responseObserver);
}
/**
*/
public void kvTxnHeartBeat(org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvTxnHeartBeatMethod(), responseObserver);
}
/**
*/
public void kvCheckTxnStatus(org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvCheckTxnStatusMethod(), responseObserver);
}
/**
*/
public void kvCommit(org.tikv.kvproto.Kvrpcpb.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvCommitMethod(), responseObserver);
}
/**
*/
public void kvImport(org.tikv.kvproto.Kvrpcpb.ImportRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvImportMethod(), responseObserver);
}
/**
*/
public void kvCleanup(org.tikv.kvproto.Kvrpcpb.CleanupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvCleanupMethod(), responseObserver);
}
/**
*/
public void kvBatchGet(org.tikv.kvproto.Kvrpcpb.BatchGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvBatchGetMethod(), responseObserver);
}
/**
*/
public void kvBatchRollback(org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvBatchRollbackMethod(), responseObserver);
}
/**
*/
public void kvScanLock(org.tikv.kvproto.Kvrpcpb.ScanLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvScanLockMethod(), responseObserver);
}
/**
*/
public void kvResolveLock(org.tikv.kvproto.Kvrpcpb.ResolveLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvResolveLockMethod(), responseObserver);
}
/**
*/
public void kvGC(org.tikv.kvproto.Kvrpcpb.GCRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvGCMethod(), responseObserver);
}
/**
*/
public void kvDeleteRange(org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvDeleteRangeMethod(), responseObserver);
}
/**
* * RawKV commands.
*
*/
public void rawGet(org.tikv.kvproto.Kvrpcpb.RawGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawGetMethod(), responseObserver);
}
/**
*/
public void rawBatchGet(org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawBatchGetMethod(), responseObserver);
}
/**
*/
public void rawPut(org.tikv.kvproto.Kvrpcpb.RawPutRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawPutMethod(), responseObserver);
}
/**
*/
public void rawBatchPut(org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawBatchPutMethod(), responseObserver);
}
/**
*/
public void rawDelete(org.tikv.kvproto.Kvrpcpb.RawDeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawDeleteMethod(), responseObserver);
}
/**
*/
public void rawBatchDelete(org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawBatchDeleteMethod(), responseObserver);
}
/**
*/
public void rawScan(org.tikv.kvproto.Kvrpcpb.RawScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawScanMethod(), responseObserver);
}
/**
*/
public void rawDeleteRange(org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawDeleteRangeMethod(), responseObserver);
}
/**
*/
public void rawBatchScan(org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRawBatchScanMethod(), responseObserver);
}
/**
* * Store commands (to the whole tikv but not a certain region)
*
*/
public void unsafeDestroyRange(org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getUnsafeDestroyRangeMethod(), responseObserver);
}
/**
*/
public void registerLockObserver(org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRegisterLockObserverMethod(), responseObserver);
}
/**
*/
public void checkLockObserver(org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getCheckLockObserverMethod(), responseObserver);
}
/**
*/
public void removeLockObserver(org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getRemoveLockObserverMethod(), responseObserver);
}
/**
*/
public void physicalScanLock(org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getPhysicalScanLockMethod(), responseObserver);
}
/**
* * SQL push down commands.
*
*/
public void coprocessor(org.tikv.kvproto.Coprocessor.Request request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getCoprocessorMethod(), responseObserver);
}
/**
*/
public void coprocessorStream(org.tikv.kvproto.Coprocessor.Request request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getCoprocessorStreamMethod(), responseObserver);
}
/**
* * Raft commands (tikv <-> tikv).
*
*/
public io.grpc.stub.StreamObserver raft(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getRaftMethod(), responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver batchRaft(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getBatchRaftMethod(), responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver snapshot(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getSnapshotMethod(), responseObserver);
}
/**
* * Region commands.
*
*/
public void splitRegion(org.tikv.kvproto.Kvrpcpb.SplitRegionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getSplitRegionMethod(), responseObserver);
}
/**
*/
public void readIndex(org.tikv.kvproto.Kvrpcpb.ReadIndexRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getReadIndexMethod(), responseObserver);
}
/**
* * transaction debugger commands.
*
*/
public void mvccGetByKey(org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getMvccGetByKeyMethod(), responseObserver);
}
/**
*/
public void mvccGetByStartTs(org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getMvccGetByStartTsMethod(), responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver batchCommands(
io.grpc.stub.StreamObserver responseObserver) {
return asyncUnimplementedStreamingCall(getBatchCommandsMethod(), responseObserver);
}
@java.lang.Override public final io.grpc.ServerServiceDefinition bindService() {
return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
.addMethod(
getKvGetMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.GetRequest,
org.tikv.kvproto.Kvrpcpb.GetResponse>(
this, METHODID_KV_GET)))
.addMethod(
getKvScanMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.ScanRequest,
org.tikv.kvproto.Kvrpcpb.ScanResponse>(
this, METHODID_KV_SCAN)))
.addMethod(
getKvPrewriteMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.PrewriteRequest,
org.tikv.kvproto.Kvrpcpb.PrewriteResponse>(
this, METHODID_KV_PREWRITE)))
.addMethod(
getKvPessimisticLockMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest,
org.tikv.kvproto.Kvrpcpb.PessimisticLockResponse>(
this, METHODID_KV_PESSIMISTIC_LOCK)))
.addMethod(
getKVPessimisticRollbackMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest,
org.tikv.kvproto.Kvrpcpb.PessimisticRollbackResponse>(
this, METHODID_KVPESSIMISTIC_ROLLBACK)))
.addMethod(
getKvTxnHeartBeatMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest,
org.tikv.kvproto.Kvrpcpb.TxnHeartBeatResponse>(
this, METHODID_KV_TXN_HEART_BEAT)))
.addMethod(
getKvCheckTxnStatusMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest,
org.tikv.kvproto.Kvrpcpb.CheckTxnStatusResponse>(
this, METHODID_KV_CHECK_TXN_STATUS)))
.addMethod(
getKvCommitMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.CommitRequest,
org.tikv.kvproto.Kvrpcpb.CommitResponse>(
this, METHODID_KV_COMMIT)))
.addMethod(
getKvImportMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.ImportRequest,
org.tikv.kvproto.Kvrpcpb.ImportResponse>(
this, METHODID_KV_IMPORT)))
.addMethod(
getKvCleanupMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.CleanupRequest,
org.tikv.kvproto.Kvrpcpb.CleanupResponse>(
this, METHODID_KV_CLEANUP)))
.addMethod(
getKvBatchGetMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.BatchGetRequest,
org.tikv.kvproto.Kvrpcpb.BatchGetResponse>(
this, METHODID_KV_BATCH_GET)))
.addMethod(
getKvBatchRollbackMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest,
org.tikv.kvproto.Kvrpcpb.BatchRollbackResponse>(
this, METHODID_KV_BATCH_ROLLBACK)))
.addMethod(
getKvScanLockMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.ScanLockRequest,
org.tikv.kvproto.Kvrpcpb.ScanLockResponse>(
this, METHODID_KV_SCAN_LOCK)))
.addMethod(
getKvResolveLockMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.ResolveLockRequest,
org.tikv.kvproto.Kvrpcpb.ResolveLockResponse>(
this, METHODID_KV_RESOLVE_LOCK)))
.addMethod(
getKvGCMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.GCRequest,
org.tikv.kvproto.Kvrpcpb.GCResponse>(
this, METHODID_KV_GC)))
.addMethod(
getKvDeleteRangeMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest,
org.tikv.kvproto.Kvrpcpb.DeleteRangeResponse>(
this, METHODID_KV_DELETE_RANGE)))
.addMethod(
getRawGetMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawGetRequest,
org.tikv.kvproto.Kvrpcpb.RawGetResponse>(
this, METHODID_RAW_GET)))
.addMethod(
getRawBatchGetMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest,
org.tikv.kvproto.Kvrpcpb.RawBatchGetResponse>(
this, METHODID_RAW_BATCH_GET)))
.addMethod(
getRawPutMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawPutRequest,
org.tikv.kvproto.Kvrpcpb.RawPutResponse>(
this, METHODID_RAW_PUT)))
.addMethod(
getRawBatchPutMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest,
org.tikv.kvproto.Kvrpcpb.RawBatchPutResponse>(
this, METHODID_RAW_BATCH_PUT)))
.addMethod(
getRawDeleteMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawDeleteRequest,
org.tikv.kvproto.Kvrpcpb.RawDeleteResponse>(
this, METHODID_RAW_DELETE)))
.addMethod(
getRawBatchDeleteMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest,
org.tikv.kvproto.Kvrpcpb.RawBatchDeleteResponse>(
this, METHODID_RAW_BATCH_DELETE)))
.addMethod(
getRawScanMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawScanRequest,
org.tikv.kvproto.Kvrpcpb.RawScanResponse>(
this, METHODID_RAW_SCAN)))
.addMethod(
getRawDeleteRangeMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest,
org.tikv.kvproto.Kvrpcpb.RawDeleteRangeResponse>(
this, METHODID_RAW_DELETE_RANGE)))
.addMethod(
getRawBatchScanMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest,
org.tikv.kvproto.Kvrpcpb.RawBatchScanResponse>(
this, METHODID_RAW_BATCH_SCAN)))
.addMethod(
getUnsafeDestroyRangeMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest,
org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeResponse>(
this, METHODID_UNSAFE_DESTROY_RANGE)))
.addMethod(
getRegisterLockObserverMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest,
org.tikv.kvproto.Kvrpcpb.RegisterLockObserverResponse>(
this, METHODID_REGISTER_LOCK_OBSERVER)))
.addMethod(
getCheckLockObserverMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest,
org.tikv.kvproto.Kvrpcpb.CheckLockObserverResponse>(
this, METHODID_CHECK_LOCK_OBSERVER)))
.addMethod(
getRemoveLockObserverMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest,
org.tikv.kvproto.Kvrpcpb.RemoveLockObserverResponse>(
this, METHODID_REMOVE_LOCK_OBSERVER)))
.addMethod(
getPhysicalScanLockMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest,
org.tikv.kvproto.Kvrpcpb.PhysicalScanLockResponse>(
this, METHODID_PHYSICAL_SCAN_LOCK)))
.addMethod(
getCoprocessorMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Coprocessor.Request,
org.tikv.kvproto.Coprocessor.Response>(
this, METHODID_COPROCESSOR)))
.addMethod(
getCoprocessorStreamMethod(),
asyncServerStreamingCall(
new MethodHandlers<
org.tikv.kvproto.Coprocessor.Request,
org.tikv.kvproto.Coprocessor.Response>(
this, METHODID_COPROCESSOR_STREAM)))
.addMethod(
getRaftMethod(),
asyncClientStreamingCall(
new MethodHandlers<
org.tikv.kvproto.RaftServerpb.RaftMessage,
org.tikv.kvproto.RaftServerpb.Done>(
this, METHODID_RAFT)))
.addMethod(
getBatchRaftMethod(),
asyncClientStreamingCall(
new MethodHandlers<
org.tikv.kvproto.Tikvpb.BatchRaftMessage,
org.tikv.kvproto.RaftServerpb.Done>(
this, METHODID_BATCH_RAFT)))
.addMethod(
getSnapshotMethod(),
asyncClientStreamingCall(
new MethodHandlers<
org.tikv.kvproto.RaftServerpb.SnapshotChunk,
org.tikv.kvproto.RaftServerpb.Done>(
this, METHODID_SNAPSHOT)))
.addMethod(
getSplitRegionMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.SplitRegionRequest,
org.tikv.kvproto.Kvrpcpb.SplitRegionResponse>(
this, METHODID_SPLIT_REGION)))
.addMethod(
getReadIndexMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.ReadIndexRequest,
org.tikv.kvproto.Kvrpcpb.ReadIndexResponse>(
this, METHODID_READ_INDEX)))
.addMethod(
getMvccGetByKeyMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest,
org.tikv.kvproto.Kvrpcpb.MvccGetByKeyResponse>(
this, METHODID_MVCC_GET_BY_KEY)))
.addMethod(
getMvccGetByStartTsMethod(),
asyncUnaryCall(
new MethodHandlers<
org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest,
org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsResponse>(
this, METHODID_MVCC_GET_BY_START_TS)))
.addMethod(
getBatchCommandsMethod(),
asyncBidiStreamingCall(
new MethodHandlers<
org.tikv.kvproto.Tikvpb.BatchCommandsRequest,
org.tikv.kvproto.Tikvpb.BatchCommandsResponse>(
this, METHODID_BATCH_COMMANDS)))
.build();
}
}
/**
* * Serve as a distributed kv database.
*
*/
public static final class TikvStub extends io.grpc.stub.AbstractStub {
private TikvStub(io.grpc.Channel channel) {
super(channel);
}
private TikvStub(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
super(channel, callOptions);
}
@java.lang.Override
protected TikvStub build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) {
return new TikvStub(channel, callOptions);
}
/**
* * KV commands with mvcc/txn supported.
*
*/
public void kvGet(org.tikv.kvproto.Kvrpcpb.GetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvScan(org.tikv.kvproto.Kvrpcpb.ScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvScanMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvPrewrite(org.tikv.kvproto.Kvrpcpb.PrewriteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvPrewriteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvPessimisticLock(org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvPessimisticLockMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kVPessimisticRollback(org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKVPessimisticRollbackMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvTxnHeartBeat(org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvTxnHeartBeatMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvCheckTxnStatus(org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvCheckTxnStatusMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvCommit(org.tikv.kvproto.Kvrpcpb.CommitRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvCommitMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvImport(org.tikv.kvproto.Kvrpcpb.ImportRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvImportMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvCleanup(org.tikv.kvproto.Kvrpcpb.CleanupRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvCleanupMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvBatchGet(org.tikv.kvproto.Kvrpcpb.BatchGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvBatchGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvBatchRollback(org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvBatchRollbackMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvScanLock(org.tikv.kvproto.Kvrpcpb.ScanLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvScanLockMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvResolveLock(org.tikv.kvproto.Kvrpcpb.ResolveLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvResolveLockMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvGC(org.tikv.kvproto.Kvrpcpb.GCRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvGCMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void kvDeleteRange(org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getKvDeleteRangeMethod(), getCallOptions()), request, responseObserver);
}
/**
* * RawKV commands.
*
*/
public void rawGet(org.tikv.kvproto.Kvrpcpb.RawGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawBatchGet(org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawBatchGetMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawPut(org.tikv.kvproto.Kvrpcpb.RawPutRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawPutMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawBatchPut(org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawBatchPutMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawDelete(org.tikv.kvproto.Kvrpcpb.RawDeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawBatchDelete(org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawBatchDeleteMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawScan(org.tikv.kvproto.Kvrpcpb.RawScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawScanMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawDeleteRange(org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawDeleteRangeMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void rawBatchScan(org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRawBatchScanMethod(), getCallOptions()), request, responseObserver);
}
/**
* * Store commands (to the whole tikv but not a certain region)
*
*/
public void unsafeDestroyRange(org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getUnsafeDestroyRangeMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void registerLockObserver(org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRegisterLockObserverMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void checkLockObserver(org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCheckLockObserverMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void removeLockObserver(org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getRemoveLockObserverMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void physicalScanLock(org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getPhysicalScanLockMethod(), getCallOptions()), request, responseObserver);
}
/**
* * SQL push down commands.
*
*/
public void coprocessor(org.tikv.kvproto.Coprocessor.Request request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getCoprocessorMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void coprocessorStream(org.tikv.kvproto.Coprocessor.Request request,
io.grpc.stub.StreamObserver responseObserver) {
asyncServerStreamingCall(
getChannel().newCall(getCoprocessorStreamMethod(), getCallOptions()), request, responseObserver);
}
/**
* * Raft commands (tikv <-> tikv).
*
*/
public io.grpc.stub.StreamObserver raft(
io.grpc.stub.StreamObserver responseObserver) {
return asyncClientStreamingCall(
getChannel().newCall(getRaftMethod(), getCallOptions()), responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver batchRaft(
io.grpc.stub.StreamObserver responseObserver) {
return asyncClientStreamingCall(
getChannel().newCall(getBatchRaftMethod(), getCallOptions()), responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver snapshot(
io.grpc.stub.StreamObserver responseObserver) {
return asyncClientStreamingCall(
getChannel().newCall(getSnapshotMethod(), getCallOptions()), responseObserver);
}
/**
* * Region commands.
*
*/
public void splitRegion(org.tikv.kvproto.Kvrpcpb.SplitRegionRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getSplitRegionMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void readIndex(org.tikv.kvproto.Kvrpcpb.ReadIndexRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getReadIndexMethod(), getCallOptions()), request, responseObserver);
}
/**
* * transaction debugger commands.
*
*/
public void mvccGetByKey(org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getMvccGetByKeyMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public void mvccGetByStartTs(org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnaryCall(
getChannel().newCall(getMvccGetByStartTsMethod(), getCallOptions()), request, responseObserver);
}
/**
*/
public io.grpc.stub.StreamObserver batchCommands(
io.grpc.stub.StreamObserver