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

tech.ydb.proto.draft.federated.query.v1.FederatedQueryServiceGrpc Maven / Gradle / Ivy

package tech.ydb.proto.draft.federated.query.v1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

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

  private FederatedQueryServiceGrpc() {}

  public static final java.lang.String SERVICE_NAME = "FederatedQuery.V1.FederatedQueryService";

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

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateQuery",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateQueryMethod() {
    io.grpc.MethodDescriptor getCreateQueryMethod;
    if ((getCreateQueryMethod = FederatedQueryServiceGrpc.getCreateQueryMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getCreateQueryMethod = FederatedQueryServiceGrpc.getCreateQueryMethod) == null) {
          FederatedQueryServiceGrpc.getCreateQueryMethod = getCreateQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("CreateQuery"))
              .build();
        }
      }
    }
    return getCreateQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListQueriesMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListQueries",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListQueriesMethod() {
    io.grpc.MethodDescriptor getListQueriesMethod;
    if ((getListQueriesMethod = FederatedQueryServiceGrpc.getListQueriesMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getListQueriesMethod = FederatedQueryServiceGrpc.getListQueriesMethod) == null) {
          FederatedQueryServiceGrpc.getListQueriesMethod = getListQueriesMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListQueries"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ListQueries"))
              .build();
        }
      }
    }
    return getListQueriesMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeQuery",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeQueryMethod() {
    io.grpc.MethodDescriptor getDescribeQueryMethod;
    if ((getDescribeQueryMethod = FederatedQueryServiceGrpc.getDescribeQueryMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDescribeQueryMethod = FederatedQueryServiceGrpc.getDescribeQueryMethod) == null) {
          FederatedQueryServiceGrpc.getDescribeQueryMethod = getDescribeQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DescribeQuery"))
              .build();
        }
      }
    }
    return getDescribeQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetQueryStatusMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetQueryStatus",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetQueryStatusMethod() {
    io.grpc.MethodDescriptor getGetQueryStatusMethod;
    if ((getGetQueryStatusMethod = FederatedQueryServiceGrpc.getGetQueryStatusMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getGetQueryStatusMethod = FederatedQueryServiceGrpc.getGetQueryStatusMethod) == null) {
          FederatedQueryServiceGrpc.getGetQueryStatusMethod = getGetQueryStatusMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetQueryStatus"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("GetQueryStatus"))
              .build();
        }
      }
    }
    return getGetQueryStatusMethod;
  }

  private static volatile io.grpc.MethodDescriptor getModifyQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ModifyQuery",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getModifyQueryMethod() {
    io.grpc.MethodDescriptor getModifyQueryMethod;
    if ((getModifyQueryMethod = FederatedQueryServiceGrpc.getModifyQueryMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getModifyQueryMethod = FederatedQueryServiceGrpc.getModifyQueryMethod) == null) {
          FederatedQueryServiceGrpc.getModifyQueryMethod = getModifyQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ModifyQuery"))
              .build();
        }
      }
    }
    return getModifyQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteQuery",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteQueryMethod() {
    io.grpc.MethodDescriptor getDeleteQueryMethod;
    if ((getDeleteQueryMethod = FederatedQueryServiceGrpc.getDeleteQueryMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDeleteQueryMethod = FederatedQueryServiceGrpc.getDeleteQueryMethod) == null) {
          FederatedQueryServiceGrpc.getDeleteQueryMethod = getDeleteQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DeleteQuery"))
              .build();
        }
      }
    }
    return getDeleteQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getControlQueryMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ControlQuery",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getControlQueryMethod() {
    io.grpc.MethodDescriptor getControlQueryMethod;
    if ((getControlQueryMethod = FederatedQueryServiceGrpc.getControlQueryMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getControlQueryMethod = FederatedQueryServiceGrpc.getControlQueryMethod) == null) {
          FederatedQueryServiceGrpc.getControlQueryMethod = getControlQueryMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ControlQuery"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ControlQuery"))
              .build();
        }
      }
    }
    return getControlQueryMethod;
  }

  private static volatile io.grpc.MethodDescriptor getGetResultDataMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetResultData",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getGetResultDataMethod() {
    io.grpc.MethodDescriptor getGetResultDataMethod;
    if ((getGetResultDataMethod = FederatedQueryServiceGrpc.getGetResultDataMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getGetResultDataMethod = FederatedQueryServiceGrpc.getGetResultDataMethod) == null) {
          FederatedQueryServiceGrpc.getGetResultDataMethod = getGetResultDataMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetResultData"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("GetResultData"))
              .build();
        }
      }
    }
    return getGetResultDataMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListJobsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListJobs",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListJobsMethod() {
    io.grpc.MethodDescriptor getListJobsMethod;
    if ((getListJobsMethod = FederatedQueryServiceGrpc.getListJobsMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getListJobsMethod = FederatedQueryServiceGrpc.getListJobsMethod) == null) {
          FederatedQueryServiceGrpc.getListJobsMethod = getListJobsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListJobs"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ListJobs"))
              .build();
        }
      }
    }
    return getListJobsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeJobMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeJob",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeJobMethod() {
    io.grpc.MethodDescriptor getDescribeJobMethod;
    if ((getDescribeJobMethod = FederatedQueryServiceGrpc.getDescribeJobMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDescribeJobMethod = FederatedQueryServiceGrpc.getDescribeJobMethod) == null) {
          FederatedQueryServiceGrpc.getDescribeJobMethod = getDescribeJobMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeJob"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DescribeJob"))
              .build();
        }
      }
    }
    return getDescribeJobMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateConnectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateConnection",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateConnectionMethod() {
    io.grpc.MethodDescriptor getCreateConnectionMethod;
    if ((getCreateConnectionMethod = FederatedQueryServiceGrpc.getCreateConnectionMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getCreateConnectionMethod = FederatedQueryServiceGrpc.getCreateConnectionMethod) == null) {
          FederatedQueryServiceGrpc.getCreateConnectionMethod = getCreateConnectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("CreateConnection"))
              .build();
        }
      }
    }
    return getCreateConnectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListConnectionsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListConnections",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListConnectionsMethod() {
    io.grpc.MethodDescriptor getListConnectionsMethod;
    if ((getListConnectionsMethod = FederatedQueryServiceGrpc.getListConnectionsMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getListConnectionsMethod = FederatedQueryServiceGrpc.getListConnectionsMethod) == null) {
          FederatedQueryServiceGrpc.getListConnectionsMethod = getListConnectionsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnections"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ListConnections"))
              .build();
        }
      }
    }
    return getListConnectionsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeConnectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeConnection",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeConnectionMethod() {
    io.grpc.MethodDescriptor getDescribeConnectionMethod;
    if ((getDescribeConnectionMethod = FederatedQueryServiceGrpc.getDescribeConnectionMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDescribeConnectionMethod = FederatedQueryServiceGrpc.getDescribeConnectionMethod) == null) {
          FederatedQueryServiceGrpc.getDescribeConnectionMethod = getDescribeConnectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeConnection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DescribeConnection"))
              .build();
        }
      }
    }
    return getDescribeConnectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getModifyConnectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ModifyConnection",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getModifyConnectionMethod() {
    io.grpc.MethodDescriptor getModifyConnectionMethod;
    if ((getModifyConnectionMethod = FederatedQueryServiceGrpc.getModifyConnectionMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getModifyConnectionMethod = FederatedQueryServiceGrpc.getModifyConnectionMethod) == null) {
          FederatedQueryServiceGrpc.getModifyConnectionMethod = getModifyConnectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyConnection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ModifyConnection"))
              .build();
        }
      }
    }
    return getModifyConnectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteConnectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteConnection",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteConnectionMethod() {
    io.grpc.MethodDescriptor getDeleteConnectionMethod;
    if ((getDeleteConnectionMethod = FederatedQueryServiceGrpc.getDeleteConnectionMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDeleteConnectionMethod = FederatedQueryServiceGrpc.getDeleteConnectionMethod) == null) {
          FederatedQueryServiceGrpc.getDeleteConnectionMethod = getDeleteConnectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DeleteConnection"))
              .build();
        }
      }
    }
    return getDeleteConnectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getTestConnectionMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "TestConnection",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getTestConnectionMethod() {
    io.grpc.MethodDescriptor getTestConnectionMethod;
    if ((getTestConnectionMethod = FederatedQueryServiceGrpc.getTestConnectionMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getTestConnectionMethod = FederatedQueryServiceGrpc.getTestConnectionMethod) == null) {
          FederatedQueryServiceGrpc.getTestConnectionMethod = getTestConnectionMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestConnection"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("TestConnection"))
              .build();
        }
      }
    }
    return getTestConnectionMethod;
  }

  private static volatile io.grpc.MethodDescriptor getCreateBindingMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateBinding",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getCreateBindingMethod() {
    io.grpc.MethodDescriptor getCreateBindingMethod;
    if ((getCreateBindingMethod = FederatedQueryServiceGrpc.getCreateBindingMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getCreateBindingMethod = FederatedQueryServiceGrpc.getCreateBindingMethod) == null) {
          FederatedQueryServiceGrpc.getCreateBindingMethod = getCreateBindingMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateBinding"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("CreateBinding"))
              .build();
        }
      }
    }
    return getCreateBindingMethod;
  }

  private static volatile io.grpc.MethodDescriptor getListBindingsMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListBindings",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getListBindingsMethod() {
    io.grpc.MethodDescriptor getListBindingsMethod;
    if ((getListBindingsMethod = FederatedQueryServiceGrpc.getListBindingsMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getListBindingsMethod = FederatedQueryServiceGrpc.getListBindingsMethod) == null) {
          FederatedQueryServiceGrpc.getListBindingsMethod = getListBindingsMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListBindings"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ListBindings"))
              .build();
        }
      }
    }
    return getListBindingsMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDescribeBindingMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DescribeBinding",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDescribeBindingMethod() {
    io.grpc.MethodDescriptor getDescribeBindingMethod;
    if ((getDescribeBindingMethod = FederatedQueryServiceGrpc.getDescribeBindingMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDescribeBindingMethod = FederatedQueryServiceGrpc.getDescribeBindingMethod) == null) {
          FederatedQueryServiceGrpc.getDescribeBindingMethod = getDescribeBindingMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DescribeBinding"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DescribeBinding"))
              .build();
        }
      }
    }
    return getDescribeBindingMethod;
  }

  private static volatile io.grpc.MethodDescriptor getModifyBindingMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ModifyBinding",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getModifyBindingMethod() {
    io.grpc.MethodDescriptor getModifyBindingMethod;
    if ((getModifyBindingMethod = FederatedQueryServiceGrpc.getModifyBindingMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getModifyBindingMethod = FederatedQueryServiceGrpc.getModifyBindingMethod) == null) {
          FederatedQueryServiceGrpc.getModifyBindingMethod = getModifyBindingMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ModifyBinding"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("ModifyBinding"))
              .build();
        }
      }
    }
    return getModifyBindingMethod;
  }

  private static volatile io.grpc.MethodDescriptor getDeleteBindingMethod;

  @io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "DeleteBinding",
      requestType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest.class,
      responseType = tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor getDeleteBindingMethod() {
    io.grpc.MethodDescriptor getDeleteBindingMethod;
    if ((getDeleteBindingMethod = FederatedQueryServiceGrpc.getDeleteBindingMethod) == null) {
      synchronized (FederatedQueryServiceGrpc.class) {
        if ((getDeleteBindingMethod = FederatedQueryServiceGrpc.getDeleteBindingMethod) == null) {
          FederatedQueryServiceGrpc.getDeleteBindingMethod = getDeleteBindingMethod =
              io.grpc.MethodDescriptor.newBuilder()
              .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
              .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteBinding"))
              .setSampledToLocalTracing(true)
              .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest.getDefaultInstance()))
              .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller(
                  tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingResponse.getDefaultInstance()))
              .setSchemaDescriptor(new FederatedQueryServiceMethodDescriptorSupplier("DeleteBinding"))
              .build();
        }
      }
    }
    return getDeleteBindingMethod;
  }

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

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

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

  /**
   */
  public interface AsyncService {

    /**
     * 
     * Query
     * Query is the text of an SQL request, the results of the last run and the state after the last run (partitions offsets, consumer in YDS)
     * Create a query object with a given SQL
     * 
*/ default void createQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateQueryMethod(), responseObserver); } /** *
     * Get a list of brief queries objects
     * 
*/ default void listQueries(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListQueriesMethod(), responseObserver); } /** *
     * Get full information about the object of the query
     * 
*/ default void describeQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeQueryMethod(), responseObserver); } /** *
     * Get status of the query
     * 
*/ default void getQueryStatus(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetQueryStatusMethod(), responseObserver); } /** *
     * Change the attributes of the query (acl, name, ...)
     * 
*/ default void modifyQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyQueryMethod(), responseObserver); } /** *
     * Completely delete the query
     * 
*/ default void deleteQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteQueryMethod(), responseObserver); } /** *
     * Change the state of the query lifecycle
     * 
*/ default void controlQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getControlQueryMethod(), responseObserver); } /** *
     * Get a results page
     * 
*/ default void getResultData(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetResultDataMethod(), responseObserver); } /** *
     * Job
     * Job - appears immediately after starting the request and contains the request metadata
     * Get a list of jobs
     * 
*/ default void listJobs(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListJobsMethod(), responseObserver); } /** *
     * Get information about the job
     * 
*/ default void describeJob(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeJobMethod(), responseObserver); } /** *
     * Connection
     * Connection - entity that describes connection points. This can be imagined as an analogue of a network address.
     * Create a connection object (ObjectStorage, YDB, YDS, ...)
     * 
*/ default void createConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateConnectionMethod(), responseObserver); } /** *
     * Get a list of connections objects
     * 
*/ default void listConnections(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListConnectionsMethod(), responseObserver); } /** *
     * Get information about the object of the connection
     * 
*/ default void describeConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeConnectionMethod(), responseObserver); } /** *
     * Change the attributes of the connection
     * 
*/ default void modifyConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyConnectionMethod(), responseObserver); } /** *
     * Completely delete the connection
     * 
*/ default void deleteConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteConnectionMethod(), responseObserver); } /** *
     * Test the connection (permissions, network, ...)
     * 
*/ default void testConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getTestConnectionMethod(), responseObserver); } /** *
     * Binding
     * Binding - entity using which a schema is assigned to non-schematic data
     * Create a binding object - bind schema with ObjectStorage object or YDS stream
     * 
*/ default void createBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateBindingMethod(), responseObserver); } /** *
     * Get a list of bindings objects
     * 
*/ default void listBindings(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListBindingsMethod(), responseObserver); } /** *
     * Get information about the object of the binding
     * 
*/ default void describeBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDescribeBindingMethod(), responseObserver); } /** *
     * Change the attributes of the binding
     * 
*/ default void modifyBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getModifyBindingMethod(), responseObserver); } /** *
     * Completely delete the binding
     * 
*/ default void deleteBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteBindingMethod(), responseObserver); } } /** * Base class for the server implementation of the service FederatedQueryService. */ public static abstract class FederatedQueryServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return FederatedQueryServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service FederatedQueryService. */ public static final class FederatedQueryServiceStub extends io.grpc.stub.AbstractAsyncStub { private FederatedQueryServiceStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FederatedQueryServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FederatedQueryServiceStub(channel, callOptions); } /** *
     * Query
     * Query is the text of an SQL request, the results of the last run and the state after the last run (partitions offsets, consumer in YDS)
     * Create a query object with a given SQL
     * 
*/ public void createQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get a list of brief queries objects
     * 
