diff options
author | Scott Murray <scott.murray@konsulko.com> | 2023-12-21 17:22:52 -0500 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2023-12-21 22:48:36 +0000 |
commit | a445ffb0d847b8d1e44213b95bfbe60ecdf19952 (patch) | |
tree | 8854ab9d843a983f6b43c3cd6eb7df34765a167c /protos/lib/src/generated | |
parent | 4ae68f5be11d110f2df10d54377d970921e30a21 (diff) |
Add application launcher support
Changes:
- Add required agl-shell and applauncher gRPC API source and
generated files.
- Remove unused deprecated databroker gRPC API files as cleanup.
- Add app launcher helper object and associated RiverPod provider.
The implementation is based on code from the old Flutter
homescreen. There will likely be follow up work to use the
recent changes to the agl-shell gRPC API to handle display
setting for applications needing remote displays.
- Wire up application enumeration and starting in the app page.
A placeholder generic application icon has been added that will
be used for the external applications for now, as the SVG icons
being used with the old homescreens are not really suitable.
- Wire up activating the homescreen again if the bottom panel is
touched after an external application has been started.
Bug-AGL: SPEC-5026
Change-Id: I01de4760cfd098d3b5f2e6843ad9103a8ea87935
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'protos/lib/src/generated')
19 files changed, 2246 insertions, 2663 deletions
diff --git a/protos/lib/src/generated/agl_shell.pb.dart b/protos/lib/src/generated/agl_shell.pb.dart new file mode 100644 index 0000000..27b1df0 --- /dev/null +++ b/protos/lib/src/generated/agl_shell.pb.dart @@ -0,0 +1,1028 @@ +/// +// Generated code. Do not modify. +// source: agl_shell.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class ActivateRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ActivateRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outputName') + ..hasRequiredFields = false + ; + + ActivateRequest._() : super(); + factory ActivateRequest({ + $core.String? appId, + $core.String? outputName, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (outputName != null) { + _result.outputName = outputName; + } + return _result; + } + factory ActivateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ActivateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ActivateRequest clone() => ActivateRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ActivateRequest copyWith(void Function(ActivateRequest) updates) => super.copyWith((message) => updates(message as ActivateRequest)) as ActivateRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static ActivateRequest create() => ActivateRequest._(); + ActivateRequest createEmptyInstance() => create(); + static $pb.PbList<ActivateRequest> createRepeated() => $pb.PbList<ActivateRequest>(); + @$core.pragma('dart2js:noInline') + static ActivateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ActivateRequest>(create); + static ActivateRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get outputName => $_getSZ(1); + @$pb.TagNumber(2) + set outputName($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasOutputName() => $_has(1); + @$pb.TagNumber(2) + void clearOutputName() => clearField(2); +} + +class ActivateResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ActivateResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + ActivateResponse._() : super(); + factory ActivateResponse() => create(); + factory ActivateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ActivateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ActivateResponse clone() => ActivateResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ActivateResponse copyWith(void Function(ActivateResponse) updates) => super.copyWith((message) => updates(message as ActivateResponse)) as ActivateResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static ActivateResponse create() => ActivateResponse._(); + ActivateResponse createEmptyInstance() => create(); + static $pb.PbList<ActivateResponse> createRepeated() => $pb.PbList<ActivateResponse>(); + @$core.pragma('dart2js:noInline') + static ActivateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ActivateResponse>(create); + static ActivateResponse? _defaultInstance; +} + +class DeactivateRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DeactivateRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..hasRequiredFields = false + ; + + DeactivateRequest._() : super(); + factory DeactivateRequest({ + $core.String? appId, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + return _result; + } + factory DeactivateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeactivateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeactivateRequest clone() => DeactivateRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeactivateRequest copyWith(void Function(DeactivateRequest) updates) => super.copyWith((message) => updates(message as DeactivateRequest)) as DeactivateRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static DeactivateRequest create() => DeactivateRequest._(); + DeactivateRequest createEmptyInstance() => create(); + static $pb.PbList<DeactivateRequest> createRepeated() => $pb.PbList<DeactivateRequest>(); + @$core.pragma('dart2js:noInline') + static DeactivateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeactivateRequest>(create); + static DeactivateRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); +} + +class DeactivateResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DeactivateResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + DeactivateResponse._() : super(); + factory DeactivateResponse() => create(); + factory DeactivateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory DeactivateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + DeactivateResponse clone() => DeactivateResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + DeactivateResponse copyWith(void Function(DeactivateResponse) updates) => super.copyWith((message) => updates(message as DeactivateResponse)) as DeactivateResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static DeactivateResponse create() => DeactivateResponse._(); + DeactivateResponse createEmptyInstance() => create(); + static $pb.PbList<DeactivateResponse> createRepeated() => $pb.PbList<DeactivateResponse>(); + @$core.pragma('dart2js:noInline') + static DeactivateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeactivateResponse>(create); + static DeactivateResponse? _defaultInstance; +} + +class SplitRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SplitRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'tileOrientation', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + SplitRequest._() : super(); + factory SplitRequest({ + $core.String? appId, + $core.int? tileOrientation, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (tileOrientation != null) { + _result.tileOrientation = tileOrientation; + } + return _result; + } + factory SplitRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SplitRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SplitRequest clone() => SplitRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SplitRequest copyWith(void Function(SplitRequest) updates) => super.copyWith((message) => updates(message as SplitRequest)) as SplitRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static SplitRequest create() => SplitRequest._(); + SplitRequest createEmptyInstance() => create(); + static $pb.PbList<SplitRequest> createRepeated() => $pb.PbList<SplitRequest>(); + @$core.pragma('dart2js:noInline') + static SplitRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SplitRequest>(create); + static SplitRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get tileOrientation => $_getIZ(1); + @$pb.TagNumber(2) + set tileOrientation($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasTileOrientation() => $_has(1); + @$pb.TagNumber(2) + void clearTileOrientation() => clearField(2); +} + +class SplitResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SplitResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + SplitResponse._() : super(); + factory SplitResponse() => create(); + factory SplitResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory SplitResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + SplitResponse clone() => SplitResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + SplitResponse copyWith(void Function(SplitResponse) updates) => super.copyWith((message) => updates(message as SplitResponse)) as SplitResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static SplitResponse create() => SplitResponse._(); + SplitResponse createEmptyInstance() => create(); + static $pb.PbList<SplitResponse> createRepeated() => $pb.PbList<SplitResponse>(); + @$core.pragma('dart2js:noInline') + static SplitResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SplitResponse>(create); + static SplitResponse? _defaultInstance; +} + +class FloatRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FloatRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'xPos', $pb.PbFieldType.O3) + ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'yPos', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + FloatRequest._() : super(); + factory FloatRequest({ + $core.String? appId, + $core.int? xPos, + $core.int? yPos, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (xPos != null) { + _result.xPos = xPos; + } + if (yPos != null) { + _result.yPos = yPos; + } + return _result; + } + factory FloatRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FloatRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FloatRequest clone() => FloatRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FloatRequest copyWith(void Function(FloatRequest) updates) => super.copyWith((message) => updates(message as FloatRequest)) as FloatRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static FloatRequest create() => FloatRequest._(); + FloatRequest createEmptyInstance() => create(); + static $pb.PbList<FloatRequest> createRepeated() => $pb.PbList<FloatRequest>(); + @$core.pragma('dart2js:noInline') + static FloatRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FloatRequest>(create); + static FloatRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get xPos => $_getIZ(1); + @$pb.TagNumber(2) + set xPos($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasXPos() => $_has(1); + @$pb.TagNumber(2) + void clearXPos() => clearField(2); + + @$pb.TagNumber(3) + $core.int get yPos => $_getIZ(2); + @$pb.TagNumber(3) + set yPos($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasYPos() => $_has(2); + @$pb.TagNumber(3) + void clearYPos() => clearField(3); +} + +class FloatResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FloatResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + FloatResponse._() : super(); + factory FloatResponse() => create(); + factory FloatResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FloatResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FloatResponse clone() => FloatResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FloatResponse copyWith(void Function(FloatResponse) updates) => super.copyWith((message) => updates(message as FloatResponse)) as FloatResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static FloatResponse create() => FloatResponse._(); + FloatResponse createEmptyInstance() => create(); + static $pb.PbList<FloatResponse> createRepeated() => $pb.PbList<FloatResponse>(); + @$core.pragma('dart2js:noInline') + static FloatResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FloatResponse>(create); + static FloatResponse? _defaultInstance; +} + +class AppStateRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppStateRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + AppStateRequest._() : super(); + factory AppStateRequest() => create(); + factory AppStateRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppStateRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppStateRequest clone() => AppStateRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppStateRequest copyWith(void Function(AppStateRequest) updates) => super.copyWith((message) => updates(message as AppStateRequest)) as AppStateRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppStateRequest create() => AppStateRequest._(); + AppStateRequest createEmptyInstance() => create(); + static $pb.PbList<AppStateRequest> createRepeated() => $pb.PbList<AppStateRequest>(); + @$core.pragma('dart2js:noInline') + static AppStateRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppStateRequest>(create); + static AppStateRequest? _defaultInstance; +} + +class AppStateResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppStateResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'state', $pb.PbFieldType.O3) + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..hasRequiredFields = false + ; + + AppStateResponse._() : super(); + factory AppStateResponse({ + $core.int? state, + $core.String? appId, + }) { + final _result = create(); + if (state != null) { + _result.state = state; + } + if (appId != null) { + _result.appId = appId; + } + return _result; + } + factory AppStateResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppStateResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppStateResponse clone() => AppStateResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppStateResponse copyWith(void Function(AppStateResponse) updates) => super.copyWith((message) => updates(message as AppStateResponse)) as AppStateResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppStateResponse create() => AppStateResponse._(); + AppStateResponse createEmptyInstance() => create(); + static $pb.PbList<AppStateResponse> createRepeated() => $pb.PbList<AppStateResponse>(); + @$core.pragma('dart2js:noInline') + static AppStateResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppStateResponse>(create); + static AppStateResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.int get state => $_getIZ(0); + @$pb.TagNumber(1) + set state($core.int v) { $_setSignedInt32(0, v); } + @$pb.TagNumber(1) + $core.bool hasState() => $_has(0); + @$pb.TagNumber(1) + void clearState() => clearField(1); + + @$pb.TagNumber(2) + $core.String get appId => $_getSZ(1); + @$pb.TagNumber(2) + set appId($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasAppId() => $_has(1); + @$pb.TagNumber(2) + void clearAppId() => clearField(2); +} + +class OutputRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'OutputRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + OutputRequest._() : super(); + factory OutputRequest() => create(); + factory OutputRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OutputRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OutputRequest clone() => OutputRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OutputRequest copyWith(void Function(OutputRequest) updates) => super.copyWith((message) => updates(message as OutputRequest)) as OutputRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static OutputRequest create() => OutputRequest._(); + OutputRequest createEmptyInstance() => create(); + static $pb.PbList<OutputRequest> createRepeated() => $pb.PbList<OutputRequest>(); + @$core.pragma('dart2js:noInline') + static OutputRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OutputRequest>(create); + static OutputRequest? _defaultInstance; +} + +class OutputResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'OutputResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') + ..hasRequiredFields = false + ; + + OutputResponse._() : super(); + factory OutputResponse({ + $core.String? name, + }) { + final _result = create(); + if (name != null) { + _result.name = name; + } + return _result; + } + factory OutputResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory OutputResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + OutputResponse clone() => OutputResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + OutputResponse copyWith(void Function(OutputResponse) updates) => super.copyWith((message) => updates(message as OutputResponse)) as OutputResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static OutputResponse create() => OutputResponse._(); + OutputResponse createEmptyInstance() => create(); + static $pb.PbList<OutputResponse> createRepeated() => $pb.PbList<OutputResponse>(); + @$core.pragma('dart2js:noInline') + static OutputResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OutputResponse>(create); + static OutputResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get name => $_getSZ(0); + @$pb.TagNumber(1) + set name($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasName() => $_has(0); + @$pb.TagNumber(1) + void clearName() => clearField(1); +} + +class ListOutputResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ListOutputResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..pc<OutputResponse>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'outputs', $pb.PbFieldType.PM, subBuilder: OutputResponse.create) + ..hasRequiredFields = false + ; + + ListOutputResponse._() : super(); + factory ListOutputResponse({ + $core.Iterable<OutputResponse>? outputs, + }) { + final _result = create(); + if (outputs != null) { + _result.outputs.addAll(outputs); + } + return _result; + } + factory ListOutputResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListOutputResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ListOutputResponse clone() => ListOutputResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ListOutputResponse copyWith(void Function(ListOutputResponse) updates) => super.copyWith((message) => updates(message as ListOutputResponse)) as ListOutputResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static ListOutputResponse create() => ListOutputResponse._(); + ListOutputResponse createEmptyInstance() => create(); + static $pb.PbList<ListOutputResponse> createRepeated() => $pb.PbList<ListOutputResponse>(); + @$core.pragma('dart2js:noInline') + static ListOutputResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListOutputResponse>(create); + static ListOutputResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.List<OutputResponse> get outputs => $_getList(0); +} + +class NormalRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NormalRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..hasRequiredFields = false + ; + + NormalRequest._() : super(); + factory NormalRequest({ + $core.String? appId, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + return _result; + } + factory NormalRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NormalRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NormalRequest clone() => NormalRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NormalRequest copyWith(void Function(NormalRequest) updates) => super.copyWith((message) => updates(message as NormalRequest)) as NormalRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static NormalRequest create() => NormalRequest._(); + NormalRequest createEmptyInstance() => create(); + static $pb.PbList<NormalRequest> createRepeated() => $pb.PbList<NormalRequest>(); + @$core.pragma('dart2js:noInline') + static NormalRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NormalRequest>(create); + static NormalRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); +} + +class NormalResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'NormalResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + NormalResponse._() : super(); + factory NormalResponse() => create(); + factory NormalResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory NormalResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + NormalResponse clone() => NormalResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + NormalResponse copyWith(void Function(NormalResponse) updates) => super.copyWith((message) => updates(message as NormalResponse)) as NormalResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static NormalResponse create() => NormalResponse._(); + NormalResponse createEmptyInstance() => create(); + static $pb.PbList<NormalResponse> createRepeated() => $pb.PbList<NormalResponse>(); + @$core.pragma('dart2js:noInline') + static NormalResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<NormalResponse>(create); + static NormalResponse? _defaultInstance; +} + +class FullscreenRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FullscreenRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..hasRequiredFields = false + ; + + FullscreenRequest._() : super(); + factory FullscreenRequest({ + $core.String? appId, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + return _result; + } + factory FullscreenRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FullscreenRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FullscreenRequest clone() => FullscreenRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FullscreenRequest copyWith(void Function(FullscreenRequest) updates) => super.copyWith((message) => updates(message as FullscreenRequest)) as FullscreenRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static FullscreenRequest create() => FullscreenRequest._(); + FullscreenRequest createEmptyInstance() => create(); + static $pb.PbList<FullscreenRequest> createRepeated() => $pb.PbList<FullscreenRequest>(); + @$core.pragma('dart2js:noInline') + static FullscreenRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FullscreenRequest>(create); + static FullscreenRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); +} + +class FullscreenResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'FullscreenResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + FullscreenResponse._() : super(); + factory FullscreenResponse() => create(); + factory FullscreenResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory FullscreenResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + FullscreenResponse clone() => FullscreenResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + FullscreenResponse copyWith(void Function(FullscreenResponse) updates) => super.copyWith((message) => updates(message as FullscreenResponse)) as FullscreenResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static FullscreenResponse create() => FullscreenResponse._(); + FullscreenResponse createEmptyInstance() => create(); + static $pb.PbList<FullscreenResponse> createRepeated() => $pb.PbList<FullscreenResponse>(); + @$core.pragma('dart2js:noInline') + static FullscreenResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FullscreenResponse>(create); + static FullscreenResponse? _defaultInstance; +} + +class AppOnOutputRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppOnOutputRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'output') + ..hasRequiredFields = false + ; + + AppOnOutputRequest._() : super(); + factory AppOnOutputRequest({ + $core.String? appId, + $core.String? output, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (output != null) { + _result.output = output; + } + return _result; + } + factory AppOnOutputRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppOnOutputRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppOnOutputRequest clone() => AppOnOutputRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppOnOutputRequest copyWith(void Function(AppOnOutputRequest) updates) => super.copyWith((message) => updates(message as AppOnOutputRequest)) as AppOnOutputRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppOnOutputRequest create() => AppOnOutputRequest._(); + AppOnOutputRequest createEmptyInstance() => create(); + static $pb.PbList<AppOnOutputRequest> createRepeated() => $pb.PbList<AppOnOutputRequest>(); + @$core.pragma('dart2js:noInline') + static AppOnOutputRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppOnOutputRequest>(create); + static AppOnOutputRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get output => $_getSZ(1); + @$pb.TagNumber(2) + set output($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasOutput() => $_has(1); + @$pb.TagNumber(2) + void clearOutput() => clearField(2); +} + +class AppOnOutputResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppOnOutputResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + AppOnOutputResponse._() : super(); + factory AppOnOutputResponse() => create(); + factory AppOnOutputResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppOnOutputResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppOnOutputResponse clone() => AppOnOutputResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppOnOutputResponse copyWith(void Function(AppOnOutputResponse) updates) => super.copyWith((message) => updates(message as AppOnOutputResponse)) as AppOnOutputResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppOnOutputResponse create() => AppOnOutputResponse._(); + AppOnOutputResponse createEmptyInstance() => create(); + static $pb.PbList<AppOnOutputResponse> createRepeated() => $pb.PbList<AppOnOutputResponse>(); + @$core.pragma('dart2js:noInline') + static AppOnOutputResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppOnOutputResponse>(create); + static AppOnOutputResponse? _defaultInstance; +} + +class AppPositionRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppPositionRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'x', $pb.PbFieldType.O3) + ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'y', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + AppPositionRequest._() : super(); + factory AppPositionRequest({ + $core.String? appId, + $core.int? x, + $core.int? y, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (x != null) { + _result.x = x; + } + if (y != null) { + _result.y = y; + } + return _result; + } + factory AppPositionRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppPositionRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppPositionRequest clone() => AppPositionRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppPositionRequest copyWith(void Function(AppPositionRequest) updates) => super.copyWith((message) => updates(message as AppPositionRequest)) as AppPositionRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppPositionRequest create() => AppPositionRequest._(); + AppPositionRequest createEmptyInstance() => create(); + static $pb.PbList<AppPositionRequest> createRepeated() => $pb.PbList<AppPositionRequest>(); + @$core.pragma('dart2js:noInline') + static AppPositionRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppPositionRequest>(create); + static AppPositionRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get x => $_getIZ(1); + @$pb.TagNumber(2) + set x($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasX() => $_has(1); + @$pb.TagNumber(2) + void clearX() => clearField(2); + + @$pb.TagNumber(3) + $core.int get y => $_getIZ(2); + @$pb.TagNumber(3) + set y($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasY() => $_has(2); + @$pb.TagNumber(3) + void clearY() => clearField(3); +} + +class AppPositionResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppPositionResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + AppPositionResponse._() : super(); + factory AppPositionResponse() => create(); + factory AppPositionResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppPositionResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppPositionResponse clone() => AppPositionResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppPositionResponse copyWith(void Function(AppPositionResponse) updates) => super.copyWith((message) => updates(message as AppPositionResponse)) as AppPositionResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppPositionResponse create() => AppPositionResponse._(); + AppPositionResponse createEmptyInstance() => create(); + static $pb.PbList<AppPositionResponse> createRepeated() => $pb.PbList<AppPositionResponse>(); + @$core.pragma('dart2js:noInline') + static AppPositionResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppPositionResponse>(create); + static AppPositionResponse? _defaultInstance; +} + +class AppScaleRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppScaleRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'appId') + ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'width', $pb.PbFieldType.O3) + ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'height', $pb.PbFieldType.O3) + ..hasRequiredFields = false + ; + + AppScaleRequest._() : super(); + factory AppScaleRequest({ + $core.String? appId, + $core.int? width, + $core.int? height, + }) { + final _result = create(); + if (appId != null) { + _result.appId = appId; + } + if (width != null) { + _result.width = width; + } + if (height != null) { + _result.height = height; + } + return _result; + } + factory AppScaleRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppScaleRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppScaleRequest clone() => AppScaleRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppScaleRequest copyWith(void Function(AppScaleRequest) updates) => super.copyWith((message) => updates(message as AppScaleRequest)) as AppScaleRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppScaleRequest create() => AppScaleRequest._(); + AppScaleRequest createEmptyInstance() => create(); + static $pb.PbList<AppScaleRequest> createRepeated() => $pb.PbList<AppScaleRequest>(); + @$core.pragma('dart2js:noInline') + static AppScaleRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppScaleRequest>(create); + static AppScaleRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get appId => $_getSZ(0); + @$pb.TagNumber(1) + set appId($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasAppId() => $_has(0); + @$pb.TagNumber(1) + void clearAppId() => clearField(1); + + @$pb.TagNumber(2) + $core.int get width => $_getIZ(1); + @$pb.TagNumber(2) + set width($core.int v) { $_setSignedInt32(1, v); } + @$pb.TagNumber(2) + $core.bool hasWidth() => $_has(1); + @$pb.TagNumber(2) + void clearWidth() => clearField(2); + + @$pb.TagNumber(3) + $core.int get height => $_getIZ(2); + @$pb.TagNumber(3) + set height($core.int v) { $_setSignedInt32(2, v); } + @$pb.TagNumber(3) + $core.bool hasHeight() => $_has(2); + @$pb.TagNumber(3) + void clearHeight() => clearField(3); +} + +class AppScaleResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppScaleResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'agl_shell_ipc'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + AppScaleResponse._() : super(); + factory AppScaleResponse() => create(); + factory AppScaleResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppScaleResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppScaleResponse clone() => AppScaleResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppScaleResponse copyWith(void Function(AppScaleResponse) updates) => super.copyWith((message) => updates(message as AppScaleResponse)) as AppScaleResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppScaleResponse create() => AppScaleResponse._(); + AppScaleResponse createEmptyInstance() => create(); + static $pb.PbList<AppScaleResponse> createRepeated() => $pb.PbList<AppScaleResponse>(); + @$core.pragma('dart2js:noInline') + static AppScaleResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppScaleResponse>(create); + static AppScaleResponse? _defaultInstance; +} + diff --git a/protos/lib/src/generated/agl_shell.pbenum.dart b/protos/lib/src/generated/agl_shell.pbenum.dart new file mode 100644 index 0000000..ad859ee --- /dev/null +++ b/protos/lib/src/generated/agl_shell.pbenum.dart @@ -0,0 +1,7 @@ +/// +// Generated code. Do not modify. +// source: agl_shell.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + diff --git a/protos/lib/src/generated/agl_shell.pbgrpc.dart b/protos/lib/src/generated/agl_shell.pbgrpc.dart new file mode 100644 index 0000000..17287dd --- /dev/null +++ b/protos/lib/src/generated/agl_shell.pbgrpc.dart @@ -0,0 +1,319 @@ +/// +// Generated code. Do not modify. +// source: agl_shell.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:async' as $async; + +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'agl_shell.pb.dart' as $0; +export 'agl_shell.pb.dart'; + +class AglShellManagerServiceClient extends $grpc.Client { + static final _$activateApp = + $grpc.ClientMethod<$0.ActivateRequest, $0.ActivateResponse>( + '/agl_shell_ipc.AglShellManagerService/ActivateApp', + ($0.ActivateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.ActivateResponse.fromBuffer(value)); + static final _$deactivateApp = + $grpc.ClientMethod<$0.DeactivateRequest, $0.DeactivateResponse>( + '/agl_shell_ipc.AglShellManagerService/DeactivateApp', + ($0.DeactivateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.DeactivateResponse.fromBuffer(value)); + static final _$setAppSplit = + $grpc.ClientMethod<$0.SplitRequest, $0.SplitResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppSplit', + ($0.SplitRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.SplitResponse.fromBuffer(value)); + static final _$setAppFloat = + $grpc.ClientMethod<$0.FloatRequest, $0.FloatResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppFloat', + ($0.FloatRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.FloatResponse.fromBuffer(value)); + static final _$setAppFullscreen = + $grpc.ClientMethod<$0.FullscreenRequest, $0.FullscreenResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppFullscreen', + ($0.FullscreenRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.FullscreenResponse.fromBuffer(value)); + static final _$appStatusState = + $grpc.ClientMethod<$0.AppStateRequest, $0.AppStateResponse>( + '/agl_shell_ipc.AglShellManagerService/AppStatusState', + ($0.AppStateRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.AppStateResponse.fromBuffer(value)); + static final _$getOutputs = + $grpc.ClientMethod<$0.OutputRequest, $0.ListOutputResponse>( + '/agl_shell_ipc.AglShellManagerService/GetOutputs', + ($0.OutputRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.ListOutputResponse.fromBuffer(value)); + static final _$setAppNormal = + $grpc.ClientMethod<$0.NormalRequest, $0.NormalResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppNormal', + ($0.NormalRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.NormalResponse.fromBuffer(value)); + static final _$setAppOnOutput = + $grpc.ClientMethod<$0.AppOnOutputRequest, $0.AppOnOutputResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppOnOutput', + ($0.AppOnOutputRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.AppOnOutputResponse.fromBuffer(value)); + static final _$setAppPosition = + $grpc.ClientMethod<$0.AppPositionRequest, $0.AppPositionResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppPosition', + ($0.AppPositionRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.AppPositionResponse.fromBuffer(value)); + static final _$setAppScale = + $grpc.ClientMethod<$0.AppScaleRequest, $0.AppScaleResponse>( + '/agl_shell_ipc.AglShellManagerService/SetAppScale', + ($0.AppScaleRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => + $0.AppScaleResponse.fromBuffer(value)); + + AglShellManagerServiceClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, interceptors: interceptors); + + $grpc.ResponseFuture<$0.ActivateResponse> activateApp( + $0.ActivateRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$activateApp, request, options: options); + } + + $grpc.ResponseFuture<$0.DeactivateResponse> deactivateApp( + $0.DeactivateRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$deactivateApp, request, options: options); + } + + $grpc.ResponseFuture<$0.SplitResponse> setAppSplit($0.SplitRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppSplit, request, options: options); + } + + $grpc.ResponseFuture<$0.FloatResponse> setAppFloat($0.FloatRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppFloat, request, options: options); + } + + $grpc.ResponseFuture<$0.FullscreenResponse> setAppFullscreen( + $0.FullscreenRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppFullscreen, request, options: options); + } + + $grpc.ResponseStream<$0.AppStateResponse> appStatusState( + $0.AppStateRequest request, + {$grpc.CallOptions? options}) { + return $createStreamingCall( + _$appStatusState, $async.Stream.fromIterable([request]), + options: options); + } + + $grpc.ResponseFuture<$0.ListOutputResponse> getOutputs( + $0.OutputRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$getOutputs, request, options: options); + } + + $grpc.ResponseFuture<$0.NormalResponse> setAppNormal($0.NormalRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppNormal, request, options: options); + } + + $grpc.ResponseFuture<$0.AppOnOutputResponse> setAppOnOutput( + $0.AppOnOutputRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppOnOutput, request, options: options); + } + + $grpc.ResponseFuture<$0.AppPositionResponse> setAppPosition( + $0.AppPositionRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppPosition, request, options: options); + } + + $grpc.ResponseFuture<$0.AppScaleResponse> setAppScale( + $0.AppScaleRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$setAppScale, request, options: options); + } +} + +abstract class AglShellManagerServiceBase extends $grpc.Service { + $core.String get $name => 'agl_shell_ipc.AglShellManagerService'; + + AglShellManagerServiceBase() { + $addMethod($grpc.ServiceMethod<$0.ActivateRequest, $0.ActivateResponse>( + 'ActivateApp', + activateApp_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ActivateRequest.fromBuffer(value), + ($0.ActivateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.DeactivateRequest, $0.DeactivateResponse>( + 'DeactivateApp', + deactivateApp_Pre, + false, + false, + ($core.List<$core.int> value) => $0.DeactivateRequest.fromBuffer(value), + ($0.DeactivateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.SplitRequest, $0.SplitResponse>( + 'SetAppSplit', + setAppSplit_Pre, + false, + false, + ($core.List<$core.int> value) => $0.SplitRequest.fromBuffer(value), + ($0.SplitResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.FloatRequest, $0.FloatResponse>( + 'SetAppFloat', + setAppFloat_Pre, + false, + false, + ($core.List<$core.int> value) => $0.FloatRequest.fromBuffer(value), + ($0.FloatResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.FullscreenRequest, $0.FullscreenResponse>( + 'SetAppFullscreen', + setAppFullscreen_Pre, + false, + false, + ($core.List<$core.int> value) => $0.FullscreenRequest.fromBuffer(value), + ($0.FullscreenResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.AppStateRequest, $0.AppStateResponse>( + 'AppStatusState', + appStatusState_Pre, + false, + true, + ($core.List<$core.int> value) => $0.AppStateRequest.fromBuffer(value), + ($0.AppStateResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.OutputRequest, $0.ListOutputResponse>( + 'GetOutputs', + getOutputs_Pre, + false, + false, + ($core.List<$core.int> value) => $0.OutputRequest.fromBuffer(value), + ($0.ListOutputResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.NormalRequest, $0.NormalResponse>( + 'SetAppNormal', + setAppNormal_Pre, + false, + false, + ($core.List<$core.int> value) => $0.NormalRequest.fromBuffer(value), + ($0.NormalResponse value) => value.writeToBuffer())); + $addMethod( + $grpc.ServiceMethod<$0.AppOnOutputRequest, $0.AppOnOutputResponse>( + 'SetAppOnOutput', + setAppOnOutput_Pre, + false, + false, + ($core.List<$core.int> value) => + $0.AppOnOutputRequest.fromBuffer(value), + ($0.AppOnOutputResponse value) => value.writeToBuffer())); + $addMethod( + $grpc.ServiceMethod<$0.AppPositionRequest, $0.AppPositionResponse>( + 'SetAppPosition', + setAppPosition_Pre, + false, + false, + ($core.List<$core.int> value) => + $0.AppPositionRequest.fromBuffer(value), + ($0.AppPositionResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.AppScaleRequest, $0.AppScaleResponse>( + 'SetAppScale', + setAppScale_Pre, + false, + false, + ($core.List<$core.int> value) => $0.AppScaleRequest.fromBuffer(value), + ($0.AppScaleResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.ActivateResponse> activateApp_Pre( + $grpc.ServiceCall call, $async.Future<$0.ActivateRequest> request) async { + return activateApp(call, await request); + } + + $async.Future<$0.DeactivateResponse> deactivateApp_Pre($grpc.ServiceCall call, + $async.Future<$0.DeactivateRequest> request) async { + return deactivateApp(call, await request); + } + + $async.Future<$0.SplitResponse> setAppSplit_Pre( + $grpc.ServiceCall call, $async.Future<$0.SplitRequest> request) async { + return setAppSplit(call, await request); + } + + $async.Future<$0.FloatResponse> setAppFloat_Pre( + $grpc.ServiceCall call, $async.Future<$0.FloatRequest> request) async { + return setAppFloat(call, await request); + } + + $async.Future<$0.FullscreenResponse> setAppFullscreen_Pre( + $grpc.ServiceCall call, + $async.Future<$0.FullscreenRequest> request) async { + return setAppFullscreen(call, await request); + } + + $async.Stream<$0.AppStateResponse> appStatusState_Pre($grpc.ServiceCall call, + $async.Future<$0.AppStateRequest> request) async* { + yield* appStatusState(call, await request); + } + + $async.Future<$0.ListOutputResponse> getOutputs_Pre( + $grpc.ServiceCall call, $async.Future<$0.OutputRequest> request) async { + return getOutputs(call, await request); + } + + $async.Future<$0.NormalResponse> setAppNormal_Pre( + $grpc.ServiceCall call, $async.Future<$0.NormalRequest> request) async { + return setAppNormal(call, await request); + } + + $async.Future<$0.AppOnOutputResponse> setAppOnOutput_Pre( + $grpc.ServiceCall call, + $async.Future<$0.AppOnOutputRequest> request) async { + return setAppOnOutput(call, await request); + } + + $async.Future<$0.AppPositionResponse> setAppPosition_Pre( + $grpc.ServiceCall call, + $async.Future<$0.AppPositionRequest> request) async { + return setAppPosition(call, await request); + } + + $async.Future<$0.AppScaleResponse> setAppScale_Pre( + $grpc.ServiceCall call, $async.Future<$0.AppScaleRequest> request) async { + return setAppScale(call, await request); + } + + $async.Future<$0.ActivateResponse> activateApp( + $grpc.ServiceCall call, $0.ActivateRequest request); + $async.Future<$0.DeactivateResponse> deactivateApp( + $grpc.ServiceCall call, $0.DeactivateRequest request); + $async.Future<$0.SplitResponse> setAppSplit( + $grpc.ServiceCall call, $0.SplitRequest request); + $async.Future<$0.FloatResponse> setAppFloat( + $grpc.ServiceCall call, $0.FloatRequest request); + $async.Future<$0.FullscreenResponse> setAppFullscreen( + $grpc.ServiceCall call, $0.FullscreenRequest request); + $async.Stream<$0.AppStateResponse> appStatusState( + $grpc.ServiceCall call, $0.AppStateRequest request); + $async.Future<$0.ListOutputResponse> getOutputs( + $grpc.ServiceCall call, $0.OutputRequest request); + $async.Future<$0.NormalResponse> setAppNormal( + $grpc.ServiceCall call, $0.NormalRequest request); + $async.Future<$0.AppOnOutputResponse> setAppOnOutput( + $grpc.ServiceCall call, $0.AppOnOutputRequest request); + $async.Future<$0.AppPositionResponse> setAppPosition( + $grpc.ServiceCall call, $0.AppPositionRequest request); + $async.Future<$0.AppScaleResponse> setAppScale( + $grpc.ServiceCall call, $0.AppScaleRequest request); +} diff --git a/protos/lib/src/generated/agl_shell.pbjson.dart b/protos/lib/src/generated/agl_shell.pbjson.dart new file mode 100644 index 0000000..63f2e27 --- /dev/null +++ b/protos/lib/src/generated/agl_shell.pbjson.dart @@ -0,0 +1,217 @@ +/// +// Generated code. Do not modify. +// source: agl_shell.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,deprecated_member_use_from_same_package,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:core' as $core; +import 'dart:convert' as $convert; +import 'dart:typed_data' as $typed_data; +@$core.Deprecated('Use activateRequestDescriptor instead') +const ActivateRequest$json = const { + '1': 'ActivateRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'output_name', '3': 2, '4': 1, '5': 9, '10': 'outputName'}, + ], +}; + +/// Descriptor for `ActivateRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List activateRequestDescriptor = $convert.base64Decode('Cg9BY3RpdmF0ZVJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBIfCgtvdXRwdXRfbmFtZRgCIAEoCVIKb3V0cHV0TmFtZQ=='); +@$core.Deprecated('Use activateResponseDescriptor instead') +const ActivateResponse$json = const { + '1': 'ActivateResponse', +}; + +/// Descriptor for `ActivateResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List activateResponseDescriptor = $convert.base64Decode('ChBBY3RpdmF0ZVJlc3BvbnNl'); +@$core.Deprecated('Use deactivateRequestDescriptor instead') +const DeactivateRequest$json = const { + '1': 'DeactivateRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + ], +}; + +/// Descriptor for `DeactivateRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deactivateRequestDescriptor = $convert.base64Decode('ChFEZWFjdGl2YXRlUmVxdWVzdBIVCgZhcHBfaWQYASABKAlSBWFwcElk'); +@$core.Deprecated('Use deactivateResponseDescriptor instead') +const DeactivateResponse$json = const { + '1': 'DeactivateResponse', +}; + +/// Descriptor for `DeactivateResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List deactivateResponseDescriptor = $convert.base64Decode('ChJEZWFjdGl2YXRlUmVzcG9uc2U='); +@$core.Deprecated('Use splitRequestDescriptor instead') +const SplitRequest$json = const { + '1': 'SplitRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'tile_orientation', '3': 2, '4': 1, '5': 5, '10': 'tileOrientation'}, + ], +}; + +/// Descriptor for `SplitRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List splitRequestDescriptor = $convert.base64Decode('CgxTcGxpdFJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBIpChB0aWxlX29yaWVudGF0aW9uGAIgASgFUg90aWxlT3JpZW50YXRpb24='); +@$core.Deprecated('Use splitResponseDescriptor instead') +const SplitResponse$json = const { + '1': 'SplitResponse', +}; + +/// Descriptor for `SplitResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List splitResponseDescriptor = $convert.base64Decode('Cg1TcGxpdFJlc3BvbnNl'); +@$core.Deprecated('Use floatRequestDescriptor instead') +const FloatRequest$json = const { + '1': 'FloatRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'x_pos', '3': 2, '4': 1, '5': 5, '10': 'xPos'}, + const {'1': 'y_pos', '3': 3, '4': 1, '5': 5, '10': 'yPos'}, + ], +}; + +/// Descriptor for `FloatRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List floatRequestDescriptor = $convert.base64Decode('CgxGbG9hdFJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBITCgV4X3BvcxgCIAEoBVIEeFBvcxITCgV5X3BvcxgDIAEoBVIEeVBvcw=='); +@$core.Deprecated('Use floatResponseDescriptor instead') +const FloatResponse$json = const { + '1': 'FloatResponse', +}; + +/// Descriptor for `FloatResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List floatResponseDescriptor = $convert.base64Decode('Cg1GbG9hdFJlc3BvbnNl'); +@$core.Deprecated('Use appStateRequestDescriptor instead') +const AppStateRequest$json = const { + '1': 'AppStateRequest', +}; + +/// Descriptor for `AppStateRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appStateRequestDescriptor = $convert.base64Decode('Cg9BcHBTdGF0ZVJlcXVlc3Q='); +@$core.Deprecated('Use appStateResponseDescriptor instead') +const AppStateResponse$json = const { + '1': 'AppStateResponse', + '2': const [ + const {'1': 'state', '3': 1, '4': 1, '5': 5, '10': 'state'}, + const {'1': 'app_id', '3': 2, '4': 1, '5': 9, '10': 'appId'}, + ], +}; + +/// Descriptor for `AppStateResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appStateResponseDescriptor = $convert.base64Decode('ChBBcHBTdGF0ZVJlc3BvbnNlEhQKBXN0YXRlGAEgASgFUgVzdGF0ZRIVCgZhcHBfaWQYAiABKAlSBWFwcElk'); +@$core.Deprecated('Use outputRequestDescriptor instead') +const OutputRequest$json = const { + '1': 'OutputRequest', +}; + +/// Descriptor for `OutputRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List outputRequestDescriptor = $convert.base64Decode('Cg1PdXRwdXRSZXF1ZXN0'); +@$core.Deprecated('Use outputResponseDescriptor instead') +const OutputResponse$json = const { + '1': 'OutputResponse', + '2': const [ + const {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, + ], +}; + +/// Descriptor for `OutputResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List outputResponseDescriptor = $convert.base64Decode('Cg5PdXRwdXRSZXNwb25zZRISCgRuYW1lGAEgASgJUgRuYW1l'); +@$core.Deprecated('Use listOutputResponseDescriptor instead') +const ListOutputResponse$json = const { + '1': 'ListOutputResponse', + '2': const [ + const {'1': 'outputs', '3': 1, '4': 3, '5': 11, '6': '.agl_shell_ipc.OutputResponse', '10': 'outputs'}, + ], +}; + +/// Descriptor for `ListOutputResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listOutputResponseDescriptor = $convert.base64Decode('ChJMaXN0T3V0cHV0UmVzcG9uc2USNwoHb3V0cHV0cxgBIAMoCzIdLmFnbF9zaGVsbF9pcGMuT3V0cHV0UmVzcG9uc2VSB291dHB1dHM='); +@$core.Deprecated('Use normalRequestDescriptor instead') +const NormalRequest$json = const { + '1': 'NormalRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + ], +}; + +/// Descriptor for `NormalRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List normalRequestDescriptor = $convert.base64Decode('Cg1Ob3JtYWxSZXF1ZXN0EhUKBmFwcF9pZBgBIAEoCVIFYXBwSWQ='); +@$core.Deprecated('Use normalResponseDescriptor instead') +const NormalResponse$json = const { + '1': 'NormalResponse', +}; + +/// Descriptor for `NormalResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List normalResponseDescriptor = $convert.base64Decode('Cg5Ob3JtYWxSZXNwb25zZQ=='); +@$core.Deprecated('Use fullscreenRequestDescriptor instead') +const FullscreenRequest$json = const { + '1': 'FullscreenRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + ], +}; + +/// Descriptor for `FullscreenRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fullscreenRequestDescriptor = $convert.base64Decode('ChFGdWxsc2NyZWVuUmVxdWVzdBIVCgZhcHBfaWQYASABKAlSBWFwcElk'); +@$core.Deprecated('Use fullscreenResponseDescriptor instead') +const FullscreenResponse$json = const { + '1': 'FullscreenResponse', +}; + +/// Descriptor for `FullscreenResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List fullscreenResponseDescriptor = $convert.base64Decode('ChJGdWxsc2NyZWVuUmVzcG9uc2U='); +@$core.Deprecated('Use appOnOutputRequestDescriptor instead') +const AppOnOutputRequest$json = const { + '1': 'AppOnOutputRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'output', '3': 2, '4': 1, '5': 9, '10': 'output'}, + ], +}; + +/// Descriptor for `AppOnOutputRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appOnOutputRequestDescriptor = $convert.base64Decode('ChJBcHBPbk91dHB1dFJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBIWCgZvdXRwdXQYAiABKAlSBm91dHB1dA=='); +@$core.Deprecated('Use appOnOutputResponseDescriptor instead') +const AppOnOutputResponse$json = const { + '1': 'AppOnOutputResponse', +}; + +/// Descriptor for `AppOnOutputResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appOnOutputResponseDescriptor = $convert.base64Decode('ChNBcHBPbk91dHB1dFJlc3BvbnNl'); +@$core.Deprecated('Use appPositionRequestDescriptor instead') +const AppPositionRequest$json = const { + '1': 'AppPositionRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'x', '3': 2, '4': 1, '5': 5, '10': 'x'}, + const {'1': 'y', '3': 3, '4': 1, '5': 5, '10': 'y'}, + ], +}; + +/// Descriptor for `AppPositionRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appPositionRequestDescriptor = $convert.base64Decode('ChJBcHBQb3NpdGlvblJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBIMCgF4GAIgASgFUgF4EgwKAXkYAyABKAVSAXk='); +@$core.Deprecated('Use appPositionResponseDescriptor instead') +const AppPositionResponse$json = const { + '1': 'AppPositionResponse', +}; + +/// Descriptor for `AppPositionResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appPositionResponseDescriptor = $convert.base64Decode('ChNBcHBQb3NpdGlvblJlc3BvbnNl'); +@$core.Deprecated('Use appScaleRequestDescriptor instead') +const AppScaleRequest$json = const { + '1': 'AppScaleRequest', + '2': const [ + const {'1': 'app_id', '3': 1, '4': 1, '5': 9, '10': 'appId'}, + const {'1': 'width', '3': 2, '4': 1, '5': 5, '10': 'width'}, + const {'1': 'height', '3': 3, '4': 1, '5': 5, '10': 'height'}, + ], +}; + +/// Descriptor for `AppScaleRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appScaleRequestDescriptor = $convert.base64Decode('Cg9BcHBTY2FsZVJlcXVlc3QSFQoGYXBwX2lkGAEgASgJUgVhcHBJZBIUCgV3aWR0aBgCIAEoBVIFd2lkdGgSFgoGaGVpZ2h0GAMgASgFUgZoZWlnaHQ='); +@$core.Deprecated('Use appScaleResponseDescriptor instead') +const AppScaleResponse$json = const { + '1': 'AppScaleResponse', +}; + +/// Descriptor for `AppScaleResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appScaleResponseDescriptor = $convert.base64Decode('ChBBcHBTY2FsZVJlc3BvbnNl'); diff --git a/protos/lib/src/generated/applauncher.pb.dart b/protos/lib/src/generated/applauncher.pb.dart new file mode 100644 index 0000000..34b1533 --- /dev/null +++ b/protos/lib/src/generated/applauncher.pb.dart @@ -0,0 +1,463 @@ +/// +// Generated code. Do not modify. +// source: applauncher.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:core' as $core; + +import 'package:protobuf/protobuf.dart' as $pb; + +class StartRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StartRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') + ..hasRequiredFields = false + ; + + StartRequest._() : super(); + factory StartRequest({ + $core.String? id, + }) { + final _result = create(); + if (id != null) { + _result.id = id; + } + return _result; + } + factory StartRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StartRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StartRequest clone() => StartRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StartRequest copyWith(void Function(StartRequest) updates) => super.copyWith((message) => updates(message as StartRequest)) as StartRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static StartRequest create() => StartRequest._(); + StartRequest createEmptyInstance() => create(); + static $pb.PbList<StartRequest> createRepeated() => $pb.PbList<StartRequest>(); + @$core.pragma('dart2js:noInline') + static StartRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartRequest>(create); + static StartRequest? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); +} + +class StartResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StartResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'status') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'message') + ..hasRequiredFields = false + ; + + StartResponse._() : super(); + factory StartResponse({ + $core.bool? status, + $core.String? message, + }) { + final _result = create(); + if (status != null) { + _result.status = status; + } + if (message != null) { + _result.message = message; + } + return _result; + } + factory StartResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StartResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StartResponse clone() => StartResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StartResponse copyWith(void Function(StartResponse) updates) => super.copyWith((message) => updates(message as StartResponse)) as StartResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static StartResponse create() => StartResponse._(); + StartResponse createEmptyInstance() => create(); + static $pb.PbList<StartResponse> createRepeated() => $pb.PbList<StartResponse>(); + @$core.pragma('dart2js:noInline') + static StartResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StartResponse>(create); + static StartResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.bool get status => $_getBF(0); + @$pb.TagNumber(1) + set status($core.bool v) { $_setBool(0, v); } + @$pb.TagNumber(1) + $core.bool hasStatus() => $_has(0); + @$pb.TagNumber(1) + void clearStatus() => clearField(1); + + @$pb.TagNumber(2) + $core.String get message => $_getSZ(1); + @$pb.TagNumber(2) + set message($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasMessage() => $_has(1); + @$pb.TagNumber(2) + void clearMessage() => clearField(2); +} + +class ListRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ListRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + ListRequest._() : super(); + factory ListRequest() => create(); + factory ListRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ListRequest clone() => ListRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ListRequest copyWith(void Function(ListRequest) updates) => super.copyWith((message) => updates(message as ListRequest)) as ListRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static ListRequest create() => ListRequest._(); + ListRequest createEmptyInstance() => create(); + static $pb.PbList<ListRequest> createRepeated() => $pb.PbList<ListRequest>(); + @$core.pragma('dart2js:noInline') + static ListRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListRequest>(create); + static ListRequest? _defaultInstance; +} + +class ListResponse extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'ListResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..pc<AppInfo>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'apps', $pb.PbFieldType.PM, subBuilder: AppInfo.create) + ..hasRequiredFields = false + ; + + ListResponse._() : super(); + factory ListResponse({ + $core.Iterable<AppInfo>? apps, + }) { + final _result = create(); + if (apps != null) { + _result.apps.addAll(apps); + } + return _result; + } + factory ListResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory ListResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + ListResponse clone() => ListResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + ListResponse copyWith(void Function(ListResponse) updates) => super.copyWith((message) => updates(message as ListResponse)) as ListResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static ListResponse create() => ListResponse._(); + ListResponse createEmptyInstance() => create(); + static $pb.PbList<ListResponse> createRepeated() => $pb.PbList<ListResponse>(); + @$core.pragma('dart2js:noInline') + static ListResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ListResponse>(create); + static ListResponse? _defaultInstance; + + @$pb.TagNumber(1) + $core.List<AppInfo> get apps => $_getList(0); +} + +class AppInfo extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppInfo', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'name') + ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'iconPath') + ..hasRequiredFields = false + ; + + AppInfo._() : super(); + factory AppInfo({ + $core.String? id, + $core.String? name, + $core.String? iconPath, + }) { + final _result = create(); + if (id != null) { + _result.id = id; + } + if (name != null) { + _result.name = name; + } + if (iconPath != null) { + _result.iconPath = iconPath; + } + return _result; + } + factory AppInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppInfo clone() => AppInfo()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppInfo copyWith(void Function(AppInfo) updates) => super.copyWith((message) => updates(message as AppInfo)) as AppInfo; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppInfo create() => AppInfo._(); + AppInfo createEmptyInstance() => create(); + static $pb.PbList<AppInfo> createRepeated() => $pb.PbList<AppInfo>(); + @$core.pragma('dart2js:noInline') + static AppInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppInfo>(create); + static AppInfo? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get name => $_getSZ(1); + @$pb.TagNumber(2) + set name($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasName() => $_has(1); + @$pb.TagNumber(2) + void clearName() => clearField(2); + + @$pb.TagNumber(3) + $core.String get iconPath => $_getSZ(2); + @$pb.TagNumber(3) + set iconPath($core.String v) { $_setString(2, v); } + @$pb.TagNumber(3) + $core.bool hasIconPath() => $_has(2); + @$pb.TagNumber(3) + void clearIconPath() => clearField(3); +} + +class StatusRequest extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StatusRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + StatusRequest._() : super(); + factory StatusRequest() => create(); + factory StatusRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StatusRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StatusRequest clone() => StatusRequest()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StatusRequest copyWith(void Function(StatusRequest) updates) => super.copyWith((message) => updates(message as StatusRequest)) as StatusRequest; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static StatusRequest create() => StatusRequest._(); + StatusRequest createEmptyInstance() => create(); + static $pb.PbList<StatusRequest> createRepeated() => $pb.PbList<StatusRequest>(); + @$core.pragma('dart2js:noInline') + static StatusRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StatusRequest>(create); + static StatusRequest? _defaultInstance; +} + +class AppStatus extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'AppStatus', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') + ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'status') + ..hasRequiredFields = false + ; + + AppStatus._() : super(); + factory AppStatus({ + $core.String? id, + $core.String? status, + }) { + final _result = create(); + if (id != null) { + _result.id = id; + } + if (status != null) { + _result.status = status; + } + return _result; + } + factory AppStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory AppStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + AppStatus clone() => AppStatus()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + AppStatus copyWith(void Function(AppStatus) updates) => super.copyWith((message) => updates(message as AppStatus)) as AppStatus; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static AppStatus create() => AppStatus._(); + AppStatus createEmptyInstance() => create(); + static $pb.PbList<AppStatus> createRepeated() => $pb.PbList<AppStatus>(); + @$core.pragma('dart2js:noInline') + static AppStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<AppStatus>(create); + static AppStatus? _defaultInstance; + + @$pb.TagNumber(1) + $core.String get id => $_getSZ(0); + @$pb.TagNumber(1) + set id($core.String v) { $_setString(0, v); } + @$pb.TagNumber(1) + $core.bool hasId() => $_has(0); + @$pb.TagNumber(1) + void clearId() => clearField(1); + + @$pb.TagNumber(2) + $core.String get status => $_getSZ(1); + @$pb.TagNumber(2) + set status($core.String v) { $_setString(1, v); } + @$pb.TagNumber(2) + $core.bool hasStatus() => $_has(1); + @$pb.TagNumber(2) + void clearStatus() => clearField(2); +} + +class LauncherStatus extends $pb.GeneratedMessage { + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LauncherStatus', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..hasRequiredFields = false + ; + + LauncherStatus._() : super(); + factory LauncherStatus() => create(); + factory LauncherStatus.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory LauncherStatus.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + LauncherStatus clone() => LauncherStatus()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + LauncherStatus copyWith(void Function(LauncherStatus) updates) => super.copyWith((message) => updates(message as LauncherStatus)) as LauncherStatus; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static LauncherStatus create() => LauncherStatus._(); + LauncherStatus createEmptyInstance() => create(); + static $pb.PbList<LauncherStatus> createRepeated() => $pb.PbList<LauncherStatus>(); + @$core.pragma('dart2js:noInline') + static LauncherStatus getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LauncherStatus>(create); + static LauncherStatus? _defaultInstance; +} + +enum StatusResponse_Status { + app, + launcher, + notSet +} + +class StatusResponse extends $pb.GeneratedMessage { + static const $core.Map<$core.int, StatusResponse_Status> _StatusResponse_StatusByTag = { + 1 : StatusResponse_Status.app, + 2 : StatusResponse_Status.launcher, + 0 : StatusResponse_Status.notSet + }; + static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'StatusResponse', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'automotivegradelinux'), createEmptyInstance: create) + ..oo(0, [1, 2]) + ..aOM<AppStatus>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'app', subBuilder: AppStatus.create) + ..aOM<LauncherStatus>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'launcher', subBuilder: LauncherStatus.create) + ..hasRequiredFields = false + ; + + StatusResponse._() : super(); + factory StatusResponse({ + AppStatus? app, + LauncherStatus? launcher, + }) { + final _result = create(); + if (app != null) { + _result.app = app; + } + if (launcher != null) { + _result.launcher = launcher; + } + return _result; + } + factory StatusResponse.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); + factory StatusResponse.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' + 'Will be removed in next major version') + StatusResponse clone() => StatusResponse()..mergeFromMessage(this); + @$core.Deprecated( + 'Using this can add significant overhead to your binary. ' + 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' + 'Will be removed in next major version') + StatusResponse copyWith(void Function(StatusResponse) updates) => super.copyWith((message) => updates(message as StatusResponse)) as StatusResponse; // ignore: deprecated_member_use + $pb.BuilderInfo get info_ => _i; + @$core.pragma('dart2js:noInline') + static StatusResponse create() => StatusResponse._(); + StatusResponse createEmptyInstance() => create(); + static $pb.PbList<StatusResponse> createRepeated() => $pb.PbList<StatusResponse>(); + @$core.pragma('dart2js:noInline') + static StatusResponse getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StatusResponse>(create); + static StatusResponse? _defaultInstance; + + StatusResponse_Status whichStatus() => _StatusResponse_StatusByTag[$_whichOneof(0)]!; + void clearStatus() => clearField($_whichOneof(0)); + + @$pb.TagNumber(1) + AppStatus get app => $_getN(0); + @$pb.TagNumber(1) + set app(AppStatus v) { setField(1, v); } + @$pb.TagNumber(1) + $core.bool hasApp() => $_has(0); + @$pb.TagNumber(1) + void clearApp() => clearField(1); + @$pb.TagNumber(1) + AppStatus ensureApp() => $_ensure(0); + + @$pb.TagNumber(2) + LauncherStatus get launcher => $_getN(1); + @$pb.TagNumber(2) + set launcher(LauncherStatus v) { setField(2, v); } + @$pb.TagNumber(2) + $core.bool hasLauncher() => $_has(1); + @$pb.TagNumber(2) + void clearLauncher() => clearField(2); + @$pb.TagNumber(2) + LauncherStatus ensureLauncher() => $_ensure(1); +} + diff --git a/protos/lib/src/generated/applauncher.pbenum.dart b/protos/lib/src/generated/applauncher.pbenum.dart new file mode 100644 index 0000000..255c0ab --- /dev/null +++ b/protos/lib/src/generated/applauncher.pbenum.dart @@ -0,0 +1,7 @@ +/// +// Generated code. Do not modify. +// source: applauncher.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + diff --git a/protos/lib/src/generated/applauncher.pbgrpc.dart b/protos/lib/src/generated/applauncher.pbgrpc.dart new file mode 100644 index 0000000..d054e8f --- /dev/null +++ b/protos/lib/src/generated/applauncher.pbgrpc.dart @@ -0,0 +1,106 @@ +/// +// Generated code. Do not modify. +// source: applauncher.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:async' as $async; + +import 'dart:core' as $core; + +import 'package:grpc/service_api.dart' as $grpc; +import 'applauncher.pb.dart' as $0; +export 'applauncher.pb.dart'; + +class AppLauncherClient extends $grpc.Client { + static final _$startApplication = + $grpc.ClientMethod<$0.StartRequest, $0.StartResponse>( + '/automotivegradelinux.AppLauncher/StartApplication', + ($0.StartRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.StartResponse.fromBuffer(value)); + static final _$listApplications = + $grpc.ClientMethod<$0.ListRequest, $0.ListResponse>( + '/automotivegradelinux.AppLauncher/ListApplications', + ($0.ListRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.ListResponse.fromBuffer(value)); + static final _$getStatusEvents = + $grpc.ClientMethod<$0.StatusRequest, $0.StatusResponse>( + '/automotivegradelinux.AppLauncher/GetStatusEvents', + ($0.StatusRequest value) => value.writeToBuffer(), + ($core.List<$core.int> value) => $0.StatusResponse.fromBuffer(value)); + + AppLauncherClient($grpc.ClientChannel channel, + {$grpc.CallOptions? options, + $core.Iterable<$grpc.ClientInterceptor>? interceptors}) + : super(channel, options: options, interceptors: interceptors); + + $grpc.ResponseFuture<$0.StartResponse> startApplication( + $0.StartRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$startApplication, request, options: options); + } + + $grpc.ResponseFuture<$0.ListResponse> listApplications($0.ListRequest request, + {$grpc.CallOptions? options}) { + return $createUnaryCall(_$listApplications, request, options: options); + } + + $grpc.ResponseStream<$0.StatusResponse> getStatusEvents( + $0.StatusRequest request, + {$grpc.CallOptions? options}) { + return $createStreamingCall( + _$getStatusEvents, $async.Stream.fromIterable([request]), + options: options); + } +} + +abstract class AppLauncherServiceBase extends $grpc.Service { + $core.String get $name => 'automotivegradelinux.AppLauncher'; + + AppLauncherServiceBase() { + $addMethod($grpc.ServiceMethod<$0.StartRequest, $0.StartResponse>( + 'StartApplication', + startApplication_Pre, + false, + false, + ($core.List<$core.int> value) => $0.StartRequest.fromBuffer(value), + ($0.StartResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.ListRequest, $0.ListResponse>( + 'ListApplications', + listApplications_Pre, + false, + false, + ($core.List<$core.int> value) => $0.ListRequest.fromBuffer(value), + ($0.ListResponse value) => value.writeToBuffer())); + $addMethod($grpc.ServiceMethod<$0.StatusRequest, $0.StatusResponse>( + 'GetStatusEvents', + getStatusEvents_Pre, + false, + true, + ($core.List<$core.int> value) => $0.StatusRequest.fromBuffer(value), + ($0.StatusResponse value) => value.writeToBuffer())); + } + + $async.Future<$0.StartResponse> startApplication_Pre( + $grpc.ServiceCall call, $async.Future<$0.StartRequest> request) async { + return startApplication(call, await request); + } + + $async.Future<$0.ListResponse> listApplications_Pre( + $grpc.ServiceCall call, $async.Future<$0.ListRequest> request) async { + return listApplications(call, await request); + } + + $async.Stream<$0.StatusResponse> getStatusEvents_Pre( + $grpc.ServiceCall call, $async.Future<$0.StatusRequest> request) async* { + yield* getStatusEvents(call, await request); + } + + $async.Future<$0.StartResponse> startApplication( + $grpc.ServiceCall call, $0.StartRequest request); + $async.Future<$0.ListResponse> listApplications( + $grpc.ServiceCall call, $0.ListRequest request); + $async.Stream<$0.StatusResponse> getStatusEvents( + $grpc.ServiceCall call, $0.StatusRequest request); +} diff --git a/protos/lib/src/generated/applauncher.pbjson.dart b/protos/lib/src/generated/applauncher.pbjson.dart new file mode 100644 index 0000000..4d89f09 --- /dev/null +++ b/protos/lib/src/generated/applauncher.pbjson.dart @@ -0,0 +1,99 @@ +/// +// Generated code. Do not modify. +// source: applauncher.proto +// +// @dart = 2.12 +// ignore_for_file: annotate_overrides,camel_case_types,constant_identifier_names,deprecated_member_use_from_same_package,directives_ordering,library_prefixes,non_constant_identifier_names,prefer_final_fields,return_of_invalid_type,unnecessary_const,unnecessary_import,unnecessary_this,unused_import,unused_shown_name + +import 'dart:core' as $core; +import 'dart:convert' as $convert; +import 'dart:typed_data' as $typed_data; +@$core.Deprecated('Use startRequestDescriptor instead') +const StartRequest$json = const { + '1': 'StartRequest', + '2': const [ + const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + ], +}; + +/// Descriptor for `StartRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List startRequestDescriptor = $convert.base64Decode('CgxTdGFydFJlcXVlc3QSDgoCaWQYASABKAlSAmlk'); +@$core.Deprecated('Use startResponseDescriptor instead') +const StartResponse$json = const { + '1': 'StartResponse', + '2': const [ + const {'1': 'status', '3': 1, '4': 1, '5': 8, '10': 'status'}, + const {'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'}, + ], +}; + +/// Descriptor for `StartResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List startResponseDescriptor = $convert.base64Decode('Cg1TdGFydFJlc3BvbnNlEhYKBnN0YXR1cxgBIAEoCFIGc3RhdHVzEhgKB21lc3NhZ2UYAiABKAlSB21lc3NhZ2U='); +@$core.Deprecated('Use listRequestDescriptor instead') +const ListRequest$json = const { + '1': 'ListRequest', +}; + +/// Descriptor for `ListRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listRequestDescriptor = $convert.base64Decode('CgtMaXN0UmVxdWVzdA=='); +@$core.Deprecated('Use listResponseDescriptor instead') +const ListResponse$json = const { + '1': 'ListResponse', + '2': const [ + const {'1': 'apps', '3': 1, '4': 3, '5': 11, '6': '.automotivegradelinux.AppInfo', '10': 'apps'}, + ], +}; + +/// Descriptor for `ListResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List listResponseDescriptor = $convert.base64Decode('CgxMaXN0UmVzcG9uc2USMQoEYXBwcxgBIAMoCzIdLmF1dG9tb3RpdmVncmFkZWxpbnV4LkFwcEluZm9SBGFwcHM='); +@$core.Deprecated('Use appInfoDescriptor instead') +const AppInfo$json = const { + '1': 'AppInfo', + '2': const [ + const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + const {'1': 'name', '3': 2, '4': 1, '5': 9, '10': 'name'}, + const {'1': 'icon_path', '3': 3, '4': 1, '5': 9, '10': 'iconPath'}, + ], +}; + +/// Descriptor for `AppInfo`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appInfoDescriptor = $convert.base64Decode('CgdBcHBJbmZvEg4KAmlkGAEgASgJUgJpZBISCgRuYW1lGAIgASgJUgRuYW1lEhsKCWljb25fcGF0aBgDIAEoCVIIaWNvblBhdGg='); +@$core.Deprecated('Use statusRequestDescriptor instead') +const StatusRequest$json = const { + '1': 'StatusRequest', +}; + +/// Descriptor for `StatusRequest`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List statusRequestDescriptor = $convert.base64Decode('Cg1TdGF0dXNSZXF1ZXN0'); +@$core.Deprecated('Use appStatusDescriptor instead') +const AppStatus$json = const { + '1': 'AppStatus', + '2': const [ + const {'1': 'id', '3': 1, '4': 1, '5': 9, '10': 'id'}, + const {'1': 'status', '3': 2, '4': 1, '5': 9, '10': 'status'}, + ], +}; + +/// Descriptor for `AppStatus`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List appStatusDescriptor = $convert.base64Decode('CglBcHBTdGF0dXMSDgoCaWQYASABKAlSAmlkEhYKBnN0YXR1cxgCIAEoCVIGc3RhdHVz'); +@$core.Deprecated('Use launcherStatusDescriptor instead') +const LauncherStatus$json = const { + '1': 'LauncherStatus', +}; + +/// Descriptor for `LauncherStatus`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List launcherStatusDescriptor = $convert.base64Decode('Cg5MYXVuY2hlclN0YXR1cw=='); +@$core.Deprecated('Use statusResponseDescriptor instead') +const StatusResponse$json = const { + '1': 'StatusResponse', + '2': const [ + const {'1': 'app', '3': 1, '4': 1, '5': 11, '6': '.automotivegradelinux.AppStatus', '9': 0, '10': 'app'}, + const {'1': 'launcher', '3': 2, '4': 1, '5': 11, '6': '.automotivegradelinux.LauncherStatus', '9': 0, '10': 'launcher'}, + ], + '8': const [ + const {'1': 'status'}, + ], +}; + +/// Descriptor for `StatusResponse`. Decode as a `google.protobuf.DescriptorProto`. +final $typed_data.Uint8List statusResponseDescriptor = $convert.base64Decode('Cg5TdGF0dXNSZXNwb25zZRIzCgNhcHAYASABKAsyHy5hdXRvbW90aXZlZ3JhZGVsaW51eC5BcHBTdGF0dXNIAFIDYXBwEkIKCGxhdW5jaGVyGAIgASgLMiQuYXV0b21vdGl2ZWdyYWRlbGludXguTGF1bmNoZXJTdGF0dXNIAFIIbGF1bmNoZXJCCAoGc3RhdHVz'); diff --git a/protos/lib/src/generated/sdv/databroker/v1/broker.pb.dart b/protos/lib/src/generated/sdv/databroker/v1/broker.pb.dart deleted file mode 100644 index 12b0977..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/broker.pb.dart +++ /dev/null @@ -1,400 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/broker.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:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'types.pb.dart' as $3; -import 'types.pbenum.dart' as $3; - -class GetDatapointsRequest extends $pb.GeneratedMessage { - factory GetDatapointsRequest({ - $core.Iterable<$core.String>? datapoints, - }) { - final $result = create(); - if (datapoints != null) { - $result.datapoints.addAll(datapoints); - } - return $result; - } - GetDatapointsRequest._() : super(); - factory GetDatapointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDatapointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDatapointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'datapoints') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDatapointsRequest clone() => GetDatapointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDatapointsRequest copyWith(void Function(GetDatapointsRequest) updates) => super.copyWith((message) => updates(message as GetDatapointsRequest)) as GetDatapointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDatapointsRequest create() => GetDatapointsRequest._(); - GetDatapointsRequest createEmptyInstance() => create(); - static $pb.PbList<GetDatapointsRequest> createRepeated() => $pb.PbList<GetDatapointsRequest>(); - @$core.pragma('dart2js:noInline') - static GetDatapointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetDatapointsRequest>(create); - static GetDatapointsRequest? _defaultInstance; - - /// A list of requested data points. - @$pb.TagNumber(1) - $core.List<$core.String> get datapoints => $_getList(0); -} - -class GetDatapointsReply extends $pb.GeneratedMessage { - factory GetDatapointsReply({ - $core.Map<$core.String, $3.Datapoint>? datapoints, - }) { - final $result = create(); - if (datapoints != null) { - $result.datapoints.addAll(datapoints); - } - return $result; - } - GetDatapointsReply._() : super(); - factory GetDatapointsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetDatapointsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetDatapointsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.String, $3.Datapoint>(1, _omitFieldNames ? '' : 'datapoints', entryClassName: 'GetDatapointsReply.DatapointsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $3.Datapoint.create, valueDefaultOrMaker: $3.Datapoint.getDefault, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetDatapointsReply clone() => GetDatapointsReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetDatapointsReply copyWith(void Function(GetDatapointsReply) updates) => super.copyWith((message) => updates(message as GetDatapointsReply)) as GetDatapointsReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetDatapointsReply create() => GetDatapointsReply._(); - GetDatapointsReply createEmptyInstance() => create(); - static $pb.PbList<GetDatapointsReply> createRepeated() => $pb.PbList<GetDatapointsReply>(); - @$core.pragma('dart2js:noInline') - static GetDatapointsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetDatapointsReply>(create); - static GetDatapointsReply? _defaultInstance; - - /// Contains the values of the requested data points. - /// If a requested data point is not available, the corresponding Datapoint - /// will have the respective failure value set. - @$pb.TagNumber(1) - $core.Map<$core.String, $3.Datapoint> get datapoints => $_getMap(0); -} - -class SetDatapointsRequest extends $pb.GeneratedMessage { - factory SetDatapointsRequest({ - $core.Map<$core.String, $3.Datapoint>? datapoints, - }) { - final $result = create(); - if (datapoints != null) { - $result.datapoints.addAll(datapoints); - } - return $result; - } - SetDatapointsRequest._() : super(); - factory SetDatapointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetDatapointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetDatapointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.String, $3.Datapoint>(1, _omitFieldNames ? '' : 'datapoints', entryClassName: 'SetDatapointsRequest.DatapointsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $3.Datapoint.create, valueDefaultOrMaker: $3.Datapoint.getDefault, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetDatapointsRequest clone() => SetDatapointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetDatapointsRequest copyWith(void Function(SetDatapointsRequest) updates) => super.copyWith((message) => updates(message as SetDatapointsRequest)) as SetDatapointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetDatapointsRequest create() => SetDatapointsRequest._(); - SetDatapointsRequest createEmptyInstance() => create(); - static $pb.PbList<SetDatapointsRequest> createRepeated() => $pb.PbList<SetDatapointsRequest>(); - @$core.pragma('dart2js:noInline') - static SetDatapointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SetDatapointsRequest>(create); - static SetDatapointsRequest? _defaultInstance; - - /// A map of data points to set - @$pb.TagNumber(1) - $core.Map<$core.String, $3.Datapoint> get datapoints => $_getMap(0); -} - -class SetDatapointsReply extends $pb.GeneratedMessage { - factory SetDatapointsReply({ - $core.Map<$core.String, $3.DatapointError>? errors, - }) { - final $result = create(); - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - SetDatapointsReply._() : super(); - factory SetDatapointsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SetDatapointsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SetDatapointsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.String, $3.DatapointError>(1, _omitFieldNames ? '' : 'errors', entryClassName: 'SetDatapointsReply.ErrorsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OE, valueOf: $3.DatapointError.valueOf, enumValues: $3.DatapointError.values, valueDefaultOrMaker: $3.DatapointError.UNKNOWN_DATAPOINT, defaultEnumValue: $3.DatapointError.UNKNOWN_DATAPOINT, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SetDatapointsReply clone() => SetDatapointsReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SetDatapointsReply copyWith(void Function(SetDatapointsReply) updates) => super.copyWith((message) => updates(message as SetDatapointsReply)) as SetDatapointsReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SetDatapointsReply create() => SetDatapointsReply._(); - SetDatapointsReply createEmptyInstance() => create(); - static $pb.PbList<SetDatapointsReply> createRepeated() => $pb.PbList<SetDatapointsReply>(); - @$core.pragma('dart2js:noInline') - static SetDatapointsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SetDatapointsReply>(create); - static SetDatapointsReply? _defaultInstance; - - /// A map of errors (if any) - @$pb.TagNumber(1) - $core.Map<$core.String, $3.DatapointError> get errors => $_getMap(0); -} - -class SubscribeRequest extends $pb.GeneratedMessage { - factory SubscribeRequest({ - $core.String? query, - }) { - final $result = create(); - if (query != null) { - $result.query = query; - } - return $result; - } - SubscribeRequest._() : super(); - factory SubscribeRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribeRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribeRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..aOS(2, _omitFieldNames ? '' : 'query') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscribeRequest clone() => SubscribeRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribeRequest copyWith(void Function(SubscribeRequest) updates) => super.copyWith((message) => updates(message as SubscribeRequest)) as SubscribeRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubscribeRequest create() => SubscribeRequest._(); - SubscribeRequest createEmptyInstance() => create(); - static $pb.PbList<SubscribeRequest> createRepeated() => $pb.PbList<SubscribeRequest>(); - @$core.pragma('dart2js:noInline') - static SubscribeRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SubscribeRequest>(create); - static SubscribeRequest? _defaultInstance; - - /// Subscribe to a set of data points (or expressions) described - /// by the provided query. - /// The query syntax is a subset of SQL and is described in more - /// detail in the QUERY.md file. - @$pb.TagNumber(2) - $core.String get query => $_getSZ(0); - @$pb.TagNumber(2) - set query($core.String v) { $_setString(0, v); } - @$pb.TagNumber(2) - $core.bool hasQuery() => $_has(0); - @$pb.TagNumber(2) - void clearQuery() => clearField(2); -} - -class SubscribeReply extends $pb.GeneratedMessage { - factory SubscribeReply({ - $core.Map<$core.String, $3.Datapoint>? fields, - }) { - final $result = create(); - if (fields != null) { - $result.fields.addAll(fields); - } - return $result; - } - SubscribeReply._() : super(); - factory SubscribeReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory SubscribeReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'SubscribeReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.String, $3.Datapoint>(1, _omitFieldNames ? '' : 'fields', entryClassName: 'SubscribeReply.FieldsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OM, valueCreator: $3.Datapoint.create, valueDefaultOrMaker: $3.Datapoint.getDefault, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - SubscribeReply clone() => SubscribeReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - SubscribeReply copyWith(void Function(SubscribeReply) updates) => super.copyWith((message) => updates(message as SubscribeReply)) as SubscribeReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static SubscribeReply create() => SubscribeReply._(); - SubscribeReply createEmptyInstance() => create(); - static $pb.PbList<SubscribeReply> createRepeated() => $pb.PbList<SubscribeReply>(); - @$core.pragma('dart2js:noInline') - static SubscribeReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SubscribeReply>(create); - static SubscribeReply? _defaultInstance; - - /// Contains the fields specified by the query. - /// If a requested data point value is not available, the corresponding - /// Datapoint will have it's respective failure value set. - @$pb.TagNumber(1) - $core.Map<$core.String, $3.Datapoint> get fields => $_getMap(0); -} - -class GetMetadataRequest extends $pb.GeneratedMessage { - factory GetMetadataRequest({ - $core.Iterable<$core.String>? names, - }) { - final $result = create(); - if (names != null) { - $result.names.addAll(names); - } - return $result; - } - GetMetadataRequest._() : super(); - factory GetMetadataRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMetadataRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMetadataRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'names') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMetadataRequest clone() => GetMetadataRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMetadataRequest copyWith(void Function(GetMetadataRequest) updates) => super.copyWith((message) => updates(message as GetMetadataRequest)) as GetMetadataRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMetadataRequest create() => GetMetadataRequest._(); - GetMetadataRequest createEmptyInstance() => create(); - static $pb.PbList<GetMetadataRequest> createRepeated() => $pb.PbList<GetMetadataRequest>(); - @$core.pragma('dart2js:noInline') - static GetMetadataRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetMetadataRequest>(create); - static GetMetadataRequest? _defaultInstance; - - /// Request metadata for a list of data points referenced by their names. - /// e.g. "Vehicle.Cabin.Seat.Row1.Pos1.Position" or "Vehicle.Speed". - /// - /// If no names are provided, metadata for all known data points will be - /// returned. - @$pb.TagNumber(1) - $core.List<$core.String> get names => $_getList(0); -} - -class GetMetadataReply extends $pb.GeneratedMessage { - factory GetMetadataReply({ - $core.Iterable<$3.Metadata>? list, - }) { - final $result = create(); - if (list != null) { - $result.list.addAll(list); - } - return $result; - } - GetMetadataReply._() : super(); - factory GetMetadataReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory GetMetadataReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'GetMetadataReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..pc<$3.Metadata>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: $3.Metadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - GetMetadataReply clone() => GetMetadataReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - GetMetadataReply copyWith(void Function(GetMetadataReply) updates) => super.copyWith((message) => updates(message as GetMetadataReply)) as GetMetadataReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static GetMetadataReply create() => GetMetadataReply._(); - GetMetadataReply createEmptyInstance() => create(); - static $pb.PbList<GetMetadataReply> createRepeated() => $pb.PbList<GetMetadataReply>(); - @$core.pragma('dart2js:noInline') - static GetMetadataReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<GetMetadataReply>(create); - static GetMetadataReply? _defaultInstance; - - /// Contains metadata of the requested data points. If a data point - /// doesn't exist (i.e. not known to the Data Broker) the corresponding - /// Metadata isn't part of the returned list. - @$pb.TagNumber(1) - $core.List<$3.Metadata> get list => $_getList(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/protos/lib/src/generated/sdv/databroker/v1/broker.pbenum.dart b/protos/lib/src/generated/sdv/databroker/v1/broker.pbenum.dart deleted file mode 100644 index 99be056..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/broker.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/broker.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 - diff --git a/protos/lib/src/generated/sdv/databroker/v1/broker.pbgrpc.dart b/protos/lib/src/generated/sdv/databroker/v1/broker.pbgrpc.dart deleted file mode 100644 index 62b05c0..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/broker.pbgrpc.dart +++ /dev/null @@ -1,119 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/broker.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 'broker.pb.dart' as $0; - -export 'broker.pb.dart'; - -@$pb.GrpcServiceName('sdv.databroker.v1.Broker') -class BrokerClient extends $grpc.Client { - static final _$getDatapoints = $grpc.ClientMethod<$0.GetDatapointsRequest, $0.GetDatapointsReply>( - '/sdv.databroker.v1.Broker/GetDatapoints', - ($0.GetDatapointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetDatapointsReply.fromBuffer(value)); - static final _$setDatapoints = $grpc.ClientMethod<$0.SetDatapointsRequest, $0.SetDatapointsReply>( - '/sdv.databroker.v1.Broker/SetDatapoints', - ($0.SetDatapointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.SetDatapointsReply.fromBuffer(value)); - static final _$subscribe = $grpc.ClientMethod<$0.SubscribeRequest, $0.SubscribeReply>( - '/sdv.databroker.v1.Broker/Subscribe', - ($0.SubscribeRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.SubscribeReply.fromBuffer(value)); - static final _$getMetadata = $grpc.ClientMethod<$0.GetMetadataRequest, $0.GetMetadataReply>( - '/sdv.databroker.v1.Broker/GetMetadata', - ($0.GetMetadataRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $0.GetMetadataReply.fromBuffer(value)); - - BrokerClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$0.GetDatapointsReply> getDatapoints($0.GetDatapointsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getDatapoints, request, options: options); - } - - $grpc.ResponseFuture<$0.SetDatapointsReply> setDatapoints($0.SetDatapointsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$setDatapoints, request, options: options); - } - - $grpc.ResponseStream<$0.SubscribeReply> subscribe($0.SubscribeRequest request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$subscribe, $async.Stream.fromIterable([request]), options: options); - } - - $grpc.ResponseFuture<$0.GetMetadataReply> getMetadata($0.GetMetadataRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$getMetadata, request, options: options); - } -} - -@$pb.GrpcServiceName('sdv.databroker.v1.Broker') -abstract class BrokerServiceBase extends $grpc.Service { - $core.String get $name => 'sdv.databroker.v1.Broker'; - - BrokerServiceBase() { - $addMethod($grpc.ServiceMethod<$0.GetDatapointsRequest, $0.GetDatapointsReply>( - 'GetDatapoints', - getDatapoints_Pre, - false, - false, - ($core.List<$core.int> value) => $0.GetDatapointsRequest.fromBuffer(value), - ($0.GetDatapointsReply value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.SetDatapointsRequest, $0.SetDatapointsReply>( - 'SetDatapoints', - setDatapoints_Pre, - false, - false, - ($core.List<$core.int> value) => $0.SetDatapointsRequest.fromBuffer(value), - ($0.SetDatapointsReply value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.SubscribeRequest, $0.SubscribeReply>( - 'Subscribe', - subscribe_Pre, - false, - true, - ($core.List<$core.int> value) => $0.SubscribeRequest.fromBuffer(value), - ($0.SubscribeReply value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$0.GetMetadataRequest, $0.GetMetadataReply>( - 'GetMetadata', - getMetadata_Pre, - false, - false, - ($core.List<$core.int> value) => $0.GetMetadataRequest.fromBuffer(value), - ($0.GetMetadataReply value) => value.writeToBuffer())); - } - - $async.Future<$0.GetDatapointsReply> getDatapoints_Pre($grpc.ServiceCall call, $async.Future<$0.GetDatapointsRequest> request) async { - return getDatapoints(call, await request); - } - - $async.Future<$0.SetDatapointsReply> setDatapoints_Pre($grpc.ServiceCall call, $async.Future<$0.SetDatapointsRequest> request) async { - return setDatapoints(call, await request); - } - - $async.Stream<$0.SubscribeReply> subscribe_Pre($grpc.ServiceCall call, $async.Future<$0.SubscribeRequest> request) async* { - yield* subscribe(call, await request); - } - - $async.Future<$0.GetMetadataReply> getMetadata_Pre($grpc.ServiceCall call, $async.Future<$0.GetMetadataRequest> request) async { - return getMetadata(call, await request); - } - - $async.Future<$0.GetDatapointsReply> getDatapoints($grpc.ServiceCall call, $0.GetDatapointsRequest request); - $async.Future<$0.SetDatapointsReply> setDatapoints($grpc.ServiceCall call, $0.SetDatapointsRequest request); - $async.Stream<$0.SubscribeReply> subscribe($grpc.ServiceCall call, $0.SubscribeRequest request); - $async.Future<$0.GetMetadataReply> getMetadata($grpc.ServiceCall call, $0.GetMetadataRequest request); -} diff --git a/protos/lib/src/generated/sdv/databroker/v1/broker.pbjson.dart b/protos/lib/src/generated/sdv/databroker/v1/broker.pbjson.dart deleted file mode 100644 index 4b06fe7..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/broker.pbjson.dart +++ /dev/null @@ -1,168 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/broker.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:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use getDatapointsRequestDescriptor instead') -const GetDatapointsRequest$json = { - '1': 'GetDatapointsRequest', - '2': [ - {'1': 'datapoints', '3': 1, '4': 3, '5': 9, '10': 'datapoints'}, - ], -}; - -/// Descriptor for `GetDatapointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDatapointsRequestDescriptor = $convert.base64Decode( - 'ChRHZXREYXRhcG9pbnRzUmVxdWVzdBIeCgpkYXRhcG9pbnRzGAEgAygJUgpkYXRhcG9pbnRz'); - -@$core.Deprecated('Use getDatapointsReplyDescriptor instead') -const GetDatapointsReply$json = { - '1': 'GetDatapointsReply', - '2': [ - {'1': 'datapoints', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.GetDatapointsReply.DatapointsEntry', '10': 'datapoints'}, - ], - '3': [GetDatapointsReply_DatapointsEntry$json], -}; - -@$core.Deprecated('Use getDatapointsReplyDescriptor instead') -const GetDatapointsReply_DatapointsEntry$json = { - '1': 'DatapointsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Datapoint', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `GetDatapointsReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getDatapointsReplyDescriptor = $convert.base64Decode( - 'ChJHZXREYXRhcG9pbnRzUmVwbHkSVQoKZGF0YXBvaW50cxgBIAMoCzI1LnNkdi5kYXRhYnJva2' - 'VyLnYxLkdldERhdGFwb2ludHNSZXBseS5EYXRhcG9pbnRzRW50cnlSCmRhdGFwb2ludHMaWwoP' - 'RGF0YXBvaW50c0VudHJ5EhAKA2tleRgBIAEoCVIDa2V5EjIKBXZhbHVlGAIgASgLMhwuc2R2Lm' - 'RhdGFicm9rZXIudjEuRGF0YXBvaW50UgV2YWx1ZToCOAE='); - -@$core.Deprecated('Use setDatapointsRequestDescriptor instead') -const SetDatapointsRequest$json = { - '1': 'SetDatapointsRequest', - '2': [ - {'1': 'datapoints', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.SetDatapointsRequest.DatapointsEntry', '10': 'datapoints'}, - ], - '3': [SetDatapointsRequest_DatapointsEntry$json], -}; - -@$core.Deprecated('Use setDatapointsRequestDescriptor instead') -const SetDatapointsRequest_DatapointsEntry$json = { - '1': 'DatapointsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Datapoint', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SetDatapointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setDatapointsRequestDescriptor = $convert.base64Decode( - 'ChRTZXREYXRhcG9pbnRzUmVxdWVzdBJXCgpkYXRhcG9pbnRzGAEgAygLMjcuc2R2LmRhdGFicm' - '9rZXIudjEuU2V0RGF0YXBvaW50c1JlcXVlc3QuRGF0YXBvaW50c0VudHJ5UgpkYXRhcG9pbnRz' - 'GlsKD0RhdGFwb2ludHNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIyCgV2YWx1ZRgCIAEoCzIcLn' - 'Nkdi5kYXRhYnJva2VyLnYxLkRhdGFwb2ludFIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use setDatapointsReplyDescriptor instead') -const SetDatapointsReply$json = { - '1': 'SetDatapointsReply', - '2': [ - {'1': 'errors', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.SetDatapointsReply.ErrorsEntry', '10': 'errors'}, - ], - '3': [SetDatapointsReply_ErrorsEntry$json], -}; - -@$core.Deprecated('Use setDatapointsReplyDescriptor instead') -const SetDatapointsReply_ErrorsEntry$json = { - '1': 'ErrorsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 14, '6': '.sdv.databroker.v1.DatapointError', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SetDatapointsReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List setDatapointsReplyDescriptor = $convert.base64Decode( - 'ChJTZXREYXRhcG9pbnRzUmVwbHkSSQoGZXJyb3JzGAEgAygLMjEuc2R2LmRhdGFicm9rZXIudj' - 'EuU2V0RGF0YXBvaW50c1JlcGx5LkVycm9yc0VudHJ5UgZlcnJvcnMaXAoLRXJyb3JzRW50cnkS' - 'EAoDa2V5GAEgASgJUgNrZXkSNwoFdmFsdWUYAiABKA4yIS5zZHYuZGF0YWJyb2tlci52MS5EYX' - 'RhcG9pbnRFcnJvclIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use subscribeRequestDescriptor instead') -const SubscribeRequest$json = { - '1': 'SubscribeRequest', - '2': [ - {'1': 'query', '3': 2, '4': 1, '5': 9, '10': 'query'}, - ], -}; - -/// Descriptor for `SubscribeRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribeRequestDescriptor = $convert.base64Decode( - 'ChBTdWJzY3JpYmVSZXF1ZXN0EhQKBXF1ZXJ5GAIgASgJUgVxdWVyeQ=='); - -@$core.Deprecated('Use subscribeReplyDescriptor instead') -const SubscribeReply$json = { - '1': 'SubscribeReply', - '2': [ - {'1': 'fields', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.SubscribeReply.FieldsEntry', '10': 'fields'}, - ], - '3': [SubscribeReply_FieldsEntry$json], -}; - -@$core.Deprecated('Use subscribeReplyDescriptor instead') -const SubscribeReply_FieldsEntry$json = { - '1': 'FieldsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Datapoint', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `SubscribeReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List subscribeReplyDescriptor = $convert.base64Decode( - 'Cg5TdWJzY3JpYmVSZXBseRJFCgZmaWVsZHMYASADKAsyLS5zZHYuZGF0YWJyb2tlci52MS5TdW' - 'JzY3JpYmVSZXBseS5GaWVsZHNFbnRyeVIGZmllbGRzGlcKC0ZpZWxkc0VudHJ5EhAKA2tleRgB' - 'IAEoCVIDa2V5EjIKBXZhbHVlGAIgASgLMhwuc2R2LmRhdGFicm9rZXIudjEuRGF0YXBvaW50Ug' - 'V2YWx1ZToCOAE='); - -@$core.Deprecated('Use getMetadataRequestDescriptor instead') -const GetMetadataRequest$json = { - '1': 'GetMetadataRequest', - '2': [ - {'1': 'names', '3': 1, '4': 3, '5': 9, '10': 'names'}, - ], -}; - -/// Descriptor for `GetMetadataRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMetadataRequestDescriptor = $convert.base64Decode( - 'ChJHZXRNZXRhZGF0YVJlcXVlc3QSFAoFbmFtZXMYASADKAlSBW5hbWVz'); - -@$core.Deprecated('Use getMetadataReplyDescriptor instead') -const GetMetadataReply$json = { - '1': 'GetMetadataReply', - '2': [ - {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.Metadata', '10': 'list'}, - ], -}; - -/// Descriptor for `GetMetadataReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List getMetadataReplyDescriptor = $convert.base64Decode( - 'ChBHZXRNZXRhZGF0YVJlcGx5Ei8KBGxpc3QYASADKAsyGy5zZHYuZGF0YWJyb2tlci52MS5NZX' - 'RhZGF0YVIEbGlzdA=='); - diff --git a/protos/lib/src/generated/sdv/databroker/v1/collector.pb.dart b/protos/lib/src/generated/sdv/databroker/v1/collector.pb.dart deleted file mode 100644 index 532e01a..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/collector.pb.dart +++ /dev/null @@ -1,380 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/collector.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:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -import 'types.pb.dart' as $3; -import 'types.pbenum.dart' as $3; - -class UpdateDatapointsRequest extends $pb.GeneratedMessage { - factory UpdateDatapointsRequest({ - $core.Map<$core.int, $3.Datapoint>? datapoints, - }) { - final $result = create(); - if (datapoints != null) { - $result.datapoints.addAll(datapoints); - } - return $result; - } - UpdateDatapointsRequest._() : super(); - factory UpdateDatapointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateDatapointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateDatapointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.int, $3.Datapoint>(1, _omitFieldNames ? '' : 'datapoints', entryClassName: 'UpdateDatapointsRequest.DatapointsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: $3.Datapoint.create, valueDefaultOrMaker: $3.Datapoint.getDefault, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateDatapointsRequest clone() => UpdateDatapointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateDatapointsRequest copyWith(void Function(UpdateDatapointsRequest) updates) => super.copyWith((message) => updates(message as UpdateDatapointsRequest)) as UpdateDatapointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateDatapointsRequest create() => UpdateDatapointsRequest._(); - UpdateDatapointsRequest createEmptyInstance() => create(); - static $pb.PbList<UpdateDatapointsRequest> createRepeated() => $pb.PbList<UpdateDatapointsRequest>(); - @$core.pragma('dart2js:noInline') - static UpdateDatapointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateDatapointsRequest>(create); - static UpdateDatapointsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.int, $3.Datapoint> get datapoints => $_getMap(0); -} - -class UpdateDatapointsReply extends $pb.GeneratedMessage { - factory UpdateDatapointsReply({ - $core.Map<$core.int, $3.DatapointError>? errors, - }) { - final $result = create(); - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - UpdateDatapointsReply._() : super(); - factory UpdateDatapointsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory UpdateDatapointsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'UpdateDatapointsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.int, $3.DatapointError>(1, _omitFieldNames ? '' : 'errors', entryClassName: 'UpdateDatapointsReply.ErrorsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OE, valueOf: $3.DatapointError.valueOf, enumValues: $3.DatapointError.values, valueDefaultOrMaker: $3.DatapointError.UNKNOWN_DATAPOINT, defaultEnumValue: $3.DatapointError.UNKNOWN_DATAPOINT, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - UpdateDatapointsReply clone() => UpdateDatapointsReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - UpdateDatapointsReply copyWith(void Function(UpdateDatapointsReply) updates) => super.copyWith((message) => updates(message as UpdateDatapointsReply)) as UpdateDatapointsReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static UpdateDatapointsReply create() => UpdateDatapointsReply._(); - UpdateDatapointsReply createEmptyInstance() => create(); - static $pb.PbList<UpdateDatapointsReply> createRepeated() => $pb.PbList<UpdateDatapointsReply>(); - @$core.pragma('dart2js:noInline') - static UpdateDatapointsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<UpdateDatapointsReply>(create); - static UpdateDatapointsReply? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.int, $3.DatapointError> get errors => $_getMap(0); -} - -class StreamDatapointsRequest extends $pb.GeneratedMessage { - factory StreamDatapointsRequest({ - $core.Map<$core.int, $3.Datapoint>? datapoints, - }) { - final $result = create(); - if (datapoints != null) { - $result.datapoints.addAll(datapoints); - } - return $result; - } - StreamDatapointsRequest._() : super(); - factory StreamDatapointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamDatapointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamDatapointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.int, $3.Datapoint>(1, _omitFieldNames ? '' : 'datapoints', entryClassName: 'StreamDatapointsRequest.DatapointsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OM, valueCreator: $3.Datapoint.create, valueDefaultOrMaker: $3.Datapoint.getDefault, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamDatapointsRequest clone() => StreamDatapointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamDatapointsRequest copyWith(void Function(StreamDatapointsRequest) updates) => super.copyWith((message) => updates(message as StreamDatapointsRequest)) as StreamDatapointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamDatapointsRequest create() => StreamDatapointsRequest._(); - StreamDatapointsRequest createEmptyInstance() => create(); - static $pb.PbList<StreamDatapointsRequest> createRepeated() => $pb.PbList<StreamDatapointsRequest>(); - @$core.pragma('dart2js:noInline') - static StreamDatapointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StreamDatapointsRequest>(create); - static StreamDatapointsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.int, $3.Datapoint> get datapoints => $_getMap(0); -} - -class StreamDatapointsReply extends $pb.GeneratedMessage { - factory StreamDatapointsReply({ - $core.Map<$core.int, $3.DatapointError>? errors, - }) { - final $result = create(); - if (errors != null) { - $result.errors.addAll(errors); - } - return $result; - } - StreamDatapointsReply._() : super(); - factory StreamDatapointsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StreamDatapointsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StreamDatapointsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.int, $3.DatapointError>(1, _omitFieldNames ? '' : 'errors', entryClassName: 'StreamDatapointsReply.ErrorsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OE, valueOf: $3.DatapointError.valueOf, enumValues: $3.DatapointError.values, valueDefaultOrMaker: $3.DatapointError.UNKNOWN_DATAPOINT, defaultEnumValue: $3.DatapointError.UNKNOWN_DATAPOINT, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StreamDatapointsReply clone() => StreamDatapointsReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StreamDatapointsReply copyWith(void Function(StreamDatapointsReply) updates) => super.copyWith((message) => updates(message as StreamDatapointsReply)) as StreamDatapointsReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StreamDatapointsReply create() => StreamDatapointsReply._(); - StreamDatapointsReply createEmptyInstance() => create(); - static $pb.PbList<StreamDatapointsReply> createRepeated() => $pb.PbList<StreamDatapointsReply>(); - @$core.pragma('dart2js:noInline') - static StreamDatapointsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StreamDatapointsReply>(create); - static StreamDatapointsReply? _defaultInstance; - - @$pb.TagNumber(1) - $core.Map<$core.int, $3.DatapointError> get errors => $_getMap(0); -} - -class RegisterDatapointsRequest extends $pb.GeneratedMessage { - factory RegisterDatapointsRequest({ - $core.Iterable<RegistrationMetadata>? list, - }) { - final $result = create(); - if (list != null) { - $result.list.addAll(list); - } - return $result; - } - RegisterDatapointsRequest._() : super(); - factory RegisterDatapointsRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegisterDatapointsRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegisterDatapointsRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..pc<RegistrationMetadata>(1, _omitFieldNames ? '' : 'list', $pb.PbFieldType.PM, subBuilder: RegistrationMetadata.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegisterDatapointsRequest clone() => RegisterDatapointsRequest()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegisterDatapointsRequest copyWith(void Function(RegisterDatapointsRequest) updates) => super.copyWith((message) => updates(message as RegisterDatapointsRequest)) as RegisterDatapointsRequest; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegisterDatapointsRequest create() => RegisterDatapointsRequest._(); - RegisterDatapointsRequest createEmptyInstance() => create(); - static $pb.PbList<RegisterDatapointsRequest> createRepeated() => $pb.PbList<RegisterDatapointsRequest>(); - @$core.pragma('dart2js:noInline') - static RegisterDatapointsRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RegisterDatapointsRequest>(create); - static RegisterDatapointsRequest? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<RegistrationMetadata> get list => $_getList(0); -} - -class RegistrationMetadata extends $pb.GeneratedMessage { - factory RegistrationMetadata({ - $core.String? name, - $3.DataType? dataType, - $core.String? description, - $3.ChangeType? changeType, - }) { - final $result = create(); - if (name != null) { - $result.name = name; - } - if (dataType != null) { - $result.dataType = dataType; - } - if (description != null) { - $result.description = description; - } - if (changeType != null) { - $result.changeType = changeType; - } - return $result; - } - RegistrationMetadata._() : super(); - factory RegistrationMetadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegistrationMetadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegistrationMetadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..aOS(1, _omitFieldNames ? '' : 'name') - ..e<$3.DataType>(2, _omitFieldNames ? '' : 'dataType', $pb.PbFieldType.OE, defaultOrMaker: $3.DataType.STRING, valueOf: $3.DataType.valueOf, enumValues: $3.DataType.values) - ..aOS(3, _omitFieldNames ? '' : 'description') - ..e<$3.ChangeType>(4, _omitFieldNames ? '' : 'changeType', $pb.PbFieldType.OE, defaultOrMaker: $3.ChangeType.STATIC, valueOf: $3.ChangeType.valueOf, enumValues: $3.ChangeType.values) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegistrationMetadata clone() => RegistrationMetadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegistrationMetadata copyWith(void Function(RegistrationMetadata) updates) => super.copyWith((message) => updates(message as RegistrationMetadata)) as RegistrationMetadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegistrationMetadata create() => RegistrationMetadata._(); - RegistrationMetadata createEmptyInstance() => create(); - static $pb.PbList<RegistrationMetadata> createRepeated() => $pb.PbList<RegistrationMetadata>(); - @$core.pragma('dart2js:noInline') - static RegistrationMetadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RegistrationMetadata>(create); - static RegistrationMetadata? _defaultInstance; - - /// Name of the data point - /// (e.g. "Vehicle.Cabin.Seat.Row1.Pos1.Position" or "Vehicle.Speed") - @$pb.TagNumber(1) - $core.String get name => $_getSZ(0); - @$pb.TagNumber(1) - set name($core.String v) { $_setString(0, v); } - @$pb.TagNumber(1) - $core.bool hasName() => $_has(0); - @$pb.TagNumber(1) - void clearName() => clearField(1); - - @$pb.TagNumber(2) - $3.DataType get dataType => $_getN(1); - @$pb.TagNumber(2) - set dataType($3.DataType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasDataType() => $_has(1); - @$pb.TagNumber(2) - void clearDataType() => clearField(2); - - @$pb.TagNumber(3) - $core.String get description => $_getSZ(2); - @$pb.TagNumber(3) - set description($core.String v) { $_setString(2, v); } - @$pb.TagNumber(3) - $core.bool hasDescription() => $_has(2); - @$pb.TagNumber(3) - void clearDescription() => clearField(3); - - @$pb.TagNumber(4) - $3.ChangeType get changeType => $_getN(3); - @$pb.TagNumber(4) - set changeType($3.ChangeType v) { setField(4, v); } - @$pb.TagNumber(4) - $core.bool hasChangeType() => $_has(3); - @$pb.TagNumber(4) - void clearChangeType() => clearField(4); -} - -class RegisterDatapointsReply extends $pb.GeneratedMessage { - factory RegisterDatapointsReply({ - $core.Map<$core.String, $core.int>? results, - }) { - final $result = create(); - if (results != null) { - $result.results.addAll(results); - } - return $result; - } - RegisterDatapointsReply._() : super(); - factory RegisterDatapointsReply.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory RegisterDatapointsReply.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'RegisterDatapointsReply', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..m<$core.String, $core.int>(1, _omitFieldNames ? '' : 'results', entryClassName: 'RegisterDatapointsReply.ResultsEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.O3, packageName: const $pb.PackageName('sdv.databroker.v1')) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - RegisterDatapointsReply clone() => RegisterDatapointsReply()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - RegisterDatapointsReply copyWith(void Function(RegisterDatapointsReply) updates) => super.copyWith((message) => updates(message as RegisterDatapointsReply)) as RegisterDatapointsReply; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static RegisterDatapointsReply create() => RegisterDatapointsReply._(); - RegisterDatapointsReply createEmptyInstance() => create(); - static $pb.PbList<RegisterDatapointsReply> createRepeated() => $pb.PbList<RegisterDatapointsReply>(); - @$core.pragma('dart2js:noInline') - static RegisterDatapointsReply getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<RegisterDatapointsReply>(create); - static RegisterDatapointsReply? _defaultInstance; - - /// Maps each data point name passed in RegisterDatapointsRequest to a data point id - @$pb.TagNumber(1) - $core.Map<$core.String, $core.int> get results => $_getMap(0); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/protos/lib/src/generated/sdv/databroker/v1/collector.pbenum.dart b/protos/lib/src/generated/sdv/databroker/v1/collector.pbenum.dart deleted file mode 100644 index 6b4cef3..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/collector.pbenum.dart +++ /dev/null @@ -1,11 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/collector.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 - diff --git a/protos/lib/src/generated/sdv/databroker/v1/collector.pbgrpc.dart b/protos/lib/src/generated/sdv/databroker/v1/collector.pbgrpc.dart deleted file mode 100644 index 843cff2..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/collector.pbgrpc.dart +++ /dev/null @@ -1,95 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/collector.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 'collector.pb.dart' as $1; - -export 'collector.pb.dart'; - -@$pb.GrpcServiceName('sdv.databroker.v1.Collector') -class CollectorClient extends $grpc.Client { - static final _$registerDatapoints = $grpc.ClientMethod<$1.RegisterDatapointsRequest, $1.RegisterDatapointsReply>( - '/sdv.databroker.v1.Collector/RegisterDatapoints', - ($1.RegisterDatapointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.RegisterDatapointsReply.fromBuffer(value)); - static final _$updateDatapoints = $grpc.ClientMethod<$1.UpdateDatapointsRequest, $1.UpdateDatapointsReply>( - '/sdv.databroker.v1.Collector/UpdateDatapoints', - ($1.UpdateDatapointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.UpdateDatapointsReply.fromBuffer(value)); - static final _$streamDatapoints = $grpc.ClientMethod<$1.StreamDatapointsRequest, $1.StreamDatapointsReply>( - '/sdv.databroker.v1.Collector/StreamDatapoints', - ($1.StreamDatapointsRequest value) => value.writeToBuffer(), - ($core.List<$core.int> value) => $1.StreamDatapointsReply.fromBuffer(value)); - - CollectorClient($grpc.ClientChannel channel, - {$grpc.CallOptions? options, - $core.Iterable<$grpc.ClientInterceptor>? interceptors}) - : super(channel, options: options, - interceptors: interceptors); - - $grpc.ResponseFuture<$1.RegisterDatapointsReply> registerDatapoints($1.RegisterDatapointsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$registerDatapoints, request, options: options); - } - - $grpc.ResponseFuture<$1.UpdateDatapointsReply> updateDatapoints($1.UpdateDatapointsRequest request, {$grpc.CallOptions? options}) { - return $createUnaryCall(_$updateDatapoints, request, options: options); - } - - $grpc.ResponseStream<$1.StreamDatapointsReply> streamDatapoints($async.Stream<$1.StreamDatapointsRequest> request, {$grpc.CallOptions? options}) { - return $createStreamingCall(_$streamDatapoints, request, options: options); - } -} - -@$pb.GrpcServiceName('sdv.databroker.v1.Collector') -abstract class CollectorServiceBase extends $grpc.Service { - $core.String get $name => 'sdv.databroker.v1.Collector'; - - CollectorServiceBase() { - $addMethod($grpc.ServiceMethod<$1.RegisterDatapointsRequest, $1.RegisterDatapointsReply>( - 'RegisterDatapoints', - registerDatapoints_Pre, - false, - false, - ($core.List<$core.int> value) => $1.RegisterDatapointsRequest.fromBuffer(value), - ($1.RegisterDatapointsReply value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.UpdateDatapointsRequest, $1.UpdateDatapointsReply>( - 'UpdateDatapoints', - updateDatapoints_Pre, - false, - false, - ($core.List<$core.int> value) => $1.UpdateDatapointsRequest.fromBuffer(value), - ($1.UpdateDatapointsReply value) => value.writeToBuffer())); - $addMethod($grpc.ServiceMethod<$1.StreamDatapointsRequest, $1.StreamDatapointsReply>( - 'StreamDatapoints', - streamDatapoints, - true, - true, - ($core.List<$core.int> value) => $1.StreamDatapointsRequest.fromBuffer(value), - ($1.StreamDatapointsReply value) => value.writeToBuffer())); - } - - $async.Future<$1.RegisterDatapointsReply> registerDatapoints_Pre($grpc.ServiceCall call, $async.Future<$1.RegisterDatapointsRequest> request) async { - return registerDatapoints(call, await request); - } - - $async.Future<$1.UpdateDatapointsReply> updateDatapoints_Pre($grpc.ServiceCall call, $async.Future<$1.UpdateDatapointsRequest> request) async { - return updateDatapoints(call, await request); - } - - $async.Future<$1.RegisterDatapointsReply> registerDatapoints($grpc.ServiceCall call, $1.RegisterDatapointsRequest request); - $async.Future<$1.UpdateDatapointsReply> updateDatapoints($grpc.ServiceCall call, $1.UpdateDatapointsRequest request); - $async.Stream<$1.StreamDatapointsReply> streamDatapoints($grpc.ServiceCall call, $async.Stream<$1.StreamDatapointsRequest> request); -} diff --git a/protos/lib/src/generated/sdv/databroker/v1/collector.pbjson.dart b/protos/lib/src/generated/sdv/databroker/v1/collector.pbjson.dart deleted file mode 100644 index 91522a3..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/collector.pbjson.dart +++ /dev/null @@ -1,176 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/collector.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:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use updateDatapointsRequestDescriptor instead') -const UpdateDatapointsRequest$json = { - '1': 'UpdateDatapointsRequest', - '2': [ - {'1': 'datapoints', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.UpdateDatapointsRequest.DatapointsEntry', '10': 'datapoints'}, - ], - '3': [UpdateDatapointsRequest_DatapointsEntry$json], -}; - -@$core.Deprecated('Use updateDatapointsRequestDescriptor instead') -const UpdateDatapointsRequest_DatapointsEntry$json = { - '1': 'DatapointsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Datapoint', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `UpdateDatapointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateDatapointsRequestDescriptor = $convert.base64Decode( - 'ChdVcGRhdGVEYXRhcG9pbnRzUmVxdWVzdBJaCgpkYXRhcG9pbnRzGAEgAygLMjouc2R2LmRhdG' - 'Ficm9rZXIudjEuVXBkYXRlRGF0YXBvaW50c1JlcXVlc3QuRGF0YXBvaW50c0VudHJ5UgpkYXRh' - 'cG9pbnRzGlsKD0RhdGFwb2ludHNFbnRyeRIQCgNrZXkYASABKAVSA2tleRIyCgV2YWx1ZRgCIA' - 'EoCzIcLnNkdi5kYXRhYnJva2VyLnYxLkRhdGFwb2ludFIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use updateDatapointsReplyDescriptor instead') -const UpdateDatapointsReply$json = { - '1': 'UpdateDatapointsReply', - '2': [ - {'1': 'errors', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.UpdateDatapointsReply.ErrorsEntry', '10': 'errors'}, - ], - '3': [UpdateDatapointsReply_ErrorsEntry$json], -}; - -@$core.Deprecated('Use updateDatapointsReplyDescriptor instead') -const UpdateDatapointsReply_ErrorsEntry$json = { - '1': 'ErrorsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 14, '6': '.sdv.databroker.v1.DatapointError', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `UpdateDatapointsReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List updateDatapointsReplyDescriptor = $convert.base64Decode( - 'ChVVcGRhdGVEYXRhcG9pbnRzUmVwbHkSTAoGZXJyb3JzGAEgAygLMjQuc2R2LmRhdGFicm9rZX' - 'IudjEuVXBkYXRlRGF0YXBvaW50c1JlcGx5LkVycm9yc0VudHJ5UgZlcnJvcnMaXAoLRXJyb3Jz' - 'RW50cnkSEAoDa2V5GAEgASgFUgNrZXkSNwoFdmFsdWUYAiABKA4yIS5zZHYuZGF0YWJyb2tlci' - '52MS5EYXRhcG9pbnRFcnJvclIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use streamDatapointsRequestDescriptor instead') -const StreamDatapointsRequest$json = { - '1': 'StreamDatapointsRequest', - '2': [ - {'1': 'datapoints', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.StreamDatapointsRequest.DatapointsEntry', '10': 'datapoints'}, - ], - '3': [StreamDatapointsRequest_DatapointsEntry$json], -}; - -@$core.Deprecated('Use streamDatapointsRequestDescriptor instead') -const StreamDatapointsRequest_DatapointsEntry$json = { - '1': 'DatapointsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Datapoint', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `StreamDatapointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamDatapointsRequestDescriptor = $convert.base64Decode( - 'ChdTdHJlYW1EYXRhcG9pbnRzUmVxdWVzdBJaCgpkYXRhcG9pbnRzGAEgAygLMjouc2R2LmRhdG' - 'Ficm9rZXIudjEuU3RyZWFtRGF0YXBvaW50c1JlcXVlc3QuRGF0YXBvaW50c0VudHJ5UgpkYXRh' - 'cG9pbnRzGlsKD0RhdGFwb2ludHNFbnRyeRIQCgNrZXkYASABKAVSA2tleRIyCgV2YWx1ZRgCIA' - 'EoCzIcLnNkdi5kYXRhYnJva2VyLnYxLkRhdGFwb2ludFIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use streamDatapointsReplyDescriptor instead') -const StreamDatapointsReply$json = { - '1': 'StreamDatapointsReply', - '2': [ - {'1': 'errors', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.StreamDatapointsReply.ErrorsEntry', '10': 'errors'}, - ], - '3': [StreamDatapointsReply_ErrorsEntry$json], -}; - -@$core.Deprecated('Use streamDatapointsReplyDescriptor instead') -const StreamDatapointsReply_ErrorsEntry$json = { - '1': 'ErrorsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 5, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 14, '6': '.sdv.databroker.v1.DatapointError', '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `StreamDatapointsReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List streamDatapointsReplyDescriptor = $convert.base64Decode( - 'ChVTdHJlYW1EYXRhcG9pbnRzUmVwbHkSTAoGZXJyb3JzGAEgAygLMjQuc2R2LmRhdGFicm9rZX' - 'IudjEuU3RyZWFtRGF0YXBvaW50c1JlcGx5LkVycm9yc0VudHJ5UgZlcnJvcnMaXAoLRXJyb3Jz' - 'RW50cnkSEAoDa2V5GAEgASgFUgNrZXkSNwoFdmFsdWUYAiABKA4yIS5zZHYuZGF0YWJyb2tlci' - '52MS5EYXRhcG9pbnRFcnJvclIFdmFsdWU6AjgB'); - -@$core.Deprecated('Use registerDatapointsRequestDescriptor instead') -const RegisterDatapointsRequest$json = { - '1': 'RegisterDatapointsRequest', - '2': [ - {'1': 'list', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.RegistrationMetadata', '10': 'list'}, - ], -}; - -/// Descriptor for `RegisterDatapointsRequest`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registerDatapointsRequestDescriptor = $convert.base64Decode( - 'ChlSZWdpc3RlckRhdGFwb2ludHNSZXF1ZXN0EjsKBGxpc3QYASADKAsyJy5zZHYuZGF0YWJyb2' - 'tlci52MS5SZWdpc3RyYXRpb25NZXRhZGF0YVIEbGlzdA=='); - -@$core.Deprecated('Use registrationMetadataDescriptor instead') -const RegistrationMetadata$json = { - '1': 'RegistrationMetadata', - '2': [ - {'1': 'name', '3': 1, '4': 1, '5': 9, '10': 'name'}, - {'1': 'data_type', '3': 2, '4': 1, '5': 14, '6': '.sdv.databroker.v1.DataType', '10': 'dataType'}, - {'1': 'description', '3': 3, '4': 1, '5': 9, '10': 'description'}, - {'1': 'change_type', '3': 4, '4': 1, '5': 14, '6': '.sdv.databroker.v1.ChangeType', '10': 'changeType'}, - ], -}; - -/// Descriptor for `RegistrationMetadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registrationMetadataDescriptor = $convert.base64Decode( - 'ChRSZWdpc3RyYXRpb25NZXRhZGF0YRISCgRuYW1lGAEgASgJUgRuYW1lEjgKCWRhdGFfdHlwZR' - 'gCIAEoDjIbLnNkdi5kYXRhYnJva2VyLnYxLkRhdGFUeXBlUghkYXRhVHlwZRIgCgtkZXNjcmlw' - 'dGlvbhgDIAEoCVILZGVzY3JpcHRpb24SPgoLY2hhbmdlX3R5cGUYBCABKA4yHS5zZHYuZGF0YW' - 'Jyb2tlci52MS5DaGFuZ2VUeXBlUgpjaGFuZ2VUeXBl'); - -@$core.Deprecated('Use registerDatapointsReplyDescriptor instead') -const RegisterDatapointsReply$json = { - '1': 'RegisterDatapointsReply', - '2': [ - {'1': 'results', '3': 1, '4': 3, '5': 11, '6': '.sdv.databroker.v1.RegisterDatapointsReply.ResultsEntry', '10': 'results'}, - ], - '3': [RegisterDatapointsReply_ResultsEntry$json], -}; - -@$core.Deprecated('Use registerDatapointsReplyDescriptor instead') -const RegisterDatapointsReply_ResultsEntry$json = { - '1': 'ResultsEntry', - '2': [ - {'1': 'key', '3': 1, '4': 1, '5': 9, '10': 'key'}, - {'1': 'value', '3': 2, '4': 1, '5': 5, '10': 'value'}, - ], - '7': {'7': true}, -}; - -/// Descriptor for `RegisterDatapointsReply`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List registerDatapointsReplyDescriptor = $convert.base64Decode( - 'ChdSZWdpc3RlckRhdGFwb2ludHNSZXBseRJRCgdyZXN1bHRzGAEgAygLMjcuc2R2LmRhdGFicm' - '9rZXIudjEuUmVnaXN0ZXJEYXRhcG9pbnRzUmVwbHkuUmVzdWx0c0VudHJ5UgdyZXN1bHRzGjoK' - 'DFJlc3VsdHNFbnRyeRIQCgNrZXkYASABKAlSA2tleRIUCgV2YWx1ZRgCIAEoBVIFdmFsdWU6Aj' - 'gB'); - diff --git a/protos/lib/src/generated/sdv/databroker/v1/types.pb.dart b/protos/lib/src/generated/sdv/databroker/v1/types.pb.dart deleted file mode 100644 index 03ee374..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/types.pb.dart +++ /dev/null @@ -1,851 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/types.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:core' as $core; - -// ignore: depend_on_referenced_packages -import 'package:fixnum/fixnum.dart' as $fixnum; -import 'package:protobuf/protobuf.dart' as $pb; - -import '../../../google/protobuf/timestamp.pb.dart' as $2; -import 'types.pbenum.dart'; - -export 'types.pbenum.dart'; - -class StringArray extends $pb.GeneratedMessage { - factory StringArray({ - $core.Iterable<$core.String>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - StringArray._() : super(); - factory StringArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory StringArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'StringArray', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..pPS(1, _omitFieldNames ? '' : 'values') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - StringArray clone() => StringArray()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - StringArray copyWith(void Function(StringArray) updates) => super.copyWith((message) => updates(message as StringArray)) as StringArray; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static StringArray create() => StringArray._(); - StringArray createEmptyInstance() => create(); - static $pb.PbList<StringArray> createRepeated() => $pb.PbList<StringArray>(); - @$core.pragma('dart2js:noInline') - static StringArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<StringArray>(create); - static StringArray? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.String> get values => $_getList(0); -} - -class BoolArray extends $pb.GeneratedMessage { - factory BoolArray({ - $core.Iterable<$core.bool>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - BoolArray._() : super(); - factory BoolArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory BoolArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'BoolArray', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$core.bool>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KB) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - BoolArray clone() => BoolArray()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - BoolArray copyWith(void Function(BoolArray) updates) => super.copyWith((message) => updates(message as BoolArray)) as BoolArray; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static BoolArray create() => BoolArray._(); - BoolArray createEmptyInstance() => create(); - static $pb.PbList<BoolArray> createRepeated() => $pb.PbList<BoolArray>(); - @$core.pragma('dart2js:noInline') - static BoolArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<BoolArray>(create); - static BoolArray? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.bool> get values => $_getList(0); -} - -class Int32Array extends $pb.GeneratedMessage { - factory Int32Array({ - $core.Iterable<$core.int>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - Int32Array._() : super(); - factory Int32Array.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Int32Array.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int32Array', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KS3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Int32Array clone() => Int32Array()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Int32Array copyWith(void Function(Int32Array) updates) => super.copyWith((message) => updates(message as Int32Array)) as Int32Array; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Int32Array create() => Int32Array._(); - Int32Array createEmptyInstance() => create(); - static $pb.PbList<Int32Array> createRepeated() => $pb.PbList<Int32Array>(); - @$core.pragma('dart2js:noInline') - static Int32Array getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Int32Array>(create); - static Int32Array? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get values => $_getList(0); -} - -class Int64Array extends $pb.GeneratedMessage { - factory Int64Array({ - $core.Iterable<$fixnum.Int64>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - Int64Array._() : super(); - factory Int64Array.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Int64Array.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64Array', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KS6) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Int64Array clone() => Int64Array()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Int64Array copyWith(void Function(Int64Array) updates) => super.copyWith((message) => updates(message as Int64Array)) as Int64Array; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Int64Array create() => Int64Array._(); - Int64Array createEmptyInstance() => create(); - static $pb.PbList<Int64Array> createRepeated() => $pb.PbList<Int64Array>(); - @$core.pragma('dart2js:noInline') - static Int64Array getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Int64Array>(create); - static Int64Array? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get values => $_getList(0); -} - -class Uint32Array extends $pb.GeneratedMessage { - factory Uint32Array({ - $core.Iterable<$core.int>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - Uint32Array._() : super(); - factory Uint32Array.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Uint32Array.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Uint32Array', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$core.int>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KU3) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Uint32Array clone() => Uint32Array()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Uint32Array copyWith(void Function(Uint32Array) updates) => super.copyWith((message) => updates(message as Uint32Array)) as Uint32Array; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Uint32Array create() => Uint32Array._(); - Uint32Array createEmptyInstance() => create(); - static $pb.PbList<Uint32Array> createRepeated() => $pb.PbList<Uint32Array>(); - @$core.pragma('dart2js:noInline') - static Uint32Array getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Uint32Array>(create); - static Uint32Array? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.int> get values => $_getList(0); -} - -class Uint64Array extends $pb.GeneratedMessage { - factory Uint64Array({ - $core.Iterable<$fixnum.Int64>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - Uint64Array._() : super(); - factory Uint64Array.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Uint64Array.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Uint64Array', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$fixnum.Int64>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KU6) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Uint64Array clone() => Uint64Array()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Uint64Array copyWith(void Function(Uint64Array) updates) => super.copyWith((message) => updates(message as Uint64Array)) as Uint64Array; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Uint64Array create() => Uint64Array._(); - Uint64Array createEmptyInstance() => create(); - static $pb.PbList<Uint64Array> createRepeated() => $pb.PbList<Uint64Array>(); - @$core.pragma('dart2js:noInline') - static Uint64Array getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Uint64Array>(create); - static Uint64Array? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$fixnum.Int64> get values => $_getList(0); -} - -class FloatArray extends $pb.GeneratedMessage { - factory FloatArray({ - $core.Iterable<$core.double>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - FloatArray._() : super(); - factory FloatArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory FloatArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'FloatArray', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KF) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - FloatArray clone() => FloatArray()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - FloatArray copyWith(void Function(FloatArray) updates) => super.copyWith((message) => updates(message as FloatArray)) as FloatArray; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static FloatArray create() => FloatArray._(); - FloatArray createEmptyInstance() => create(); - static $pb.PbList<FloatArray> createRepeated() => $pb.PbList<FloatArray>(); - @$core.pragma('dart2js:noInline') - static FloatArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<FloatArray>(create); - static FloatArray? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get values => $_getList(0); -} - -class DoubleArray extends $pb.GeneratedMessage { - factory DoubleArray({ - $core.Iterable<$core.double>? values, - }) { - final $result = create(); - if (values != null) { - $result.values.addAll(values); - } - return $result; - } - DoubleArray._() : super(); - factory DoubleArray.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory DoubleArray.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'DoubleArray', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..p<$core.double>(1, _omitFieldNames ? '' : 'values', $pb.PbFieldType.KD) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - DoubleArray clone() => DoubleArray()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - DoubleArray copyWith(void Function(DoubleArray) updates) => super.copyWith((message) => updates(message as DoubleArray)) as DoubleArray; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static DoubleArray create() => DoubleArray._(); - DoubleArray createEmptyInstance() => create(); - static $pb.PbList<DoubleArray> createRepeated() => $pb.PbList<DoubleArray>(); - @$core.pragma('dart2js:noInline') - static DoubleArray getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DoubleArray>(create); - static DoubleArray? _defaultInstance; - - @$pb.TagNumber(1) - $core.List<$core.double> get values => $_getList(0); -} - -enum Datapoint_Value { - failureValue, - stringValue, - boolValue, - int32Value, - int64Value, - uint32Value, - uint64Value, - floatValue, - doubleValue, - stringArray, - boolArray, - int32Array, - int64Array, - uint32Array, - uint64Array, - floatArray, - doubleArray, - notSet -} - -class Datapoint extends $pb.GeneratedMessage { - factory Datapoint({ - $2.Timestamp? timestamp, - Datapoint_Failure? failureValue, - $core.String? stringValue, - $core.bool? boolValue, - $core.int? int32Value, - $fixnum.Int64? int64Value, - $core.int? uint32Value, - $fixnum.Int64? uint64Value, - $core.double? floatValue, - $core.double? doubleValue, - StringArray? stringArray, - BoolArray? boolArray, - Int32Array? int32Array, - Int64Array? int64Array, - Uint32Array? uint32Array, - Uint64Array? uint64Array, - FloatArray? floatArray, - DoubleArray? doubleArray, - }) { - final $result = create(); - if (timestamp != null) { - $result.timestamp = timestamp; - } - if (failureValue != null) { - $result.failureValue = failureValue; - } - if (stringValue != null) { - $result.stringValue = stringValue; - } - if (boolValue != null) { - $result.boolValue = boolValue; - } - if (int32Value != null) { - $result.int32Value = int32Value; - } - if (int64Value != null) { - $result.int64Value = int64Value; - } - if (uint32Value != null) { - $result.uint32Value = uint32Value; - } - if (uint64Value != null) { - $result.uint64Value = uint64Value; - } - if (floatValue != null) { - $result.floatValue = floatValue; - } - if (doubleValue != null) { - $result.doubleValue = doubleValue; - } - if (stringArray != null) { - $result.stringArray = stringArray; - } - if (boolArray != null) { - $result.boolArray = boolArray; - } - if (int32Array != null) { - $result.int32Array = int32Array; - } - if (int64Array != null) { - $result.int64Array = int64Array; - } - if (uint32Array != null) { - $result.uint32Array = uint32Array; - } - if (uint64Array != null) { - $result.uint64Array = uint64Array; - } - if (floatArray != null) { - $result.floatArray = floatArray; - } - if (doubleArray != null) { - $result.doubleArray = doubleArray; - } - return $result; - } - Datapoint._() : super(); - factory Datapoint.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Datapoint.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static const $core.Map<$core.int, Datapoint_Value> _Datapoint_ValueByTag = { - 10 : Datapoint_Value.failureValue, - 11 : Datapoint_Value.stringValue, - 12 : Datapoint_Value.boolValue, - 13 : Datapoint_Value.int32Value, - 14 : Datapoint_Value.int64Value, - 15 : Datapoint_Value.uint32Value, - 16 : Datapoint_Value.uint64Value, - 17 : Datapoint_Value.floatValue, - 18 : Datapoint_Value.doubleValue, - 21 : Datapoint_Value.stringArray, - 22 : Datapoint_Value.boolArray, - 23 : Datapoint_Value.int32Array, - 24 : Datapoint_Value.int64Array, - 25 : Datapoint_Value.uint32Array, - 26 : Datapoint_Value.uint64Array, - 27 : Datapoint_Value.floatArray, - 28 : Datapoint_Value.doubleArray, - 0 : Datapoint_Value.notSet - }; - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Datapoint', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..oo(0, [10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 22, 23, 24, 25, 26, 27, 28]) - ..aOM<$2.Timestamp>(1, _omitFieldNames ? '' : 'timestamp', subBuilder: $2.Timestamp.create) - ..e<Datapoint_Failure>(10, _omitFieldNames ? '' : 'failureValue', $pb.PbFieldType.OE, defaultOrMaker: Datapoint_Failure.INVALID_VALUE, valueOf: Datapoint_Failure.valueOf, enumValues: Datapoint_Failure.values) - ..aOS(11, _omitFieldNames ? '' : 'stringValue') - ..aOB(12, _omitFieldNames ? '' : 'boolValue') - ..a<$core.int>(13, _omitFieldNames ? '' : 'int32Value', $pb.PbFieldType.OS3) - ..a<$fixnum.Int64>(14, _omitFieldNames ? '' : 'int64Value', $pb.PbFieldType.OS6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.int>(15, _omitFieldNames ? '' : 'uint32Value', $pb.PbFieldType.OU3) - ..a<$fixnum.Int64>(16, _omitFieldNames ? '' : 'uint64Value', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) - ..a<$core.double>(17, _omitFieldNames ? '' : 'floatValue', $pb.PbFieldType.OF) - ..a<$core.double>(18, _omitFieldNames ? '' : 'doubleValue', $pb.PbFieldType.OD) - ..aOM<StringArray>(21, _omitFieldNames ? '' : 'stringArray', subBuilder: StringArray.create) - ..aOM<BoolArray>(22, _omitFieldNames ? '' : 'boolArray', subBuilder: BoolArray.create) - ..aOM<Int32Array>(23, _omitFieldNames ? '' : 'int32Array', subBuilder: Int32Array.create) - ..aOM<Int64Array>(24, _omitFieldNames ? '' : 'int64Array', subBuilder: Int64Array.create) - ..aOM<Uint32Array>(25, _omitFieldNames ? '' : 'uint32Array', subBuilder: Uint32Array.create) - ..aOM<Uint64Array>(26, _omitFieldNames ? '' : 'uint64Array', subBuilder: Uint64Array.create) - ..aOM<FloatArray>(27, _omitFieldNames ? '' : 'floatArray', subBuilder: FloatArray.create) - ..aOM<DoubleArray>(28, _omitFieldNames ? '' : 'doubleArray', subBuilder: DoubleArray.create) - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Datapoint clone() => Datapoint()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Datapoint copyWith(void Function(Datapoint) updates) => super.copyWith((message) => updates(message as Datapoint)) as Datapoint; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Datapoint create() => Datapoint._(); - Datapoint createEmptyInstance() => create(); - static $pb.PbList<Datapoint> createRepeated() => $pb.PbList<Datapoint>(); - @$core.pragma('dart2js:noInline') - static Datapoint getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Datapoint>(create); - static Datapoint? _defaultInstance; - - Datapoint_Value whichValue() => _Datapoint_ValueByTag[$_whichOneof(0)]!; - void clearValue() => clearField($_whichOneof(0)); - - /// Timestamp of the value - @$pb.TagNumber(1) - $2.Timestamp get timestamp => $_getN(0); - @$pb.TagNumber(1) - set timestamp($2.Timestamp v) { setField(1, v); } - @$pb.TagNumber(1) - $core.bool hasTimestamp() => $_has(0); - @$pb.TagNumber(1) - void clearTimestamp() => clearField(1); - @$pb.TagNumber(1) - $2.Timestamp ensureTimestamp() => $_ensure(0); - - @$pb.TagNumber(10) - Datapoint_Failure get failureValue => $_getN(1); - @$pb.TagNumber(10) - set failureValue(Datapoint_Failure v) { setField(10, v); } - @$pb.TagNumber(10) - $core.bool hasFailureValue() => $_has(1); - @$pb.TagNumber(10) - void clearFailureValue() => clearField(10); - - @$pb.TagNumber(11) - $core.String get stringValue => $_getSZ(2); - @$pb.TagNumber(11) - set stringValue($core.String v) { $_setString(2, v); } - @$pb.TagNumber(11) - $core.bool hasStringValue() => $_has(2); - @$pb.TagNumber(11) - void clearStringValue() => clearField(11); - - @$pb.TagNumber(12) - $core.bool get boolValue => $_getBF(3); - @$pb.TagNumber(12) - set boolValue($core.bool v) { $_setBool(3, v); } - @$pb.TagNumber(12) - $core.bool hasBoolValue() => $_has(3); - @$pb.TagNumber(12) - void clearBoolValue() => clearField(12); - - @$pb.TagNumber(13) - $core.int get int32Value => $_getIZ(4); - @$pb.TagNumber(13) - set int32Value($core.int v) { $_setSignedInt32(4, v); } - @$pb.TagNumber(13) - $core.bool hasInt32Value() => $_has(4); - @$pb.TagNumber(13) - void clearInt32Value() => clearField(13); - - @$pb.TagNumber(14) - $fixnum.Int64 get int64Value => $_getI64(5); - @$pb.TagNumber(14) - set int64Value($fixnum.Int64 v) { $_setInt64(5, v); } - @$pb.TagNumber(14) - $core.bool hasInt64Value() => $_has(5); - @$pb.TagNumber(14) - void clearInt64Value() => clearField(14); - - @$pb.TagNumber(15) - $core.int get uint32Value => $_getIZ(6); - @$pb.TagNumber(15) - set uint32Value($core.int v) { $_setUnsignedInt32(6, v); } - @$pb.TagNumber(15) - $core.bool hasUint32Value() => $_has(6); - @$pb.TagNumber(15) - void clearUint32Value() => clearField(15); - - @$pb.TagNumber(16) - $fixnum.Int64 get uint64Value => $_getI64(7); - @$pb.TagNumber(16) - set uint64Value($fixnum.Int64 v) { $_setInt64(7, v); } - @$pb.TagNumber(16) - $core.bool hasUint64Value() => $_has(7); - @$pb.TagNumber(16) - void clearUint64Value() => clearField(16); - - @$pb.TagNumber(17) - $core.double get floatValue => $_getN(8); - @$pb.TagNumber(17) - set floatValue($core.double v) { $_setFloat(8, v); } - @$pb.TagNumber(17) - $core.bool hasFloatValue() => $_has(8); - @$pb.TagNumber(17) - void clearFloatValue() => clearField(17); - - @$pb.TagNumber(18) - $core.double get doubleValue => $_getN(9); - @$pb.TagNumber(18) - set doubleValue($core.double v) { $_setDouble(9, v); } - @$pb.TagNumber(18) - $core.bool hasDoubleValue() => $_has(9); - @$pb.TagNumber(18) - void clearDoubleValue() => clearField(18); - - @$pb.TagNumber(21) - StringArray get stringArray => $_getN(10); - @$pb.TagNumber(21) - set stringArray(StringArray v) { setField(21, v); } - @$pb.TagNumber(21) - $core.bool hasStringArray() => $_has(10); - @$pb.TagNumber(21) - void clearStringArray() => clearField(21); - @$pb.TagNumber(21) - StringArray ensureStringArray() => $_ensure(10); - - @$pb.TagNumber(22) - BoolArray get boolArray => $_getN(11); - @$pb.TagNumber(22) - set boolArray(BoolArray v) { setField(22, v); } - @$pb.TagNumber(22) - $core.bool hasBoolArray() => $_has(11); - @$pb.TagNumber(22) - void clearBoolArray() => clearField(22); - @$pb.TagNumber(22) - BoolArray ensureBoolArray() => $_ensure(11); - - @$pb.TagNumber(23) - Int32Array get int32Array => $_getN(12); - @$pb.TagNumber(23) - set int32Array(Int32Array v) { setField(23, v); } - @$pb.TagNumber(23) - $core.bool hasInt32Array() => $_has(12); - @$pb.TagNumber(23) - void clearInt32Array() => clearField(23); - @$pb.TagNumber(23) - Int32Array ensureInt32Array() => $_ensure(12); - - @$pb.TagNumber(24) - Int64Array get int64Array => $_getN(13); - @$pb.TagNumber(24) - set int64Array(Int64Array v) { setField(24, v); } - @$pb.TagNumber(24) - $core.bool hasInt64Array() => $_has(13); - @$pb.TagNumber(24) - void clearInt64Array() => clearField(24); - @$pb.TagNumber(24) - Int64Array ensureInt64Array() => $_ensure(13); - - @$pb.TagNumber(25) - Uint32Array get uint32Array => $_getN(14); - @$pb.TagNumber(25) - set uint32Array(Uint32Array v) { setField(25, v); } - @$pb.TagNumber(25) - $core.bool hasUint32Array() => $_has(14); - @$pb.TagNumber(25) - void clearUint32Array() => clearField(25); - @$pb.TagNumber(25) - Uint32Array ensureUint32Array() => $_ensure(14); - - @$pb.TagNumber(26) - Uint64Array get uint64Array => $_getN(15); - @$pb.TagNumber(26) - set uint64Array(Uint64Array v) { setField(26, v); } - @$pb.TagNumber(26) - $core.bool hasUint64Array() => $_has(15); - @$pb.TagNumber(26) - void clearUint64Array() => clearField(26); - @$pb.TagNumber(26) - Uint64Array ensureUint64Array() => $_ensure(15); - - @$pb.TagNumber(27) - FloatArray get floatArray => $_getN(16); - @$pb.TagNumber(27) - set floatArray(FloatArray v) { setField(27, v); } - @$pb.TagNumber(27) - $core.bool hasFloatArray() => $_has(16); - @$pb.TagNumber(27) - void clearFloatArray() => clearField(27); - @$pb.TagNumber(27) - FloatArray ensureFloatArray() => $_ensure(16); - - @$pb.TagNumber(28) - DoubleArray get doubleArray => $_getN(17); - @$pb.TagNumber(28) - set doubleArray(DoubleArray v) { setField(28, v); } - @$pb.TagNumber(28) - $core.bool hasDoubleArray() => $_has(17); - @$pb.TagNumber(28) - void clearDoubleArray() => clearField(28); - @$pb.TagNumber(28) - DoubleArray ensureDoubleArray() => $_ensure(17); -} - -class Metadata extends $pb.GeneratedMessage { - factory Metadata({ - $core.int? id, - EntryType? entryType, - $core.String? name, - DataType? dataType, - ChangeType? changeType, - $core.String? description, - }) { - final $result = create(); - if (id != null) { - $result.id = id; - } - if (entryType != null) { - $result.entryType = entryType; - } - if (name != null) { - $result.name = name; - } - if (dataType != null) { - $result.dataType = dataType; - } - if (changeType != null) { - $result.changeType = changeType; - } - if (description != null) { - $result.description = description; - } - return $result; - } - Metadata._() : super(); - factory Metadata.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); - factory Metadata.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); - - static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Metadata', package: const $pb.PackageName(_omitMessageNames ? '' : 'sdv.databroker.v1'), createEmptyInstance: create) - ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3) - ..e<EntryType>(2, _omitFieldNames ? '' : 'entryType', $pb.PbFieldType.OE, defaultOrMaker: EntryType.ENTRY_TYPE_UNSPECIFIED, valueOf: EntryType.valueOf, enumValues: EntryType.values) - ..aOS(4, _omitFieldNames ? '' : 'name') - ..e<DataType>(5, _omitFieldNames ? '' : 'dataType', $pb.PbFieldType.OE, defaultOrMaker: DataType.STRING, valueOf: DataType.valueOf, enumValues: DataType.values) - ..e<ChangeType>(6, _omitFieldNames ? '' : 'changeType', $pb.PbFieldType.OE, defaultOrMaker: ChangeType.STATIC, valueOf: ChangeType.valueOf, enumValues: ChangeType.values) - ..aOS(7, _omitFieldNames ? '' : 'description') - ..hasRequiredFields = false - ; - - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' - 'Will be removed in next major version') - Metadata clone() => Metadata()..mergeFromMessage(this); - @$core.Deprecated( - 'Using this can add significant overhead to your binary. ' - 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' - 'Will be removed in next major version') - Metadata copyWith(void Function(Metadata) updates) => super.copyWith((message) => updates(message as Metadata)) as Metadata; - - $pb.BuilderInfo get info_ => _i; - - @$core.pragma('dart2js:noInline') - static Metadata create() => Metadata._(); - Metadata createEmptyInstance() => create(); - static $pb.PbList<Metadata> createRepeated() => $pb.PbList<Metadata>(); - @$core.pragma('dart2js:noInline') - static Metadata getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Metadata>(create); - static Metadata? _defaultInstance; - - /// Id to be used in "get" and "subscribe" requests. Ids stay valid during - /// one power cycle, only. - @$pb.TagNumber(1) - $core.int get id => $_getIZ(0); - @$pb.TagNumber(1) - set id($core.int v) { $_setSignedInt32(0, v); } - @$pb.TagNumber(1) - $core.bool hasId() => $_has(0); - @$pb.TagNumber(1) - void clearId() => clearField(1); - - @$pb.TagNumber(2) - EntryType get entryType => $_getN(1); - @$pb.TagNumber(2) - set entryType(EntryType v) { setField(2, v); } - @$pb.TagNumber(2) - $core.bool hasEntryType() => $_has(1); - @$pb.TagNumber(2) - void clearEntryType() => clearField(2); - - @$pb.TagNumber(4) - $core.String get name => $_getSZ(2); - @$pb.TagNumber(4) - set name($core.String v) { $_setString(2, v); } - @$pb.TagNumber(4) - $core.bool hasName() => $_has(2); - @$pb.TagNumber(4) - void clearName() => clearField(4); - - @$pb.TagNumber(5) - DataType get dataType => $_getN(3); - @$pb.TagNumber(5) - set dataType(DataType v) { setField(5, v); } - @$pb.TagNumber(5) - $core.bool hasDataType() => $_has(3); - @$pb.TagNumber(5) - void clearDataType() => clearField(5); - - @$pb.TagNumber(6) - ChangeType get changeType => $_getN(4); - @$pb.TagNumber(6) - set changeType(ChangeType v) { setField(6, v); } - @$pb.TagNumber(6) - $core.bool hasChangeType() => $_has(4); - @$pb.TagNumber(6) - void clearChangeType() => clearField(6); - - @$pb.TagNumber(7) - $core.String get description => $_getSZ(5); - @$pb.TagNumber(7) - set description($core.String v) { $_setString(5, v); } - @$pb.TagNumber(7) - $core.bool hasDescription() => $_has(5); - @$pb.TagNumber(7) - void clearDescription() => clearField(7); -} - - -const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); -const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); diff --git a/protos/lib/src/generated/sdv/databroker/v1/types.pbenum.dart b/protos/lib/src/generated/sdv/databroker/v1/types.pbenum.dart deleted file mode 100644 index b3fc8b4..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/types.pbenum.dart +++ /dev/null @@ -1,162 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/types.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:core' as $core; - -import 'package:protobuf/protobuf.dart' as $pb; - -/// Data type of a signal -/// -/// Protobuf doesn't support int8, int16, uint8 or uint16. -/// These are mapped to sint32 and uint32 respectively. -class DataType extends $pb.ProtobufEnum { - static const DataType STRING = DataType._(0, _omitEnumNames ? '' : 'STRING'); - static const DataType BOOL = DataType._(1, _omitEnumNames ? '' : 'BOOL'); - static const DataType INT8 = DataType._(2, _omitEnumNames ? '' : 'INT8'); - static const DataType INT16 = DataType._(3, _omitEnumNames ? '' : 'INT16'); - static const DataType INT32 = DataType._(4, _omitEnumNames ? '' : 'INT32'); - static const DataType INT64 = DataType._(5, _omitEnumNames ? '' : 'INT64'); - static const DataType UINT8 = DataType._(6, _omitEnumNames ? '' : 'UINT8'); - static const DataType UINT16 = DataType._(7, _omitEnumNames ? '' : 'UINT16'); - static const DataType UINT32 = DataType._(8, _omitEnumNames ? '' : 'UINT32'); - static const DataType UINT64 = DataType._(9, _omitEnumNames ? '' : 'UINT64'); - static const DataType FLOAT = DataType._(10, _omitEnumNames ? '' : 'FLOAT'); - static const DataType DOUBLE = DataType._(11, _omitEnumNames ? '' : 'DOUBLE'); - static const DataType TIMESTAMP = DataType._(12, _omitEnumNames ? '' : 'TIMESTAMP'); - static const DataType STRING_ARRAY = DataType._(20, _omitEnumNames ? '' : 'STRING_ARRAY'); - static const DataType BOOL_ARRAY = DataType._(21, _omitEnumNames ? '' : 'BOOL_ARRAY'); - static const DataType INT8_ARRAY = DataType._(22, _omitEnumNames ? '' : 'INT8_ARRAY'); - static const DataType INT16_ARRAY = DataType._(23, _omitEnumNames ? '' : 'INT16_ARRAY'); - static const DataType INT32_ARRAY = DataType._(24, _omitEnumNames ? '' : 'INT32_ARRAY'); - static const DataType INT64_ARRAY = DataType._(25, _omitEnumNames ? '' : 'INT64_ARRAY'); - static const DataType UINT8_ARRAY = DataType._(26, _omitEnumNames ? '' : 'UINT8_ARRAY'); - static const DataType UINT16_ARRAY = DataType._(27, _omitEnumNames ? '' : 'UINT16_ARRAY'); - static const DataType UINT32_ARRAY = DataType._(28, _omitEnumNames ? '' : 'UINT32_ARRAY'); - static const DataType UINT64_ARRAY = DataType._(29, _omitEnumNames ? '' : 'UINT64_ARRAY'); - static const DataType FLOAT_ARRAY = DataType._(30, _omitEnumNames ? '' : 'FLOAT_ARRAY'); - static const DataType DOUBLE_ARRAY = DataType._(31, _omitEnumNames ? '' : 'DOUBLE_ARRAY'); - static const DataType TIMESTAMP_ARRAY = DataType._(32, _omitEnumNames ? '' : 'TIMESTAMP_ARRAY'); - - static const $core.List<DataType> values = <DataType> [ - STRING, - BOOL, - INT8, - INT16, - INT32, - INT64, - UINT8, - UINT16, - UINT32, - UINT64, - FLOAT, - DOUBLE, - TIMESTAMP, - STRING_ARRAY, - BOOL_ARRAY, - INT8_ARRAY, - INT16_ARRAY, - INT32_ARRAY, - INT64_ARRAY, - UINT8_ARRAY, - UINT16_ARRAY, - UINT32_ARRAY, - UINT64_ARRAY, - FLOAT_ARRAY, - DOUBLE_ARRAY, - TIMESTAMP_ARRAY, - ]; - - static final $core.Map<$core.int, DataType> _byValue = $pb.ProtobufEnum.initByValue(values); - static DataType? valueOf($core.int value) => _byValue[value]; - - const DataType._($core.int v, $core.String n) : super(v, n); -} - -class DatapointError extends $pb.ProtobufEnum { - static const DatapointError UNKNOWN_DATAPOINT = DatapointError._(0, _omitEnumNames ? '' : 'UNKNOWN_DATAPOINT'); - static const DatapointError INVALID_TYPE = DatapointError._(1, _omitEnumNames ? '' : 'INVALID_TYPE'); - static const DatapointError ACCESS_DENIED = DatapointError._(2, _omitEnumNames ? '' : 'ACCESS_DENIED'); - static const DatapointError INTERNAL_ERROR = DatapointError._(3, _omitEnumNames ? '' : 'INTERNAL_ERROR'); - static const DatapointError OUT_OF_BOUNDS = DatapointError._(4, _omitEnumNames ? '' : 'OUT_OF_BOUNDS'); - - static const $core.List<DatapointError> values = <DatapointError> [ - UNKNOWN_DATAPOINT, - INVALID_TYPE, - ACCESS_DENIED, - INTERNAL_ERROR, - OUT_OF_BOUNDS, - ]; - - static final $core.Map<$core.int, DatapointError> _byValue = $pb.ProtobufEnum.initByValue(values); - static DatapointError? valueOf($core.int value) => _byValue[value]; - - const DatapointError._($core.int v, $core.String n) : super(v, n); -} - -class EntryType extends $pb.ProtobufEnum { - static const EntryType ENTRY_TYPE_UNSPECIFIED = EntryType._(0, _omitEnumNames ? '' : 'ENTRY_TYPE_UNSPECIFIED'); - static const EntryType ENTRY_TYPE_SENSOR = EntryType._(1, _omitEnumNames ? '' : 'ENTRY_TYPE_SENSOR'); - static const EntryType ENTRY_TYPE_ACTUATOR = EntryType._(2, _omitEnumNames ? '' : 'ENTRY_TYPE_ACTUATOR'); - static const EntryType ENTRY_TYPE_ATTRIBUTE = EntryType._(3, _omitEnumNames ? '' : 'ENTRY_TYPE_ATTRIBUTE'); - - static const $core.List<EntryType> values = <EntryType> [ - ENTRY_TYPE_UNSPECIFIED, - ENTRY_TYPE_SENSOR, - ENTRY_TYPE_ACTUATOR, - ENTRY_TYPE_ATTRIBUTE, - ]; - - static final $core.Map<$core.int, EntryType> _byValue = $pb.ProtobufEnum.initByValue(values); - static EntryType? valueOf($core.int value) => _byValue[value]; - - const EntryType._($core.int v, $core.String n) : super(v, n); -} - -class ChangeType extends $pb.ProtobufEnum { - static const ChangeType STATIC = ChangeType._(0, _omitEnumNames ? '' : 'STATIC'); - static const ChangeType ON_CHANGE = ChangeType._(1, _omitEnumNames ? '' : 'ON_CHANGE'); - static const ChangeType CONTINUOUS = ChangeType._(2, _omitEnumNames ? '' : 'CONTINUOUS'); - - static const $core.List<ChangeType> values = <ChangeType> [ - STATIC, - ON_CHANGE, - CONTINUOUS, - ]; - - static final $core.Map<$core.int, ChangeType> _byValue = $pb.ProtobufEnum.initByValue(values); - static ChangeType? valueOf($core.int value) => _byValue[value]; - - const ChangeType._($core.int v, $core.String n) : super(v, n); -} - -class Datapoint_Failure extends $pb.ProtobufEnum { - static const Datapoint_Failure INVALID_VALUE = Datapoint_Failure._(0, _omitEnumNames ? '' : 'INVALID_VALUE'); - static const Datapoint_Failure NOT_AVAILABLE = Datapoint_Failure._(1, _omitEnumNames ? '' : 'NOT_AVAILABLE'); - static const Datapoint_Failure UNKNOWN_DATAPOINT = Datapoint_Failure._(2, _omitEnumNames ? '' : 'UNKNOWN_DATAPOINT'); - static const Datapoint_Failure ACCESS_DENIED = Datapoint_Failure._(3, _omitEnumNames ? '' : 'ACCESS_DENIED'); - static const Datapoint_Failure INTERNAL_ERROR = Datapoint_Failure._(4, _omitEnumNames ? '' : 'INTERNAL_ERROR'); - - static const $core.List<Datapoint_Failure> values = <Datapoint_Failure> [ - INVALID_VALUE, - NOT_AVAILABLE, - UNKNOWN_DATAPOINT, - ACCESS_DENIED, - INTERNAL_ERROR, - ]; - - static final $core.Map<$core.int, Datapoint_Failure> _byValue = $pb.ProtobufEnum.initByValue(values); - static Datapoint_Failure? valueOf($core.int value) => _byValue[value]; - - const Datapoint_Failure._($core.int v, $core.String n) : super(v, n); -} - - -const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names'); diff --git a/protos/lib/src/generated/sdv/databroker/v1/types.pbjson.dart b/protos/lib/src/generated/sdv/databroker/v1/types.pbjson.dart deleted file mode 100644 index 2cb774f..0000000 --- a/protos/lib/src/generated/sdv/databroker/v1/types.pbjson.dart +++ /dev/null @@ -1,290 +0,0 @@ -// -// Generated code. Do not modify. -// source: sdv/databroker/v1/types.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:convert' as $convert; -import 'dart:core' as $core; -import 'dart:typed_data' as $typed_data; - -@$core.Deprecated('Use dataTypeDescriptor instead') -const DataType$json = { - '1': 'DataType', - '2': [ - {'1': 'STRING', '2': 0}, - {'1': 'BOOL', '2': 1}, - {'1': 'INT8', '2': 2}, - {'1': 'INT16', '2': 3}, - {'1': 'INT32', '2': 4}, - {'1': 'INT64', '2': 5}, - {'1': 'UINT8', '2': 6}, - {'1': 'UINT16', '2': 7}, - {'1': 'UINT32', '2': 8}, - {'1': 'UINT64', '2': 9}, - {'1': 'FLOAT', '2': 10}, - {'1': 'DOUBLE', '2': 11}, - {'1': 'TIMESTAMP', '2': 12}, - {'1': 'STRING_ARRAY', '2': 20}, - {'1': 'BOOL_ARRAY', '2': 21}, - {'1': 'INT8_ARRAY', '2': 22}, - {'1': 'INT16_ARRAY', '2': 23}, - {'1': 'INT32_ARRAY', '2': 24}, - {'1': 'INT64_ARRAY', '2': 25}, - {'1': 'UINT8_ARRAY', '2': 26}, - {'1': 'UINT16_ARRAY', '2': 27}, - {'1': 'UINT32_ARRAY', '2': 28}, - {'1': 'UINT64_ARRAY', '2': 29}, - {'1': 'FLOAT_ARRAY', '2': 30}, - {'1': 'DOUBLE_ARRAY', '2': 31}, - {'1': 'TIMESTAMP_ARRAY', '2': 32}, - ], -}; - -/// Descriptor for `DataType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List dataTypeDescriptor = $convert.base64Decode( - 'CghEYXRhVHlwZRIKCgZTVFJJTkcQABIICgRCT09MEAESCAoESU5UOBACEgkKBUlOVDE2EAMSCQ' - 'oFSU5UMzIQBBIJCgVJTlQ2NBAFEgkKBVVJTlQ4EAYSCgoGVUlOVDE2EAcSCgoGVUlOVDMyEAgS' - 'CgoGVUlOVDY0EAkSCQoFRkxPQVQQChIKCgZET1VCTEUQCxINCglUSU1FU1RBTVAQDBIQCgxTVF' - 'JJTkdfQVJSQVkQFBIOCgpCT09MX0FSUkFZEBUSDgoKSU5UOF9BUlJBWRAWEg8KC0lOVDE2X0FS' - 'UkFZEBcSDwoLSU5UMzJfQVJSQVkQGBIPCgtJTlQ2NF9BUlJBWRAZEg8KC1VJTlQ4X0FSUkFZEB' - 'oSEAoMVUlOVDE2X0FSUkFZEBsSEAoMVUlOVDMyX0FSUkFZEBwSEAoMVUlOVDY0X0FSUkFZEB0S' - 'DwoLRkxPQVRfQVJSQVkQHhIQCgxET1VCTEVfQVJSQVkQHxITCg9USU1FU1RBTVBfQVJSQVkQIA' - '=='); - -@$core.Deprecated('Use datapointErrorDescriptor instead') -const DatapointError$json = { - '1': 'DatapointError', - '2': [ - {'1': 'UNKNOWN_DATAPOINT', '2': 0}, - {'1': 'INVALID_TYPE', '2': 1}, - {'1': 'ACCESS_DENIED', '2': 2}, - {'1': 'INTERNAL_ERROR', '2': 3}, - {'1': 'OUT_OF_BOUNDS', '2': 4}, - ], -}; - -/// Descriptor for `DatapointError`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List datapointErrorDescriptor = $convert.base64Decode( - 'Cg5EYXRhcG9pbnRFcnJvchIVChFVTktOT1dOX0RBVEFQT0lOVBAAEhAKDElOVkFMSURfVFlQRR' - 'ABEhEKDUFDQ0VTU19ERU5JRUQQAhISCg5JTlRFUk5BTF9FUlJPUhADEhEKDU9VVF9PRl9CT1VO' - 'RFMQBA=='); - -@$core.Deprecated('Use entryTypeDescriptor instead') -const EntryType$json = { - '1': 'EntryType', - '2': [ - {'1': 'ENTRY_TYPE_UNSPECIFIED', '2': 0}, - {'1': 'ENTRY_TYPE_SENSOR', '2': 1}, - {'1': 'ENTRY_TYPE_ACTUATOR', '2': 2}, - {'1': 'ENTRY_TYPE_ATTRIBUTE', '2': 3}, - ], -}; - -/// Descriptor for `EntryType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List entryTypeDescriptor = $convert.base64Decode( - 'CglFbnRyeVR5cGUSGgoWRU5UUllfVFlQRV9VTlNQRUNJRklFRBAAEhUKEUVOVFJZX1RZUEVfU0' - 'VOU09SEAESFwoTRU5UUllfVFlQRV9BQ1RVQVRPUhACEhgKFEVOVFJZX1RZUEVfQVRUUklCVVRF' - 'EAM='); - -@$core.Deprecated('Use changeTypeDescriptor instead') -const ChangeType$json = { - '1': 'ChangeType', - '2': [ - {'1': 'STATIC', '2': 0}, - {'1': 'ON_CHANGE', '2': 1}, - {'1': 'CONTINUOUS', '2': 2}, - ], -}; - -/// Descriptor for `ChangeType`. Decode as a `google.protobuf.EnumDescriptorProto`. -final $typed_data.Uint8List changeTypeDescriptor = $convert.base64Decode( - 'CgpDaGFuZ2VUeXBlEgoKBlNUQVRJQxAAEg0KCU9OX0NIQU5HRRABEg4KCkNPTlRJTlVPVVMQAg' - '=='); - -@$core.Deprecated('Use stringArrayDescriptor instead') -const StringArray$json = { - '1': 'StringArray', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 9, '10': 'values'}, - ], -}; - -/// Descriptor for `StringArray`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List stringArrayDescriptor = $convert.base64Decode( - 'CgtTdHJpbmdBcnJheRIWCgZ2YWx1ZXMYASADKAlSBnZhbHVlcw=='); - -@$core.Deprecated('Use boolArrayDescriptor instead') -const BoolArray$json = { - '1': 'BoolArray', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 8, '10': 'values'}, - ], -}; - -/// Descriptor for `BoolArray`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List boolArrayDescriptor = $convert.base64Decode( - 'CglCb29sQXJyYXkSFgoGdmFsdWVzGAEgAygIUgZ2YWx1ZXM='); - -@$core.Deprecated('Use int32ArrayDescriptor instead') -const Int32Array$json = { - '1': 'Int32Array', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 17, '10': 'values'}, - ], -}; - -/// Descriptor for `Int32Array`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List int32ArrayDescriptor = $convert.base64Decode( - 'CgpJbnQzMkFycmF5EhYKBnZhbHVlcxgBIAMoEVIGdmFsdWVz'); - -@$core.Deprecated('Use int64ArrayDescriptor instead') -const Int64Array$json = { - '1': 'Int64Array', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 18, '10': 'values'}, - ], -}; - -/// Descriptor for `Int64Array`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List int64ArrayDescriptor = $convert.base64Decode( - 'CgpJbnQ2NEFycmF5EhYKBnZhbHVlcxgBIAMoElIGdmFsdWVz'); - -@$core.Deprecated('Use uint32ArrayDescriptor instead') -const Uint32Array$json = { - '1': 'Uint32Array', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 13, '10': 'values'}, - ], -}; - -/// Descriptor for `Uint32Array`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uint32ArrayDescriptor = $convert.base64Decode( - 'CgtVaW50MzJBcnJheRIWCgZ2YWx1ZXMYASADKA1SBnZhbHVlcw=='); - -@$core.Deprecated('Use uint64ArrayDescriptor instead') -const Uint64Array$json = { - '1': 'Uint64Array', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 4, '10': 'values'}, - ], -}; - -/// Descriptor for `Uint64Array`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List uint64ArrayDescriptor = $convert.base64Decode( - 'CgtVaW50NjRBcnJheRIWCgZ2YWx1ZXMYASADKARSBnZhbHVlcw=='); - -@$core.Deprecated('Use floatArrayDescriptor instead') -const FloatArray$json = { - '1': 'FloatArray', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 2, '10': 'values'}, - ], -}; - -/// Descriptor for `FloatArray`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List floatArrayDescriptor = $convert.base64Decode( - 'CgpGbG9hdEFycmF5EhYKBnZhbHVlcxgBIAMoAlIGdmFsdWVz'); - -@$core.Deprecated('Use doubleArrayDescriptor instead') -const DoubleArray$json = { - '1': 'DoubleArray', - '2': [ - {'1': 'values', '3': 1, '4': 3, '5': 1, '10': 'values'}, - ], -}; - -/// Descriptor for `DoubleArray`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List doubleArrayDescriptor = $convert.base64Decode( - 'CgtEb3VibGVBcnJheRIWCgZ2YWx1ZXMYASADKAFSBnZhbHVlcw=='); - -@$core.Deprecated('Use datapointDescriptor instead') -const Datapoint$json = { - '1': 'Datapoint', - '2': [ - {'1': 'timestamp', '3': 1, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'timestamp'}, - {'1': 'failure_value', '3': 10, '4': 1, '5': 14, '6': '.sdv.databroker.v1.Datapoint.Failure', '9': 0, '10': 'failureValue'}, - {'1': 'string_value', '3': 11, '4': 1, '5': 9, '9': 0, '10': 'stringValue'}, - {'1': 'bool_value', '3': 12, '4': 1, '5': 8, '9': 0, '10': 'boolValue'}, - {'1': 'int32_value', '3': 13, '4': 1, '5': 17, '9': 0, '10': 'int32Value'}, - {'1': 'int64_value', '3': 14, '4': 1, '5': 18, '9': 0, '10': 'int64Value'}, - {'1': 'uint32_value', '3': 15, '4': 1, '5': 13, '9': 0, '10': 'uint32Value'}, - {'1': 'uint64_value', '3': 16, '4': 1, '5': 4, '9': 0, '10': 'uint64Value'}, - {'1': 'float_value', '3': 17, '4': 1, '5': 2, '9': 0, '10': 'floatValue'}, - {'1': 'double_value', '3': 18, '4': 1, '5': 1, '9': 0, '10': 'doubleValue'}, - {'1': 'string_array', '3': 21, '4': 1, '5': 11, '6': '.sdv.databroker.v1.StringArray', '9': 0, '10': 'stringArray'}, - {'1': 'bool_array', '3': 22, '4': 1, '5': 11, '6': '.sdv.databroker.v1.BoolArray', '9': 0, '10': 'boolArray'}, - {'1': 'int32_array', '3': 23, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Int32Array', '9': 0, '10': 'int32Array'}, - {'1': 'int64_array', '3': 24, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Int64Array', '9': 0, '10': 'int64Array'}, - {'1': 'uint32_array', '3': 25, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Uint32Array', '9': 0, '10': 'uint32Array'}, - {'1': 'uint64_array', '3': 26, '4': 1, '5': 11, '6': '.sdv.databroker.v1.Uint64Array', '9': 0, '10': 'uint64Array'}, - {'1': 'float_array', '3': 27, '4': 1, '5': 11, '6': '.sdv.databroker.v1.FloatArray', '9': 0, '10': 'floatArray'}, - {'1': 'double_array', '3': 28, '4': 1, '5': 11, '6': '.sdv.databroker.v1.DoubleArray', '9': 0, '10': 'doubleArray'}, - ], - '4': [Datapoint_Failure$json], - '8': [ - {'1': 'value'}, - ], -}; - -@$core.Deprecated('Use datapointDescriptor instead') -const Datapoint_Failure$json = { - '1': 'Failure', - '2': [ - {'1': 'INVALID_VALUE', '2': 0}, - {'1': 'NOT_AVAILABLE', '2': 1}, - {'1': 'UNKNOWN_DATAPOINT', '2': 2}, - {'1': 'ACCESS_DENIED', '2': 3}, - {'1': 'INTERNAL_ERROR', '2': 4}, - ], -}; - -/// Descriptor for `Datapoint`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List datapointDescriptor = $convert.base64Decode( - 'CglEYXRhcG9pbnQSOAoJdGltZXN0YW1wGAEgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdG' - 'FtcFIJdGltZXN0YW1wEksKDWZhaWx1cmVfdmFsdWUYCiABKA4yJC5zZHYuZGF0YWJyb2tlci52' - 'MS5EYXRhcG9pbnQuRmFpbHVyZUgAUgxmYWlsdXJlVmFsdWUSIwoMc3RyaW5nX3ZhbHVlGAsgAS' - 'gJSABSC3N0cmluZ1ZhbHVlEh8KCmJvb2xfdmFsdWUYDCABKAhIAFIJYm9vbFZhbHVlEiEKC2lu' - 'dDMyX3ZhbHVlGA0gASgRSABSCmludDMyVmFsdWUSIQoLaW50NjRfdmFsdWUYDiABKBJIAFIKaW' - '50NjRWYWx1ZRIjCgx1aW50MzJfdmFsdWUYDyABKA1IAFILdWludDMyVmFsdWUSIwoMdWludDY0' - 'X3ZhbHVlGBAgASgESABSC3VpbnQ2NFZhbHVlEiEKC2Zsb2F0X3ZhbHVlGBEgASgCSABSCmZsb2' - 'F0VmFsdWUSIwoMZG91YmxlX3ZhbHVlGBIgASgBSABSC2RvdWJsZVZhbHVlEkMKDHN0cmluZ19h' - 'cnJheRgVIAEoCzIeLnNkdi5kYXRhYnJva2VyLnYxLlN0cmluZ0FycmF5SABSC3N0cmluZ0Fycm' - 'F5Ej0KCmJvb2xfYXJyYXkYFiABKAsyHC5zZHYuZGF0YWJyb2tlci52MS5Cb29sQXJyYXlIAFIJ' - 'Ym9vbEFycmF5EkAKC2ludDMyX2FycmF5GBcgASgLMh0uc2R2LmRhdGFicm9rZXIudjEuSW50Mz' - 'JBcnJheUgAUgppbnQzMkFycmF5EkAKC2ludDY0X2FycmF5GBggASgLMh0uc2R2LmRhdGFicm9r' - 'ZXIudjEuSW50NjRBcnJheUgAUgppbnQ2NEFycmF5EkMKDHVpbnQzMl9hcnJheRgZIAEoCzIeLn' - 'Nkdi5kYXRhYnJva2VyLnYxLlVpbnQzMkFycmF5SABSC3VpbnQzMkFycmF5EkMKDHVpbnQ2NF9h' - 'cnJheRgaIAEoCzIeLnNkdi5kYXRhYnJva2VyLnYxLlVpbnQ2NEFycmF5SABSC3VpbnQ2NEFycm' - 'F5EkAKC2Zsb2F0X2FycmF5GBsgASgLMh0uc2R2LmRhdGFicm9rZXIudjEuRmxvYXRBcnJheUgA' - 'UgpmbG9hdEFycmF5EkMKDGRvdWJsZV9hcnJheRgcIAEoCzIeLnNkdi5kYXRhYnJva2VyLnYxLk' - 'RvdWJsZUFycmF5SABSC2RvdWJsZUFycmF5Im0KB0ZhaWx1cmUSEQoNSU5WQUxJRF9WQUxVRRAA' - 'EhEKDU5PVF9BVkFJTEFCTEUQARIVChFVTktOT1dOX0RBVEFQT0lOVBACEhEKDUFDQ0VTU19ERU' - '5JRUQQAxISCg5JTlRFUk5BTF9FUlJPUhAEQgcKBXZhbHVl'); - -@$core.Deprecated('Use metadataDescriptor instead') -const Metadata$json = { - '1': 'Metadata', - '2': [ - {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'}, - {'1': 'entry_type', '3': 2, '4': 1, '5': 14, '6': '.sdv.databroker.v1.EntryType', '10': 'entryType'}, - {'1': 'name', '3': 4, '4': 1, '5': 9, '10': 'name'}, - {'1': 'data_type', '3': 5, '4': 1, '5': 14, '6': '.sdv.databroker.v1.DataType', '10': 'dataType'}, - {'1': 'change_type', '3': 6, '4': 1, '5': 14, '6': '.sdv.databroker.v1.ChangeType', '10': 'changeType'}, - {'1': 'description', '3': 7, '4': 1, '5': 9, '10': 'description'}, - ], -}; - -/// Descriptor for `Metadata`. Decode as a `google.protobuf.DescriptorProto`. -final $typed_data.Uint8List metadataDescriptor = $convert.base64Decode( - 'CghNZXRhZGF0YRIOCgJpZBgBIAEoBVICaWQSOwoKZW50cnlfdHlwZRgCIAEoDjIcLnNkdi5kYX' - 'RhYnJva2VyLnYxLkVudHJ5VHlwZVIJZW50cnlUeXBlEhIKBG5hbWUYBCABKAlSBG5hbWUSOAoJ' - 'ZGF0YV90eXBlGAUgASgOMhsuc2R2LmRhdGFicm9rZXIudjEuRGF0YVR5cGVSCGRhdGFUeXBlEj' - '4KC2NoYW5nZV90eXBlGAYgASgOMh0uc2R2LmRhdGFicm9rZXIudjEuQ2hhbmdlVHlwZVIKY2hh' - 'bmdlVHlwZRIgCgtkZXNjcmlwdGlvbhgHIAEoCVILZGVzY3JpcHRpb24='); - |