Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerated proto files for rtk mode #17

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions lib/src/generated/gps.pb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

import 'gps.pbenum.dart';
import 'version.pb.dart' as $2;

export 'gps.pbenum.dart';

class GpsCoordinates extends $pb.GeneratedMessage {
factory GpsCoordinates({
$core.double? latitude,
$core.double? longitude,
$core.double? altitude,
RTKMode? rtkMode,
}) {
final $result = create();
if (latitude != null) {
Expand All @@ -31,6 +35,9 @@ class GpsCoordinates extends $pb.GeneratedMessage {
if (altitude != null) {
$result.altitude = altitude;
}
if (rtkMode != null) {
$result.rtkMode = rtkMode;
}
return $result;
}
GpsCoordinates._() : super();
Expand All @@ -41,6 +48,7 @@ class GpsCoordinates extends $pb.GeneratedMessage {
..a<$core.double>(1, _omitFieldNames ? '' : 'latitude', $pb.PbFieldType.OD)
..a<$core.double>(2, _omitFieldNames ? '' : 'longitude', $pb.PbFieldType.OD)
..a<$core.double>(3, _omitFieldNames ? '' : 'altitude', $pb.PbFieldType.OD)
..e<RTKMode>(4, _omitFieldNames ? '' : 'rtkMode', $pb.PbFieldType.OE, protoName: 'rtkMode', defaultOrMaker: RTKMode.RTK_NONE, valueOf: RTKMode.valueOf, enumValues: RTKMode.values)
..hasRequiredFields = false
;

Expand Down Expand Up @@ -91,6 +99,15 @@ class GpsCoordinates extends $pb.GeneratedMessage {
$core.bool hasAltitude() => $_has(2);
@$pb.TagNumber(3)
void clearAltitude() => clearField(3);

@$pb.TagNumber(4)
RTKMode get rtkMode => $_getN(3);
@$pb.TagNumber(4)
set rtkMode(RTKMode v) { setField(4, v); }
@$pb.TagNumber(4)
$core.bool hasRtkMode() => $_has(3);
@$pb.TagNumber(4)
void clearRtkMode() => clearField(4);
}

class Orientation extends $pb.GeneratedMessage {
Expand Down
23 changes: 23 additions & 0 deletions lib/src/generated/gps.pbenum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,26 @@
// 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;

class RTKMode extends $pb.ProtobufEnum {
static const RTKMode RTK_NONE = RTKMode._(0, _omitEnumNames ? '' : 'RTK_NONE');
static const RTKMode RTK_FLOAT = RTKMode._(1, _omitEnumNames ? '' : 'RTK_FLOAT');
static const RTKMode RTK_FIXED = RTKMode._(2, _omitEnumNames ? '' : 'RTK_FIXED');

static const $core.List<RTKMode> values = <RTKMode> [
RTK_NONE,
RTK_FLOAT,
RTK_FIXED,
];

static final $core.Map<$core.int, RTKMode> _byValue = $pb.ProtobufEnum.initByValue(values);
static RTKMode? valueOf($core.int value) => _byValue[value];

const RTKMode._($core.int v, $core.String n) : super(v, n);
}


const _omitEnumNames = $core.bool.fromEnvironment('protobuf.omit_enum_names');
18 changes: 17 additions & 1 deletion lib/src/generated/gps.pbjson.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,36 @@ import 'dart:convert' as $convert;
import 'dart:core' as $core;
import 'dart:typed_data' as $typed_data;

@$core.Deprecated('Use rTKModeDescriptor instead')
const RTKMode$json = {
'1': 'RTKMode',
'2': [
{'1': 'RTK_NONE', '2': 0},
{'1': 'RTK_FLOAT', '2': 1},
{'1': 'RTK_FIXED', '2': 2},
],
};

/// Descriptor for `RTKMode`. Decode as a `google.protobuf.EnumDescriptorProto`.
final $typed_data.Uint8List rTKModeDescriptor = $convert.base64Decode(
'CgdSVEtNb2RlEgwKCFJUS19OT05FEAASDQoJUlRLX0ZMT0FUEAESDQoJUlRLX0ZJWEVEEAI=');

@$core.Deprecated('Use gpsCoordinatesDescriptor instead')
const GpsCoordinates$json = {
'1': 'GpsCoordinates',
'2': [
{'1': 'latitude', '3': 1, '4': 1, '5': 1, '10': 'latitude'},
{'1': 'longitude', '3': 2, '4': 1, '5': 1, '10': 'longitude'},
{'1': 'altitude', '3': 3, '4': 1, '5': 1, '10': 'altitude'},
{'1': 'rtkMode', '3': 4, '4': 1, '5': 14, '6': '.RTKMode', '10': 'rtkMode'},
],
};

/// Descriptor for `GpsCoordinates`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List gpsCoordinatesDescriptor = $convert.base64Decode(
'Cg5HcHNDb29yZGluYXRlcxIaCghsYXRpdHVkZRgBIAEoAVIIbGF0aXR1ZGUSHAoJbG9uZ2l0dW'
'RlGAIgASgBUglsb25naXR1ZGUSGgoIYWx0aXR1ZGUYAyABKAFSCGFsdGl0dWRl');
'RlGAIgASgBUglsb25naXR1ZGUSGgoIYWx0aXR1ZGUYAyABKAFSCGFsdGl0dWRlEiIKB3J0a01v'
'ZGUYBCABKA4yCC5SVEtNb2RlUgdydGtNb2Rl');

@$core.Deprecated('Use orientationDescriptor instead')
const Orientation$json = {
Expand Down
Loading