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

export 'user-attributes.pb.dart';

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

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

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

  $grpc.ResponseFuture<$0.PutUserAttributesResult> put($0.PutUserAttributesRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$put, request, options: options);
  }

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

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

  $grpc.ResponseFuture<$0.DeleteForProjectUserAttributesResult> deleteForProject($0.DeleteForProjectUserAttributesRequest request, {$grpc.CallOptions? options,}) {
    return $createUnaryCall(_$deleteForProject, request, options: options);
  }

    // method descriptors

  static final _$get = $grpc.ClientMethod<$0.GetUserAttributesRequest, $0.GetUserAttributesResult>(
      '/api.UserAttributesService/Get',
      ($0.GetUserAttributesRequest value) => value.writeToBuffer(),
      $0.GetUserAttributesResult.fromBuffer);
  static final _$put = $grpc.ClientMethod<$0.PutUserAttributesRequest, $0.PutUserAttributesResult>(
      '/api.UserAttributesService/Put',
      ($0.PutUserAttributesRequest value) => value.writeToBuffer(),
      $0.PutUserAttributesResult.fromBuffer);
  static final _$delete = $grpc.ClientMethod<$0.DeleteUserAttributesRequest, $0.DeleteUserAttributesResult>(
      '/api.UserAttributesService/Delete',
      ($0.DeleteUserAttributesRequest value) => value.writeToBuffer(),
      $0.DeleteUserAttributesResult.fromBuffer);
  static final _$list = $grpc.ClientMethod<$0.ListUserAttributesRequest, $0.ListUserAttributesResult>(
      '/api.UserAttributesService/List',
      ($0.ListUserAttributesRequest value) => value.writeToBuffer(),
      $0.ListUserAttributesResult.fromBuffer);
  static final _$deleteForProject = $grpc.ClientMethod<$0.DeleteForProjectUserAttributesRequest, $0.DeleteForProjectUserAttributesResult>(
      '/api.UserAttributesService/DeleteForProject',
      ($0.DeleteForProjectUserAttributesRequest value) => value.writeToBuffer(),
      $0.DeleteForProjectUserAttributesResult.fromBuffer);
}

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

  UserAttributesServiceBase() {
    $addMethod($grpc.ServiceMethod<$0.GetUserAttributesRequest, $0.GetUserAttributesResult>(
        'Get',
        get_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.GetUserAttributesRequest.fromBuffer(value),
        ($0.GetUserAttributesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.PutUserAttributesRequest, $0.PutUserAttributesResult>(
        'Put',
        put_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.PutUserAttributesRequest.fromBuffer(value),
        ($0.PutUserAttributesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteUserAttributesRequest, $0.DeleteUserAttributesResult>(
        'Delete',
        delete_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteUserAttributesRequest.fromBuffer(value),
        ($0.DeleteUserAttributesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.ListUserAttributesRequest, $0.ListUserAttributesResult>(
        'List',
        list_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.ListUserAttributesRequest.fromBuffer(value),
        ($0.ListUserAttributesResult value) => value.writeToBuffer()));
    $addMethod($grpc.ServiceMethod<$0.DeleteForProjectUserAttributesRequest, $0.DeleteForProjectUserAttributesResult>(
        'DeleteForProject',
        deleteForProject_Pre,
        false,
        false,
        ($core.List<$core.int> value) => $0.DeleteForProjectUserAttributesRequest.fromBuffer(value),
        ($0.DeleteForProjectUserAttributesResult value) => value.writeToBuffer()));
  }

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

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

  $async.Future<$0.PutUserAttributesResult> put_Pre($grpc.ServiceCall $call, $async.Future<$0.PutUserAttributesRequest> $request) async {
    return put($call, await $request);
  }

  $async.Future<$0.PutUserAttributesResult> put($grpc.ServiceCall call, $0.PutUserAttributesRequest request);

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

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

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

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

  $async.Future<$0.DeleteForProjectUserAttributesResult> deleteForProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteForProjectUserAttributesRequest> $request) async {
    return deleteForProject($call, await $request);
  }

  $async.Future<$0.DeleteForProjectUserAttributesResult> deleteForProject($grpc.ServiceCall call, $0.DeleteForProjectUserAttributesRequest request);

}
