//
//  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 $47;

export 'proj.pb.dart';

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

  ProjectServiceClient(super.channel, {super.options, super.interceptors});

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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