//
//  Generated code. Do not modify.
//  source: proj.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:async' as $async;
import 'dart:core' as $core;

import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;

import 'proj.pb.dart' as $12;

export 'proj.pb.dart';

@$pb.GrpcServiceName('api.ProjectService')
class ProjectServiceClient extends $grpc.Client {
  static final _$get = $grpc.ClientMethod<$12.GetProjectRequest, $12.GetProjectResult>(
      '/api.ProjectService/Get',
      ($12.GetProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.GetProjectResult.fromBuffer(value));
  static final _$list = $grpc.ClientMethod<$12.ListProjectRequest, $12.ListProjectResult>(
      '/api.ProjectService/List',
      ($12.ListProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ListProjectResult.fromBuffer(value));
  static final _$listAll = $grpc.ClientMethod<$12.ListAllProjectRequest, $12.ListAllProjectResult>(
      '/api.ProjectService/ListAll',
      ($12.ListAllProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.ListAllProjectResult.fromBuffer(value));
  static final _$create = $grpc.ClientMethod<$12.CreateProjectRequest, $12.CreateProjectResult>(
      '/api.ProjectService/Create',
      ($12.CreateProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.CreateProjectResult.fromBuffer(value));
  static final _$setModules = $grpc.ClientMethod<$12.SetModulesProjectRequest, $12.SetModulesProjectResult>(
      '/api.ProjectService/SetModules',
      ($12.SetModulesProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.SetModulesProjectResult.fromBuffer(value));
  static final _$update = $grpc.ClientMethod<$12.UpdateProjectRequest, $12.UpdateProjectResult>(
      '/api.ProjectService/Update',
      ($12.UpdateProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.UpdateProjectResult.fromBuffer(value));
  static final _$updateStatus = $grpc.ClientMethod<$12.UpdateProjectStatusRequest, $12.UpdateProjectStatusResult>(
      '/api.ProjectService/UpdateStatus',
      ($12.UpdateProjectStatusRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.UpdateProjectStatusResult.fromBuffer(value));
  static final _$delete = $grpc.ClientMethod<$12.DeleteProjectRequest, $12.DeleteProjectResult>(
      '/api.ProjectService/Delete',
      ($12.DeleteProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.DeleteProjectResult.fromBuffer(value));
  static final _$createClickhouse = $grpc.ClientMethod<$12.CreateClickhouseRequest, $12.CreateClickhouseResult>(
      '/api.ProjectService/CreateClickhouse',
      ($12.CreateClickhouseRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.CreateClickhouseResult.fromBuffer(value));
  static final _$deleteClickhouse = $grpc.ClientMethod<$12.DeleteClickhouseRequest, $12.DeleteClickhouseResult>(
      '/api.ProjectService/DeleteClickhouse',
      ($12.DeleteClickhouseRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.DeleteClickhouseResult.fromBuffer(value));
  static final _$suggestID = $grpc.ClientMethod<$12.SuggestProjectIDRequest, $12.SuggestProjectIDResult>(
      '/api.ProjectService/SuggestID',
      ($12.SuggestProjectIDRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.SuggestProjectIDResult.fromBuffer(value));
  static final _$getMyUIContext = $grpc.ClientMethod<$12.GetMyContextRequest, $12.GetMyContextResult>(
      '/api.ProjectService/GetMyUIContext',
      ($12.GetMyContextRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.GetMyContextResult.fromBuffer(value));
  static final _$getMyContext = $grpc.ClientMethod<$12.GetMyContextRequest, $12.GetMyContextResult>(
      '/api.ProjectService/GetMyContext',
      ($12.GetMyContextRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.GetMyContextResult.fromBuffer(value));
  static final _$deleteProjectInDB = $grpc.ClientMethod<$12.DeleteProjectInDBRequest, $12.DeleteProjectInDBResult>(
      '/api.ProjectService/DeleteProjectInDB',
      ($12.DeleteProjectInDBRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.DeleteProjectInDBResult.fromBuffer(value));
  static final _$deleteCassandra = $grpc.ClientMethod<$12.DeleteCassandraRequest, $12.DeleteCassandraResult>(
      '/api.ProjectService/DeleteCassandra',
      ($12.DeleteCassandraRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.DeleteCassandraResult.fromBuffer(value));
  static final _$optimizeClickhouse = $grpc.ClientMethod<$12.OptimizeClickhouseRequest, $12.OptimizeClickhouseResult>(
      '/api.ProjectService/OptimizeClickhouse',
      ($12.OptimizeClickhouseRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.OptimizeClickhouseResult.fromBuffer(value));
  static final _$cleanDeletedProjects = $grpc.ClientMethod<$12.CleanDeletedProjectsRequest, $12.CleanDeletedProjectsResult>(
      '/api.ProjectService/CleanDeletedProjects',
      ($12.CleanDeletedProjectsRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $12.CleanDeletedProjectsResult.fromBuffer(value));

  ProjectServiceClient($grpc.ClientChannel channel,
      {$grpc.CallOptions? options,
      $core.Iterable<$grpc.ClientInterceptor>? interceptors})
      : super(channel, options: options,
        interceptors: interceptors);

  $grpc.ResponseFuture<$12.GetProjectResult> get($12.GetProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$get, request, options: options);
  }

  $grpc.ResponseFuture<$12.ListProjectResult> list($12.ListProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$list, request, options: options);
  }

  $grpc.ResponseFuture<$12.ListAllProjectResult> listAll($12.ListAllProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$listAll, request, options: options);
  }

  $grpc.ResponseFuture<$12.CreateProjectResult> create($12.CreateProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$create, request, options: options);
  }

  $grpc.ResponseFuture<$12.SetModulesProjectResult> setModules($12.SetModulesProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$setModules, request, options: options);
  }

  $grpc.ResponseFuture<$12.UpdateProjectResult> update($12.UpdateProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$update, request, options: options);
  }

  $grpc.ResponseFuture<$12.UpdateProjectStatusResult> updateStatus($12.UpdateProjectStatusRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$updateStatus, request, options: options);
  }

  $grpc.ResponseFuture<$12.DeleteProjectResult> delete($12.DeleteProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$delete, request, options: options);
  }

  $grpc.ResponseFuture<$12.CreateClickhouseResult> createClickhouse($12.CreateClickhouseRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$createClickhouse, request, options: options);
  }

  $grpc.ResponseFuture<$12.DeleteClickhouseResult> deleteClickhouse($12.DeleteClickhouseRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteClickhouse, request, options: options);
  }

  $grpc.ResponseFuture<$12.SuggestProjectIDResult> suggestID($12.SuggestProjectIDRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$suggestID, request, options: options);
  }

  $grpc.ResponseFuture<$12.GetMyContextResult> getMyUIContext($12.GetMyContextRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getMyUIContext, request, options: options);
  }

  $grpc.ResponseFuture<$12.GetMyContextResult> getMyContext($12.GetMyContextRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$getMyContext, request, options: options);
  }

  $grpc.ResponseFuture<$12.DeleteProjectInDBResult> deleteProjectInDB($12.DeleteProjectInDBRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteProjectInDB, request, options: options);
  }

  $grpc.ResponseFuture<$12.DeleteCassandraResult> deleteCassandra($12.DeleteCassandraRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteCassandra, request, options: options);
  }

  $grpc.ResponseFuture<$12.OptimizeClickhouseResult> optimizeClickhouse($12.OptimizeClickhouseRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$optimizeClickhouse, request, options: options);
  }

  $grpc.ResponseFuture<$12.CleanDeletedProjectsResult> cleanDeletedProjects($12.CleanDeletedProjectsRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$cleanDeletedProjects, request, options: options);
  }
}

@$pb.GrpcServiceName('api.ProjectService')
abstract class ProjectServiceBase extends $grpc.Service {
  $core.String get $name => 'api.ProjectService';

  ProjectServiceBase() {
    $addMethod($grpc.ServiceMethod<$12.GetProjectRequest, $12.GetProjectResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.GetProjectRequest.fromBuffer(value),
        ($12.GetProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ListProjectRequest, $12.ListProjectResult>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ListProjectRequest.fromBuffer(value),
        ($12.ListProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.ListAllProjectRequest, $12.ListAllProjectResult>(
        'ListAll',
        listAll_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.ListAllProjectRequest.fromBuffer(value),
        ($12.ListAllProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.CreateProjectRequest, $12.CreateProjectResult>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.CreateProjectRequest.fromBuffer(value),
        ($12.CreateProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.SetModulesProjectRequest, $12.SetModulesProjectResult>(
        'SetModules',
        setModules_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.SetModulesProjectRequest.fromBuffer(value),
        ($12.SetModulesProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.UpdateProjectRequest, $12.UpdateProjectResult>(
        'Update',
        update_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.UpdateProjectRequest.fromBuffer(value),
        ($12.UpdateProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.UpdateProjectStatusRequest, $12.UpdateProjectStatusResult>(
        'UpdateStatus',
        updateStatus_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.UpdateProjectStatusRequest.fromBuffer(value),
        ($12.UpdateProjectStatusResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.DeleteProjectRequest, $12.DeleteProjectResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.DeleteProjectRequest.fromBuffer(value),
        ($12.DeleteProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.CreateClickhouseRequest, $12.CreateClickhouseResult>(
        'CreateClickhouse',
        createClickhouse_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.CreateClickhouseRequest.fromBuffer(value),
        ($12.CreateClickhouseResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.DeleteClickhouseRequest, $12.DeleteClickhouseResult>(
        'DeleteClickhouse',
        deleteClickhouse_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.DeleteClickhouseRequest.fromBuffer(value),
        ($12.DeleteClickhouseResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.SuggestProjectIDRequest, $12.SuggestProjectIDResult>(
        'SuggestID',
        suggestID_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.SuggestProjectIDRequest.fromBuffer(value),
        ($12.SuggestProjectIDResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.GetMyContextRequest, $12.GetMyContextResult>(
        'GetMyUIContext',
        getMyUIContext_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.GetMyContextRequest.fromBuffer(value),
        ($12.GetMyContextResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.GetMyContextRequest, $12.GetMyContextResult>(
        'GetMyContext',
        getMyContext_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.GetMyContextRequest.fromBuffer(value),
        ($12.GetMyContextResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.DeleteProjectInDBRequest, $12.DeleteProjectInDBResult>(
        'DeleteProjectInDB',
        deleteProjectInDB_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.DeleteProjectInDBRequest.fromBuffer(value),
        ($12.DeleteProjectInDBResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.DeleteCassandraRequest, $12.DeleteCassandraResult>(
        'DeleteCassandra',
        deleteCassandra_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.DeleteCassandraRequest.fromBuffer(value),
        ($12.DeleteCassandraResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.OptimizeClickhouseRequest, $12.OptimizeClickhouseResult>(
        'OptimizeClickhouse',
        optimizeClickhouse_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.OptimizeClickhouseRequest.fromBuffer(value),
        ($12.OptimizeClickhouseResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$12.CleanDeletedProjectsRequest, $12.CleanDeletedProjectsResult>(
        'CleanDeletedProjects',
        cleanDeletedProjects_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $12.CleanDeletedProjectsRequest.fromBuffer(value),
        ($12.CleanDeletedProjectsResult value) => value.writeToBuffer()));
  }

  $async.Future<$12.GetProjectResult> get_Pre($grpc.ServiceCall $call, $async.Future<$12.GetProjectRequest> $request) async {
    return get($call, await $request);
  }

  $async.Future<$12.ListProjectResult> list_Pre($grpc.ServiceCall $call, $async.Future<$12.ListProjectRequest> $request) async {
    return list($call, await $request);
  }

  $async.Future<$12.ListAllProjectResult> listAll_Pre($grpc.ServiceCall $call, $async.Future<$12.ListAllProjectRequest> $request) async {
    return listAll($call, await $request);
  }

  $async.Future<$12.CreateProjectResult> create_Pre($grpc.ServiceCall $call, $async.Future<$12.CreateProjectRequest> $request) async {
    return create($call, await $request);
  }

  $async.Future<$12.SetModulesProjectResult> setModules_Pre($grpc.ServiceCall $call, $async.Future<$12.SetModulesProjectRequest> $request) async {
    return setModules($call, await $request);
  }

  $async.Future<$12.UpdateProjectResult> update_Pre($grpc.ServiceCall $call, $async.Future<$12.UpdateProjectRequest> $request) async {
    return update($call, await $request);
  }

  $async.Future<$12.UpdateProjectStatusResult> updateStatus_Pre($grpc.ServiceCall $call, $async.Future<$12.UpdateProjectStatusRequest> $request) async {
    return updateStatus($call, await $request);
  }

  $async.Future<$12.DeleteProjectResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$12.DeleteProjectRequest> $request) async {
    return delete($call, await $request);
  }

  $async.Future<$12.CreateClickhouseResult> createClickhouse_Pre($grpc.ServiceCall $call, $async.Future<$12.CreateClickhouseRequest> $request) async {
    return createClickhouse($call, await $request);
  }

  $async.Future<$12.DeleteClickhouseResult> deleteClickhouse_Pre($grpc.ServiceCall $call, $async.Future<$12.DeleteClickhouseRequest> $request) async {
    return deleteClickhouse($call, await $request);
  }

  $async.Future<$12.SuggestProjectIDResult> suggestID_Pre($grpc.ServiceCall $call, $async.Future<$12.SuggestProjectIDRequest> $request) async {
    return suggestID($call, await $request);
  }

  $async.Future<$12.GetMyContextResult> getMyUIContext_Pre($grpc.ServiceCall $call, $async.Future<$12.GetMyContextRequest> $request) async {
    return getMyUIContext($call, await $request);
  }

  $async.Future<$12.GetMyContextResult> getMyContext_Pre($grpc.ServiceCall $call, $async.Future<$12.GetMyContextRequest> $request) async {
    return getMyContext($call, await $request);
  }

  $async.Future<$12.DeleteProjectInDBResult> deleteProjectInDB_Pre($grpc.ServiceCall $call, $async.Future<$12.DeleteProjectInDBRequest> $request) async {
    return deleteProjectInDB($call, await $request);
  }

  $async.Future<$12.DeleteCassandraResult> deleteCassandra_Pre($grpc.ServiceCall $call, $async.Future<$12.DeleteCassandraRequest> $request) async {
    return deleteCassandra($call, await $request);
  }

  $async.Future<$12.OptimizeClickhouseResult> optimizeClickhouse_Pre($grpc.ServiceCall $call, $async.Future<$12.OptimizeClickhouseRequest> $request) async {
    return optimizeClickhouse($call, await $request);
  }

  $async.Future<$12.CleanDeletedProjectsResult> cleanDeletedProjects_Pre($grpc.ServiceCall $call, $async.Future<$12.CleanDeletedProjectsRequest> $request) async {
    return cleanDeletedProjects($call, await $request);
  }

  $async.Future<$12.GetProjectResult> get($grpc.ServiceCall call, $12.GetProjectRequest request);
  $async.Future<$12.ListProjectResult> list($grpc.ServiceCall call, $12.ListProjectRequest request);
  $async.Future<$12.ListAllProjectResult> listAll($grpc.ServiceCall call, $12.ListAllProjectRequest request);
  $async.Future<$12.CreateProjectResult> create($grpc.ServiceCall call, $12.CreateProjectRequest request);
  $async.Future<$12.SetModulesProjectResult> setModules($grpc.ServiceCall call, $12.SetModulesProjectRequest request);
  $async.Future<$12.UpdateProjectResult> update($grpc.ServiceCall call, $12.UpdateProjectRequest request);
  $async.Future<$12.UpdateProjectStatusResult> updateStatus($grpc.ServiceCall call, $12.UpdateProjectStatusRequest request);
  $async.Future<$12.DeleteProjectResult> delete($grpc.ServiceCall call, $12.DeleteProjectRequest request);
  $async.Future<$12.CreateClickhouseResult> createClickhouse($grpc.ServiceCall call, $12.CreateClickhouseRequest request);
  $async.Future<$12.DeleteClickhouseResult> deleteClickhouse($grpc.ServiceCall call, $12.DeleteClickhouseRequest request);
  $async.Future<$12.SuggestProjectIDResult> suggestID($grpc.ServiceCall call, $12.SuggestProjectIDRequest request);
  $async.Future<$12.GetMyContextResult> getMyUIContext($grpc.ServiceCall call, $12.GetMyContextRequest request);
  $async.Future<$12.GetMyContextResult> getMyContext($grpc.ServiceCall call, $12.GetMyContextRequest request);
  $async.Future<$12.DeleteProjectInDBResult> deleteProjectInDB($grpc.ServiceCall call, $12.DeleteProjectInDBRequest request);
  $async.Future<$12.DeleteCassandraResult> deleteCassandra($grpc.ServiceCall call, $12.DeleteCassandraRequest request);
  $async.Future<$12.OptimizeClickhouseResult> optimizeClickhouse($grpc.ServiceCall call, $12.OptimizeClickhouseRequest request);
  $async.Future<$12.CleanDeletedProjectsResult> cleanDeletedProjects($grpc.ServiceCall call, $12.CleanDeletedProjectsRequest request);
}
