// This is a generated file - do not edit.
//
// Generated from proj.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names

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 $0;

export 'proj.pb.dart';

@$pb.GrpcServiceName('api.ProjectService')
class ProjectServiceClient extends $grpc.Client {
  /// The hostname for this service.
  static const $core.String defaultHost = '';

  /// OAuth scopes needed for the client.
  static const $core.List<$core.String> oauthScopes = [
    '',
  ];

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

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

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

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

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

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

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

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

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

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

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

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

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

  @$core.Deprecated('This method is deprecated')
  $grpc.ResponseFuture<$0.CleanDeletedProjectsResult> cleanDeletedProjects($0.CleanDeletedProjectsRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$cleanDeletedProjects, request, options: options);
  }

  $grpc.ResponseFuture<$0.IsProjectExistResult> isProjectExist($0.IsProjectExistRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$isProjectExist, request, options: options);
  }

    // method descriptors

  static final _$get = $grpc.ClientMethod<$0.GetProjectRequest, $0.GetProjectResult>(
      '/api.ProjectService/Get',
      ($0.GetProjectRequest value) => value.writeToBuffer(),
      $0.GetProjectResult.fromBuffer);
  static final _$list = $grpc.ClientMethod<$0.ListProjectRequest, $0.ListProjectResult>(
      '/api.ProjectService/List',
      ($0.ListProjectRequest value) => value.writeToBuffer(),
      $0.ListProjectResult.fromBuffer);
  static final _$listAll = $grpc.ClientMethod<$0.ListAllProjectRequest, $0.ListAllProjectResult>(
      '/api.ProjectService/ListAll',
      ($0.ListAllProjectRequest value) => value.writeToBuffer(),
      $0.ListAllProjectResult.fromBuffer);
  static final _$create = $grpc.ClientMethod<$0.CreateProjectRequest, $0.CreateProjectResult>(
      '/api.ProjectService/Create',
      ($0.CreateProjectRequest value) => value.writeToBuffer(),
      $0.CreateProjectResult.fromBuffer);
  static final _$setModules = $grpc.ClientMethod<$0.SetModulesProjectRequest, $0.SetModulesProjectResult>(
      '/api.ProjectService/SetModules',
      ($0.SetModulesProjectRequest value) => value.writeToBuffer(),
      $0.SetModulesProjectResult.fromBuffer);
  static final _$update = $grpc.ClientMethod<$0.UpdateProjectRequest, $0.UpdateProjectResult>(
      '/api.ProjectService/Update',
      ($0.UpdateProjectRequest value) => value.writeToBuffer(),
      $0.UpdateProjectResult.fromBuffer);
  static final _$updateStatus = $grpc.ClientMethod<$0.UpdateProjectStatusRequest, $0.UpdateProjectStatusResult>(
      '/api.ProjectService/UpdateStatus',
      ($0.UpdateProjectStatusRequest value) => value.writeToBuffer(),
      $0.UpdateProjectStatusResult.fromBuffer);
  static final _$delete = $grpc.ClientMethod<$0.DeleteProjectRequest, $0.DeleteProjectResult>(
      '/api.ProjectService/Delete',
      ($0.DeleteProjectRequest value) => value.writeToBuffer(),
      $0.DeleteProjectResult.fromBuffer);
  static final _$suggestID = $grpc.ClientMethod<$0.SuggestProjectIDRequest, $0.SuggestProjectIDResult>(
      '/api.ProjectService/SuggestID',
      ($0.SuggestProjectIDRequest value) => value.writeToBuffer(),
      $0.SuggestProjectIDResult.fromBuffer);
  static final _$getMyUIContext = $grpc.ClientMethod<$0.GetMyContextRequest, $0.GetMyContextResult>(
      '/api.ProjectService/GetMyUIContext',
      ($0.GetMyContextRequest value) => value.writeToBuffer(),
      $0.GetMyContextResult.fromBuffer);
  static final _$getMyContext = $grpc.ClientMethod<$0.GetMyContextRequest, $0.GetMyContextResult>(
      '/api.ProjectService/GetMyContext',
      ($0.GetMyContextRequest value) => value.writeToBuffer(),
      $0.GetMyContextResult.fromBuffer);
  static final _$deleteProjectInDB = $grpc.ClientMethod<$0.DeleteProjectInDBRequest, $0.DeleteProjectInDBResult>(
      '/api.ProjectService/DeleteProjectInDB',
      ($0.DeleteProjectInDBRequest value) => value.writeToBuffer(),
      $0.DeleteProjectInDBResult.fromBuffer);
  static final _$cleanDeletedProjects = $grpc.ClientMethod<$0.CleanDeletedProjectsRequest, $0.CleanDeletedProjectsResult>(
      '/api.ProjectService/CleanDeletedProjects',
      ($0.CleanDeletedProjectsRequest value) => value.writeToBuffer(),
      $0.CleanDeletedProjectsResult.fromBuffer);
  static final _$isProjectExist = $grpc.ClientMethod<$0.IsProjectExistRequest, $0.IsProjectExistResult>(
      '/api.ProjectService/IsProjectExist',
      ($0.IsProjectExistRequest value) => value.writeToBuffer(),
      $0.IsProjectExistResult.fromBuffer);
}

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

  ProjectServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.GetProjectRequest, $0.GetProjectResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetProjectRequest.fromBuffer(value),
        ($0.GetProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListProjectRequest, $0.ListProjectResult>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListProjectRequest.fromBuffer(value),
        ($0.ListProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListAllProjectRequest, $0.ListAllProjectResult>(
        'ListAll',
        listAll_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListAllProjectRequest.fromBuffer(value),
        ($0.ListAllProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.CreateProjectRequest, $0.CreateProjectResult>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CreateProjectRequest.fromBuffer(value),
        ($0.CreateProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.SetModulesProjectRequest, $0.SetModulesProjectResult>(
        'SetModules',
        setModules_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.SetModulesProjectRequest.fromBuffer(value),
        ($0.SetModulesProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.UpdateProjectRequest, $0.UpdateProjectResult>(
        'Update',
        update_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.UpdateProjectRequest.fromBuffer(value),
        ($0.UpdateProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.UpdateProjectStatusRequest, $0.UpdateProjectStatusResult>(
        'UpdateStatus',
        updateStatus_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.UpdateProjectStatusRequest.fromBuffer(value),
        ($0.UpdateProjectStatusResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteProjectRequest, $0.DeleteProjectResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteProjectRequest.fromBuffer(value),
        ($0.DeleteProjectResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.SuggestProjectIDRequest, $0.SuggestProjectIDResult>(
        'SuggestID',
        suggestID_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.SuggestProjectIDRequest.fromBuffer(value),
        ($0.SuggestProjectIDResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.GetMyContextRequest, $0.GetMyContextResult>(
        'GetMyUIContext',
        getMyUIContext_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetMyContextRequest.fromBuffer(value),
        ($0.GetMyContextResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.GetMyContextRequest, $0.GetMyContextResult>(
        'GetMyContext',
        getMyContext_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetMyContextRequest.fromBuffer(value),
        ($0.GetMyContextResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteProjectInDBRequest, $0.DeleteProjectInDBResult>(
        'DeleteProjectInDB',
        deleteProjectInDB_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteProjectInDBRequest.fromBuffer(value),
        ($0.DeleteProjectInDBResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.CleanDeletedProjectsRequest, $0.CleanDeletedProjectsResult>(
        'CleanDeletedProjects',
        cleanDeletedProjects_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CleanDeletedProjectsRequest.fromBuffer(value),
        ($0.CleanDeletedProjectsResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.IsProjectExistRequest, $0.IsProjectExistResult>(
        'IsProjectExist',
        isProjectExist_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.IsProjectExistRequest.fromBuffer(value),
        ($0.IsProjectExistResult value) => value.writeToBuffer()));
  }

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

  $async.Future<$0.GetProjectResult> get($grpc.ServiceCall call, $0.GetProjectRequest request);

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

  $async.Future<$0.ListProjectResult> list($grpc.ServiceCall call, $0.ListProjectRequest request);

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

  $async.Future<$0.ListAllProjectResult> listAll($grpc.ServiceCall call, $0.ListAllProjectRequest request);

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

  $async.Future<$0.CreateProjectResult> create($grpc.ServiceCall call, $0.CreateProjectRequest request);

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

  $async.Future<$0.SetModulesProjectResult> setModules($grpc.ServiceCall call, $0.SetModulesProjectRequest request);

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

  $async.Future<$0.UpdateProjectResult> update($grpc.ServiceCall call, $0.UpdateProjectRequest request);

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

  $async.Future<$0.UpdateProjectStatusResult> updateStatus($grpc.ServiceCall call, $0.UpdateProjectStatusRequest request);

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

  $async.Future<$0.DeleteProjectResult> delete($grpc.ServiceCall call, $0.DeleteProjectRequest request);

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

  $async.Future<$0.SuggestProjectIDResult> suggestID($grpc.ServiceCall call, $0.SuggestProjectIDRequest request);

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

  $async.Future<$0.GetMyContextResult> getMyUIContext($grpc.ServiceCall call, $0.GetMyContextRequest request);

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

  $async.Future<$0.GetMyContextResult> getMyContext($grpc.ServiceCall call, $0.GetMyContextRequest request);

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

  $async.Future<$0.DeleteProjectInDBResult> deleteProjectInDB($grpc.ServiceCall call, $0.DeleteProjectInDBRequest request);

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

  $async.Future<$0.CleanDeletedProjectsResult> cleanDeletedProjects($grpc.ServiceCall call, $0.CleanDeletedProjectsRequest request);

  $async.Future<$0.IsProjectExistResult> isProjectExist_Pre($grpc.ServiceCall $call, $async.Future<$0.IsProjectExistRequest> $request) async {
    return isProjectExist($call, await $request);
  }

  $async.Future<$0.IsProjectExistResult> isProjectExist($grpc.ServiceCall call, $0.IsProjectExistRequest request);

}
