You've already forked dart-core-sdk
152 lines
5.7 KiB
Dart
152 lines
5.7 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from idp.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 'idp.pb.dart' as $0;
|
|
|
|
export 'idp.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('api.IDPService')
|
|
class IDPServiceClient 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 = [
|
|
'',
|
|
];
|
|
|
|
IDPServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.GetIDPResult> get($0.GetIDPRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$get, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CreateIDPResult> create($0.CreateIDPRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UpdateIDPResult> update($0.UpdateIDPRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$update, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteIDPResult> delete($0.DeleteIDPRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$delete, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ListIDPResult> list($0.ListIDPRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$list, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$get = $grpc.ClientMethod<$0.GetIDPRequest, $0.GetIDPResult>(
|
|
'/api.IDPService/Get',
|
|
($0.GetIDPRequest value) => value.writeToBuffer(),
|
|
$0.GetIDPResult.fromBuffer);
|
|
static final _$create = $grpc.ClientMethod<$0.CreateIDPRequest, $0.CreateIDPResult>(
|
|
'/api.IDPService/Create',
|
|
($0.CreateIDPRequest value) => value.writeToBuffer(),
|
|
$0.CreateIDPResult.fromBuffer);
|
|
static final _$update = $grpc.ClientMethod<$0.UpdateIDPRequest, $0.UpdateIDPResult>(
|
|
'/api.IDPService/Update',
|
|
($0.UpdateIDPRequest value) => value.writeToBuffer(),
|
|
$0.UpdateIDPResult.fromBuffer);
|
|
static final _$delete = $grpc.ClientMethod<$0.DeleteIDPRequest, $0.DeleteIDPResult>(
|
|
'/api.IDPService/Delete',
|
|
($0.DeleteIDPRequest value) => value.writeToBuffer(),
|
|
$0.DeleteIDPResult.fromBuffer);
|
|
static final _$list = $grpc.ClientMethod<$0.ListIDPRequest, $0.ListIDPResult>(
|
|
'/api.IDPService/List',
|
|
($0.ListIDPRequest value) => value.writeToBuffer(),
|
|
$0.ListIDPResult.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('api.IDPService')
|
|
abstract class IDPServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'api.IDPService';
|
|
|
|
IDPServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.GetIDPRequest, $0.GetIDPResult>(
|
|
'Get',
|
|
get_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetIDPRequest.fromBuffer(value),
|
|
($0.GetIDPResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CreateIDPRequest, $0.CreateIDPResult>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CreateIDPRequest.fromBuffer(value),
|
|
($0.CreateIDPResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateIDPRequest, $0.UpdateIDPResult>(
|
|
'Update',
|
|
update_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateIDPRequest.fromBuffer(value),
|
|
($0.UpdateIDPResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteIDPRequest, $0.DeleteIDPResult>(
|
|
'Delete',
|
|
delete_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteIDPRequest.fromBuffer(value),
|
|
($0.DeleteIDPResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ListIDPRequest, $0.ListIDPResult>(
|
|
'List',
|
|
list_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListIDPRequest.fromBuffer(value),
|
|
($0.ListIDPResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.GetIDPResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetIDPRequest> $request) async {
|
|
return get($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetIDPResult> get($grpc.ServiceCall call, $0.GetIDPRequest request);
|
|
|
|
$async.Future<$0.CreateIDPResult> create_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateIDPRequest> $request) async {
|
|
return create($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CreateIDPResult> create($grpc.ServiceCall call, $0.CreateIDPRequest request);
|
|
|
|
$async.Future<$0.UpdateIDPResult> update_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateIDPRequest> $request) async {
|
|
return update($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UpdateIDPResult> update($grpc.ServiceCall call, $0.UpdateIDPRequest request);
|
|
|
|
$async.Future<$0.DeleteIDPResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteIDPRequest> $request) async {
|
|
return delete($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteIDPResult> delete($grpc.ServiceCall call, $0.DeleteIDPRequest request);
|
|
|
|
$async.Future<$0.ListIDPResult> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListIDPRequest> $request) async {
|
|
return list($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListIDPResult> list($grpc.ServiceCall call, $0.ListIDPRequest request);
|
|
|
|
}
|