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

tech.ydb.proto.table.v1.TableServiceGrpc Maven / Gradle / Ivy

The newest version!
package tech.ydb.proto.table.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 */
@javax.annotation.Generated(
    value = "by gRPC proto compiler (version 1.59.1)",
    comments = "Source: ydb_table_v1.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class TableServiceGrpc {

  private TableServiceGrpc() {}

  public static final java.lang.String SERVICE_NAME = "Ydb.Table.V1.TableService";

  // Static method descriptors that strictly reflect the proto.
  private static volatile io.grpc.MethodDescriptor getCreateSessionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateSession",
      requestType = tech.ydb.proto.table.YdbTable.CreateSessionRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.CreateSessionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateSessionMethod() {
    io.grpc.MethodDescriptor getCreateSessionMethod;
    if ((getCreateSessionMethod = TableServiceGrpc.getCreateSessionMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getCreateSessionMethod = TableServiceGrpc.getCreateSessionMethod) == null) {
          TableServiceGrpc.getCreateSessionMethod = getCreateSessionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSession"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CreateSessionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CreateSessionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("CreateSession"))
              .build();
        }
      }
    }
    return getCreateSessionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteSessionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteSession",
      requestType = tech.ydb.proto.table.YdbTable.DeleteSessionRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.DeleteSessionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteSessionMethod() {
    io.grpc.MethodDescriptor getDeleteSessionMethod;
    if ((getDeleteSessionMethod = TableServiceGrpc.getDeleteSessionMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getDeleteSessionMethod = TableServiceGrpc.getDeleteSessionMethod) == null) {
          TableServiceGrpc.getDeleteSessionMethod = getDeleteSessionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteSession"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DeleteSessionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DeleteSessionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("DeleteSession"))
              .build();
        }
      }
    }
    return getDeleteSessionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getKeepAliveMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "KeepAlive",
      requestType = tech.ydb.proto.table.YdbTable.KeepAliveRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.KeepAliveResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getKeepAliveMethod() {
    io.grpc.MethodDescriptor getKeepAliveMethod;
    if ((getKeepAliveMethod = TableServiceGrpc.getKeepAliveMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getKeepAliveMethod = TableServiceGrpc.getKeepAliveMethod) == null) {
          TableServiceGrpc.getKeepAliveMethod = getKeepAliveMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "KeepAlive"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.KeepAliveRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.KeepAliveResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("KeepAlive"))
              .build();
        }
      }
    }
    return getKeepAliveMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateTable",
      requestType = tech.ydb.proto.table.YdbTable.CreateTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.CreateTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateTableMethod() {
    io.grpc.MethodDescriptor getCreateTableMethod;
    if ((getCreateTableMethod = TableServiceGrpc.getCreateTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getCreateTableMethod = TableServiceGrpc.getCreateTableMethod) == null) {
          TableServiceGrpc.getCreateTableMethod = getCreateTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CreateTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CreateTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("CreateTable"))
              .build();
        }
      }
    }
    return getCreateTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDropTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DropTable",
      requestType = tech.ydb.proto.table.YdbTable.DropTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.DropTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDropTableMethod() {
    io.grpc.MethodDescriptor getDropTableMethod;
    if ((getDropTableMethod = TableServiceGrpc.getDropTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getDropTableMethod = TableServiceGrpc.getDropTableMethod) == null) {
          TableServiceGrpc.getDropTableMethod = getDropTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DropTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DropTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DropTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("DropTable"))
              .build();
        }
      }
    }
    return getDropTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getAlterTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "AlterTable",
      requestType = tech.ydb.proto.table.YdbTable.AlterTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.AlterTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getAlterTableMethod() {
    io.grpc.MethodDescriptor getAlterTableMethod;
    if ((getAlterTableMethod = TableServiceGrpc.getAlterTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getAlterTableMethod = TableServiceGrpc.getAlterTableMethod) == null) {
          TableServiceGrpc.getAlterTableMethod = getAlterTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "AlterTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.AlterTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.AlterTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("AlterTable"))
              .build();
        }
      }
    }
    return getAlterTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCopyTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CopyTable",
      requestType = tech.ydb.proto.table.YdbTable.CopyTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.CopyTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCopyTableMethod() {
    io.grpc.MethodDescriptor getCopyTableMethod;
    if ((getCopyTableMethod = TableServiceGrpc.getCopyTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getCopyTableMethod = TableServiceGrpc.getCopyTableMethod) == null) {
          TableServiceGrpc.getCopyTableMethod = getCopyTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CopyTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CopyTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("CopyTable"))
              .build();
        }
      }
    }
    return getCopyTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCopyTablesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CopyTables",
      requestType = tech.ydb.proto.table.YdbTable.CopyTablesRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.CopyTablesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCopyTablesMethod() {
    io.grpc.MethodDescriptor getCopyTablesMethod;
    if ((getCopyTablesMethod = TableServiceGrpc.getCopyTablesMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getCopyTablesMethod = TableServiceGrpc.getCopyTablesMethod) == null) {
          TableServiceGrpc.getCopyTablesMethod = getCopyTablesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CopyTables"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CopyTablesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CopyTablesResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("CopyTables"))
              .build();
        }
      }
    }
    return getCopyTablesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRenameTablesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RenameTables",
      requestType = tech.ydb.proto.table.YdbTable.RenameTablesRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.RenameTablesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRenameTablesMethod() {
    io.grpc.MethodDescriptor getRenameTablesMethod;
    if ((getRenameTablesMethod = TableServiceGrpc.getRenameTablesMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getRenameTablesMethod = TableServiceGrpc.getRenameTablesMethod) == null) {
          TableServiceGrpc.getRenameTablesMethod = getRenameTablesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RenameTables"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.RenameTablesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.RenameTablesResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("RenameTables"))
              .build();
        }
      }
    }
    return getRenameTablesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeTable",
      requestType = tech.ydb.proto.table.YdbTable.DescribeTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.DescribeTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeTableMethod() {
    io.grpc.MethodDescriptor getDescribeTableMethod;
    if ((getDescribeTableMethod = TableServiceGrpc.getDescribeTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getDescribeTableMethod = TableServiceGrpc.getDescribeTableMethod) == null) {
          TableServiceGrpc.getDescribeTableMethod = getDescribeTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DescribeTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DescribeTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("DescribeTable"))
              .build();
        }
      }
    }
    return getDescribeTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExplainDataQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExplainDataQuery",
      requestType = tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExplainDataQueryMethod() {
    io.grpc.MethodDescriptor getExplainDataQueryMethod;
    if ((getExplainDataQueryMethod = TableServiceGrpc.getExplainDataQueryMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getExplainDataQueryMethod = TableServiceGrpc.getExplainDataQueryMethod) == null) {
          TableServiceGrpc.getExplainDataQueryMethod = getExplainDataQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExplainDataQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("ExplainDataQuery"))
              .build();
        }
      }
    }
    return getExplainDataQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getPrepareDataQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "PrepareDataQuery",
      requestType = tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getPrepareDataQueryMethod() {
    io.grpc.MethodDescriptor getPrepareDataQueryMethod;
    if ((getPrepareDataQueryMethod = TableServiceGrpc.getPrepareDataQueryMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getPrepareDataQueryMethod = TableServiceGrpc.getPrepareDataQueryMethod) == null) {
          TableServiceGrpc.getPrepareDataQueryMethod = getPrepareDataQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "PrepareDataQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("PrepareDataQuery"))
              .build();
        }
      }
    }
    return getPrepareDataQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExecuteDataQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExecuteDataQuery",
      requestType = tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExecuteDataQueryMethod() {
    io.grpc.MethodDescriptor getExecuteDataQueryMethod;
    if ((getExecuteDataQueryMethod = TableServiceGrpc.getExecuteDataQueryMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getExecuteDataQueryMethod = TableServiceGrpc.getExecuteDataQueryMethod) == null) {
          TableServiceGrpc.getExecuteDataQueryMethod = getExecuteDataQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteDataQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("ExecuteDataQuery"))
              .build();
        }
      }
    }
    return getExecuteDataQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getExecuteSchemeQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ExecuteSchemeQuery",
      requestType = tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getExecuteSchemeQueryMethod() {
    io.grpc.MethodDescriptor getExecuteSchemeQueryMethod;
    if ((getExecuteSchemeQueryMethod = TableServiceGrpc.getExecuteSchemeQueryMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getExecuteSchemeQueryMethod = TableServiceGrpc.getExecuteSchemeQueryMethod) == null) {
          TableServiceGrpc.getExecuteSchemeQueryMethod = getExecuteSchemeQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExecuteSchemeQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("ExecuteSchemeQuery"))
              .build();
        }
      }
    }
    return getExecuteSchemeQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getBeginTransactionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "BeginTransaction",
      requestType = tech.ydb.proto.table.YdbTable.BeginTransactionRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.BeginTransactionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getBeginTransactionMethod() {
    io.grpc.MethodDescriptor getBeginTransactionMethod;
    if ((getBeginTransactionMethod = TableServiceGrpc.getBeginTransactionMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getBeginTransactionMethod = TableServiceGrpc.getBeginTransactionMethod) == null) {
          TableServiceGrpc.getBeginTransactionMethod = getBeginTransactionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BeginTransaction"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.BeginTransactionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.BeginTransactionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("BeginTransaction"))
              .build();
        }
      }
    }
    return getBeginTransactionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCommitTransactionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CommitTransaction",
      requestType = tech.ydb.proto.table.YdbTable.CommitTransactionRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.CommitTransactionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCommitTransactionMethod() {
    io.grpc.MethodDescriptor getCommitTransactionMethod;
    if ((getCommitTransactionMethod = TableServiceGrpc.getCommitTransactionMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getCommitTransactionMethod = TableServiceGrpc.getCommitTransactionMethod) == null) {
          TableServiceGrpc.getCommitTransactionMethod = getCommitTransactionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CommitTransaction"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CommitTransactionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.CommitTransactionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("CommitTransaction"))
              .build();
        }
      }
    }
    return getCommitTransactionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getRollbackTransactionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "RollbackTransaction",
      requestType = tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getRollbackTransactionMethod() {
    io.grpc.MethodDescriptor getRollbackTransactionMethod;
    if ((getRollbackTransactionMethod = TableServiceGrpc.getRollbackTransactionMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getRollbackTransactionMethod = TableServiceGrpc.getRollbackTransactionMethod) == null) {
          TableServiceGrpc.getRollbackTransactionMethod = getRollbackTransactionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "RollbackTransaction"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.RollbackTransactionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.RollbackTransactionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("RollbackTransaction"))
              .build();
        }
      }
    }
    return getRollbackTransactionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeTableOptionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeTableOptions",
      requestType = tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeTableOptionsMethod() {
    io.grpc.MethodDescriptor getDescribeTableOptionsMethod;
    if ((getDescribeTableOptionsMethod = TableServiceGrpc.getDescribeTableOptionsMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getDescribeTableOptionsMethod = TableServiceGrpc.getDescribeTableOptionsMethod) == null) {
          TableServiceGrpc.getDescribeTableOptionsMethod = getDescribeTableOptionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeTableOptions"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("DescribeTableOptions"))
              .build();
        }
      }
    }
    return getDescribeTableOptionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getStreamReadTableMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "StreamReadTable",
      requestType = tech.ydb.proto.table.YdbTable.ReadTableRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ReadTableResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getStreamReadTableMethod() {
    io.grpc.MethodDescriptor getStreamReadTableMethod;
    if ((getStreamReadTableMethod = TableServiceGrpc.getStreamReadTableMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getStreamReadTableMethod = TableServiceGrpc.getStreamReadTableMethod) == null) {
          TableServiceGrpc.getStreamReadTableMethod = getStreamReadTableMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamReadTable"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ReadTableRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ReadTableResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("StreamReadTable"))
              .build();
        }
      }
    }
    return getStreamReadTableMethod;
  }

  private static volatile io.grpc.MethodDescriptor getReadRowsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ReadRows",
      requestType = tech.ydb.proto.table.YdbTable.ReadRowsRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ReadRowsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getReadRowsMethod() {
    io.grpc.MethodDescriptor getReadRowsMethod;
    if ((getReadRowsMethod = TableServiceGrpc.getReadRowsMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getReadRowsMethod = TableServiceGrpc.getReadRowsMethod) == null) {
          TableServiceGrpc.getReadRowsMethod = getReadRowsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ReadRows"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ReadRowsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ReadRowsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("ReadRows"))
              .build();
        }
      }
    }
    return getReadRowsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getBulkUpsertMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "BulkUpsert",
      requestType = tech.ydb.proto.table.YdbTable.BulkUpsertRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.BulkUpsertResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getBulkUpsertMethod() {
    io.grpc.MethodDescriptor getBulkUpsertMethod;
    if ((getBulkUpsertMethod = TableServiceGrpc.getBulkUpsertMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getBulkUpsertMethod = TableServiceGrpc.getBulkUpsertMethod) == null) {
          TableServiceGrpc.getBulkUpsertMethod = getBulkUpsertMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "BulkUpsert"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.BulkUpsertRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.BulkUpsertResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("BulkUpsert"))
              .build();
        }
      }
    }
    return getBulkUpsertMethod;
  }

  private static volatile io.grpc.MethodDescriptor getStreamExecuteScanQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "StreamExecuteScanQuery",
      requestType = tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.class,
      responseType = tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
  public static io.grpc.MethodDescriptor getStreamExecuteScanQueryMethod() {
    io.grpc.MethodDescriptor getStreamExecuteScanQueryMethod;
    if ((getStreamExecuteScanQueryMethod = TableServiceGrpc.getStreamExecuteScanQueryMethod) == null) {
      synchronized (TableServiceGrpc.class) {
        if ((getStreamExecuteScanQueryMethod = TableServiceGrpc.getStreamExecuteScanQueryMethod) == null) {
          TableServiceGrpc.getStreamExecuteScanQueryMethod = getStreamExecuteScanQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "StreamExecuteScanQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse.getDefaultInstance()))
              .setSchemaDescriptor(new TableServiceMethodDescriptorSupplier("StreamExecuteScanQuery"))
              .build();
        }
      }
    }
    return getStreamExecuteScanQueryMethod;
  }

  /**
   * Creates a new async stub that supports all call types for the service
   */
  public static TableServiceStub newStub(io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public TableServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new TableServiceStub(channel, callOptions);
        }
      };
    return TableServiceStub.newStub(factory, channel);
  }

  /**
   * Creates a new blocking-style stub that supports unary and streaming output calls on the service
   */
  public static TableServiceBlockingStub newBlockingStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public TableServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new TableServiceBlockingStub(channel, callOptions);
        }
      };
    return TableServiceBlockingStub.newStub(factory, channel);
  }

  /**
   * Creates a new ListenableFuture-style stub that supports unary calls on the service
   */
  public static TableServiceFutureStub newFutureStub(
      io.grpc.Channel channel) {
    io.grpc.stub.AbstractStub.StubFactory factory =
      new io.grpc.stub.AbstractStub.StubFactory() {
        @java.lang.Override
        public TableServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) {
          return new TableServiceFutureStub(channel, callOptions);
        }
      };
    return TableServiceFutureStub.newStub(factory, channel);
  }

  /**
   */
  public interface AsyncService {

    /**
     * 
     * Create new session. Implicit session creation is forbidden,
     * so user must create new session before execute any query,
     * otherwise BAD_SESSION status will be returned.
     * Simultaneous execution of requests are forbiden.
     * Sessions are volatile, can be invalidated by server, for example in case
     * of fatal errors. All requests with this session will fail with BAD_SESSION status.
     * So, client must be able to handle BAD_SESSION status.
     * 
*/ default void createSession(tech.ydb.proto.table.YdbTable.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateSessionMethod(), responseObserver); } /** *
     * Ends a session, releasing server resources associated with it.
     * 
*/ default void deleteSession(tech.ydb.proto.table.YdbTable.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteSessionMethod(), responseObserver); } /** *
     * Idle sessions can be kept alive by calling KeepAlive periodically.
     * 
*/ default void keepAlive(tech.ydb.proto.table.YdbTable.KeepAliveRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getKeepAliveMethod(), responseObserver); } /** *
     * Creates new table.
     * 
*/ default void createTable(tech.ydb.proto.table.YdbTable.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateTableMethod(), responseObserver); } /** *
     * Drop table.
     * 
*/ default void dropTable(tech.ydb.proto.table.YdbTable.DropTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDropTableMethod(), responseObserver); } /** *
     * Modifies schema of given table.
     * 
*/ default void alterTable(tech.ydb.proto.table.YdbTable.AlterTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getAlterTableMethod(), responseObserver); } /** *
     * Creates copy of given table.
     * 
*/ default void copyTable(tech.ydb.proto.table.YdbTable.CopyTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyTableMethod(), responseObserver); } /** *
     * Creates consistent copy of given tables.
     * 
*/ default void copyTables(tech.ydb.proto.table.YdbTable.CopyTablesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCopyTablesMethod(), responseObserver); } /** *
     * Creates consistent move of given tables.
     * 
*/ default void renameTables(tech.ydb.proto.table.YdbTable.RenameTablesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRenameTablesMethod(), responseObserver); } /** *
     * Returns information about given table (metadata).
     * 
*/ default void describeTable(tech.ydb.proto.table.YdbTable.DescribeTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeTableMethod(), responseObserver); } /** *
     * Explains data query.
     * SessionId of previously created session must be provided.
     * 
*/ default void explainDataQuery(tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExplainDataQueryMethod(), responseObserver); } /** *
     * Prepares data query, returns query id.
     * SessionId of previously created session must be provided.
     * 
*/ default void prepareDataQuery(tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getPrepareDataQueryMethod(), responseObserver); } /** *
     * Executes data query.
     * SessionId of previously created session must be provided.
     * 
*/ default void executeDataQuery(tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteDataQueryMethod(), responseObserver); } /** *
     * Executes scheme query.
     * SessionId of previously created session must be provided.
     * 
*/ default void executeSchemeQuery(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExecuteSchemeQueryMethod(), responseObserver); } /** *
     * Begins new transaction.
     * 
*/ default void beginTransaction(tech.ydb.proto.table.YdbTable.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBeginTransactionMethod(), responseObserver); } /** *
     * Commits specified active transaction.
     * 
*/ default void commitTransaction(tech.ydb.proto.table.YdbTable.CommitTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCommitTransactionMethod(), responseObserver); } /** *
     * Performs a rollback of the specified active transaction.
     * 
*/ default void rollbackTransaction(tech.ydb.proto.table.YdbTable.RollbackTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getRollbackTransactionMethod(), responseObserver); } /** *
     * Describe supported table options.
     * 
*/ default void describeTableOptions(tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeTableOptionsMethod(), responseObserver); } /** *
     * Streaming read table
     * 
*/ default void streamReadTable(tech.ydb.proto.table.YdbTable.ReadTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamReadTableMethod(), responseObserver); } /** *
     * Reads specified keys non-transactionally from a single table
     * 
*/ default void readRows(tech.ydb.proto.table.YdbTable.ReadRowsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getReadRowsMethod(), responseObserver); } /** *
     * Upserts a batch of rows non-transactionally.
     * Returns success only when all rows were successfully upserted. In case of an error some rows might
     * be upserted and some might not.
     * 
*/ default void bulkUpsert(tech.ydb.proto.table.YdbTable.BulkUpsertRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getBulkUpsertMethod(), responseObserver); } /** *
     * Executes scan query with streaming result.
     * 
*/ default void streamExecuteScanQuery(tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getStreamExecuteScanQueryMethod(), responseObserver); } } /** * Base class for the server implementation of the service TableService. */ public static abstract class TableServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return TableServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service TableService. */ public static final class TableServiceStub extends io.grpc.stub.AbstractAsyncStub { private TableServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected TableServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TableServiceStub(channel, callOptions); } /** *
     * Create new session. Implicit session creation is forbidden,
     * so user must create new session before execute any query,
     * otherwise BAD_SESSION status will be returned.
     * Simultaneous execution of requests are forbiden.
     * Sessions are volatile, can be invalidated by server, for example in case
     * of fatal errors. All requests with this session will fail with BAD_SESSION status.
     * So, client must be able to handle BAD_SESSION status.
     * 
*/ public void createSession(tech.ydb.proto.table.YdbTable.CreateSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Ends a session, releasing server resources associated with it.
     * 
*/ public void deleteSession(tech.ydb.proto.table.YdbTable.DeleteSessionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Idle sessions can be kept alive by calling KeepAlive periodically.
     * 
*/ public void keepAlive(tech.ydb.proto.table.YdbTable.KeepAliveRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getKeepAliveMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates new table.
     * 
*/ public void createTable(tech.ydb.proto.table.YdbTable.CreateTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Drop table.
     * 
*/ public void dropTable(tech.ydb.proto.table.YdbTable.DropTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDropTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Modifies schema of given table.
     * 
*/ public void alterTable(tech.ydb.proto.table.YdbTable.AlterTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getAlterTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates copy of given table.
     * 
*/ public void copyTable(tech.ydb.proto.table.YdbTable.CopyTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates consistent copy of given tables.
     * 
*/ public void copyTables(tech.ydb.proto.table.YdbTable.CopyTablesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCopyTablesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Creates consistent move of given tables.
     * 
*/ public void renameTables(tech.ydb.proto.table.YdbTable.RenameTablesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRenameTablesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Returns information about given table (metadata).
     * 
*/ public void describeTable(tech.ydb.proto.table.YdbTable.DescribeTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Explains data query.
     * SessionId of previously created session must be provided.
     * 
*/ public void explainDataQuery(tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExplainDataQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Prepares data query, returns query id.
     * SessionId of previously created session must be provided.
     * 
*/ public void prepareDataQuery(tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getPrepareDataQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Executes data query.
     * SessionId of previously created session must be provided.
     * 
*/ public void executeDataQuery(tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteDataQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Executes scheme query.
     * SessionId of previously created session must be provided.
     * 
*/ public void executeSchemeQuery(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getExecuteSchemeQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Begins new transaction.
     * 
*/ public void beginTransaction(tech.ydb.proto.table.YdbTable.BeginTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Commits specified active transaction.
     * 
*/ public void commitTransaction(tech.ydb.proto.table.YdbTable.CommitTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCommitTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Performs a rollback of the specified active transaction.
     * 
*/ public void rollbackTransaction(tech.ydb.proto.table.YdbTable.RollbackTransactionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getRollbackTransactionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Describe supported table options.
     * 
*/ public void describeTableOptions(tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeTableOptionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Streaming read table
     * 
*/ public void streamReadTable(tech.ydb.proto.table.YdbTable.ReadTableRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getStreamReadTableMethod(), getCallOptions()), request, responseObserver); } /** *
     * Reads specified keys non-transactionally from a single table
     * 
*/ public void readRows(tech.ydb.proto.table.YdbTable.ReadRowsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getReadRowsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Upserts a batch of rows non-transactionally.
     * Returns success only when all rows were successfully upserted. In case of an error some rows might
     * be upserted and some might not.
     * 
*/ public void bulkUpsert(tech.ydb.proto.table.YdbTable.BulkUpsertRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getBulkUpsertMethod(), getCallOptions()), request, responseObserver); } /** *
     * Executes scan query with streaming result.
     * 
*/ public void streamExecuteScanQuery(tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncServerStreamingCall( getChannel().newCall(getStreamExecuteScanQueryMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service TableService. */ public static final class TableServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private TableServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected TableServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TableServiceBlockingStub(channel, callOptions); } /** *
     * Create new session. Implicit session creation is forbidden,
     * so user must create new session before execute any query,
     * otherwise BAD_SESSION status will be returned.
     * Simultaneous execution of requests are forbiden.
     * Sessions are volatile, can be invalidated by server, for example in case
     * of fatal errors. All requests with this session will fail with BAD_SESSION status.
     * So, client must be able to handle BAD_SESSION status.
     * 
*/ public tech.ydb.proto.table.YdbTable.CreateSessionResponse createSession(tech.ydb.proto.table.YdbTable.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateSessionMethod(), getCallOptions(), request); } /** *
     * Ends a session, releasing server resources associated with it.
     * 
*/ public tech.ydb.proto.table.YdbTable.DeleteSessionResponse deleteSession(tech.ydb.proto.table.YdbTable.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteSessionMethod(), getCallOptions(), request); } /** *
     * Idle sessions can be kept alive by calling KeepAlive periodically.
     * 
*/ public tech.ydb.proto.table.YdbTable.KeepAliveResponse keepAlive(tech.ydb.proto.table.YdbTable.KeepAliveRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getKeepAliveMethod(), getCallOptions(), request); } /** *
     * Creates new table.
     * 
*/ public tech.ydb.proto.table.YdbTable.CreateTableResponse createTable(tech.ydb.proto.table.YdbTable.CreateTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateTableMethod(), getCallOptions(), request); } /** *
     * Drop table.
     * 
*/ public tech.ydb.proto.table.YdbTable.DropTableResponse dropTable(tech.ydb.proto.table.YdbTable.DropTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDropTableMethod(), getCallOptions(), request); } /** *
     * Modifies schema of given table.
     * 
*/ public tech.ydb.proto.table.YdbTable.AlterTableResponse alterTable(tech.ydb.proto.table.YdbTable.AlterTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getAlterTableMethod(), getCallOptions(), request); } /** *
     * Creates copy of given table.
     * 
*/ public tech.ydb.proto.table.YdbTable.CopyTableResponse copyTable(tech.ydb.proto.table.YdbTable.CopyTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyTableMethod(), getCallOptions(), request); } /** *
     * Creates consistent copy of given tables.
     * 
*/ public tech.ydb.proto.table.YdbTable.CopyTablesResponse copyTables(tech.ydb.proto.table.YdbTable.CopyTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCopyTablesMethod(), getCallOptions(), request); } /** *
     * Creates consistent move of given tables.
     * 
*/ public tech.ydb.proto.table.YdbTable.RenameTablesResponse renameTables(tech.ydb.proto.table.YdbTable.RenameTablesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRenameTablesMethod(), getCallOptions(), request); } /** *
     * Returns information about given table (metadata).
     * 
*/ public tech.ydb.proto.table.YdbTable.DescribeTableResponse describeTable(tech.ydb.proto.table.YdbTable.DescribeTableRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeTableMethod(), getCallOptions(), request); } /** *
     * Explains data query.
     * SessionId of previously created session must be provided.
     * 
*/ public tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse explainDataQuery(tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExplainDataQueryMethod(), getCallOptions(), request); } /** *
     * Prepares data query, returns query id.
     * SessionId of previously created session must be provided.
     * 
*/ public tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse prepareDataQuery(tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getPrepareDataQueryMethod(), getCallOptions(), request); } /** *
     * Executes data query.
     * SessionId of previously created session must be provided.
     * 
*/ public tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse executeDataQuery(tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteDataQueryMethod(), getCallOptions(), request); } /** *
     * Executes scheme query.
     * SessionId of previously created session must be provided.
     * 
*/ public tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse executeSchemeQuery(tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getExecuteSchemeQueryMethod(), getCallOptions(), request); } /** *
     * Begins new transaction.
     * 
*/ public tech.ydb.proto.table.YdbTable.BeginTransactionResponse beginTransaction(tech.ydb.proto.table.YdbTable.BeginTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBeginTransactionMethod(), getCallOptions(), request); } /** *
     * Commits specified active transaction.
     * 
*/ public tech.ydb.proto.table.YdbTable.CommitTransactionResponse commitTransaction(tech.ydb.proto.table.YdbTable.CommitTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCommitTransactionMethod(), getCallOptions(), request); } /** *
     * Performs a rollback of the specified active transaction.
     * 
*/ public tech.ydb.proto.table.YdbTable.RollbackTransactionResponse rollbackTransaction(tech.ydb.proto.table.YdbTable.RollbackTransactionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getRollbackTransactionMethod(), getCallOptions(), request); } /** *
     * Describe supported table options.
     * 
*/ public tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse describeTableOptions(tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeTableOptionsMethod(), getCallOptions(), request); } /** *
     * Streaming read table
     * 
*/ public java.util.Iterator streamReadTable( tech.ydb.proto.table.YdbTable.ReadTableRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getStreamReadTableMethod(), getCallOptions(), request); } /** *
     * Reads specified keys non-transactionally from a single table
     * 
*/ public tech.ydb.proto.table.YdbTable.ReadRowsResponse readRows(tech.ydb.proto.table.YdbTable.ReadRowsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getReadRowsMethod(), getCallOptions(), request); } /** *
     * Upserts a batch of rows non-transactionally.
     * Returns success only when all rows were successfully upserted. In case of an error some rows might
     * be upserted and some might not.
     * 
*/ public tech.ydb.proto.table.YdbTable.BulkUpsertResponse bulkUpsert(tech.ydb.proto.table.YdbTable.BulkUpsertRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getBulkUpsertMethod(), getCallOptions(), request); } /** *
     * Executes scan query with streaming result.
     * 
*/ public java.util.Iterator streamExecuteScanQuery( tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest request) { return io.grpc.stub.ClientCalls.blockingServerStreamingCall( getChannel(), getStreamExecuteScanQueryMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service TableService. */ public static final class TableServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private TableServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected TableServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new TableServiceFutureStub(channel, callOptions); } /** *
     * Create new session. Implicit session creation is forbidden,
     * so user must create new session before execute any query,
     * otherwise BAD_SESSION status will be returned.
     * Simultaneous execution of requests are forbiden.
     * Sessions are volatile, can be invalidated by server, for example in case
     * of fatal errors. All requests with this session will fail with BAD_SESSION status.
     * So, client must be able to handle BAD_SESSION status.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createSession( tech.ydb.proto.table.YdbTable.CreateSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateSessionMethod(), getCallOptions()), request); } /** *
     * Ends a session, releasing server resources associated with it.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteSession( tech.ydb.proto.table.YdbTable.DeleteSessionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteSessionMethod(), getCallOptions()), request); } /** *
     * Idle sessions can be kept alive by calling KeepAlive periodically.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture keepAlive( tech.ydb.proto.table.YdbTable.KeepAliveRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getKeepAliveMethod(), getCallOptions()), request); } /** *
     * Creates new table.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createTable( tech.ydb.proto.table.YdbTable.CreateTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateTableMethod(), getCallOptions()), request); } /** *
     * Drop table.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture dropTable( tech.ydb.proto.table.YdbTable.DropTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDropTableMethod(), getCallOptions()), request); } /** *
     * Modifies schema of given table.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture alterTable( tech.ydb.proto.table.YdbTable.AlterTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getAlterTableMethod(), getCallOptions()), request); } /** *
     * Creates copy of given table.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture copyTable( tech.ydb.proto.table.YdbTable.CopyTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCopyTableMethod(), getCallOptions()), request); } /** *
     * Creates consistent copy of given tables.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture copyTables( tech.ydb.proto.table.YdbTable.CopyTablesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCopyTablesMethod(), getCallOptions()), request); } /** *
     * Creates consistent move of given tables.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture renameTables( tech.ydb.proto.table.YdbTable.RenameTablesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRenameTablesMethod(), getCallOptions()), request); } /** *
     * Returns information about given table (metadata).
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeTable( tech.ydb.proto.table.YdbTable.DescribeTableRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeTableMethod(), getCallOptions()), request); } /** *
     * Explains data query.
     * SessionId of previously created session must be provided.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture explainDataQuery( tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExplainDataQueryMethod(), getCallOptions()), request); } /** *
     * Prepares data query, returns query id.
     * SessionId of previously created session must be provided.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture prepareDataQuery( tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getPrepareDataQueryMethod(), getCallOptions()), request); } /** *
     * Executes data query.
     * SessionId of previously created session must be provided.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture executeDataQuery( tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteDataQueryMethod(), getCallOptions()), request); } /** *
     * Executes scheme query.
     * SessionId of previously created session must be provided.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture executeSchemeQuery( tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getExecuteSchemeQueryMethod(), getCallOptions()), request); } /** *
     * Begins new transaction.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture beginTransaction( tech.ydb.proto.table.YdbTable.BeginTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBeginTransactionMethod(), getCallOptions()), request); } /** *
     * Commits specified active transaction.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture commitTransaction( tech.ydb.proto.table.YdbTable.CommitTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCommitTransactionMethod(), getCallOptions()), request); } /** *
     * Performs a rollback of the specified active transaction.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture rollbackTransaction( tech.ydb.proto.table.YdbTable.RollbackTransactionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getRollbackTransactionMethod(), getCallOptions()), request); } /** *
     * Describe supported table options.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeTableOptions( tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeTableOptionsMethod(), getCallOptions()), request); } /** *
     * Reads specified keys non-transactionally from a single table
     * 
*/ public com.google.common.util.concurrent.ListenableFuture readRows( tech.ydb.proto.table.YdbTable.ReadRowsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getReadRowsMethod(), getCallOptions()), request); } /** *
     * Upserts a batch of rows non-transactionally.
     * Returns success only when all rows were successfully upserted. In case of an error some rows might
     * be upserted and some might not.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture bulkUpsert( tech.ydb.proto.table.YdbTable.BulkUpsertRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getBulkUpsertMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_SESSION = 0; private static final int METHODID_DELETE_SESSION = 1; private static final int METHODID_KEEP_ALIVE = 2; private static final int METHODID_CREATE_TABLE = 3; private static final int METHODID_DROP_TABLE = 4; private static final int METHODID_ALTER_TABLE = 5; private static final int METHODID_COPY_TABLE = 6; private static final int METHODID_COPY_TABLES = 7; private static final int METHODID_RENAME_TABLES = 8; private static final int METHODID_DESCRIBE_TABLE = 9; private static final int METHODID_EXPLAIN_DATA_QUERY = 10; private static final int METHODID_PREPARE_DATA_QUERY = 11; private static final int METHODID_EXECUTE_DATA_QUERY = 12; private static final int METHODID_EXECUTE_SCHEME_QUERY = 13; private static final int METHODID_BEGIN_TRANSACTION = 14; private static final int METHODID_COMMIT_TRANSACTION = 15; private static final int METHODID_ROLLBACK_TRANSACTION = 16; private static final int METHODID_DESCRIBE_TABLE_OPTIONS = 17; private static final int METHODID_STREAM_READ_TABLE = 18; private static final int METHODID_READ_ROWS = 19; private static final int METHODID_BULK_UPSERT = 20; private static final int METHODID_STREAM_EXECUTE_SCAN_QUERY = 21; 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 AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_SESSION: serviceImpl.createSession((tech.ydb.proto.table.YdbTable.CreateSessionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_SESSION: serviceImpl.deleteSession((tech.ydb.proto.table.YdbTable.DeleteSessionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_KEEP_ALIVE: serviceImpl.keepAlive((tech.ydb.proto.table.YdbTable.KeepAliveRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_TABLE: serviceImpl.createTable((tech.ydb.proto.table.YdbTable.CreateTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DROP_TABLE: serviceImpl.dropTable((tech.ydb.proto.table.YdbTable.DropTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ALTER_TABLE: serviceImpl.alterTable((tech.ydb.proto.table.YdbTable.AlterTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_TABLE: serviceImpl.copyTable((tech.ydb.proto.table.YdbTable.CopyTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COPY_TABLES: serviceImpl.copyTables((tech.ydb.proto.table.YdbTable.CopyTablesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_RENAME_TABLES: serviceImpl.renameTables((tech.ydb.proto.table.YdbTable.RenameTablesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_TABLE: serviceImpl.describeTable((tech.ydb.proto.table.YdbTable.DescribeTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXPLAIN_DATA_QUERY: serviceImpl.explainDataQuery((tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_PREPARE_DATA_QUERY: serviceImpl.prepareDataQuery((tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXECUTE_DATA_QUERY: serviceImpl.executeDataQuery((tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_EXECUTE_SCHEME_QUERY: serviceImpl.executeSchemeQuery((tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BEGIN_TRANSACTION: serviceImpl.beginTransaction((tech.ydb.proto.table.YdbTable.BeginTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_COMMIT_TRANSACTION: serviceImpl.commitTransaction((tech.ydb.proto.table.YdbTable.CommitTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_ROLLBACK_TRANSACTION: serviceImpl.rollbackTransaction((tech.ydb.proto.table.YdbTable.RollbackTransactionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_TABLE_OPTIONS: serviceImpl.describeTableOptions((tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STREAM_READ_TABLE: serviceImpl.streamReadTable((tech.ydb.proto.table.YdbTable.ReadTableRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_READ_ROWS: serviceImpl.readRows((tech.ydb.proto.table.YdbTable.ReadRowsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_BULK_UPSERT: serviceImpl.bulkUpsert((tech.ydb.proto.table.YdbTable.BulkUpsertRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_STREAM_EXECUTE_SCAN_QUERY: serviceImpl.streamExecuteScanQuery((tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateSessionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.CreateSessionRequest, tech.ydb.proto.table.YdbTable.CreateSessionResponse>( service, METHODID_CREATE_SESSION))) .addMethod( getDeleteSessionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.DeleteSessionRequest, tech.ydb.proto.table.YdbTable.DeleteSessionResponse>( service, METHODID_DELETE_SESSION))) .addMethod( getKeepAliveMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.KeepAliveRequest, tech.ydb.proto.table.YdbTable.KeepAliveResponse>( service, METHODID_KEEP_ALIVE))) .addMethod( getCreateTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.CreateTableRequest, tech.ydb.proto.table.YdbTable.CreateTableResponse>( service, METHODID_CREATE_TABLE))) .addMethod( getDropTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.DropTableRequest, tech.ydb.proto.table.YdbTable.DropTableResponse>( service, METHODID_DROP_TABLE))) .addMethod( getAlterTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.AlterTableRequest, tech.ydb.proto.table.YdbTable.AlterTableResponse>( service, METHODID_ALTER_TABLE))) .addMethod( getCopyTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.CopyTableRequest, tech.ydb.proto.table.YdbTable.CopyTableResponse>( service, METHODID_COPY_TABLE))) .addMethod( getCopyTablesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.CopyTablesRequest, tech.ydb.proto.table.YdbTable.CopyTablesResponse>( service, METHODID_COPY_TABLES))) .addMethod( getRenameTablesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.RenameTablesRequest, tech.ydb.proto.table.YdbTable.RenameTablesResponse>( service, METHODID_RENAME_TABLES))) .addMethod( getDescribeTableMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.DescribeTableRequest, tech.ydb.proto.table.YdbTable.DescribeTableResponse>( service, METHODID_DESCRIBE_TABLE))) .addMethod( getExplainDataQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ExplainDataQueryRequest, tech.ydb.proto.table.YdbTable.ExplainDataQueryResponse>( service, METHODID_EXPLAIN_DATA_QUERY))) .addMethod( getPrepareDataQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.PrepareDataQueryRequest, tech.ydb.proto.table.YdbTable.PrepareDataQueryResponse>( service, METHODID_PREPARE_DATA_QUERY))) .addMethod( getExecuteDataQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ExecuteDataQueryRequest, tech.ydb.proto.table.YdbTable.ExecuteDataQueryResponse>( service, METHODID_EXECUTE_DATA_QUERY))) .addMethod( getExecuteSchemeQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryRequest, tech.ydb.proto.table.YdbTable.ExecuteSchemeQueryResponse>( service, METHODID_EXECUTE_SCHEME_QUERY))) .addMethod( getBeginTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.BeginTransactionRequest, tech.ydb.proto.table.YdbTable.BeginTransactionResponse>( service, METHODID_BEGIN_TRANSACTION))) .addMethod( getCommitTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.CommitTransactionRequest, tech.ydb.proto.table.YdbTable.CommitTransactionResponse>( service, METHODID_COMMIT_TRANSACTION))) .addMethod( getRollbackTransactionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.RollbackTransactionRequest, tech.ydb.proto.table.YdbTable.RollbackTransactionResponse>( service, METHODID_ROLLBACK_TRANSACTION))) .addMethod( getDescribeTableOptionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.DescribeTableOptionsRequest, tech.ydb.proto.table.YdbTable.DescribeTableOptionsResponse>( service, METHODID_DESCRIBE_TABLE_OPTIONS))) .addMethod( getStreamReadTableMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ReadTableRequest, tech.ydb.proto.table.YdbTable.ReadTableResponse>( service, METHODID_STREAM_READ_TABLE))) .addMethod( getReadRowsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ReadRowsRequest, tech.ydb.proto.table.YdbTable.ReadRowsResponse>( service, METHODID_READ_ROWS))) .addMethod( getBulkUpsertMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.BulkUpsertRequest, tech.ydb.proto.table.YdbTable.BulkUpsertResponse>( service, METHODID_BULK_UPSERT))) .addMethod( getStreamExecuteScanQueryMethod(), io.grpc.stub.ServerCalls.asyncServerStreamingCall( new MethodHandlers< tech.ydb.proto.table.YdbTable.ExecuteScanQueryRequest, tech.ydb.proto.table.YdbTable.ExecuteScanQueryPartialResponse>( service, METHODID_STREAM_EXECUTE_SCAN_QUERY))) .build(); } private static abstract class TableServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { TableServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return tech.ydb.proto.table.v1.YdbTableV1.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("TableService"); } } private static final class TableServiceFileDescriptorSupplier extends TableServiceBaseDescriptorSupplier { TableServiceFileDescriptorSupplier() {} } private static final class TableServiceMethodDescriptorSupplier extends TableServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; TableServiceMethodDescriptorSupplier(java.lang.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 (TableServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new TableServiceFileDescriptorSupplier()) .addMethod(getCreateSessionMethod()) .addMethod(getDeleteSessionMethod()) .addMethod(getKeepAliveMethod()) .addMethod(getCreateTableMethod()) .addMethod(getDropTableMethod()) .addMethod(getAlterTableMethod()) .addMethod(getCopyTableMethod()) .addMethod(getCopyTablesMethod()) .addMethod(getRenameTablesMethod()) .addMethod(getDescribeTableMethod()) .addMethod(getExplainDataQueryMethod()) .addMethod(getPrepareDataQueryMethod()) .addMethod(getExecuteDataQueryMethod()) .addMethod(getExecuteSchemeQueryMethod()) .addMethod(getBeginTransactionMethod()) .addMethod(getCommitTransactionMethod()) .addMethod(getRollbackTransactionMethod()) .addMethod(getDescribeTableOptionsMethod()) .addMethod(getStreamReadTableMethod()) .addMethod(getReadRowsMethod()) .addMethod(getBulkUpsertMethod()) .addMethod(getStreamExecuteScanQueryMethod()) .build(); } } } return result; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy