mirror of
https://github.com/amigan/calls.git
synced 2025-01-31 13:32:37 -05:00
alpha tag pb
This commit is contained in:
parent
95e4295098
commit
9c8103fb0b
3 changed files with 52 additions and 34 deletions
|
@ -648,6 +648,7 @@ class TalkgroupInfo extends $pb.GeneratedMessage {
|
|||
$core.String? systemName,
|
||||
$core.String? name,
|
||||
$core.String? group,
|
||||
$core.String? alphaTag,
|
||||
$core.int? frequency,
|
||||
$core.Iterable<$core.String>? tags,
|
||||
$1.Struct? metadata,
|
||||
|
@ -666,6 +667,9 @@ class TalkgroupInfo extends $pb.GeneratedMessage {
|
|||
if (group != null) {
|
||||
$result.group = group;
|
||||
}
|
||||
if (alphaTag != null) {
|
||||
$result.alphaTag = alphaTag;
|
||||
}
|
||||
if (frequency != null) {
|
||||
$result.frequency = frequency;
|
||||
}
|
||||
|
@ -689,10 +693,11 @@ class TalkgroupInfo extends $pb.GeneratedMessage {
|
|||
..aOS(2, _omitFieldNames ? '' : 'systemName')
|
||||
..aOS(3, _omitFieldNames ? '' : 'name')
|
||||
..aOS(4, _omitFieldNames ? '' : 'group')
|
||||
..a<$core.int>(5, _omitFieldNames ? '' : 'frequency', $pb.PbFieldType.O3)
|
||||
..pPS(6, _omitFieldNames ? '' : 'tags')
|
||||
..aOM<$1.Struct>(7, _omitFieldNames ? '' : 'metadata', subBuilder: $1.Struct.create)
|
||||
..aOB(8, _omitFieldNames ? '' : 'learned')
|
||||
..aOS(5, _omitFieldNames ? '' : 'alphaTag')
|
||||
..a<$core.int>(6, _omitFieldNames ? '' : 'frequency', $pb.PbFieldType.O3)
|
||||
..pPS(7, _omitFieldNames ? '' : 'tags')
|
||||
..aOM<$1.Struct>(8, _omitFieldNames ? '' : 'metadata', subBuilder: $1.Struct.create)
|
||||
..aOB(9, _omitFieldNames ? '' : 'learned')
|
||||
..hasRequiredFields = false
|
||||
;
|
||||
|
||||
|
@ -756,36 +761,45 @@ class TalkgroupInfo extends $pb.GeneratedMessage {
|
|||
void clearGroup() => clearField(4);
|
||||
|
||||
@$pb.TagNumber(5)
|
||||
$core.int get frequency => $_getIZ(4);
|
||||
$core.String get alphaTag => $_getSZ(4);
|
||||
@$pb.TagNumber(5)
|
||||
set frequency($core.int v) { $_setSignedInt32(4, v); }
|
||||
set alphaTag($core.String v) { $_setString(4, v); }
|
||||
@$pb.TagNumber(5)
|
||||
$core.bool hasFrequency() => $_has(4);
|
||||
$core.bool hasAlphaTag() => $_has(4);
|
||||
@$pb.TagNumber(5)
|
||||
void clearFrequency() => clearField(5);
|
||||
void clearAlphaTag() => clearField(5);
|
||||
|
||||
@$pb.TagNumber(6)
|
||||
$core.List<$core.String> get tags => $_getList(5);
|
||||
$core.int get frequency => $_getIZ(5);
|
||||
@$pb.TagNumber(6)
|
||||
set frequency($core.int v) { $_setSignedInt32(5, v); }
|
||||
@$pb.TagNumber(6)
|
||||
$core.bool hasFrequency() => $_has(5);
|
||||
@$pb.TagNumber(6)
|
||||
void clearFrequency() => clearField(6);
|
||||
|
||||
@$pb.TagNumber(7)
|
||||
$1.Struct get metadata => $_getN(6);
|
||||
@$pb.TagNumber(7)
|
||||
set metadata($1.Struct v) { setField(7, v); }
|
||||
@$pb.TagNumber(7)
|
||||
$core.bool hasMetadata() => $_has(6);
|
||||
@$pb.TagNumber(7)
|
||||
void clearMetadata() => clearField(7);
|
||||
@$pb.TagNumber(7)
|
||||
$1.Struct ensureMetadata() => $_ensure(6);
|
||||
$core.List<$core.String> get tags => $_getList(6);
|
||||
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool get learned => $_getBF(7);
|
||||
$1.Struct get metadata => $_getN(7);
|
||||
@$pb.TagNumber(8)
|
||||
set learned($core.bool v) { $_setBool(7, v); }
|
||||
set metadata($1.Struct v) { setField(8, v); }
|
||||
@$pb.TagNumber(8)
|
||||
$core.bool hasLearned() => $_has(7);
|
||||
$core.bool hasMetadata() => $_has(7);
|
||||
@$pb.TagNumber(8)
|
||||
void clearLearned() => clearField(8);
|
||||
void clearMetadata() => clearField(8);
|
||||
@$pb.TagNumber(8)
|
||||
$1.Struct ensureMetadata() => $_ensure(7);
|
||||
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool get learned => $_getBF(8);
|
||||
@$pb.TagNumber(9)
|
||||
set learned($core.bool v) { $_setBool(8, v); }
|
||||
@$pb.TagNumber(9)
|
||||
$core.bool hasLearned() => $_has(8);
|
||||
@$pb.TagNumber(9)
|
||||
void clearLearned() => clearField(9);
|
||||
}
|
||||
|
||||
class Live extends $pb.GeneratedMessage {
|
||||
|
|
|
@ -153,14 +153,16 @@ const TalkgroupInfo$json = {
|
|||
{'1': 'system_name', '3': 2, '4': 1, '5': 9, '10': 'systemName'},
|
||||
{'1': 'name', '3': 3, '4': 1, '5': 9, '9': 0, '10': 'name', '17': true},
|
||||
{'1': 'group', '3': 4, '4': 1, '5': 9, '9': 1, '10': 'group', '17': true},
|
||||
{'1': 'frequency', '3': 5, '4': 1, '5': 5, '9': 2, '10': 'frequency', '17': true},
|
||||
{'1': 'tags', '3': 6, '4': 3, '5': 9, '10': 'tags'},
|
||||
{'1': 'metadata', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '9': 3, '10': 'metadata', '17': true},
|
||||
{'1': 'learned', '3': 8, '4': 1, '5': 8, '10': 'learned'},
|
||||
{'1': 'alpha_tag', '3': 5, '4': 1, '5': 9, '9': 2, '10': 'alphaTag', '17': true},
|
||||
{'1': 'frequency', '3': 6, '4': 1, '5': 5, '9': 3, '10': 'frequency', '17': true},
|
||||
{'1': 'tags', '3': 7, '4': 3, '5': 9, '10': 'tags'},
|
||||
{'1': 'metadata', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Struct', '9': 4, '10': 'metadata', '17': true},
|
||||
{'1': 'learned', '3': 9, '4': 1, '5': 8, '10': 'learned'},
|
||||
],
|
||||
'8': [
|
||||
{'1': '_name'},
|
||||
{'1': '_group'},
|
||||
{'1': '_alpha_tag'},
|
||||
{'1': '_frequency'},
|
||||
{'1': '_metadata'},
|
||||
],
|
||||
|
@ -170,10 +172,11 @@ const TalkgroupInfo$json = {
|
|||
final $typed_data.Uint8List talkgroupInfoDescriptor = $convert.base64Decode(
|
||||
'Cg1UYWxrZ3JvdXBJbmZvEiMKAnRnGAEgASgLMhMuc3RpbGxib3guVGFsa2dyb3VwUgJ0ZxIfCg'
|
||||
'tzeXN0ZW1fbmFtZRgCIAEoCVIKc3lzdGVtTmFtZRIXCgRuYW1lGAMgASgJSABSBG5hbWWIAQES'
|
||||
'GQoFZ3JvdXAYBCABKAlIAVIFZ3JvdXCIAQESIQoJZnJlcXVlbmN5GAUgASgFSAJSCWZyZXF1ZW'
|
||||
'5jeYgBARISCgR0YWdzGAYgAygJUgR0YWdzEjgKCG1ldGFkYXRhGAcgASgLMhcuZ29vZ2xlLnBy'
|
||||
'b3RvYnVmLlN0cnVjdEgDUghtZXRhZGF0YYgBARIYCgdsZWFybmVkGAggASgIUgdsZWFybmVkQg'
|
||||
'cKBV9uYW1lQggKBl9ncm91cEIMCgpfZnJlcXVlbmN5QgsKCV9tZXRhZGF0YQ==');
|
||||
'GQoFZ3JvdXAYBCABKAlIAVIFZ3JvdXCIAQESIAoJYWxwaGFfdGFnGAUgASgJSAJSCGFscGhhVG'
|
||||
'FniAEBEiEKCWZyZXF1ZW5jeRgGIAEoBUgDUglmcmVxdWVuY3mIAQESEgoEdGFncxgHIAMoCVIE'
|
||||
'dGFncxI4CghtZXRhZGF0YRgIIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIBFIIbWV0YW'
|
||||
'RhdGGIAQESGAoHbGVhcm5lZBgJIAEoCFIHbGVhcm5lZEIHCgVfbmFtZUIICgZfZ3JvdXBCDAoK'
|
||||
'X2FscGhhX3RhZ0IMCgpfZnJlcXVlbmN5QgsKCV9tZXRhZGF0YQ==');
|
||||
|
||||
@$core.Deprecated('Use liveDescriptor instead')
|
||||
const Live$json = {
|
||||
|
|
|
@ -58,10 +58,11 @@ message TalkgroupInfo {
|
|||
string system_name = 2;
|
||||
optional string name = 3;
|
||||
optional string group = 4;
|
||||
optional int32 frequency = 5;
|
||||
repeated string tags = 6;
|
||||
optional google.protobuf.Struct metadata = 7;
|
||||
bool learned = 8;
|
||||
optional string alpha_tag = 5;
|
||||
optional int32 frequency = 6;
|
||||
repeated string tags = 7;
|
||||
optional google.protobuf.Struct metadata = 8;
|
||||
bool learned = 9;
|
||||
}
|
||||
|
||||
enum LiveState {
|
||||
|
|
Loading…
Reference in a new issue