//
//  Generated code. Do not modify.
//  source: matrix-proxy.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 'matrix-proxy.pb.dart' as $22;

export 'matrix-proxy.pb.dart';

@$pb.GrpcServiceName('api.MatrixProxyService')
class MatrixProxyServiceClient extends $grpc.Client {
  static final _$createRoom = $grpc.ClientMethod<$22.CreateRoomRequest, $22.CreateRoomResponse>(
      '/api.MatrixProxyService/CreateRoom',
      ($22.CreateRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.CreateRoomResponse.fromBuffer(value));
  static final _$deleteRoom = $grpc.ClientMethod<$22.DeleteRoomRequest, $22.DeleteRoomResponse>(
      '/api.MatrixProxyService/DeleteRoom',
      ($22.DeleteRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.DeleteRoomResponse.fromBuffer(value));
  static final _$inviteUserToRoom = $grpc.ClientMethod<$22.InviteUserToRoomRequest, $22.InviteUserToRoomResponse>(
      '/api.MatrixProxyService/InviteUserToRoom',
      ($22.InviteUserToRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.InviteUserToRoomResponse.fromBuffer(value));
  static final _$sendNoticeToRoom = $grpc.ClientMethod<$22.SendNoticeToRoomRequest, $22.SendNoticeToRoomResponse>(
      '/api.MatrixProxyService/SendNoticeToRoom',
      ($22.SendNoticeToRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.SendNoticeToRoomResponse.fromBuffer(value));
  static final _$createProjectRoom = $grpc.ClientMethod<$22.CreateProjectRoomRequest, $22.CreateProjectRoomResponse>(
      '/api.MatrixProxyService/CreateProjectRoom',
      ($22.CreateProjectRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.CreateProjectRoomResponse.fromBuffer(value));
  static final _$deleteProjectRoom = $grpc.ClientMethod<$22.DeleteProjectRoomRequest, $22.DeleteProjectRoomResponse>(
      '/api.MatrixProxyService/DeleteProjectRoom',
      ($22.DeleteProjectRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.DeleteProjectRoomResponse.fromBuffer(value));
  static final _$inviteUserToProjectRoom = $grpc.ClientMethod<$22.InviteUserToProjectRoomRequest, $22.InviteUserToProjectRoomResponse>(
      '/api.MatrixProxyService/InviteUserToProjectRoom',
      ($22.InviteUserToProjectRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.InviteUserToProjectRoomResponse.fromBuffer(value));
  static final _$sendNoticeToProjectRoom = $grpc.ClientMethod<$22.SendNoticeToProjectRoomRequest, $22.SendNoticeToProjectRoomResponse>(
      '/api.MatrixProxyService/SendNoticeToProjectRoom',
      ($22.SendNoticeToProjectRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.SendNoticeToProjectRoomResponse.fromBuffer(value));
  static final _$deleteRoomsForProject = $grpc.ClientMethod<$22.DeleteRoomsForProjectRequest, $22.DeleteRoomsForProjectResponse>(
      '/api.MatrixProxyService/DeleteRoomsForProject',
      ($22.DeleteRoomsForProjectRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.DeleteRoomsForProjectResponse.fromBuffer(value));
  static final _$sendMessageToProjectRoom = $grpc.ClientMethod<$22.SendMessageToProjectRoomRequest, $22.SendMessageToProjectRoomResponse>(
      '/api.MatrixProxyService/SendMessageToProjectRoom',
      ($22.SendMessageToProjectRoomRequest value) => value.writeToBuffer(),
      ($core.List<$core.int> value) => $22.SendMessageToProjectRoomResponse.fromBuffer(value));

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

  $grpc.ResponseFuture<$22.CreateRoomResponse> createRoom($22.CreateRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$createRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.DeleteRoomResponse> deleteRoom($22.DeleteRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.InviteUserToRoomResponse> inviteUserToRoom($22.InviteUserToRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$inviteUserToRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.SendNoticeToRoomResponse> sendNoticeToRoom($22.SendNoticeToRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$sendNoticeToRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.CreateProjectRoomResponse> createProjectRoom($22.CreateProjectRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$createProjectRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.DeleteProjectRoomResponse> deleteProjectRoom($22.DeleteProjectRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteProjectRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.InviteUserToProjectRoomResponse> inviteUserToProjectRoom($22.InviteUserToProjectRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$inviteUserToProjectRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.SendNoticeToProjectRoomResponse> sendNoticeToProjectRoom($22.SendNoticeToProjectRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$sendNoticeToProjectRoom, request, options: options);
  }

  $grpc.ResponseFuture<$22.DeleteRoomsForProjectResponse> deleteRoomsForProject($22.DeleteRoomsForProjectRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$deleteRoomsForProject, request, options: options);
  }

  $grpc.ResponseFuture<$22.SendMessageToProjectRoomResponse> sendMessageToProjectRoom($22.SendMessageToProjectRoomRequest request, {$grpc.CallOptions? options}) {
    return $createUnaryCall(_$sendMessageToProjectRoom, request, options: options);
  }
}

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

  MatrixProxyServiceBase() {
    $addMethod($grpc.ServiceMethod<$22.CreateRoomRequest, $22.CreateRoomResponse>(
        'CreateRoom',
        createRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.CreateRoomRequest.fromBuffer(value),
        ($22.CreateRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.DeleteRoomRequest, $22.DeleteRoomResponse>(
        'DeleteRoom',
        deleteRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.DeleteRoomRequest.fromBuffer(value),
        ($22.DeleteRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.InviteUserToRoomRequest, $22.InviteUserToRoomResponse>(
        'InviteUserToRoom',
        inviteUserToRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.InviteUserToRoomRequest.fromBuffer(value),
        ($22.InviteUserToRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.SendNoticeToRoomRequest, $22.SendNoticeToRoomResponse>(
        'SendNoticeToRoom',
        sendNoticeToRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.SendNoticeToRoomRequest.fromBuffer(value),
        ($22.SendNoticeToRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.CreateProjectRoomRequest, $22.CreateProjectRoomResponse>(
        'CreateProjectRoom',
        createProjectRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.CreateProjectRoomRequest.fromBuffer(value),
        ($22.CreateProjectRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.DeleteProjectRoomRequest, $22.DeleteProjectRoomResponse>(
        'DeleteProjectRoom',
        deleteProjectRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.DeleteProjectRoomRequest.fromBuffer(value),
        ($22.DeleteProjectRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.InviteUserToProjectRoomRequest, $22.InviteUserToProjectRoomResponse>(
        'InviteUserToProjectRoom',
        inviteUserToProjectRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.InviteUserToProjectRoomRequest.fromBuffer(value),
        ($22.InviteUserToProjectRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.SendNoticeToProjectRoomRequest, $22.SendNoticeToProjectRoomResponse>(
        'SendNoticeToProjectRoom',
        sendNoticeToProjectRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.SendNoticeToProjectRoomRequest.fromBuffer(value),
        ($22.SendNoticeToProjectRoomResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.DeleteRoomsForProjectRequest, $22.DeleteRoomsForProjectResponse>(
        'DeleteRoomsForProject',
        deleteRoomsForProject_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.DeleteRoomsForProjectRequest.fromBuffer(value),
        ($22.DeleteRoomsForProjectResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$22.SendMessageToProjectRoomRequest, $22.SendMessageToProjectRoomResponse>(
        'SendMessageToProjectRoom',
        sendMessageToProjectRoom_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $22.SendMessageToProjectRoomRequest.fromBuffer(value),
        ($22.SendMessageToProjectRoomResponse value) => value.writeToBuffer()));
  }

  $async.Future<$22.CreateRoomResponse> createRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.CreateRoomRequest> $request) async {
    return createRoom($call, await $request);
  }

  $async.Future<$22.DeleteRoomResponse> deleteRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.DeleteRoomRequest> $request) async {
    return deleteRoom($call, await $request);
  }

  $async.Future<$22.InviteUserToRoomResponse> inviteUserToRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.InviteUserToRoomRequest> $request) async {
    return inviteUserToRoom($call, await $request);
  }

  $async.Future<$22.SendNoticeToRoomResponse> sendNoticeToRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.SendNoticeToRoomRequest> $request) async {
    return sendNoticeToRoom($call, await $request);
  }

  $async.Future<$22.CreateProjectRoomResponse> createProjectRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.CreateProjectRoomRequest> $request) async {
    return createProjectRoom($call, await $request);
  }

  $async.Future<$22.DeleteProjectRoomResponse> deleteProjectRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.DeleteProjectRoomRequest> $request) async {
    return deleteProjectRoom($call, await $request);
  }

  $async.Future<$22.InviteUserToProjectRoomResponse> inviteUserToProjectRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.InviteUserToProjectRoomRequest> $request) async {
    return inviteUserToProjectRoom($call, await $request);
  }

  $async.Future<$22.SendNoticeToProjectRoomResponse> sendNoticeToProjectRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.SendNoticeToProjectRoomRequest> $request) async {
    return sendNoticeToProjectRoom($call, await $request);
  }

  $async.Future<$22.DeleteRoomsForProjectResponse> deleteRoomsForProject_Pre($grpc.ServiceCall $call, $async.Future<$22.DeleteRoomsForProjectRequest> $request) async {
    return deleteRoomsForProject($call, await $request);
  }

  $async.Future<$22.SendMessageToProjectRoomResponse> sendMessageToProjectRoom_Pre($grpc.ServiceCall $call, $async.Future<$22.SendMessageToProjectRoomRequest> $request) async {
    return sendMessageToProjectRoom($call, await $request);
  }

  $async.Future<$22.CreateRoomResponse> createRoom($grpc.ServiceCall call, $22.CreateRoomRequest request);
  $async.Future<$22.DeleteRoomResponse> deleteRoom($grpc.ServiceCall call, $22.DeleteRoomRequest request);
  $async.Future<$22.InviteUserToRoomResponse> inviteUserToRoom($grpc.ServiceCall call, $22.InviteUserToRoomRequest request);
  $async.Future<$22.SendNoticeToRoomResponse> sendNoticeToRoom($grpc.ServiceCall call, $22.SendNoticeToRoomRequest request);
  $async.Future<$22.CreateProjectRoomResponse> createProjectRoom($grpc.ServiceCall call, $22.CreateProjectRoomRequest request);
  $async.Future<$22.DeleteProjectRoomResponse> deleteProjectRoom($grpc.ServiceCall call, $22.DeleteProjectRoomRequest request);
  $async.Future<$22.InviteUserToProjectRoomResponse> inviteUserToProjectRoom($grpc.ServiceCall call, $22.InviteUserToProjectRoomRequest request);
  $async.Future<$22.SendNoticeToProjectRoomResponse> sendNoticeToProjectRoom($grpc.ServiceCall call, $22.SendNoticeToProjectRoomRequest request);
  $async.Future<$22.DeleteRoomsForProjectResponse> deleteRoomsForProject($grpc.ServiceCall call, $22.DeleteRoomsForProjectRequest request);
  $async.Future<$22.SendMessageToProjectRoomResponse> sendMessageToProjectRoom($grpc.ServiceCall call, $22.SendMessageToProjectRoomRequest request);
}
