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

export 'adaptiveCard.pb.dart';

@$pb.GrpcServiceName('api.AdaptiveCardService')
class AdaptiveCardServiceClient 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 = [
    '',
  ];

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

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

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

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

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

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

    // method descriptors

  static final _$get = $grpc.ClientMethod<$0.GetAdaptiveCardRequest, $0.GetAdaptiveCardResult>(
      '/api.AdaptiveCardService/Get',
      ($0.GetAdaptiveCardRequest value) => value.writeToBuffer(),
      $0.GetAdaptiveCardResult.fromBuffer);
  static final _$list = $grpc.ClientMethod<$0.ListAdaptiveCardRequest, $0.ListAdaptiveCardResult>(
      '/api.AdaptiveCardService/List',
      ($0.ListAdaptiveCardRequest value) => value.writeToBuffer(),
      $0.ListAdaptiveCardResult.fromBuffer);
  static final _$create = $grpc.ClientMethod<$0.CreateAdaptiveCardRequest, $0.CreateAdaptiveCardResult>(
      '/api.AdaptiveCardService/Create',
      ($0.CreateAdaptiveCardRequest value) => value.writeToBuffer(),
      $0.CreateAdaptiveCardResult.fromBuffer);
  static final _$update = $grpc.ClientMethod<$0.UpdateAdaptiveCardRequest, $0.UpdateAdaptiveCardResult>(
      '/api.AdaptiveCardService/Update',
      ($0.UpdateAdaptiveCardRequest value) => value.writeToBuffer(),
      $0.UpdateAdaptiveCardResult.fromBuffer);
  static final _$delete = $grpc.ClientMethod<$0.DeleteAdaptiveCardRequest, $0.DeleteAdaptiveCardResult>(
      '/api.AdaptiveCardService/Delete',
      ($0.DeleteAdaptiveCardRequest value) => value.writeToBuffer(),
      $0.DeleteAdaptiveCardResult.fromBuffer);
}

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

  AdaptiveCardServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.GetAdaptiveCardRequest, $0.GetAdaptiveCardResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetAdaptiveCardRequest.fromBuffer(value),
        ($0.GetAdaptiveCardResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListAdaptiveCardRequest, $0.ListAdaptiveCardResult>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListAdaptiveCardRequest.fromBuffer(value),
        ($0.ListAdaptiveCardResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.CreateAdaptiveCardRequest, $0.CreateAdaptiveCardResult>(
        'Create',
        create_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.CreateAdaptiveCardRequest.fromBuffer(value),
        ($0.CreateAdaptiveCardResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.UpdateAdaptiveCardRequest, $0.UpdateAdaptiveCardResult>(
        'Update',
        update_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.UpdateAdaptiveCardRequest.fromBuffer(value),
        ($0.UpdateAdaptiveCardResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteAdaptiveCardRequest, $0.DeleteAdaptiveCardResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteAdaptiveCardRequest.fromBuffer(value),
        ($0.DeleteAdaptiveCardResult value) => value.writeToBuffer()));
  }

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

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

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

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

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

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

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

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

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

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

}
