You've already forked dart-viz-sdk
341 lines
17 KiB
Dart
341 lines
17 KiB
Dart
// This is a generated file - do not edit.
|
|
//
|
|
// Generated from viz-dashboard.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 'viz-dashboard.pb.dart' as $0;
|
|
|
|
export 'viz-dashboard.pb.dart';
|
|
|
|
@$pb.GrpcServiceName('vizapi.DashboardService')
|
|
class DashboardServiceClient 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 = [
|
|
'',
|
|
];
|
|
|
|
DashboardServiceClient(super.channel, {super.options, super.interceptors});
|
|
|
|
$grpc.ResponseFuture<$0.CreateDashboardResult> create($0.CreateDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$create, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ListDashboardResult> list($0.ListDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$list, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteDashboardResult> delete($0.DeleteDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$delete, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($0.DeleteDashboardsForOrganisationRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleteDashboardsForOrganisation, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject($0.DeleteDashboardsForProjectRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleteDashboardsForProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UpdateDashboardResult> update($0.UpdateDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$update, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetDashboardResult> get($0.GetDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$get, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CopyDashboardResult> copy($0.CopyDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$copy, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CreateProjectDashboardResult> createProject($0.CreateProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$createProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.ListProjectDashboardResult> listProject($0.ListProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$listProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.DeleteProjectDashboardResult> deleteProject($0.DeleteProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$deleteProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.UpdateProjectDashboardResult> updateProject($0.UpdateProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$updateProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.GetProjectDashboardResult> getProject($0.GetProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$getProject, request, options: options);
|
|
}
|
|
|
|
$grpc.ResponseFuture<$0.CopyProjectDashboardResult> copyProject($0.CopyProjectDashboardRequest request, {$grpc.CallOptions? options,}) {
|
|
return $createUnaryCall(_$copyProject, request, options: options);
|
|
}
|
|
|
|
// method descriptors
|
|
|
|
static final _$create = $grpc.ClientMethod<$0.CreateDashboardRequest, $0.CreateDashboardResult>(
|
|
'/vizapi.DashboardService/Create',
|
|
($0.CreateDashboardRequest value) => value.writeToBuffer(),
|
|
$0.CreateDashboardResult.fromBuffer);
|
|
static final _$list = $grpc.ClientMethod<$0.ListDashboardRequest, $0.ListDashboardResult>(
|
|
'/vizapi.DashboardService/List',
|
|
($0.ListDashboardRequest value) => value.writeToBuffer(),
|
|
$0.ListDashboardResult.fromBuffer);
|
|
static final _$delete = $grpc.ClientMethod<$0.DeleteDashboardRequest, $0.DeleteDashboardResult>(
|
|
'/vizapi.DashboardService/Delete',
|
|
($0.DeleteDashboardRequest value) => value.writeToBuffer(),
|
|
$0.DeleteDashboardResult.fromBuffer);
|
|
static final _$deleteDashboardsForOrganisation = $grpc.ClientMethod<$0.DeleteDashboardsForOrganisationRequest, $0.DeleteDashboardsForOrganisationResult>(
|
|
'/vizapi.DashboardService/DeleteDashboardsForOrganisation',
|
|
($0.DeleteDashboardsForOrganisationRequest value) => value.writeToBuffer(),
|
|
$0.DeleteDashboardsForOrganisationResult.fromBuffer);
|
|
static final _$deleteDashboardsForProject = $grpc.ClientMethod<$0.DeleteDashboardsForProjectRequest, $0.DeleteDashboardsForProjectResult>(
|
|
'/vizapi.DashboardService/DeleteDashboardsForProject',
|
|
($0.DeleteDashboardsForProjectRequest value) => value.writeToBuffer(),
|
|
$0.DeleteDashboardsForProjectResult.fromBuffer);
|
|
static final _$update = $grpc.ClientMethod<$0.UpdateDashboardRequest, $0.UpdateDashboardResult>(
|
|
'/vizapi.DashboardService/Update',
|
|
($0.UpdateDashboardRequest value) => value.writeToBuffer(),
|
|
$0.UpdateDashboardResult.fromBuffer);
|
|
static final _$get = $grpc.ClientMethod<$0.GetDashboardRequest, $0.GetDashboardResult>(
|
|
'/vizapi.DashboardService/Get',
|
|
($0.GetDashboardRequest value) => value.writeToBuffer(),
|
|
$0.GetDashboardResult.fromBuffer);
|
|
static final _$copy = $grpc.ClientMethod<$0.CopyDashboardRequest, $0.CopyDashboardResult>(
|
|
'/vizapi.DashboardService/Copy',
|
|
($0.CopyDashboardRequest value) => value.writeToBuffer(),
|
|
$0.CopyDashboardResult.fromBuffer);
|
|
static final _$createProject = $grpc.ClientMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
|
|
'/vizapi.DashboardService/CreateProject',
|
|
($0.CreateProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.CreateProjectDashboardResult.fromBuffer);
|
|
static final _$listProject = $grpc.ClientMethod<$0.ListProjectDashboardRequest, $0.ListProjectDashboardResult>(
|
|
'/vizapi.DashboardService/ListProject',
|
|
($0.ListProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.ListProjectDashboardResult.fromBuffer);
|
|
static final _$deleteProject = $grpc.ClientMethod<$0.DeleteProjectDashboardRequest, $0.DeleteProjectDashboardResult>(
|
|
'/vizapi.DashboardService/DeleteProject',
|
|
($0.DeleteProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.DeleteProjectDashboardResult.fromBuffer);
|
|
static final _$updateProject = $grpc.ClientMethod<$0.UpdateProjectDashboardRequest, $0.UpdateProjectDashboardResult>(
|
|
'/vizapi.DashboardService/UpdateProject',
|
|
($0.UpdateProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.UpdateProjectDashboardResult.fromBuffer);
|
|
static final _$getProject = $grpc.ClientMethod<$0.GetProjectDashboardRequest, $0.GetProjectDashboardResult>(
|
|
'/vizapi.DashboardService/GetProject',
|
|
($0.GetProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.GetProjectDashboardResult.fromBuffer);
|
|
static final _$copyProject = $grpc.ClientMethod<$0.CopyProjectDashboardRequest, $0.CopyProjectDashboardResult>(
|
|
'/vizapi.DashboardService/CopyProject',
|
|
($0.CopyProjectDashboardRequest value) => value.writeToBuffer(),
|
|
$0.CopyProjectDashboardResult.fromBuffer);
|
|
}
|
|
|
|
@$pb.GrpcServiceName('vizapi.DashboardService')
|
|
abstract class DashboardServiceBase extends $grpc.Service {
|
|
$core.String get $name => 'vizapi.DashboardService';
|
|
|
|
DashboardServiceBase() {
|
|
$addMethod($grpc.ServiceMethod<$0.CreateDashboardRequest, $0.CreateDashboardResult>(
|
|
'Create',
|
|
create_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CreateDashboardRequest.fromBuffer(value),
|
|
($0.CreateDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ListDashboardRequest, $0.ListDashboardResult>(
|
|
'List',
|
|
list_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListDashboardRequest.fromBuffer(value),
|
|
($0.ListDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteDashboardRequest, $0.DeleteDashboardResult>(
|
|
'Delete',
|
|
delete_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteDashboardRequest.fromBuffer(value),
|
|
($0.DeleteDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteDashboardsForOrganisationRequest, $0.DeleteDashboardsForOrganisationResult>(
|
|
'DeleteDashboardsForOrganisation',
|
|
deleteDashboardsForOrganisation_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteDashboardsForOrganisationRequest.fromBuffer(value),
|
|
($0.DeleteDashboardsForOrganisationResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteDashboardsForProjectRequest, $0.DeleteDashboardsForProjectResult>(
|
|
'DeleteDashboardsForProject',
|
|
deleteDashboardsForProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteDashboardsForProjectRequest.fromBuffer(value),
|
|
($0.DeleteDashboardsForProjectResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateDashboardRequest, $0.UpdateDashboardResult>(
|
|
'Update',
|
|
update_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateDashboardRequest.fromBuffer(value),
|
|
($0.UpdateDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetDashboardRequest, $0.GetDashboardResult>(
|
|
'Get',
|
|
get_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetDashboardRequest.fromBuffer(value),
|
|
($0.GetDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CopyDashboardRequest, $0.CopyDashboardResult>(
|
|
'Copy',
|
|
copy_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CopyDashboardRequest.fromBuffer(value),
|
|
($0.CopyDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CreateProjectDashboardRequest, $0.CreateProjectDashboardResult>(
|
|
'CreateProject',
|
|
createProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CreateProjectDashboardRequest.fromBuffer(value),
|
|
($0.CreateProjectDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.ListProjectDashboardRequest, $0.ListProjectDashboardResult>(
|
|
'ListProject',
|
|
listProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.ListProjectDashboardRequest.fromBuffer(value),
|
|
($0.ListProjectDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.DeleteProjectDashboardRequest, $0.DeleteProjectDashboardResult>(
|
|
'DeleteProject',
|
|
deleteProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.DeleteProjectDashboardRequest.fromBuffer(value),
|
|
($0.DeleteProjectDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.UpdateProjectDashboardRequest, $0.UpdateProjectDashboardResult>(
|
|
'UpdateProject',
|
|
updateProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.UpdateProjectDashboardRequest.fromBuffer(value),
|
|
($0.UpdateProjectDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.GetProjectDashboardRequest, $0.GetProjectDashboardResult>(
|
|
'GetProject',
|
|
getProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.GetProjectDashboardRequest.fromBuffer(value),
|
|
($0.GetProjectDashboardResult value) => value.writeToBuffer()));
|
|
$addMethod($grpc.ServiceMethod<$0.CopyProjectDashboardRequest, $0.CopyProjectDashboardResult>(
|
|
'CopyProject',
|
|
copyProject_Pre,
|
|
false,
|
|
false,
|
|
($core.List<$core.int> value) => $0.CopyProjectDashboardRequest.fromBuffer(value),
|
|
($0.CopyProjectDashboardResult value) => value.writeToBuffer()));
|
|
}
|
|
|
|
$async.Future<$0.CreateDashboardResult> create_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateDashboardRequest> $request) async {
|
|
return create($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CreateDashboardResult> create($grpc.ServiceCall call, $0.CreateDashboardRequest request);
|
|
|
|
$async.Future<$0.ListDashboardResult> list_Pre($grpc.ServiceCall $call, $async.Future<$0.ListDashboardRequest> $request) async {
|
|
return list($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListDashboardResult> list($grpc.ServiceCall call, $0.ListDashboardRequest request);
|
|
|
|
$async.Future<$0.DeleteDashboardResult> delete_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardRequest> $request) async {
|
|
return delete($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteDashboardResult> delete($grpc.ServiceCall call, $0.DeleteDashboardRequest request);
|
|
|
|
$async.Future<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardsForOrganisationRequest> $request) async {
|
|
return deleteDashboardsForOrganisation($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteDashboardsForOrganisationResult> deleteDashboardsForOrganisation($grpc.ServiceCall call, $0.DeleteDashboardsForOrganisationRequest request);
|
|
|
|
$async.Future<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteDashboardsForProjectRequest> $request) async {
|
|
return deleteDashboardsForProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteDashboardsForProjectResult> deleteDashboardsForProject($grpc.ServiceCall call, $0.DeleteDashboardsForProjectRequest request);
|
|
|
|
$async.Future<$0.UpdateDashboardResult> update_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateDashboardRequest> $request) async {
|
|
return update($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UpdateDashboardResult> update($grpc.ServiceCall call, $0.UpdateDashboardRequest request);
|
|
|
|
$async.Future<$0.GetDashboardResult> get_Pre($grpc.ServiceCall $call, $async.Future<$0.GetDashboardRequest> $request) async {
|
|
return get($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetDashboardResult> get($grpc.ServiceCall call, $0.GetDashboardRequest request);
|
|
|
|
$async.Future<$0.CopyDashboardResult> copy_Pre($grpc.ServiceCall $call, $async.Future<$0.CopyDashboardRequest> $request) async {
|
|
return copy($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CopyDashboardResult> copy($grpc.ServiceCall call, $0.CopyDashboardRequest request);
|
|
|
|
$async.Future<$0.CreateProjectDashboardResult> createProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CreateProjectDashboardRequest> $request) async {
|
|
return createProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CreateProjectDashboardResult> createProject($grpc.ServiceCall call, $0.CreateProjectDashboardRequest request);
|
|
|
|
$async.Future<$0.ListProjectDashboardResult> listProject_Pre($grpc.ServiceCall $call, $async.Future<$0.ListProjectDashboardRequest> $request) async {
|
|
return listProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.ListProjectDashboardResult> listProject($grpc.ServiceCall call, $0.ListProjectDashboardRequest request);
|
|
|
|
$async.Future<$0.DeleteProjectDashboardResult> deleteProject_Pre($grpc.ServiceCall $call, $async.Future<$0.DeleteProjectDashboardRequest> $request) async {
|
|
return deleteProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.DeleteProjectDashboardResult> deleteProject($grpc.ServiceCall call, $0.DeleteProjectDashboardRequest request);
|
|
|
|
$async.Future<$0.UpdateProjectDashboardResult> updateProject_Pre($grpc.ServiceCall $call, $async.Future<$0.UpdateProjectDashboardRequest> $request) async {
|
|
return updateProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.UpdateProjectDashboardResult> updateProject($grpc.ServiceCall call, $0.UpdateProjectDashboardRequest request);
|
|
|
|
$async.Future<$0.GetProjectDashboardResult> getProject_Pre($grpc.ServiceCall $call, $async.Future<$0.GetProjectDashboardRequest> $request) async {
|
|
return getProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.GetProjectDashboardResult> getProject($grpc.ServiceCall call, $0.GetProjectDashboardRequest request);
|
|
|
|
$async.Future<$0.CopyProjectDashboardResult> copyProject_Pre($grpc.ServiceCall $call, $async.Future<$0.CopyProjectDashboardRequest> $request) async {
|
|
return copyProject($call, await $request);
|
|
}
|
|
|
|
$async.Future<$0.CopyProjectDashboardResult> copyProject($grpc.ServiceCall call, $0.CopyProjectDashboardRequest request);
|
|
|
|
}
|