*/ public void listQueries(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListQueriesMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get full information about the object of the query
     * 
*/ public void describeQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get status of the query
     * 
*/ public void getQueryStatus(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetQueryStatusMethod(), getCallOptions()), request, responseObserver); } /** *
     * Change the attributes of the query (acl, name, ...)
     * 
*/ public void modifyQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getModifyQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Completely delete the query
     * 
*/ public void deleteQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Change the state of the query lifecycle
     * 
*/ public void controlQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getControlQueryMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get a results page
     * 
*/ public void getResultData(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetResultDataMethod(), getCallOptions()), request, responseObserver); } /** *
     * Job
     * Job - appears immediately after starting the request and contains the request metadata
     * Get a list of jobs
     * 
*/ public void listJobs(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get information about the job
     * 
*/ public void describeJob(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeJobMethod(), getCallOptions()), request, responseObserver); } /** *
     * Connection
     * Connection - entity that describes connection points. This can be imagined as an analogue of a network address.
     * Create a connection object (ObjectStorage, YDB, YDS, ...)
     * 
*/ public void createConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get a list of connections objects
     * 
*/ public void listConnections(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get information about the object of the connection
     * 
*/ public void describeConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeConnectionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Change the attributes of the connection
     * 
*/ public void modifyConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getModifyConnectionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Completely delete the connection
     * 
*/ public void deleteConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Test the connection (permissions, network, ...)
     * 
*/ public void testConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestConnectionMethod(), getCallOptions()), request, responseObserver); } /** *
     * Binding
     * Binding - entity using which a schema is assigned to non-schematic data
     * Create a binding object - bind schema with ObjectStorage object or YDS stream
     * 
*/ public void createBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateBindingMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get a list of bindings objects
     * 
