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

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 responseObserver) { return asyncBidiStreamingCall( getChannel().newCall(getBatchCommandsMethod(), getCallOptions()), responseObserver); } } /** *
   * Serve as a distributed kv database.
   * 
*/ public static final class TikvBlockingStub extends io.grpc.stub.AbstractStub { private TikvBlockingStub(io.grpc.Channel channel) { super(channel); } private TikvBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected TikvBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TikvBlockingStub(channel, callOptions); } /** *
     * KV commands with mvcc/txn supported.
     * 
*/ public org.tikv.kvproto.Kvrpcpb.GetResponse kvGet(org.tikv.kvproto.Kvrpcpb.GetRequest request) { return blockingUnaryCall( getChannel(), getKvGetMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.ScanResponse kvScan(org.tikv.kvproto.Kvrpcpb.ScanRequest request) { return blockingUnaryCall( getChannel(), getKvScanMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.PrewriteResponse kvPrewrite(org.tikv.kvproto.Kvrpcpb.PrewriteRequest request) { return blockingUnaryCall( getChannel(), getKvPrewriteMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.PessimisticLockResponse kvPessimisticLock(org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest request) { return blockingUnaryCall( getChannel(), getKvPessimisticLockMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.PessimisticRollbackResponse kVPessimisticRollback(org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest request) { return blockingUnaryCall( getChannel(), getKVPessimisticRollbackMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.TxnHeartBeatResponse kvTxnHeartBeat(org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest request) { return blockingUnaryCall( getChannel(), getKvTxnHeartBeatMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.CheckTxnStatusResponse kvCheckTxnStatus(org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest request) { return blockingUnaryCall( getChannel(), getKvCheckTxnStatusMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.CommitResponse kvCommit(org.tikv.kvproto.Kvrpcpb.CommitRequest request) { return blockingUnaryCall( getChannel(), getKvCommitMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.ImportResponse kvImport(org.tikv.kvproto.Kvrpcpb.ImportRequest request) { return blockingUnaryCall( getChannel(), getKvImportMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.CleanupResponse kvCleanup(org.tikv.kvproto.Kvrpcpb.CleanupRequest request) { return blockingUnaryCall( getChannel(), getKvCleanupMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.BatchGetResponse kvBatchGet(org.tikv.kvproto.Kvrpcpb.BatchGetRequest request) { return blockingUnaryCall( getChannel(), getKvBatchGetMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.BatchRollbackResponse kvBatchRollback(org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest request) { return blockingUnaryCall( getChannel(), getKvBatchRollbackMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.ScanLockResponse kvScanLock(org.tikv.kvproto.Kvrpcpb.ScanLockRequest request) { return blockingUnaryCall( getChannel(), getKvScanLockMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.ResolveLockResponse kvResolveLock(org.tikv.kvproto.Kvrpcpb.ResolveLockRequest request) { return blockingUnaryCall( getChannel(), getKvResolveLockMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.GCResponse kvGC(org.tikv.kvproto.Kvrpcpb.GCRequest request) { return blockingUnaryCall( getChannel(), getKvGCMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.DeleteRangeResponse kvDeleteRange(org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest request) { return blockingUnaryCall( getChannel(), getKvDeleteRangeMethod(), getCallOptions(), request); } /** *
     * RawKV commands.
     * 
*/ public org.tikv.kvproto.Kvrpcpb.RawGetResponse rawGet(org.tikv.kvproto.Kvrpcpb.RawGetRequest request) { return blockingUnaryCall( getChannel(), getRawGetMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawBatchGetResponse rawBatchGet(org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest request) { return blockingUnaryCall( getChannel(), getRawBatchGetMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawPutResponse rawPut(org.tikv.kvproto.Kvrpcpb.RawPutRequest request) { return blockingUnaryCall( getChannel(), getRawPutMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawBatchPutResponse rawBatchPut(org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest request) { return blockingUnaryCall( getChannel(), getRawBatchPutMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawDeleteResponse rawDelete(org.tikv.kvproto.Kvrpcpb.RawDeleteRequest request) { return blockingUnaryCall( getChannel(), getRawDeleteMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawBatchDeleteResponse rawBatchDelete(org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest request) { return blockingUnaryCall( getChannel(), getRawBatchDeleteMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawScanResponse rawScan(org.tikv.kvproto.Kvrpcpb.RawScanRequest request) { return blockingUnaryCall( getChannel(), getRawScanMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawDeleteRangeResponse rawDeleteRange(org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest request) { return blockingUnaryCall( getChannel(), getRawDeleteRangeMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RawBatchScanResponse rawBatchScan(org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest request) { return blockingUnaryCall( getChannel(), getRawBatchScanMethod(), getCallOptions(), request); } /** *
     * Store commands (to the whole tikv but not a certain region)
     * 
*/ public org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeResponse unsafeDestroyRange(org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest request) { return blockingUnaryCall( getChannel(), getUnsafeDestroyRangeMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RegisterLockObserverResponse registerLockObserver(org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest request) { return blockingUnaryCall( getChannel(), getRegisterLockObserverMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.CheckLockObserverResponse checkLockObserver(org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest request) { return blockingUnaryCall( getChannel(), getCheckLockObserverMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.RemoveLockObserverResponse removeLockObserver(org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest request) { return blockingUnaryCall( getChannel(), getRemoveLockObserverMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.PhysicalScanLockResponse physicalScanLock(org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest request) { return blockingUnaryCall( getChannel(), getPhysicalScanLockMethod(), getCallOptions(), request); } /** *
     * SQL push down commands.
     * 
*/ public org.tikv.kvproto.Coprocessor.Response coprocessor(org.tikv.kvproto.Coprocessor.Request request) { return blockingUnaryCall( getChannel(), getCoprocessorMethod(), getCallOptions(), request); } /** */ public java.util.Iterator coprocessorStream( org.tikv.kvproto.Coprocessor.Request request) { return blockingServerStreamingCall( getChannel(), getCoprocessorStreamMethod(), getCallOptions(), request); } /** *
     * Region commands.
     * 
*/ public org.tikv.kvproto.Kvrpcpb.SplitRegionResponse splitRegion(org.tikv.kvproto.Kvrpcpb.SplitRegionRequest request) { return blockingUnaryCall( getChannel(), getSplitRegionMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.ReadIndexResponse readIndex(org.tikv.kvproto.Kvrpcpb.ReadIndexRequest request) { return blockingUnaryCall( getChannel(), getReadIndexMethod(), getCallOptions(), request); } /** *
     * transaction debugger commands.
     * 
*/ public org.tikv.kvproto.Kvrpcpb.MvccGetByKeyResponse mvccGetByKey(org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest request) { return blockingUnaryCall( getChannel(), getMvccGetByKeyMethod(), getCallOptions(), request); } /** */ public org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsResponse mvccGetByStartTs(org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest request) { return blockingUnaryCall( getChannel(), getMvccGetByStartTsMethod(), getCallOptions(), request); } } /** *
   * Serve as a distributed kv database.
   * 
*/ public static final class TikvFutureStub extends io.grpc.stub.AbstractStub { private TikvFutureStub(io.grpc.Channel channel) { super(channel); } private TikvFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected TikvFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TikvFutureStub(channel, callOptions); } /** *
     * KV commands with mvcc/txn supported.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture kvGet( org.tikv.kvproto.Kvrpcpb.GetRequest request) { return futureUnaryCall( getChannel().newCall(getKvGetMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvScan( org.tikv.kvproto.Kvrpcpb.ScanRequest request) { return futureUnaryCall( getChannel().newCall(getKvScanMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvPrewrite( org.tikv.kvproto.Kvrpcpb.PrewriteRequest request) { return futureUnaryCall( getChannel().newCall(getKvPrewriteMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvPessimisticLock( org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest request) { return futureUnaryCall( getChannel().newCall(getKvPessimisticLockMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kVPessimisticRollback( org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest request) { return futureUnaryCall( getChannel().newCall(getKVPessimisticRollbackMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvTxnHeartBeat( org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest request) { return futureUnaryCall( getChannel().newCall(getKvTxnHeartBeatMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvCheckTxnStatus( org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest request) { return futureUnaryCall( getChannel().newCall(getKvCheckTxnStatusMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvCommit( org.tikv.kvproto.Kvrpcpb.CommitRequest request) { return futureUnaryCall( getChannel().newCall(getKvCommitMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvImport( org.tikv.kvproto.Kvrpcpb.ImportRequest request) { return futureUnaryCall( getChannel().newCall(getKvImportMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvCleanup( org.tikv.kvproto.Kvrpcpb.CleanupRequest request) { return futureUnaryCall( getChannel().newCall(getKvCleanupMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvBatchGet( org.tikv.kvproto.Kvrpcpb.BatchGetRequest request) { return futureUnaryCall( getChannel().newCall(getKvBatchGetMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvBatchRollback( org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest request) { return futureUnaryCall( getChannel().newCall(getKvBatchRollbackMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvScanLock( org.tikv.kvproto.Kvrpcpb.ScanLockRequest request) { return futureUnaryCall( getChannel().newCall(getKvScanLockMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvResolveLock( org.tikv.kvproto.Kvrpcpb.ResolveLockRequest request) { return futureUnaryCall( getChannel().newCall(getKvResolveLockMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvGC( org.tikv.kvproto.Kvrpcpb.GCRequest request) { return futureUnaryCall( getChannel().newCall(getKvGCMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture kvDeleteRange( org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest request) { return futureUnaryCall( getChannel().newCall(getKvDeleteRangeMethod(), getCallOptions()), request); } /** *
     * RawKV commands.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture rawGet( org.tikv.kvproto.Kvrpcpb.RawGetRequest request) { return futureUnaryCall( getChannel().newCall(getRawGetMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawBatchGet( org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest request) { return futureUnaryCall( getChannel().newCall(getRawBatchGetMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawPut( org.tikv.kvproto.Kvrpcpb.RawPutRequest request) { return futureUnaryCall( getChannel().newCall(getRawPutMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawBatchPut( org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest request) { return futureUnaryCall( getChannel().newCall(getRawBatchPutMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawDelete( org.tikv.kvproto.Kvrpcpb.RawDeleteRequest request) { return futureUnaryCall( getChannel().newCall(getRawDeleteMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawBatchDelete( org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest request) { return futureUnaryCall( getChannel().newCall(getRawBatchDeleteMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawScan( org.tikv.kvproto.Kvrpcpb.RawScanRequest request) { return futureUnaryCall( getChannel().newCall(getRawScanMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawDeleteRange( org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest request) { return futureUnaryCall( getChannel().newCall(getRawDeleteRangeMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture rawBatchScan( org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest request) { return futureUnaryCall( getChannel().newCall(getRawBatchScanMethod(), getCallOptions()), request); } /** *
     * Store commands (to the whole tikv but not a certain region)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture unsafeDestroyRange( org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest request) { return futureUnaryCall( getChannel().newCall(getUnsafeDestroyRangeMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture registerLockObserver( org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest request) { return futureUnaryCall( getChannel().newCall(getRegisterLockObserverMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture checkLockObserver( org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest request) { return futureUnaryCall( getChannel().newCall(getCheckLockObserverMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture removeLockObserver( org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest request) { return futureUnaryCall( getChannel().newCall(getRemoveLockObserverMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture physicalScanLock( org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest request) { return futureUnaryCall( getChannel().newCall(getPhysicalScanLockMethod(), getCallOptions()), request); } /** *
     * SQL push down commands.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture coprocessor( org.tikv.kvproto.Coprocessor.Request request) { return futureUnaryCall( getChannel().newCall(getCoprocessorMethod(), getCallOptions()), request); } /** *
     * Region commands.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture splitRegion( org.tikv.kvproto.Kvrpcpb.SplitRegionRequest request) { return futureUnaryCall( getChannel().newCall(getSplitRegionMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture readIndex( org.tikv.kvproto.Kvrpcpb.ReadIndexRequest request) { return futureUnaryCall( getChannel().newCall(getReadIndexMethod(), getCallOptions()), request); } /** *
     * transaction debugger commands.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture mvccGetByKey( org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest request) { return futureUnaryCall( getChannel().newCall(getMvccGetByKeyMethod(), getCallOptions()), request); } /** */ public com.google.common.util.concurrent.ListenableFuture mvccGetByStartTs( org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest request) { return futureUnaryCall( getChannel().newCall(getMvccGetByStartTsMethod(), getCallOptions()), request); } } private static final int METHODID_KV_GET = 0; private static final int METHODID_KV_SCAN = 1; private static final int METHODID_KV_PREWRITE = 2; private static final int METHODID_KV_PESSIMISTIC_LOCK = 3; private static final int METHODID_KVPESSIMISTIC_ROLLBACK = 4; private static final int METHODID_KV_TXN_HEART_BEAT = 5; private static final int METHODID_KV_CHECK_TXN_STATUS = 6; private static final int METHODID_KV_COMMIT = 7; private static final int METHODID_KV_IMPORT = 8; private static final int METHODID_KV_CLEANUP = 9; private static final int METHODID_KV_BATCH_GET = 10; private static final int METHODID_KV_BATCH_ROLLBACK = 11; private static final int METHODID_KV_SCAN_LOCK = 12; private static final int METHODID_KV_RESOLVE_LOCK = 13; private static final int METHODID_KV_GC = 14; private static final int METHODID_KV_DELETE_RANGE = 15; private static final int METHODID_RAW_GET = 16; private static final int METHODID_RAW_BATCH_GET = 17; private static final int METHODID_RAW_PUT = 18; private static final int METHODID_RAW_BATCH_PUT = 19; private static final int METHODID_RAW_DELETE = 20; private static final int METHODID_RAW_BATCH_DELETE = 21; private static final int METHODID_RAW_SCAN = 22; private static final int METHODID_RAW_DELETE_RANGE = 23; private static final int METHODID_RAW_BATCH_SCAN = 24; private static final int METHODID_UNSAFE_DESTROY_RANGE = 25; private static final int METHODID_REGISTER_LOCK_OBSERVER = 26; private static final int METHODID_CHECK_LOCK_OBSERVER = 27; private static final int METHODID_REMOVE_LOCK_OBSERVER = 28; private static final int METHODID_PHYSICAL_SCAN_LOCK = 29; private static final int METHODID_COPROCESSOR = 30; private static final int METHODID_COPROCESSOR_STREAM = 31; private static final int METHODID_SPLIT_REGION = 32; private static final int METHODID_READ_INDEX = 33; private static final int METHODID_MVCC_GET_BY_KEY = 34; private static final int METHODID_MVCC_GET_BY_START_TS = 35; private static final int METHODID_RAFT = 36; private static final int METHODID_BATCH_RAFT = 37; private static final int METHODID_SNAPSHOT = 38; private static final int METHODID_BATCH_COMMANDS = 39; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final TikvImplBase serviceImpl; private final int methodId; MethodHandlers(TikvImplBase serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_KV_GET: serviceImpl.kvGet((org.tikv.kvproto.Kvrpcpb.GetRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_SCAN: serviceImpl.kvScan((org.tikv.kvproto.Kvrpcpb.ScanRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_PREWRITE: serviceImpl.kvPrewrite((org.tikv.kvproto.Kvrpcpb.PrewriteRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_PESSIMISTIC_LOCK: serviceImpl.kvPessimisticLock((org.tikv.kvproto.Kvrpcpb.PessimisticLockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KVPESSIMISTIC_ROLLBACK: serviceImpl.kVPessimisticRollback((org.tikv.kvproto.Kvrpcpb.PessimisticRollbackRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_TXN_HEART_BEAT: serviceImpl.kvTxnHeartBeat((org.tikv.kvproto.Kvrpcpb.TxnHeartBeatRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_CHECK_TXN_STATUS: serviceImpl.kvCheckTxnStatus((org.tikv.kvproto.Kvrpcpb.CheckTxnStatusRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_COMMIT: serviceImpl.kvCommit((org.tikv.kvproto.Kvrpcpb.CommitRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_IMPORT: serviceImpl.kvImport((org.tikv.kvproto.Kvrpcpb.ImportRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_CLEANUP: serviceImpl.kvCleanup((org.tikv.kvproto.Kvrpcpb.CleanupRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_BATCH_GET: serviceImpl.kvBatchGet((org.tikv.kvproto.Kvrpcpb.BatchGetRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_BATCH_ROLLBACK: serviceImpl.kvBatchRollback((org.tikv.kvproto.Kvrpcpb.BatchRollbackRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_SCAN_LOCK: serviceImpl.kvScanLock((org.tikv.kvproto.Kvrpcpb.ScanLockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_RESOLVE_LOCK: serviceImpl.kvResolveLock((org.tikv.kvproto.Kvrpcpb.ResolveLockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_GC: serviceImpl.kvGC((org.tikv.kvproto.Kvrpcpb.GCRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KV_DELETE_RANGE: serviceImpl.kvDeleteRange((org.tikv.kvproto.Kvrpcpb.DeleteRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_GET: serviceImpl.rawGet((org.tikv.kvproto.Kvrpcpb.RawGetRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_BATCH_GET: serviceImpl.rawBatchGet((org.tikv.kvproto.Kvrpcpb.RawBatchGetRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_PUT: serviceImpl.rawPut((org.tikv.kvproto.Kvrpcpb.RawPutRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_BATCH_PUT: serviceImpl.rawBatchPut((org.tikv.kvproto.Kvrpcpb.RawBatchPutRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_DELETE: serviceImpl.rawDelete((org.tikv.kvproto.Kvrpcpb.RawDeleteRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_BATCH_DELETE: serviceImpl.rawBatchDelete((org.tikv.kvproto.Kvrpcpb.RawBatchDeleteRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_SCAN: serviceImpl.rawScan((org.tikv.kvproto.Kvrpcpb.RawScanRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_DELETE_RANGE: serviceImpl.rawDeleteRange((org.tikv.kvproto.Kvrpcpb.RawDeleteRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RAW_BATCH_SCAN: serviceImpl.rawBatchScan((org.tikv.kvproto.Kvrpcpb.RawBatchScanRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_UNSAFE_DESTROY_RANGE: serviceImpl.unsafeDestroyRange((org.tikv.kvproto.Kvrpcpb.UnsafeDestroyRangeRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REGISTER_LOCK_OBSERVER: serviceImpl.registerLockObserver((org.tikv.kvproto.Kvrpcpb.RegisterLockObserverRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CHECK_LOCK_OBSERVER: serviceImpl.checkLockObserver((org.tikv.kvproto.Kvrpcpb.CheckLockObserverRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_REMOVE_LOCK_OBSERVER: serviceImpl.removeLockObserver((org.tikv.kvproto.Kvrpcpb.RemoveLockObserverRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PHYSICAL_SCAN_LOCK: serviceImpl.physicalScanLock((org.tikv.kvproto.Kvrpcpb.PhysicalScanLockRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPROCESSOR: serviceImpl.coprocessor((org.tikv.kvproto.Coprocessor.Request) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPROCESSOR_STREAM: serviceImpl.coprocessorStream((org.tikv.kvproto.Coprocessor.Request) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SPLIT_REGION: serviceImpl.splitRegion((org.tikv.kvproto.Kvrpcpb.SplitRegionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_READ_INDEX: serviceImpl.readIndex((org.tikv.kvproto.Kvrpcpb.ReadIndexRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MVCC_GET_BY_KEY: serviceImpl.mvccGetByKey((org.tikv.kvproto.Kvrpcpb.MvccGetByKeyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MVCC_GET_BY_START_TS: serviceImpl.mvccGetByStartTs((org.tikv.kvproto.Kvrpcpb.MvccGetByStartTsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_RAFT: return (io.grpc.stub.StreamObserver) serviceImpl.raft( (io.grpc.stub.StreamObserver) responseObserver); case METHODID_BATCH_RAFT: return (io.grpc.stub.StreamObserver) serviceImpl.batchRaft( (io.grpc.stub.StreamObserver) responseObserver); case METHODID_SNAPSHOT: return (io.grpc.stub.StreamObserver) serviceImpl.snapshot( (io.grpc.stub.StreamObserver) responseObserver); case METHODID_BATCH_COMMANDS: return (io.grpc.stub.StreamObserver) serviceImpl.batchCommands( (io.grpc.stub.StreamObserver) responseObserver); default: throw new AssertionError(); } } } private static abstract class TikvBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { TikvBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return org.tikv.kvproto.Tikvpb.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("Tikv"); } } private static final class TikvFileDescriptorSupplier extends TikvBaseDescriptorSupplier { TikvFileDescriptorSupplier() {} } private static final class TikvMethodDescriptorSupplier extends TikvBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final String methodName; TikvMethodDescriptorSupplier(String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (TikvGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new TikvFileDescriptorSupplier()) .addMethod(getKvGetMethod()) .addMethod(getKvScanMethod()) .addMethod(getKvPrewriteMethod()) .addMethod(getKvPessimisticLockMethod()) .addMethod(getKVPessimisticRollbackMethod()) .addMethod(getKvTxnHeartBeatMethod()) .addMethod(getKvCheckTxnStatusMethod()) .addMethod(getKvCommitMethod()) .addMethod(getKvImportMethod()) .addMethod(getKvCleanupMethod()) .addMethod(getKvBatchGetMethod()) .addMethod(getKvBatchRollbackMethod()) .addMethod(getKvScanLockMethod()) .addMethod(getKvResolveLockMethod()) .addMethod(getKvGCMethod()) .addMethod(getKvDeleteRangeMethod()) .addMethod(getRawGetMethod()) .addMethod(getRawBatchGetMethod()) .addMethod(getRawPutMethod()) .addMethod(getRawBatchPutMethod()) .addMethod(getRawDeleteMethod()) .addMethod(getRawBatchDeleteMethod()) .addMethod(getRawScanMethod()) .addMethod(getRawDeleteRangeMethod()) .addMethod(getRawBatchScanMethod()) .addMethod(getUnsafeDestroyRangeMethod()) .addMethod(getRegisterLockObserverMethod()) .addMethod(getCheckLockObserverMethod()) .addMethod(getRemoveLockObserverMethod()) .addMethod(getPhysicalScanLockMethod()) .addMethod(getCoprocessorMethod()) .addMethod(getCoprocessorStreamMethod()) .addMethod(getRaftMethod()) .addMethod(getBatchRaftMethod()) .addMethod(getSnapshotMethod()) .addMethod(getSplitRegionMethod()) .addMethod(getReadIndexMethod()) .addMethod(getMvccGetByKeyMethod()) .addMethod(getMvccGetByStartTsMethod()) .addMethod(getBatchCommandsMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy