// This is a generated file - do not edit.
//
// Generated from actorInput.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 'actorInput.pb.dart' as $0;

export 'actorInput.pb.dart';

///
/// API-server services
@$pb.GrpcServiceName('api.ActorInputAPI')
class ActorInputAPIClient 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 = [
    '',
  ];

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

  $grpc.ResponseFuture<$0.ActorCreatedResponse> created($0.ActorCreatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$created, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorCreatedv2Response> createdv2($0.ActorCreatedv2Request request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$createdv2, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorDeletedResponse> deleted($0.ActorDeletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorSnapshotCompletedResponse> snapshotCompleted($0.ActorSnapshotCompletedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$snapshotCompleted, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorAttachmentAddedResponse> attachmentAdded($0.ActorAttachmentAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorAttachmentRemovedResponse> attachmentRemoved($0.ActorAttachmentRemovedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$attachmentRemoved, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorClaimAddedResponse> claimAdded($0.ActorClaimAddedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$claimAdded, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorMetaDataUpdatedResponse> metaDataUpdated($0.ActorMetaDataUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$metaDataUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorAppointmentConfigurationUpdatedResponse> appointmentConfigurationUpdated($0.ActorAppointmentConfigurationUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$appointmentConfigurationUpdated, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorSanitisedResponse> sanitised($0.ActorSanitisedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$sanitised, request, options: options);
  }

  $grpc.ResponseFuture<$0.ActorCustomFieldsUpdatedResponse> customFieldsUpdated($0.ActorCustomFieldsUpdatedRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$customFieldsUpdated, request, options: options);
  }

    // method descriptors

  static final _$created = $grpc.ClientMethod<$0.ActorCreatedRequest, $0.ActorCreatedResponse>(
      '/api.ActorInputAPI/Created',
      ($0.ActorCreatedRequest value) => value.writeToBuffer(),
      $0.ActorCreatedResponse.fromBuffer);
  static final _$createdv2 = $grpc.ClientMethod<$0.ActorCreatedv2Request, $0.ActorCreatedv2Response>(
      '/api.ActorInputAPI/Createdv2',
      ($0.ActorCreatedv2Request value) => value.writeToBuffer(),
      $0.ActorCreatedv2Response.fromBuffer);
  static final _$deleted = $grpc.ClientMethod<$0.ActorDeletedRequest, $0.ActorDeletedResponse>(
      '/api.ActorInputAPI/Deleted',
      ($0.ActorDeletedRequest value) => value.writeToBuffer(),
      $0.ActorDeletedResponse.fromBuffer);
  static final _$snapshotCompleted = $grpc.ClientMethod<$0.ActorSnapshotCompletedRequest, $0.ActorSnapshotCompletedResponse>(
      '/api.ActorInputAPI/SnapshotCompleted',
      ($0.ActorSnapshotCompletedRequest value) => value.writeToBuffer(),
      $0.ActorSnapshotCompletedResponse.fromBuffer);
  static final _$attachmentAdded = $grpc.ClientMethod<$0.ActorAttachmentAddedRequest, $0.ActorAttachmentAddedResponse>(
      '/api.ActorInputAPI/AttachmentAdded',
      ($0.ActorAttachmentAddedRequest value) => value.writeToBuffer(),
      $0.ActorAttachmentAddedResponse.fromBuffer);
  static final _$attachmentRemoved = $grpc.ClientMethod<$0.ActorAttachmentRemovedRequest, $0.ActorAttachmentRemovedResponse>(
      '/api.ActorInputAPI/AttachmentRemoved',
      ($0.ActorAttachmentRemovedRequest value) => value.writeToBuffer(),
      $0.ActorAttachmentRemovedResponse.fromBuffer);
  static final _$claimAdded = $grpc.ClientMethod<$0.ActorClaimAddedRequest, $0.ActorClaimAddedResponse>(
      '/api.ActorInputAPI/ClaimAdded',
      ($0.ActorClaimAddedRequest value) => value.writeToBuffer(),
      $0.ActorClaimAddedResponse.fromBuffer);
  static final _$metaDataUpdated = $grpc.ClientMethod<$0.ActorMetaDataUpdatedRequest, $0.ActorMetaDataUpdatedResponse>(
      '/api.ActorInputAPI/MetaDataUpdated',
      ($0.ActorMetaDataUpdatedRequest value) => value.writeToBuffer(),
      $0.ActorMetaDataUpdatedResponse.fromBuffer);
  static final _$appointmentConfigurationUpdated = $grpc.ClientMethod<$0.ActorAppointmentConfigurationUpdatedRequest, $0.ActorAppointmentConfigurationUpdatedResponse>(
      '/api.ActorInputAPI/AppointmentConfigurationUpdated',
      ($0.ActorAppointmentConfigurationUpdatedRequest value) => value.writeToBuffer(),
      $0.ActorAppointmentConfigurationUpdatedResponse.fromBuffer);
  static final _$sanitised = $grpc.ClientMethod<$0.ActorSanitisedRequest, $0.ActorSanitisedResponse>(
      '/api.ActorInputAPI/Sanitised',
      ($0.ActorSanitisedRequest value) => value.writeToBuffer(),
      $0.ActorSanitisedResponse.fromBuffer);
  static final _$customFieldsUpdated = $grpc.ClientMethod<$0.ActorCustomFieldsUpdatedRequest, $0.ActorCustomFieldsUpdatedResponse>(
      '/api.ActorInputAPI/CustomFieldsUpdated',
      ($0.ActorCustomFieldsUpdatedRequest value) => value.writeToBuffer(),
      $0.ActorCustomFieldsUpdatedResponse.fromBuffer);
}

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

  ActorInputAPIServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.ActorCreatedRequest, $0.ActorCreatedResponse>(
        'Created',
        created_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorCreatedRequest.fromBuffer(value),
        ($0.ActorCreatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorCreatedv2Request, $0.ActorCreatedv2Response>(
        'Createdv2',
        createdv2_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorCreatedv2Request.fromBuffer(value),
        ($0.ActorCreatedv2Response value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorDeletedRequest, $0.ActorDeletedResponse>(
        'Deleted',
        deleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorDeletedRequest.fromBuffer(value),
        ($0.ActorDeletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorSnapshotCompletedRequest, $0.ActorSnapshotCompletedResponse>(
        'SnapshotCompleted',
        snapshotCompleted_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorSnapshotCompletedRequest.fromBuffer(value),
        ($0.ActorSnapshotCompletedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorAttachmentAddedRequest, $0.ActorAttachmentAddedResponse>(
        'AttachmentAdded',
        attachmentAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorAttachmentAddedRequest.fromBuffer(value),
        ($0.ActorAttachmentAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorAttachmentRemovedRequest, $0.ActorAttachmentRemovedResponse>(
        'AttachmentRemoved',
        attachmentRemoved_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorAttachmentRemovedRequest.fromBuffer(value),
        ($0.ActorAttachmentRemovedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorClaimAddedRequest, $0.ActorClaimAddedResponse>(
        'ClaimAdded',
        claimAdded_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorClaimAddedRequest.fromBuffer(value),
        ($0.ActorClaimAddedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorMetaDataUpdatedRequest, $0.ActorMetaDataUpdatedResponse>(
        'MetaDataUpdated',
        metaDataUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorMetaDataUpdatedRequest.fromBuffer(value),
        ($0.ActorMetaDataUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorAppointmentConfigurationUpdatedRequest, $0.ActorAppointmentConfigurationUpdatedResponse>(
        'AppointmentConfigurationUpdated',
        appointmentConfigurationUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorAppointmentConfigurationUpdatedRequest.fromBuffer(value),
        ($0.ActorAppointmentConfigurationUpdatedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorSanitisedRequest, $0.ActorSanitisedResponse>(
        'Sanitised',
        sanitised_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorSanitisedRequest.fromBuffer(value),
        ($0.ActorSanitisedResponse value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ActorCustomFieldsUpdatedRequest, $0.ActorCustomFieldsUpdatedResponse>(
        'CustomFieldsUpdated',
        customFieldsUpdated_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ActorCustomFieldsUpdatedRequest.fromBuffer(value),
        ($0.ActorCustomFieldsUpdatedResponse value) => value.writeToBuffer()));
  }

  $async.Future<$0.ActorCreatedResponse> created_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorCreatedRequest> $request) async {
    return created($call, await $request);
  }

  $async.Future<$0.ActorCreatedResponse> created($grpc.ServiceCall call, $0.ActorCreatedRequest request);

  $async.Future<$0.ActorCreatedv2Response> createdv2_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorCreatedv2Request> $request) async {
    return createdv2($call, await $request);
  }

  $async.Future<$0.ActorCreatedv2Response> createdv2($grpc.ServiceCall call, $0.ActorCreatedv2Request request);

  $async.Future<$0.ActorDeletedResponse> deleted_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorDeletedRequest> $request) async {
    return deleted($call, await $request);
  }

  $async.Future<$0.ActorDeletedResponse> deleted($grpc.ServiceCall call, $0.ActorDeletedRequest request);

  $async.Future<$0.ActorSnapshotCompletedResponse> snapshotCompleted_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorSnapshotCompletedRequest> $request) async {
    return snapshotCompleted($call, await $request);
  }

  $async.Future<$0.ActorSnapshotCompletedResponse> snapshotCompleted($grpc.ServiceCall call, $0.ActorSnapshotCompletedRequest request);

  $async.Future<$0.ActorAttachmentAddedResponse> attachmentAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorAttachmentAddedRequest> $request) async {
    return attachmentAdded($call, await $request);
  }

  $async.Future<$0.ActorAttachmentAddedResponse> attachmentAdded($grpc.ServiceCall call, $0.ActorAttachmentAddedRequest request);

  $async.Future<$0.ActorAttachmentRemovedResponse> attachmentRemoved_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorAttachmentRemovedRequest> $request) async {
    return attachmentRemoved($call, await $request);
  }

  $async.Future<$0.ActorAttachmentRemovedResponse> attachmentRemoved($grpc.ServiceCall call, $0.ActorAttachmentRemovedRequest request);

  $async.Future<$0.ActorClaimAddedResponse> claimAdded_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorClaimAddedRequest> $request) async {
    return claimAdded($call, await $request);
  }

  $async.Future<$0.ActorClaimAddedResponse> claimAdded($grpc.ServiceCall call, $0.ActorClaimAddedRequest request);

  $async.Future<$0.ActorMetaDataUpdatedResponse> metaDataUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorMetaDataUpdatedRequest> $request) async {
    return metaDataUpdated($call, await $request);
  }

  $async.Future<$0.ActorMetaDataUpdatedResponse> metaDataUpdated($grpc.ServiceCall call, $0.ActorMetaDataUpdatedRequest request);

  $async.Future<$0.ActorAppointmentConfigurationUpdatedResponse> appointmentConfigurationUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorAppointmentConfigurationUpdatedRequest> $request) async {
    return appointmentConfigurationUpdated($call, await $request);
  }

  $async.Future<$0.ActorAppointmentConfigurationUpdatedResponse> appointmentConfigurationUpdated($grpc.ServiceCall call, $0.ActorAppointmentConfigurationUpdatedRequest request);

  $async.Future<$0.ActorSanitisedResponse> sanitised_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorSanitisedRequest> $request) async {
    return sanitised($call, await $request);
  }

  $async.Future<$0.ActorSanitisedResponse> sanitised($grpc.ServiceCall call, $0.ActorSanitisedRequest request);

  $async.Future<$0.ActorCustomFieldsUpdatedResponse> customFieldsUpdated_Pre($grpc.ServiceCall $call, $async.Future<$0.ActorCustomFieldsUpdatedRequest> $request) async {
    return customFieldsUpdated($call, await $request);
  }

  $async.Future<$0.ActorCustomFieldsUpdatedResponse> customFieldsUpdated($grpc.ServiceCall call, $0.ActorCustomFieldsUpdatedRequest request);

}