*/ public void listBindings(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListBindingsMethod(), getCallOptions()), request, responseObserver); } /** *
     * Get information about the object of the binding
     * 
*/ public void describeBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDescribeBindingMethod(), getCallOptions()), request, responseObserver); } /** *
     * Change the attributes of the binding
     * 
*/ public void modifyBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getModifyBindingMethod(), getCallOptions()), request, responseObserver); } /** *
     * Completely delete the binding
     * 
*/ public void deleteBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteBindingMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service FederatedQueryService. */ public static final class FederatedQueryServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private FederatedQueryServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FederatedQueryServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FederatedQueryServiceBlockingStub(channel, callOptions); } /** *
     * Query
     * Query is the text of an SQL request, the results of the last run and the state after the last run (partitions offsets, consumer in YDS)
     * Create a query object with a given SQL
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryResponse createQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateQueryMethod(), getCallOptions(), request); } /** *
     * Get a list of brief queries objects
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesResponse listQueries(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListQueriesMethod(), getCallOptions(), request); } /** *
     * Get full information about the object of the query
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryResponse describeQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeQueryMethod(), getCallOptions(), request); } /** *
     * Get status of the query
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusResponse getQueryStatus(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetQueryStatusMethod(), getCallOptions(), request); } /** *
     * Change the attributes of the query (acl, name, ...)
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryResponse modifyQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyQueryMethod(), getCallOptions(), request); } /** *
     * Completely delete the query
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryResponse deleteQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteQueryMethod(), getCallOptions(), request); } /** *
     * Change the state of the query lifecycle
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryResponse controlQuery(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getControlQueryMethod(), getCallOptions(), request); } /** *
     * Get a results page
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataResponse getResultData(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetResultDataMethod(), getCallOptions(), request); } /** *
     * Job
     * Job - appears immediately after starting the request and contains the request metadata
     * Get a list of jobs
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsResponse listJobs(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListJobsMethod(), getCallOptions(), request); } /** *
     * Get information about the job
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobResponse describeJob(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeJobMethod(), getCallOptions(), request); } /** *
     * Connection
     * Connection - entity that describes connection points. This can be imagined as an analogue of a network address.
     * Create a connection object (ObjectStorage, YDB, YDS, ...)
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionResponse createConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectionMethod(), getCallOptions(), request); } /** *
     * Get a list of connections objects
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsResponse listConnections(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectionsMethod(), getCallOptions(), request); } /** *
     * Get information about the object of the connection
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionResponse describeConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeConnectionMethod(), getCallOptions(), request); } /** *
     * Change the attributes of the connection
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionResponse modifyConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyConnectionMethod(), getCallOptions(), request); } /** *
     * Completely delete the connection
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionResponse deleteConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectionMethod(), getCallOptions(), request); } /** *
     * Test the connection (permissions, network, ...)
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionResponse testConnection(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestConnectionMethod(), getCallOptions(), request); } /** *
     * Binding
     * Binding - entity using which a schema is assigned to non-schematic data
     * Create a binding object - bind schema with ObjectStorage object or YDS stream
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingResponse createBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateBindingMethod(), getCallOptions(), request); } /** *
     * Get a list of bindings objects
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsResponse listBindings(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListBindingsMethod(), getCallOptions(), request); } /** *
     * Get information about the object of the binding
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingResponse describeBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDescribeBindingMethod(), getCallOptions(), request); } /** *
     * Change the attributes of the binding
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingResponse modifyBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getModifyBindingMethod(), getCallOptions(), request); } /** *
     * Completely delete the binding
     * 
*/ public tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingResponse deleteBinding(tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteBindingMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service FederatedQueryService. */ public static final class FederatedQueryServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private FederatedQueryServiceFutureStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected FederatedQueryServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new FederatedQueryServiceFutureStub(channel, callOptions); } /** *
     * Query
     * Query is the text of an SQL request, the results of the last run and the state after the last run (partitions offsets, consumer in YDS)
     * Create a query object with a given SQL
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createQuery( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateQueryMethod(), getCallOptions()), request); } /** *
     * Get a list of brief queries objects
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listQueries( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListQueriesMethod(), getCallOptions()), request); } /** *
     * Get full information about the object of the query
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeQuery( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeQueryMethod(), getCallOptions()), request); } /** *
     * Get status of the query
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getQueryStatus( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetQueryStatusMethod(), getCallOptions()), request); } /** *
     * Change the attributes of the query (acl, name, ...)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture modifyQuery( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyQueryMethod(), getCallOptions()), request); } /** *
     * Completely delete the query
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteQuery( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteQueryMethod(), getCallOptions()), request); } /** *
     * Change the state of the query lifecycle
     * 
*/ public com.google.common.util.concurrent.ListenableFuture controlQuery( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getControlQueryMethod(), getCallOptions()), request); } /** *
     * Get a results page
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getResultData( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetResultDataMethod(), getCallOptions()), request); } /** *
     * Job
     * Job - appears immediately after starting the request and contains the request metadata
     * Get a list of jobs
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listJobs( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListJobsMethod(), getCallOptions()), request); } /** *
     * Get information about the job
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeJob( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeJobMethod(), getCallOptions()), request); } /** *
     * Connection
     * Connection - entity that describes connection points. This can be imagined as an analogue of a network address.
     * Create a connection object (ObjectStorage, YDB, YDS, ...)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createConnection( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request); } /** *
     * Get a list of connections objects
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listConnections( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request); } /** *
     * Get information about the object of the connection
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeConnection( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeConnectionMethod(), getCallOptions()), request); } /** *
     * Change the attributes of the connection
     * 
*/ public com.google.common.util.concurrent.ListenableFuture modifyConnection( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyConnectionMethod(), getCallOptions()), request); } /** *
     * Completely delete the connection
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteConnection( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request); } /** *
     * Test the connection (permissions, network, ...)
     * 
*/ public com.google.common.util.concurrent.ListenableFuture testConnection( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestConnectionMethod(), getCallOptions()), request); } /** *
     * Binding
     * Binding - entity using which a schema is assigned to non-schematic data
     * Create a binding object - bind schema with ObjectStorage object or YDS stream
     * 
*/ public com.google.common.util.concurrent.ListenableFuture createBinding( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateBindingMethod(), getCallOptions()), request); } /** *
     * Get a list of bindings objects
     * 
*/ public com.google.common.util.concurrent.ListenableFuture listBindings( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListBindingsMethod(), getCallOptions()), request); } /** *
     * Get information about the object of the binding
     * 
*/ public com.google.common.util.concurrent.ListenableFuture describeBinding( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDescribeBindingMethod(), getCallOptions()), request); } /** *
     * Change the attributes of the binding
     * 
*/ public com.google.common.util.concurrent.ListenableFuture modifyBinding( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getModifyBindingMethod(), getCallOptions()), request); } /** *
     * Completely delete the binding
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteBinding( tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteBindingMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_QUERY = 0; private static final int METHODID_LIST_QUERIES = 1; private static final int METHODID_DESCRIBE_QUERY = 2; private static final int METHODID_GET_QUERY_STATUS = 3; private static final int METHODID_MODIFY_QUERY = 4; private static final int METHODID_DELETE_QUERY = 5; private static final int METHODID_CONTROL_QUERY = 6; private static final int METHODID_GET_RESULT_DATA = 7; private static final int METHODID_LIST_JOBS = 8; private static final int METHODID_DESCRIBE_JOB = 9; private static final int METHODID_CREATE_CONNECTION = 10; private static final int METHODID_LIST_CONNECTIONS = 11; private static final int METHODID_DESCRIBE_CONNECTION = 12; private static final int METHODID_MODIFY_CONNECTION = 13; private static final int METHODID_DELETE_CONNECTION = 14; private static final int METHODID_TEST_CONNECTION = 15; private static final int METHODID_CREATE_BINDING = 16; private static final int METHODID_LIST_BINDINGS = 17; private static final int METHODID_DESCRIBE_BINDING = 18; private static final int METHODID_MODIFY_BINDING = 19; private static final int METHODID_DELETE_BINDING = 20; 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_QUERY: serviceImpl.createQuery((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_QUERIES: serviceImpl.listQueries((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_QUERY: serviceImpl.describeQuery((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_QUERY_STATUS: serviceImpl.getQueryStatus((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_QUERY: serviceImpl.modifyQuery((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_QUERY: serviceImpl.deleteQuery((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CONTROL_QUERY: serviceImpl.controlQuery((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_RESULT_DATA: serviceImpl.getResultData((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_JOBS: serviceImpl.listJobs((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_JOB: serviceImpl.describeJob((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_CONNECTION: serviceImpl.createConnection((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_CONNECTIONS: serviceImpl.listConnections((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_CONNECTION: serviceImpl.describeConnection((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_CONNECTION: serviceImpl.modifyConnection((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTION: serviceImpl.deleteConnection((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_CONNECTION: serviceImpl.testConnection((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_CREATE_BINDING: serviceImpl.createBinding((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_LIST_BINDINGS: serviceImpl.listBindings((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DESCRIBE_BINDING: serviceImpl.describeBinding((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_MODIFY_BINDING: serviceImpl.modifyBinding((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_BINDING: serviceImpl.deleteBinding((tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest) 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( getCreateQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateQueryResponse>( service, METHODID_CREATE_QUERY))) .addMethod( getListQueriesMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListQueriesResponse>( service, METHODID_LIST_QUERIES))) .addMethod( getDescribeQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeQueryResponse>( service, METHODID_DESCRIBE_QUERY))) .addMethod( getGetQueryStatusMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetQueryStatusResponse>( service, METHODID_GET_QUERY_STATUS))) .addMethod( getModifyQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyQueryResponse>( service, METHODID_MODIFY_QUERY))) .addMethod( getDeleteQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteQueryResponse>( service, METHODID_DELETE_QUERY))) .addMethod( getControlQueryMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ControlQueryResponse>( service, METHODID_CONTROL_QUERY))) .addMethod( getGetResultDataMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.GetResultDataResponse>( service, METHODID_GET_RESULT_DATA))) .addMethod( getListJobsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListJobsResponse>( service, METHODID_LIST_JOBS))) .addMethod( getDescribeJobMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeJobResponse>( service, METHODID_DESCRIBE_JOB))) .addMethod( getCreateConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateConnectionResponse>( service, METHODID_CREATE_CONNECTION))) .addMethod( getListConnectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListConnectionsResponse>( service, METHODID_LIST_CONNECTIONS))) .addMethod( getDescribeConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeConnectionResponse>( service, METHODID_DESCRIBE_CONNECTION))) .addMethod( getModifyConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyConnectionResponse>( service, METHODID_MODIFY_CONNECTION))) .addMethod( getDeleteConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteConnectionResponse>( service, METHODID_DELETE_CONNECTION))) .addMethod( getTestConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.TestConnectionResponse>( service, METHODID_TEST_CONNECTION))) .addMethod( getCreateBindingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.CreateBindingResponse>( service, METHODID_CREATE_BINDING))) .addMethod( getListBindingsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ListBindingsResponse>( service, METHODID_LIST_BINDINGS))) .addMethod( getDescribeBindingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DescribeBindingResponse>( service, METHODID_DESCRIBE_BINDING))) .addMethod( getModifyBindingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.ModifyBindingResponse>( service, METHODID_MODIFY_BINDING))) .addMethod( getDeleteBindingMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingRequest, tech.ydb.proto.draft.federated.query.YdbFederatedQuery.DeleteBindingResponse>( service, METHODID_DELETE_BINDING))) .build(); } private static abstract class FederatedQueryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { FederatedQueryServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return tech.ydb.proto.draft.federated.query.v1.YdbFederatedQueryV1.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("FederatedQueryService"); } } private static final class FederatedQueryServiceFileDescriptorSupplier extends FederatedQueryServiceBaseDescriptorSupplier { FederatedQueryServiceFileDescriptorSupplier() {} } private static final class FederatedQueryServiceMethodDescriptorSupplier extends FederatedQueryServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; FederatedQueryServiceMethodDescriptorSupplier(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 (FederatedQueryServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new FederatedQueryServiceFileDescriptorSupplier()) .addMethod(getCreateQueryMethod()) .addMethod(getListQueriesMethod()) .addMethod(getDescribeQueryMethod()) .addMethod(getGetQueryStatusMethod()) .addMethod(getModifyQueryMethod()) .addMethod(getDeleteQueryMethod()) .addMethod(getControlQueryMethod()) .addMethod(getGetResultDataMethod()) .addMethod(getListJobsMethod()) .addMethod(getDescribeJobMethod()) .addMethod(getCreateConnectionMethod()) .addMethod(getListConnectionsMethod()) .addMethod(getDescribeConnectionMethod()) .addMethod(getModifyConnectionMethod()) .addMethod(getDeleteConnectionMethod()) .addMethod(getTestConnectionMethod()) .addMethod(getCreateBindingMethod()) .addMethod(getListBindingsMethod()) .addMethod(getDescribeBindingMethod()) .addMethod(getModifyBindingMethod()) .addMethod(getDeleteBindingMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy