Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.tikv.kvproto.TikvGrpc Maven / Gradle / Ivy
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;
/**
*
* Key/value store API for TiKV.
*
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.29.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 getKvCheckSecondaryLocksMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "KvCheckSecondaryLocks",
requestType = org.tikv.kvproto.Kvrpcpb.CheckSecondaryLocksRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CheckSecondaryLocksResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getKvCheckSecondaryLocksMethod() {
io.grpc.MethodDescriptor getKvCheckSecondaryLocksMethod;
if ((getKvCheckSecondaryLocksMethod = TikvGrpc.getKvCheckSecondaryLocksMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getKvCheckSecondaryLocksMethod = TikvGrpc.getKvCheckSecondaryLocksMethod) == null) {
TikvGrpc.getKvCheckSecondaryLocksMethod = getKvCheckSecondaryLocksMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "KvCheckSecondaryLocks"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckSecondaryLocksRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckSecondaryLocksResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("KvCheckSecondaryLocks"))
.build();
}
}
}
return getKvCheckSecondaryLocksMethod;
}
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 getRawGetKeyTTLMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawGetKeyTTL",
requestType = org.tikv.kvproto.Kvrpcpb.RawGetKeyTTLRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawGetKeyTTLResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawGetKeyTTLMethod() {
io.grpc.MethodDescriptor getRawGetKeyTTLMethod;
if ((getRawGetKeyTTLMethod = TikvGrpc.getRawGetKeyTTLMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawGetKeyTTLMethod = TikvGrpc.getRawGetKeyTTLMethod) == null) {
TikvGrpc.getRawGetKeyTTLMethod = getRawGetKeyTTLMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawGetKeyTTL"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawGetKeyTTLRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawGetKeyTTLResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawGetKeyTTL"))
.build();
}
}
}
return getRawGetKeyTTLMethod;
}
private static volatile io.grpc.MethodDescriptor getRawCompareAndSwapMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "RawCompareAndSwap",
requestType = org.tikv.kvproto.Kvrpcpb.RawCASRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.RawCASResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getRawCompareAndSwapMethod() {
io.grpc.MethodDescriptor getRawCompareAndSwapMethod;
if ((getRawCompareAndSwapMethod = TikvGrpc.getRawCompareAndSwapMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getRawCompareAndSwapMethod = TikvGrpc.getRawCompareAndSwapMethod) == null) {
TikvGrpc.getRawCompareAndSwapMethod = getRawCompareAndSwapMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "RawCompareAndSwap"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawCASRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.RawCASResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("RawCompareAndSwap"))
.build();
}
}
}
return getRawCompareAndSwapMethod;
}
private static volatile io.grpc.MethodDescriptor getVerGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerGet",
requestType = org.tikv.kvproto.Kvrpcpb.VerGetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerGetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerGetMethod() {
io.grpc.MethodDescriptor getVerGetMethod;
if ((getVerGetMethod = TikvGrpc.getVerGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerGetMethod = TikvGrpc.getVerGetMethod) == null) {
TikvGrpc.getVerGetMethod = getVerGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerGetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerGetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerGet"))
.build();
}
}
}
return getVerGetMethod;
}
private static volatile io.grpc.MethodDescriptor getVerBatchGetMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerBatchGet",
requestType = org.tikv.kvproto.Kvrpcpb.VerBatchGetRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerBatchGetResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerBatchGetMethod() {
io.grpc.MethodDescriptor getVerBatchGetMethod;
if ((getVerBatchGetMethod = TikvGrpc.getVerBatchGetMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerBatchGetMethod = TikvGrpc.getVerBatchGetMethod) == null) {
TikvGrpc.getVerBatchGetMethod = getVerBatchGetMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerBatchGet"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerBatchGetRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerBatchGetResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerBatchGet"))
.build();
}
}
}
return getVerBatchGetMethod;
}
private static volatile io.grpc.MethodDescriptor getVerMutMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerMut",
requestType = org.tikv.kvproto.Kvrpcpb.VerMutRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerMutResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerMutMethod() {
io.grpc.MethodDescriptor getVerMutMethod;
if ((getVerMutMethod = TikvGrpc.getVerMutMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerMutMethod = TikvGrpc.getVerMutMethod) == null) {
TikvGrpc.getVerMutMethod = getVerMutMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerMut"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerMutRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerMutResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerMut"))
.build();
}
}
}
return getVerMutMethod;
}
private static volatile io.grpc.MethodDescriptor getVerBatchMutMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerBatchMut",
requestType = org.tikv.kvproto.Kvrpcpb.VerBatchMutRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerBatchMutResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerBatchMutMethod() {
io.grpc.MethodDescriptor getVerBatchMutMethod;
if ((getVerBatchMutMethod = TikvGrpc.getVerBatchMutMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerBatchMutMethod = TikvGrpc.getVerBatchMutMethod) == null) {
TikvGrpc.getVerBatchMutMethod = getVerBatchMutMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerBatchMut"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerBatchMutRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerBatchMutResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerBatchMut"))
.build();
}
}
}
return getVerBatchMutMethod;
}
private static volatile io.grpc.MethodDescriptor getVerScanMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerScan",
requestType = org.tikv.kvproto.Kvrpcpb.VerScanRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerScanResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerScanMethod() {
io.grpc.MethodDescriptor getVerScanMethod;
if ((getVerScanMethod = TikvGrpc.getVerScanMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerScanMethod = TikvGrpc.getVerScanMethod) == null) {
TikvGrpc.getVerScanMethod = getVerScanMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerScan"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerScanRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerScanResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerScan"))
.build();
}
}
}
return getVerScanMethod;
}
private static volatile io.grpc.MethodDescriptor getVerDeleteRangeMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "VerDeleteRange",
requestType = org.tikv.kvproto.Kvrpcpb.VerDeleteRangeRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.VerDeleteRangeResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getVerDeleteRangeMethod() {
io.grpc.MethodDescriptor getVerDeleteRangeMethod;
if ((getVerDeleteRangeMethod = TikvGrpc.getVerDeleteRangeMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getVerDeleteRangeMethod = TikvGrpc.getVerDeleteRangeMethod) == null) {
TikvGrpc.getVerDeleteRangeMethod = getVerDeleteRangeMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "VerDeleteRange"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerDeleteRangeRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.VerDeleteRangeResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("VerDeleteRange"))
.build();
}
}
}
return getVerDeleteRangeMethod;
}
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 getBatchCoprocessorMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "BatchCoprocessor",
requestType = org.tikv.kvproto.Coprocessor.BatchRequest.class,
responseType = org.tikv.kvproto.Coprocessor.BatchResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getBatchCoprocessorMethod() {
io.grpc.MethodDescriptor getBatchCoprocessorMethod;
if ((getBatchCoprocessorMethod = TikvGrpc.getBatchCoprocessorMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getBatchCoprocessorMethod = TikvGrpc.getBatchCoprocessorMethod) == null) {
TikvGrpc.getBatchCoprocessorMethod = getBatchCoprocessorMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "BatchCoprocessor"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.BatchRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Coprocessor.BatchResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("BatchCoprocessor"))
.build();
}
}
}
return getBatchCoprocessorMethod;
}
private static volatile io.grpc.MethodDescriptor getCoprocessorV2Method;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CoprocessorV2",
requestType = org.tikv.kvproto.CoprocessorV2.RawCoprocessorRequest.class,
responseType = org.tikv.kvproto.CoprocessorV2.RawCoprocessorResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCoprocessorV2Method() {
io.grpc.MethodDescriptor getCoprocessorV2Method;
if ((getCoprocessorV2Method = TikvGrpc.getCoprocessorV2Method) == null) {
synchronized (TikvGrpc.class) {
if ((getCoprocessorV2Method = TikvGrpc.getCoprocessorV2Method) == null) {
TikvGrpc.getCoprocessorV2Method = getCoprocessorV2Method =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CoprocessorV2"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.CoprocessorV2.RawCoprocessorRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.CoprocessorV2.RawCoprocessorResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("CoprocessorV2"))
.build();
}
}
}
return getCoprocessorV2Method;
}
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;
}
private static volatile io.grpc.MethodDescriptor getDispatchMPPTaskMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "DispatchMPPTask",
requestType = org.tikv.kvproto.Mpp.DispatchTaskRequest.class,
responseType = org.tikv.kvproto.Mpp.DispatchTaskResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getDispatchMPPTaskMethod() {
io.grpc.MethodDescriptor getDispatchMPPTaskMethod;
if ((getDispatchMPPTaskMethod = TikvGrpc.getDispatchMPPTaskMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getDispatchMPPTaskMethod = TikvGrpc.getDispatchMPPTaskMethod) == null) {
TikvGrpc.getDispatchMPPTaskMethod = getDispatchMPPTaskMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "DispatchMPPTask"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.DispatchTaskRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.DispatchTaskResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("DispatchMPPTask"))
.build();
}
}
}
return getDispatchMPPTaskMethod;
}
private static volatile io.grpc.MethodDescriptor getCancelMPPTaskMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CancelMPPTask",
requestType = org.tikv.kvproto.Mpp.CancelTaskRequest.class,
responseType = org.tikv.kvproto.Mpp.CancelTaskResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCancelMPPTaskMethod() {
io.grpc.MethodDescriptor getCancelMPPTaskMethod;
if ((getCancelMPPTaskMethod = TikvGrpc.getCancelMPPTaskMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getCancelMPPTaskMethod = TikvGrpc.getCancelMPPTaskMethod) == null) {
TikvGrpc.getCancelMPPTaskMethod = getCancelMPPTaskMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelMPPTask"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.CancelTaskRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.CancelTaskResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("CancelMPPTask"))
.build();
}
}
}
return getCancelMPPTaskMethod;
}
private static volatile io.grpc.MethodDescriptor getEstablishMPPConnectionMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "EstablishMPPConnection",
requestType = org.tikv.kvproto.Mpp.EstablishMPPConnectionRequest.class,
responseType = org.tikv.kvproto.Mpp.MPPDataPacket.class,
methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
public static io.grpc.MethodDescriptor getEstablishMPPConnectionMethod() {
io.grpc.MethodDescriptor getEstablishMPPConnectionMethod;
if ((getEstablishMPPConnectionMethod = TikvGrpc.getEstablishMPPConnectionMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getEstablishMPPConnectionMethod = TikvGrpc.getEstablishMPPConnectionMethod) == null) {
TikvGrpc.getEstablishMPPConnectionMethod = getEstablishMPPConnectionMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "EstablishMPPConnection"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.EstablishMPPConnectionRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Mpp.MPPDataPacket.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("EstablishMPPConnection"))
.build();
}
}
}
return getEstablishMPPConnectionMethod;
}
private static volatile io.grpc.MethodDescriptor getCheckLeaderMethod;
@io.grpc.stub.annotations.RpcMethod(
fullMethodName = SERVICE_NAME + '/' + "CheckLeader",
requestType = org.tikv.kvproto.Kvrpcpb.CheckLeaderRequest.class,
responseType = org.tikv.kvproto.Kvrpcpb.CheckLeaderResponse.class,
methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
public static io.grpc.MethodDescriptor getCheckLeaderMethod() {
io.grpc.MethodDescriptor getCheckLeaderMethod;
if ((getCheckLeaderMethod = TikvGrpc.getCheckLeaderMethod) == null) {
synchronized (TikvGrpc.class) {
if ((getCheckLeaderMethod = TikvGrpc.getCheckLeaderMethod) == null) {
TikvGrpc.getCheckLeaderMethod = getCheckLeaderMethod =
io.grpc.MethodDescriptor.newBuilder()
.setType(io.grpc.MethodDescriptor.MethodType.UNARY)
.setFullMethodName(generateFullMethodName(SERVICE_NAME, "CheckLeader"))
.setSampledToLocalTracing(true)
.setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckLeaderRequest.getDefaultInstance()))
.setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
org.tikv.kvproto.Kvrpcpb.CheckLeaderResponse.getDefaultInstance()))
.setSchemaDescriptor(new TikvMethodDescriptorSupplier("CheckLeader"))
.build();
}
}
}
return getCheckLeaderMethod;
}
/**
* Creates a new async stub that supports all call types for the service
*/
public static TikvStub newStub(io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TikvStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TikvStub(channel, callOptions);
}
};
return TikvStub.newStub(factory, 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) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TikvBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TikvBlockingStub(channel, callOptions);
}
};
return TikvBlockingStub.newStub(factory, channel);
}
/**
* Creates a new ListenableFuture-style stub that supports unary calls on the service
*/
public static TikvFutureStub newFutureStub(
io.grpc.Channel channel) {
io.grpc.stub.AbstractStub.StubFactory factory =
new io.grpc.stub.AbstractStub.StubFactory() {
@java.lang.Override
public TikvFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
return new TikvFutureStub(channel, callOptions);
}
};
return TikvFutureStub.newStub(factory, channel);
}
/**
*
* Key/value store API for TiKV.
*
*/
public static abstract class TikvImplBase implements io.grpc.BindableService {
/**
*
* Commands using a transactional interface.
*
*/
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 kvCheckSecondaryLocks(org.tikv.kvproto.Kvrpcpb.CheckSecondaryLocksRequest request,
io.grpc.stub.StreamObserver responseObserver) {
asyncUnimplementedUnaryCall(getKvCheckSecondaryLocksMethod(), 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);
}
/**
*
* Raw commands; no transaction support.
*
*/
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