You've already forked dart-viz-sdk
200 lines
10 KiB
Dart
200 lines
10 KiB
Dart
//
|
|
// Generated code. Do not modify.
|
|
// source: viz-dashboard.proto
|
|
//
|
|
// @dart = 2.12
|
|
|
|
// 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 'viz-dashboard.pb.dart' as $6;
|
|
|
|
export 'viz-dashboard.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('vizapi.DashboardService')
|
|
class DashboardServiceClient extends $grpc.Client {
|
|
static final _$create = $grpc.ClientMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>(
|
|
'/vizapi.DashboardService/Create',
|
|
($6.CreateDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.CreateDashboardResult.fromBuffer(value));
|
|
static final _$list = $grpc.ClientMethod<$6.ListDashboardRequest, $6.ListDashboardResult>(
|
|
'/vizapi.DashboardService/List',
|
|
($6.ListDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.ListDashboardResult.fromBuffer(value));
|
|
static final _$delete = $grpc.ClientMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>(
|
|
'/vizapi.DashboardService/Delete',
|
|
($6.DeleteDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.DeleteDashboardResult.fromBuffer(value));
|
|
static final _$deleteDashboardsForOrganisation = $grpc.ClientMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>(
|
|
'/vizapi.DashboardService/DeleteDashboardsForOrganisation',
|
|
($6.DeleteDashboardsForOrganisationRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationResult.fromBuffer(value));
|
|
static final _$deleteDashboardsForProject = $grpc.ClientMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>(
|
|
'/vizapi.DashboardService/DeleteDashboardsForProject',
|
|
($6.DeleteDashboardsForProjectRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectResult.fromBuffer(value));
|
|
static final _$update = $grpc.ClientMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>(
|
|
'/vizapi.DashboardService/Update',
|
|
($6.UpdateDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.UpdateDashboardResult.fromBuffer(value));
|
|
static final _$get = $grpc.ClientMethod<$6.GetDashboardRequest, $6.GetDashboardResult>(
|
|
'/vizapi.DashboardService/Get',
|
|
($6.GetDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.GetDashboardResult.fromBuffer(value));
|
|
static final _$copy = $grpc.ClientMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>(
|
|
'/vizapi.DashboardService/Copy',
|
|
($6.CopyDashboardRequest value) => value.writeToBuffer(),
|
|
($core.List<$core.int> value) => $6.CopyDashboardResult.fromBuffer(value));
|
|
|
|
DashboardServiceClient($grpc.ClientChannel channel,
|
|
{$grpc.CallOptions? options,
|
|
$core.Iterable<$grpc.ClientInterceptor>? interceptors})
|
|
: super(channel, options: options,
|
|
interceptors: interceptors);
|
|
|
|
$grpc.ResponseFuture<$6.CreateDashboardResult> create($6.CreateDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.ListDashboardResult> list($6.ListDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$list, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.DeleteDashboardResult> delete($6.DeleteDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$delete, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($6.DeleteDashboardsForOrganisationRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$deleteDashboardsForOrganisation, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($6.DeleteDashboardsForProjectRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$deleteDashboardsForProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.UpdateDashboardResult> update($6.UpdateDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$update, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.GetDashboardResult> get($6.GetDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$get, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$6.CopyDashboardResult> copy($6.CopyDashboardRequest request, {$grpc.CallOptions? options}) {
|
|
return $createUnaryCall(_$copy, request, options: options);
|
|
}
|
|
}
|
|
|
|
@$pb.GrpcServiceName('vizapi.DashboardService')
|
|
abstract class DashboardServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'vizapi.DashboardService';
|
|
|
|
DashboardServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$6.CreateDashboardRequest, $6.CreateDashboardResult>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.CreateDashboardRequest.fromBuffer(value),
|
|
($6.CreateDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.ListDashboardRequest, $6.ListDashboardResult>(
|
|
'List',
|
|
list_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.ListDashboardRequest.fromBuffer(value),
|
|
($6.ListDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardRequest, $6.DeleteDashboardResult>(
|
|
'Delete',
|
|
delete_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.DeleteDashboardRequest.fromBuffer(value),
|
|
($6.DeleteDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForOrganisationRequest, $6.DeleteDashboardsForOrganisationResult>(
|
|
'DeleteDashboardsForOrganisation',
|
|
deleteDashboardsForOrganisation_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.DeleteDashboardsForOrganisationRequest.fromBuffer(value),
|
|
($6.DeleteDashboardsForOrganisationResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.DeleteDashboardsForProjectRequest, $6.DeleteDashboardsForProjectResult>(
|
|
'DeleteDashboardsForProject',
|
|
deleteDashboardsForProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.DeleteDashboardsForProjectRequest.fromBuffer(value),
|
|
($6.DeleteDashboardsForProjectResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.UpdateDashboardRequest, $6.UpdateDashboardResult>(
|
|
'Update',
|
|
update_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.UpdateDashboardRequest.fromBuffer(value),
|
|
($6.UpdateDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.GetDashboardRequest, $6.GetDashboardResult>(
|
|
'Get',
|
|
get_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.GetDashboardRequest.fromBuffer(value),
|
|
($6.GetDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$6.CopyDashboardRequest, $6.CopyDashboardResult>(
|
|
'Copy',
|
|
copy_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $6.CopyDashboardRequest.fromBuffer(value),
|
|
($6.CopyDashboardResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$6.CreateDashboardResult> create_Pre($grpc.ServiceCall call, $async.Future<$6.CreateDashboardRequest> request) async {
|
|
return create(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.ListDashboardResult> list_Pre($grpc.ServiceCall call, $async.Future<$6.ListDashboardRequest> request) async {
|
|
return list(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.DeleteDashboardResult> delete_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardRequest> request) async {
|
|
return delete(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardsForOrganisationRequest> request) async {
|
|
return deleteDashboardsForOrganisation(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject_Pre($grpc.ServiceCall call, $async.Future<$6.DeleteDashboardsForProjectRequest> request) async {
|
|
return deleteDashboardsForProject(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.UpdateDashboardResult> update_Pre($grpc.ServiceCall call, $async.Future<$6.UpdateDashboardRequest> request) async {
|
|
return update(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.GetDashboardResult> get_Pre($grpc.ServiceCall call, $async.Future<$6.GetDashboardRequest> request) async {
|
|
return get(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.CopyDashboardResult> copy_Pre($grpc.ServiceCall call, $async.Future<$6.CopyDashboardRequest> request) async {
|
|
return copy(call, await request);
|
|
}
|
|
|
|
$async.Future<$6.CreateDashboardResult> create($grpc.ServiceCall call, $6.CreateDashboardRequest request);
|
|
$async.Future<$6.ListDashboardResult> list($grpc.ServiceCall call, $6.ListDashboardRequest request);
|
|
$async.Future<$6.DeleteDashboardResult> delete($grpc.ServiceCall call, $6.DeleteDashboardRequest request);
|
|
$async.Future<$6.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($grpc.ServiceCall call, $6.DeleteDashboardsForOrganisationRequest request);
|
|
$async.Future<$6.DeleteDashboardsForProjectResult> deleteDashboardsForProject($grpc.ServiceCall call, $6.DeleteDashboardsForProjectRequest request);
|
|
$async.Future<$6.UpdateDashboardResult> update($grpc.ServiceCall call, $6.UpdateDashboardRequest request);
|
|
$async.Future<$6.GetDashboardResult> get($grpc.ServiceCall call, $6.GetDashboardRequest request);
|
|
$async.Future<$6.CopyDashboardResult> copy($grpc.ServiceCall call, $6.CopyDashboardRequest request);
|
|
}
|