github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/dart/lib/types.pb.dart (about) 1 /// 2 // Generated code. Do not modify. 3 // source: types.proto 4 // 5 // @dart = 2.12 6 // 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 7 8 import 'dart:core' as $core; 9 10 import 'package:fixnum/fixnum.dart' as $fixnum; 11 import 'package:protobuf/protobuf.dart' as $pb; 12 13 import 'types.pbenum.dart'; 14 15 export 'types.pbenum.dart'; 16 17 class Empty extends $pb.GeneratedMessage { 18 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Empty', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 19 ..hasRequiredFields = false 20 ; 21 22 Empty._() : super(); 23 factory Empty() => create(); 24 factory Empty.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 25 factory Empty.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 26 @$core.Deprecated( 27 'Using this can add significant overhead to your binary. ' 28 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 29 'Will be removed in next major version') 30 Empty clone() => Empty()..mergeFromMessage(this); 31 @$core.Deprecated( 32 'Using this can add significant overhead to your binary. ' 33 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 34 'Will be removed in next major version') 35 Empty copyWith(void Function(Empty) updates) => super.copyWith((message) => updates(message as Empty)) as Empty; // ignore: deprecated_member_use 36 $pb.BuilderInfo get info_ => _i; 37 @$core.pragma('dart2js:noInline') 38 static Empty create() => Empty._(); 39 Empty createEmptyInstance() => create(); 40 static $pb.PbList<Empty> createRepeated() => $pb.PbList<Empty>(); 41 @$core.pragma('dart2js:noInline') 42 static Empty getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Empty>(create); 43 static Empty? _defaultInstance; 44 } 45 46 class CommandStationInfo extends $pb.GeneratedMessage { 47 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'CommandStationInfo', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 48 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 49 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') 50 ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version') 51 ..aInt64(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'uptime') 52 ..hasRequiredFields = false 53 ; 54 55 CommandStationInfo._() : super(); 56 factory CommandStationInfo({ 57 $core.String? id, 58 $core.String? description, 59 $core.String? version, 60 $fixnum.Int64? uptime, 61 }) { 62 final _result = create(); 63 if (id != null) { 64 _result.id = id; 65 } 66 if (description != null) { 67 _result.description = description; 68 } 69 if (version != null) { 70 _result.version = version; 71 } 72 if (uptime != null) { 73 _result.uptime = uptime; 74 } 75 return _result; 76 } 77 factory CommandStationInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 78 factory CommandStationInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 79 @$core.Deprecated( 80 'Using this can add significant overhead to your binary. ' 81 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 82 'Will be removed in next major version') 83 CommandStationInfo clone() => CommandStationInfo()..mergeFromMessage(this); 84 @$core.Deprecated( 85 'Using this can add significant overhead to your binary. ' 86 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 87 'Will be removed in next major version') 88 CommandStationInfo copyWith(void Function(CommandStationInfo) updates) => super.copyWith((message) => updates(message as CommandStationInfo)) as CommandStationInfo; // ignore: deprecated_member_use 89 $pb.BuilderInfo get info_ => _i; 90 @$core.pragma('dart2js:noInline') 91 static CommandStationInfo create() => CommandStationInfo._(); 92 CommandStationInfo createEmptyInstance() => create(); 93 static $pb.PbList<CommandStationInfo> createRepeated() => $pb.PbList<CommandStationInfo>(); 94 @$core.pragma('dart2js:noInline') 95 static CommandStationInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CommandStationInfo>(create); 96 static CommandStationInfo? _defaultInstance; 97 98 @$pb.TagNumber(1) 99 $core.String get id => $_getSZ(0); 100 @$pb.TagNumber(1) 101 set id($core.String v) { $_setString(0, v); } 102 @$pb.TagNumber(1) 103 $core.bool hasId() => $_has(0); 104 @$pb.TagNumber(1) 105 void clearId() => clearField(1); 106 107 @$pb.TagNumber(2) 108 $core.String get description => $_getSZ(1); 109 @$pb.TagNumber(2) 110 set description($core.String v) { $_setString(1, v); } 111 @$pb.TagNumber(2) 112 $core.bool hasDescription() => $_has(1); 113 @$pb.TagNumber(2) 114 void clearDescription() => clearField(2); 115 116 @$pb.TagNumber(3) 117 $core.String get version => $_getSZ(2); 118 @$pb.TagNumber(3) 119 set version($core.String v) { $_setString(2, v); } 120 @$pb.TagNumber(3) 121 $core.bool hasVersion() => $_has(2); 122 @$pb.TagNumber(3) 123 void clearVersion() => clearField(3); 124 125 @$pb.TagNumber(4) 126 $fixnum.Int64 get uptime => $_getI64(3); 127 @$pb.TagNumber(4) 128 set uptime($fixnum.Int64 v) { $_setInt64(3, v); } 129 @$pb.TagNumber(4) 130 $core.bool hasUptime() => $_has(3); 131 @$pb.TagNumber(4) 132 void clearUptime() => clearField(4); 133 } 134 135 class LocalWorkerInfo extends $pb.GeneratedMessage { 136 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LocalWorkerInfo', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 137 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 138 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'description') 139 ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'version') 140 ..aInt64(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'uptime') 141 ..aOS(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'configHash') 142 ..pPS(6, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'configuredDeviceIds') 143 ..pPS(7, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'configuredObjectIds') 144 ..pPS(8, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unconfiguredDeviceIds') 145 ..pPS(9, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unconfiguredObjectIds') 146 ..a<$core.int>(10, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'metricsPort', $pb.PbFieldType.O3) 147 ..aOB(11, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'metricsSecure') 148 ..a<$core.int>(12, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'localWorkerServicePort', $pb.PbFieldType.O3) 149 ..aOB(13, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'localWorkerServiceSecure') 150 ..aOB(101, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsReset') 151 ..aOB(102, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsSetLocRequest') 152 ..aOB(103, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsSetPowerRequest') 153 ..aOB(104, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsSetOutputRequest') 154 ..aOB(105, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsSetSwitchRequest') 155 ..aOB(106, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'supportsSetDeviceDiscoveryRequest') 156 ..hasRequiredFields = false 157 ; 158 159 LocalWorkerInfo._() : super(); 160 factory LocalWorkerInfo({ 161 $core.String? id, 162 $core.String? description, 163 $core.String? version, 164 $fixnum.Int64? uptime, 165 $core.String? configHash, 166 $core.Iterable<$core.String>? configuredDeviceIds, 167 $core.Iterable<$core.String>? configuredObjectIds, 168 $core.Iterable<$core.String>? unconfiguredDeviceIds, 169 $core.Iterable<$core.String>? unconfiguredObjectIds, 170 $core.int? metricsPort, 171 $core.bool? metricsSecure, 172 $core.int? localWorkerServicePort, 173 $core.bool? localWorkerServiceSecure, 174 $core.bool? supportsReset, 175 $core.bool? supportsSetLocRequest, 176 $core.bool? supportsSetPowerRequest, 177 $core.bool? supportsSetOutputRequest, 178 $core.bool? supportsSetSwitchRequest, 179 $core.bool? supportsSetDeviceDiscoveryRequest, 180 }) { 181 final _result = create(); 182 if (id != null) { 183 _result.id = id; 184 } 185 if (description != null) { 186 _result.description = description; 187 } 188 if (version != null) { 189 _result.version = version; 190 } 191 if (uptime != null) { 192 _result.uptime = uptime; 193 } 194 if (configHash != null) { 195 _result.configHash = configHash; 196 } 197 if (configuredDeviceIds != null) { 198 _result.configuredDeviceIds.addAll(configuredDeviceIds); 199 } 200 if (configuredObjectIds != null) { 201 _result.configuredObjectIds.addAll(configuredObjectIds); 202 } 203 if (unconfiguredDeviceIds != null) { 204 _result.unconfiguredDeviceIds.addAll(unconfiguredDeviceIds); 205 } 206 if (unconfiguredObjectIds != null) { 207 _result.unconfiguredObjectIds.addAll(unconfiguredObjectIds); 208 } 209 if (metricsPort != null) { 210 _result.metricsPort = metricsPort; 211 } 212 if (metricsSecure != null) { 213 _result.metricsSecure = metricsSecure; 214 } 215 if (localWorkerServicePort != null) { 216 _result.localWorkerServicePort = localWorkerServicePort; 217 } 218 if (localWorkerServiceSecure != null) { 219 _result.localWorkerServiceSecure = localWorkerServiceSecure; 220 } 221 if (supportsReset != null) { 222 _result.supportsReset = supportsReset; 223 } 224 if (supportsSetLocRequest != null) { 225 _result.supportsSetLocRequest = supportsSetLocRequest; 226 } 227 if (supportsSetPowerRequest != null) { 228 _result.supportsSetPowerRequest = supportsSetPowerRequest; 229 } 230 if (supportsSetOutputRequest != null) { 231 _result.supportsSetOutputRequest = supportsSetOutputRequest; 232 } 233 if (supportsSetSwitchRequest != null) { 234 _result.supportsSetSwitchRequest = supportsSetSwitchRequest; 235 } 236 if (supportsSetDeviceDiscoveryRequest != null) { 237 _result.supportsSetDeviceDiscoveryRequest = supportsSetDeviceDiscoveryRequest; 238 } 239 return _result; 240 } 241 factory LocalWorkerInfo.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 242 factory LocalWorkerInfo.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 243 @$core.Deprecated( 244 'Using this can add significant overhead to your binary. ' 245 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 246 'Will be removed in next major version') 247 LocalWorkerInfo clone() => LocalWorkerInfo()..mergeFromMessage(this); 248 @$core.Deprecated( 249 'Using this can add significant overhead to your binary. ' 250 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 251 'Will be removed in next major version') 252 LocalWorkerInfo copyWith(void Function(LocalWorkerInfo) updates) => super.copyWith((message) => updates(message as LocalWorkerInfo)) as LocalWorkerInfo; // ignore: deprecated_member_use 253 $pb.BuilderInfo get info_ => _i; 254 @$core.pragma('dart2js:noInline') 255 static LocalWorkerInfo create() => LocalWorkerInfo._(); 256 LocalWorkerInfo createEmptyInstance() => create(); 257 static $pb.PbList<LocalWorkerInfo> createRepeated() => $pb.PbList<LocalWorkerInfo>(); 258 @$core.pragma('dart2js:noInline') 259 static LocalWorkerInfo getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocalWorkerInfo>(create); 260 static LocalWorkerInfo? _defaultInstance; 261 262 @$pb.TagNumber(1) 263 $core.String get id => $_getSZ(0); 264 @$pb.TagNumber(1) 265 set id($core.String v) { $_setString(0, v); } 266 @$pb.TagNumber(1) 267 $core.bool hasId() => $_has(0); 268 @$pb.TagNumber(1) 269 void clearId() => clearField(1); 270 271 @$pb.TagNumber(2) 272 $core.String get description => $_getSZ(1); 273 @$pb.TagNumber(2) 274 set description($core.String v) { $_setString(1, v); } 275 @$pb.TagNumber(2) 276 $core.bool hasDescription() => $_has(1); 277 @$pb.TagNumber(2) 278 void clearDescription() => clearField(2); 279 280 @$pb.TagNumber(3) 281 $core.String get version => $_getSZ(2); 282 @$pb.TagNumber(3) 283 set version($core.String v) { $_setString(2, v); } 284 @$pb.TagNumber(3) 285 $core.bool hasVersion() => $_has(2); 286 @$pb.TagNumber(3) 287 void clearVersion() => clearField(3); 288 289 @$pb.TagNumber(4) 290 $fixnum.Int64 get uptime => $_getI64(3); 291 @$pb.TagNumber(4) 292 set uptime($fixnum.Int64 v) { $_setInt64(3, v); } 293 @$pb.TagNumber(4) 294 $core.bool hasUptime() => $_has(3); 295 @$pb.TagNumber(4) 296 void clearUptime() => clearField(4); 297 298 @$pb.TagNumber(5) 299 $core.String get configHash => $_getSZ(4); 300 @$pb.TagNumber(5) 301 set configHash($core.String v) { $_setString(4, v); } 302 @$pb.TagNumber(5) 303 $core.bool hasConfigHash() => $_has(4); 304 @$pb.TagNumber(5) 305 void clearConfigHash() => clearField(5); 306 307 @$pb.TagNumber(6) 308 $core.List<$core.String> get configuredDeviceIds => $_getList(5); 309 310 @$pb.TagNumber(7) 311 $core.List<$core.String> get configuredObjectIds => $_getList(6); 312 313 @$pb.TagNumber(8) 314 $core.List<$core.String> get unconfiguredDeviceIds => $_getList(7); 315 316 @$pb.TagNumber(9) 317 $core.List<$core.String> get unconfiguredObjectIds => $_getList(8); 318 319 @$pb.TagNumber(10) 320 $core.int get metricsPort => $_getIZ(9); 321 @$pb.TagNumber(10) 322 set metricsPort($core.int v) { $_setSignedInt32(9, v); } 323 @$pb.TagNumber(10) 324 $core.bool hasMetricsPort() => $_has(9); 325 @$pb.TagNumber(10) 326 void clearMetricsPort() => clearField(10); 327 328 @$pb.TagNumber(11) 329 $core.bool get metricsSecure => $_getBF(10); 330 @$pb.TagNumber(11) 331 set metricsSecure($core.bool v) { $_setBool(10, v); } 332 @$pb.TagNumber(11) 333 $core.bool hasMetricsSecure() => $_has(10); 334 @$pb.TagNumber(11) 335 void clearMetricsSecure() => clearField(11); 336 337 @$pb.TagNumber(12) 338 $core.int get localWorkerServicePort => $_getIZ(11); 339 @$pb.TagNumber(12) 340 set localWorkerServicePort($core.int v) { $_setSignedInt32(11, v); } 341 @$pb.TagNumber(12) 342 $core.bool hasLocalWorkerServicePort() => $_has(11); 343 @$pb.TagNumber(12) 344 void clearLocalWorkerServicePort() => clearField(12); 345 346 @$pb.TagNumber(13) 347 $core.bool get localWorkerServiceSecure => $_getBF(12); 348 @$pb.TagNumber(13) 349 set localWorkerServiceSecure($core.bool v) { $_setBool(12, v); } 350 @$pb.TagNumber(13) 351 $core.bool hasLocalWorkerServiceSecure() => $_has(12); 352 @$pb.TagNumber(13) 353 void clearLocalWorkerServiceSecure() => clearField(13); 354 355 @$pb.TagNumber(101) 356 $core.bool get supportsReset => $_getBF(13); 357 @$pb.TagNumber(101) 358 set supportsReset($core.bool v) { $_setBool(13, v); } 359 @$pb.TagNumber(101) 360 $core.bool hasSupportsReset() => $_has(13); 361 @$pb.TagNumber(101) 362 void clearSupportsReset() => clearField(101); 363 364 @$pb.TagNumber(102) 365 $core.bool get supportsSetLocRequest => $_getBF(14); 366 @$pb.TagNumber(102) 367 set supportsSetLocRequest($core.bool v) { $_setBool(14, v); } 368 @$pb.TagNumber(102) 369 $core.bool hasSupportsSetLocRequest() => $_has(14); 370 @$pb.TagNumber(102) 371 void clearSupportsSetLocRequest() => clearField(102); 372 373 @$pb.TagNumber(103) 374 $core.bool get supportsSetPowerRequest => $_getBF(15); 375 @$pb.TagNumber(103) 376 set supportsSetPowerRequest($core.bool v) { $_setBool(15, v); } 377 @$pb.TagNumber(103) 378 $core.bool hasSupportsSetPowerRequest() => $_has(15); 379 @$pb.TagNumber(103) 380 void clearSupportsSetPowerRequest() => clearField(103); 381 382 @$pb.TagNumber(104) 383 $core.bool get supportsSetOutputRequest => $_getBF(16); 384 @$pb.TagNumber(104) 385 set supportsSetOutputRequest($core.bool v) { $_setBool(16, v); } 386 @$pb.TagNumber(104) 387 $core.bool hasSupportsSetOutputRequest() => $_has(16); 388 @$pb.TagNumber(104) 389 void clearSupportsSetOutputRequest() => clearField(104); 390 391 @$pb.TagNumber(105) 392 $core.bool get supportsSetSwitchRequest => $_getBF(17); 393 @$pb.TagNumber(105) 394 set supportsSetSwitchRequest($core.bool v) { $_setBool(17, v); } 395 @$pb.TagNumber(105) 396 $core.bool hasSupportsSetSwitchRequest() => $_has(17); 397 @$pb.TagNumber(105) 398 void clearSupportsSetSwitchRequest() => clearField(105); 399 400 @$pb.TagNumber(106) 401 $core.bool get supportsSetDeviceDiscoveryRequest => $_getBF(18); 402 @$pb.TagNumber(106) 403 set supportsSetDeviceDiscoveryRequest($core.bool v) { $_setBool(18, v); } 404 @$pb.TagNumber(106) 405 $core.bool hasSupportsSetDeviceDiscoveryRequest() => $_has(18); 406 @$pb.TagNumber(106) 407 void clearSupportsSetDeviceDiscoveryRequest() => clearField(106); 408 } 409 410 class PowerRequestsOptions extends $pb.GeneratedMessage { 411 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PowerRequestsOptions', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 412 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'manualConfirm') 413 ..hasRequiredFields = false 414 ; 415 416 PowerRequestsOptions._() : super(); 417 factory PowerRequestsOptions({ 418 $core.bool? manualConfirm, 419 }) { 420 final _result = create(); 421 if (manualConfirm != null) { 422 _result.manualConfirm = manualConfirm; 423 } 424 return _result; 425 } 426 factory PowerRequestsOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 427 factory PowerRequestsOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 428 @$core.Deprecated( 429 'Using this can add significant overhead to your binary. ' 430 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 431 'Will be removed in next major version') 432 PowerRequestsOptions clone() => PowerRequestsOptions()..mergeFromMessage(this); 433 @$core.Deprecated( 434 'Using this can add significant overhead to your binary. ' 435 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 436 'Will be removed in next major version') 437 PowerRequestsOptions copyWith(void Function(PowerRequestsOptions) updates) => super.copyWith((message) => updates(message as PowerRequestsOptions)) as PowerRequestsOptions; // ignore: deprecated_member_use 438 $pb.BuilderInfo get info_ => _i; 439 @$core.pragma('dart2js:noInline') 440 static PowerRequestsOptions create() => PowerRequestsOptions._(); 441 PowerRequestsOptions createEmptyInstance() => create(); 442 static $pb.PbList<PowerRequestsOptions> createRepeated() => $pb.PbList<PowerRequestsOptions>(); 443 @$core.pragma('dart2js:noInline') 444 static PowerRequestsOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PowerRequestsOptions>(create); 445 static PowerRequestsOptions? _defaultInstance; 446 447 @$pb.TagNumber(1) 448 $core.bool get manualConfirm => $_getBF(0); 449 @$pb.TagNumber(1) 450 set manualConfirm($core.bool v) { $_setBool(0, v); } 451 @$pb.TagNumber(1) 452 $core.bool hasManualConfirm() => $_has(0); 453 @$pb.TagNumber(1) 454 void clearManualConfirm() => clearField(1); 455 } 456 457 class Power extends $pb.GeneratedMessage { 458 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Power', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 459 ..aOM<PowerState>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: PowerState.create) 460 ..aOM<PowerState>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: PowerState.create) 461 ..hasRequiredFields = false 462 ; 463 464 Power._() : super(); 465 factory Power({ 466 PowerState? request, 467 PowerState? actual, 468 }) { 469 final _result = create(); 470 if (request != null) { 471 _result.request = request; 472 } 473 if (actual != null) { 474 _result.actual = actual; 475 } 476 return _result; 477 } 478 factory Power.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 479 factory Power.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 480 @$core.Deprecated( 481 'Using this can add significant overhead to your binary. ' 482 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 483 'Will be removed in next major version') 484 Power clone() => Power()..mergeFromMessage(this); 485 @$core.Deprecated( 486 'Using this can add significant overhead to your binary. ' 487 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 488 'Will be removed in next major version') 489 Power copyWith(void Function(Power) updates) => super.copyWith((message) => updates(message as Power)) as Power; // ignore: deprecated_member_use 490 $pb.BuilderInfo get info_ => _i; 491 @$core.pragma('dart2js:noInline') 492 static Power create() => Power._(); 493 Power createEmptyInstance() => create(); 494 static $pb.PbList<Power> createRepeated() => $pb.PbList<Power>(); 495 @$core.pragma('dart2js:noInline') 496 static Power getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Power>(create); 497 static Power? _defaultInstance; 498 499 @$pb.TagNumber(1) 500 PowerState get request => $_getN(0); 501 @$pb.TagNumber(1) 502 set request(PowerState v) { setField(1, v); } 503 @$pb.TagNumber(1) 504 $core.bool hasRequest() => $_has(0); 505 @$pb.TagNumber(1) 506 void clearRequest() => clearField(1); 507 @$pb.TagNumber(1) 508 PowerState ensureRequest() => $_ensure(0); 509 510 @$pb.TagNumber(2) 511 PowerState get actual => $_getN(1); 512 @$pb.TagNumber(2) 513 set actual(PowerState v) { setField(2, v); } 514 @$pb.TagNumber(2) 515 $core.bool hasActual() => $_has(1); 516 @$pb.TagNumber(2) 517 void clearActual() => clearField(2); 518 @$pb.TagNumber(2) 519 PowerState ensureActual() => $_ensure(1); 520 } 521 522 class PowerState extends $pb.GeneratedMessage { 523 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'PowerState', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 524 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'enabled') 525 ..hasRequiredFields = false 526 ; 527 528 PowerState._() : super(); 529 factory PowerState({ 530 $core.bool? enabled, 531 }) { 532 final _result = create(); 533 if (enabled != null) { 534 _result.enabled = enabled; 535 } 536 return _result; 537 } 538 factory PowerState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 539 factory PowerState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 540 @$core.Deprecated( 541 'Using this can add significant overhead to your binary. ' 542 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 543 'Will be removed in next major version') 544 PowerState clone() => PowerState()..mergeFromMessage(this); 545 @$core.Deprecated( 546 'Using this can add significant overhead to your binary. ' 547 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 548 'Will be removed in next major version') 549 PowerState copyWith(void Function(PowerState) updates) => super.copyWith((message) => updates(message as PowerState)) as PowerState; // ignore: deprecated_member_use 550 $pb.BuilderInfo get info_ => _i; 551 @$core.pragma('dart2js:noInline') 552 static PowerState create() => PowerState._(); 553 PowerState createEmptyInstance() => create(); 554 static $pb.PbList<PowerState> createRepeated() => $pb.PbList<PowerState>(); 555 @$core.pragma('dart2js:noInline') 556 static PowerState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<PowerState>(create); 557 static PowerState? _defaultInstance; 558 559 @$pb.TagNumber(1) 560 $core.bool get enabled => $_getBF(0); 561 @$pb.TagNumber(1) 562 set enabled($core.bool v) { $_setBool(0, v); } 563 @$pb.TagNumber(1) 564 $core.bool hasEnabled() => $_has(0); 565 @$pb.TagNumber(1) 566 void clearEnabled() => clearField(1); 567 } 568 569 class LocRequestsOptions extends $pb.GeneratedMessage { 570 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LocRequestsOptions', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 571 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'manualConfirm') 572 ..hasRequiredFields = false 573 ; 574 575 LocRequestsOptions._() : super(); 576 factory LocRequestsOptions({ 577 $core.bool? manualConfirm, 578 }) { 579 final _result = create(); 580 if (manualConfirm != null) { 581 _result.manualConfirm = manualConfirm; 582 } 583 return _result; 584 } 585 factory LocRequestsOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 586 factory LocRequestsOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 587 @$core.Deprecated( 588 'Using this can add significant overhead to your binary. ' 589 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 590 'Will be removed in next major version') 591 LocRequestsOptions clone() => LocRequestsOptions()..mergeFromMessage(this); 592 @$core.Deprecated( 593 'Using this can add significant overhead to your binary. ' 594 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 595 'Will be removed in next major version') 596 LocRequestsOptions copyWith(void Function(LocRequestsOptions) updates) => super.copyWith((message) => updates(message as LocRequestsOptions)) as LocRequestsOptions; // ignore: deprecated_member_use 597 $pb.BuilderInfo get info_ => _i; 598 @$core.pragma('dart2js:noInline') 599 static LocRequestsOptions create() => LocRequestsOptions._(); 600 LocRequestsOptions createEmptyInstance() => create(); 601 static $pb.PbList<LocRequestsOptions> createRepeated() => $pb.PbList<LocRequestsOptions>(); 602 @$core.pragma('dart2js:noInline') 603 static LocRequestsOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocRequestsOptions>(create); 604 static LocRequestsOptions? _defaultInstance; 605 606 @$pb.TagNumber(1) 607 $core.bool get manualConfirm => $_getBF(0); 608 @$pb.TagNumber(1) 609 set manualConfirm($core.bool v) { $_setBool(0, v); } 610 @$pb.TagNumber(1) 611 $core.bool hasManualConfirm() => $_has(0); 612 @$pb.TagNumber(1) 613 void clearManualConfirm() => clearField(1); 614 } 615 616 class Loc extends $pb.GeneratedMessage { 617 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Loc', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 618 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') 619 ..aOM<LocState>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: LocState.create) 620 ..aOM<LocState>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: LocState.create) 621 ..hasRequiredFields = false 622 ; 623 624 Loc._() : super(); 625 factory Loc({ 626 $core.String? address, 627 LocState? request, 628 LocState? actual, 629 }) { 630 final _result = create(); 631 if (address != null) { 632 _result.address = address; 633 } 634 if (request != null) { 635 _result.request = request; 636 } 637 if (actual != null) { 638 _result.actual = actual; 639 } 640 return _result; 641 } 642 factory Loc.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 643 factory Loc.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 644 @$core.Deprecated( 645 'Using this can add significant overhead to your binary. ' 646 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 647 'Will be removed in next major version') 648 Loc clone() => Loc()..mergeFromMessage(this); 649 @$core.Deprecated( 650 'Using this can add significant overhead to your binary. ' 651 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 652 'Will be removed in next major version') 653 Loc copyWith(void Function(Loc) updates) => super.copyWith((message) => updates(message as Loc)) as Loc; // ignore: deprecated_member_use 654 $pb.BuilderInfo get info_ => _i; 655 @$core.pragma('dart2js:noInline') 656 static Loc create() => Loc._(); 657 Loc createEmptyInstance() => create(); 658 static $pb.PbList<Loc> createRepeated() => $pb.PbList<Loc>(); 659 @$core.pragma('dart2js:noInline') 660 static Loc getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Loc>(create); 661 static Loc? _defaultInstance; 662 663 @$pb.TagNumber(1) 664 $core.String get address => $_getSZ(0); 665 @$pb.TagNumber(1) 666 set address($core.String v) { $_setString(0, v); } 667 @$pb.TagNumber(1) 668 $core.bool hasAddress() => $_has(0); 669 @$pb.TagNumber(1) 670 void clearAddress() => clearField(1); 671 672 @$pb.TagNumber(2) 673 LocState get request => $_getN(1); 674 @$pb.TagNumber(2) 675 set request(LocState v) { setField(2, v); } 676 @$pb.TagNumber(2) 677 $core.bool hasRequest() => $_has(1); 678 @$pb.TagNumber(2) 679 void clearRequest() => clearField(2); 680 @$pb.TagNumber(2) 681 LocState ensureRequest() => $_ensure(1); 682 683 @$pb.TagNumber(3) 684 LocState get actual => $_getN(2); 685 @$pb.TagNumber(3) 686 set actual(LocState v) { setField(3, v); } 687 @$pb.TagNumber(3) 688 $core.bool hasActual() => $_has(2); 689 @$pb.TagNumber(3) 690 void clearActual() => clearField(3); 691 @$pb.TagNumber(3) 692 LocState ensureActual() => $_ensure(2); 693 } 694 695 class LocState extends $pb.GeneratedMessage { 696 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LocState', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 697 ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'speed', $pb.PbFieldType.O3) 698 ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'speedSteps', $pb.PbFieldType.O3) 699 ..e<LocDirection>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'direction', $pb.PbFieldType.OE, defaultOrMaker: LocDirection.FORWARD, valueOf: LocDirection.valueOf, enumValues: LocDirection.values) 700 ..m<$core.int, $core.bool>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'functions', entryClassName: 'LocState.FunctionsEntry', keyFieldType: $pb.PbFieldType.O3, valueFieldType: $pb.PbFieldType.OB, packageName: const $pb.PackageName('binkynet.v1')) 701 ..hasRequiredFields = false 702 ; 703 704 LocState._() : super(); 705 factory LocState({ 706 $core.int? speed, 707 $core.int? speedSteps, 708 LocDirection? direction, 709 $core.Map<$core.int, $core.bool>? functions, 710 }) { 711 final _result = create(); 712 if (speed != null) { 713 _result.speed = speed; 714 } 715 if (speedSteps != null) { 716 _result.speedSteps = speedSteps; 717 } 718 if (direction != null) { 719 _result.direction = direction; 720 } 721 if (functions != null) { 722 _result.functions.addAll(functions); 723 } 724 return _result; 725 } 726 factory LocState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 727 factory LocState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 728 @$core.Deprecated( 729 'Using this can add significant overhead to your binary. ' 730 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 731 'Will be removed in next major version') 732 LocState clone() => LocState()..mergeFromMessage(this); 733 @$core.Deprecated( 734 'Using this can add significant overhead to your binary. ' 735 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 736 'Will be removed in next major version') 737 LocState copyWith(void Function(LocState) updates) => super.copyWith((message) => updates(message as LocState)) as LocState; // ignore: deprecated_member_use 738 $pb.BuilderInfo get info_ => _i; 739 @$core.pragma('dart2js:noInline') 740 static LocState create() => LocState._(); 741 LocState createEmptyInstance() => create(); 742 static $pb.PbList<LocState> createRepeated() => $pb.PbList<LocState>(); 743 @$core.pragma('dart2js:noInline') 744 static LocState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocState>(create); 745 static LocState? _defaultInstance; 746 747 @$pb.TagNumber(1) 748 $core.int get speed => $_getIZ(0); 749 @$pb.TagNumber(1) 750 set speed($core.int v) { $_setSignedInt32(0, v); } 751 @$pb.TagNumber(1) 752 $core.bool hasSpeed() => $_has(0); 753 @$pb.TagNumber(1) 754 void clearSpeed() => clearField(1); 755 756 @$pb.TagNumber(2) 757 $core.int get speedSteps => $_getIZ(1); 758 @$pb.TagNumber(2) 759 set speedSteps($core.int v) { $_setSignedInt32(1, v); } 760 @$pb.TagNumber(2) 761 $core.bool hasSpeedSteps() => $_has(1); 762 @$pb.TagNumber(2) 763 void clearSpeedSteps() => clearField(2); 764 765 @$pb.TagNumber(3) 766 LocDirection get direction => $_getN(2); 767 @$pb.TagNumber(3) 768 set direction(LocDirection v) { setField(3, v); } 769 @$pb.TagNumber(3) 770 $core.bool hasDirection() => $_has(2); 771 @$pb.TagNumber(3) 772 void clearDirection() => clearField(3); 773 774 @$pb.TagNumber(4) 775 $core.Map<$core.int, $core.bool> get functions => $_getMap(3); 776 } 777 778 class Sensor extends $pb.GeneratedMessage { 779 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Sensor', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 780 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') 781 ..aOM<SensorState>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: SensorState.create) 782 ..hasRequiredFields = false 783 ; 784 785 Sensor._() : super(); 786 factory Sensor({ 787 $core.String? address, 788 SensorState? actual, 789 }) { 790 final _result = create(); 791 if (address != null) { 792 _result.address = address; 793 } 794 if (actual != null) { 795 _result.actual = actual; 796 } 797 return _result; 798 } 799 factory Sensor.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 800 factory Sensor.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 801 @$core.Deprecated( 802 'Using this can add significant overhead to your binary. ' 803 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 804 'Will be removed in next major version') 805 Sensor clone() => Sensor()..mergeFromMessage(this); 806 @$core.Deprecated( 807 'Using this can add significant overhead to your binary. ' 808 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 809 'Will be removed in next major version') 810 Sensor copyWith(void Function(Sensor) updates) => super.copyWith((message) => updates(message as Sensor)) as Sensor; // ignore: deprecated_member_use 811 $pb.BuilderInfo get info_ => _i; 812 @$core.pragma('dart2js:noInline') 813 static Sensor create() => Sensor._(); 814 Sensor createEmptyInstance() => create(); 815 static $pb.PbList<Sensor> createRepeated() => $pb.PbList<Sensor>(); 816 @$core.pragma('dart2js:noInline') 817 static Sensor getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Sensor>(create); 818 static Sensor? _defaultInstance; 819 820 @$pb.TagNumber(1) 821 $core.String get address => $_getSZ(0); 822 @$pb.TagNumber(1) 823 set address($core.String v) { $_setString(0, v); } 824 @$pb.TagNumber(1) 825 $core.bool hasAddress() => $_has(0); 826 @$pb.TagNumber(1) 827 void clearAddress() => clearField(1); 828 829 @$pb.TagNumber(2) 830 SensorState get actual => $_getN(1); 831 @$pb.TagNumber(2) 832 set actual(SensorState v) { setField(2, v); } 833 @$pb.TagNumber(2) 834 $core.bool hasActual() => $_has(1); 835 @$pb.TagNumber(2) 836 void clearActual() => clearField(2); 837 @$pb.TagNumber(2) 838 SensorState ensureActual() => $_ensure(1); 839 } 840 841 class SensorState extends $pb.GeneratedMessage { 842 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SensorState', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 843 ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.O3) 844 ..hasRequiredFields = false 845 ; 846 847 SensorState._() : super(); 848 factory SensorState({ 849 $core.int? value, 850 }) { 851 final _result = create(); 852 if (value != null) { 853 _result.value = value; 854 } 855 return _result; 856 } 857 factory SensorState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 858 factory SensorState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 859 @$core.Deprecated( 860 'Using this can add significant overhead to your binary. ' 861 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 862 'Will be removed in next major version') 863 SensorState clone() => SensorState()..mergeFromMessage(this); 864 @$core.Deprecated( 865 'Using this can add significant overhead to your binary. ' 866 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 867 'Will be removed in next major version') 868 SensorState copyWith(void Function(SensorState) updates) => super.copyWith((message) => updates(message as SensorState)) as SensorState; // ignore: deprecated_member_use 869 $pb.BuilderInfo get info_ => _i; 870 @$core.pragma('dart2js:noInline') 871 static SensorState create() => SensorState._(); 872 SensorState createEmptyInstance() => create(); 873 static $pb.PbList<SensorState> createRepeated() => $pb.PbList<SensorState>(); 874 @$core.pragma('dart2js:noInline') 875 static SensorState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SensorState>(create); 876 static SensorState? _defaultInstance; 877 878 @$pb.TagNumber(1) 879 $core.int get value => $_getIZ(0); 880 @$pb.TagNumber(1) 881 set value($core.int v) { $_setSignedInt32(0, v); } 882 @$pb.TagNumber(1) 883 $core.bool hasValue() => $_has(0); 884 @$pb.TagNumber(1) 885 void clearValue() => clearField(1); 886 } 887 888 class OutputRequestsOptions extends $pb.GeneratedMessage { 889 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'OutputRequestsOptions', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 890 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'manualConfirm') 891 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'moduleId') 892 ..hasRequiredFields = false 893 ; 894 895 OutputRequestsOptions._() : super(); 896 factory OutputRequestsOptions({ 897 $core.bool? manualConfirm, 898 $core.String? moduleId, 899 }) { 900 final _result = create(); 901 if (manualConfirm != null) { 902 _result.manualConfirm = manualConfirm; 903 } 904 if (moduleId != null) { 905 _result.moduleId = moduleId; 906 } 907 return _result; 908 } 909 factory OutputRequestsOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 910 factory OutputRequestsOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 911 @$core.Deprecated( 912 'Using this can add significant overhead to your binary. ' 913 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 914 'Will be removed in next major version') 915 OutputRequestsOptions clone() => OutputRequestsOptions()..mergeFromMessage(this); 916 @$core.Deprecated( 917 'Using this can add significant overhead to your binary. ' 918 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 919 'Will be removed in next major version') 920 OutputRequestsOptions copyWith(void Function(OutputRequestsOptions) updates) => super.copyWith((message) => updates(message as OutputRequestsOptions)) as OutputRequestsOptions; // ignore: deprecated_member_use 921 $pb.BuilderInfo get info_ => _i; 922 @$core.pragma('dart2js:noInline') 923 static OutputRequestsOptions create() => OutputRequestsOptions._(); 924 OutputRequestsOptions createEmptyInstance() => create(); 925 static $pb.PbList<OutputRequestsOptions> createRepeated() => $pb.PbList<OutputRequestsOptions>(); 926 @$core.pragma('dart2js:noInline') 927 static OutputRequestsOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OutputRequestsOptions>(create); 928 static OutputRequestsOptions? _defaultInstance; 929 930 @$pb.TagNumber(1) 931 $core.bool get manualConfirm => $_getBF(0); 932 @$pb.TagNumber(1) 933 set manualConfirm($core.bool v) { $_setBool(0, v); } 934 @$pb.TagNumber(1) 935 $core.bool hasManualConfirm() => $_has(0); 936 @$pb.TagNumber(1) 937 void clearManualConfirm() => clearField(1); 938 939 @$pb.TagNumber(2) 940 $core.String get moduleId => $_getSZ(1); 941 @$pb.TagNumber(2) 942 set moduleId($core.String v) { $_setString(1, v); } 943 @$pb.TagNumber(2) 944 $core.bool hasModuleId() => $_has(1); 945 @$pb.TagNumber(2) 946 void clearModuleId() => clearField(2); 947 } 948 949 class Output extends $pb.GeneratedMessage { 950 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Output', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 951 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') 952 ..aOM<OutputState>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: OutputState.create) 953 ..aOM<OutputState>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: OutputState.create) 954 ..hasRequiredFields = false 955 ; 956 957 Output._() : super(); 958 factory Output({ 959 $core.String? address, 960 OutputState? request, 961 OutputState? actual, 962 }) { 963 final _result = create(); 964 if (address != null) { 965 _result.address = address; 966 } 967 if (request != null) { 968 _result.request = request; 969 } 970 if (actual != null) { 971 _result.actual = actual; 972 } 973 return _result; 974 } 975 factory Output.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 976 factory Output.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 977 @$core.Deprecated( 978 'Using this can add significant overhead to your binary. ' 979 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 980 'Will be removed in next major version') 981 Output clone() => Output()..mergeFromMessage(this); 982 @$core.Deprecated( 983 'Using this can add significant overhead to your binary. ' 984 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 985 'Will be removed in next major version') 986 Output copyWith(void Function(Output) updates) => super.copyWith((message) => updates(message as Output)) as Output; // ignore: deprecated_member_use 987 $pb.BuilderInfo get info_ => _i; 988 @$core.pragma('dart2js:noInline') 989 static Output create() => Output._(); 990 Output createEmptyInstance() => create(); 991 static $pb.PbList<Output> createRepeated() => $pb.PbList<Output>(); 992 @$core.pragma('dart2js:noInline') 993 static Output getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Output>(create); 994 static Output? _defaultInstance; 995 996 @$pb.TagNumber(1) 997 $core.String get address => $_getSZ(0); 998 @$pb.TagNumber(1) 999 set address($core.String v) { $_setString(0, v); } 1000 @$pb.TagNumber(1) 1001 $core.bool hasAddress() => $_has(0); 1002 @$pb.TagNumber(1) 1003 void clearAddress() => clearField(1); 1004 1005 @$pb.TagNumber(2) 1006 OutputState get request => $_getN(1); 1007 @$pb.TagNumber(2) 1008 set request(OutputState v) { setField(2, v); } 1009 @$pb.TagNumber(2) 1010 $core.bool hasRequest() => $_has(1); 1011 @$pb.TagNumber(2) 1012 void clearRequest() => clearField(2); 1013 @$pb.TagNumber(2) 1014 OutputState ensureRequest() => $_ensure(1); 1015 1016 @$pb.TagNumber(3) 1017 OutputState get actual => $_getN(2); 1018 @$pb.TagNumber(3) 1019 set actual(OutputState v) { setField(3, v); } 1020 @$pb.TagNumber(3) 1021 $core.bool hasActual() => $_has(2); 1022 @$pb.TagNumber(3) 1023 void clearActual() => clearField(3); 1024 @$pb.TagNumber(3) 1025 OutputState ensureActual() => $_ensure(2); 1026 } 1027 1028 class OutputState extends $pb.GeneratedMessage { 1029 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'OutputState', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1030 ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'value', $pb.PbFieldType.O3) 1031 ..hasRequiredFields = false 1032 ; 1033 1034 OutputState._() : super(); 1035 factory OutputState({ 1036 $core.int? value, 1037 }) { 1038 final _result = create(); 1039 if (value != null) { 1040 _result.value = value; 1041 } 1042 return _result; 1043 } 1044 factory OutputState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1045 factory OutputState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1046 @$core.Deprecated( 1047 'Using this can add significant overhead to your binary. ' 1048 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1049 'Will be removed in next major version') 1050 OutputState clone() => OutputState()..mergeFromMessage(this); 1051 @$core.Deprecated( 1052 'Using this can add significant overhead to your binary. ' 1053 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1054 'Will be removed in next major version') 1055 OutputState copyWith(void Function(OutputState) updates) => super.copyWith((message) => updates(message as OutputState)) as OutputState; // ignore: deprecated_member_use 1056 $pb.BuilderInfo get info_ => _i; 1057 @$core.pragma('dart2js:noInline') 1058 static OutputState create() => OutputState._(); 1059 OutputState createEmptyInstance() => create(); 1060 static $pb.PbList<OutputState> createRepeated() => $pb.PbList<OutputState>(); 1061 @$core.pragma('dart2js:noInline') 1062 static OutputState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<OutputState>(create); 1063 static OutputState? _defaultInstance; 1064 1065 @$pb.TagNumber(1) 1066 $core.int get value => $_getIZ(0); 1067 @$pb.TagNumber(1) 1068 set value($core.int v) { $_setSignedInt32(0, v); } 1069 @$pb.TagNumber(1) 1070 $core.bool hasValue() => $_has(0); 1071 @$pb.TagNumber(1) 1072 void clearValue() => clearField(1); 1073 } 1074 1075 class SwitchRequestsOptions extends $pb.GeneratedMessage { 1076 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SwitchRequestsOptions', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1077 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'manualConfirm') 1078 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'moduleId') 1079 ..hasRequiredFields = false 1080 ; 1081 1082 SwitchRequestsOptions._() : super(); 1083 factory SwitchRequestsOptions({ 1084 $core.bool? manualConfirm, 1085 $core.String? moduleId, 1086 }) { 1087 final _result = create(); 1088 if (manualConfirm != null) { 1089 _result.manualConfirm = manualConfirm; 1090 } 1091 if (moduleId != null) { 1092 _result.moduleId = moduleId; 1093 } 1094 return _result; 1095 } 1096 factory SwitchRequestsOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1097 factory SwitchRequestsOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1098 @$core.Deprecated( 1099 'Using this can add significant overhead to your binary. ' 1100 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1101 'Will be removed in next major version') 1102 SwitchRequestsOptions clone() => SwitchRequestsOptions()..mergeFromMessage(this); 1103 @$core.Deprecated( 1104 'Using this can add significant overhead to your binary. ' 1105 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1106 'Will be removed in next major version') 1107 SwitchRequestsOptions copyWith(void Function(SwitchRequestsOptions) updates) => super.copyWith((message) => updates(message as SwitchRequestsOptions)) as SwitchRequestsOptions; // ignore: deprecated_member_use 1108 $pb.BuilderInfo get info_ => _i; 1109 @$core.pragma('dart2js:noInline') 1110 static SwitchRequestsOptions create() => SwitchRequestsOptions._(); 1111 SwitchRequestsOptions createEmptyInstance() => create(); 1112 static $pb.PbList<SwitchRequestsOptions> createRepeated() => $pb.PbList<SwitchRequestsOptions>(); 1113 @$core.pragma('dart2js:noInline') 1114 static SwitchRequestsOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SwitchRequestsOptions>(create); 1115 static SwitchRequestsOptions? _defaultInstance; 1116 1117 @$pb.TagNumber(1) 1118 $core.bool get manualConfirm => $_getBF(0); 1119 @$pb.TagNumber(1) 1120 set manualConfirm($core.bool v) { $_setBool(0, v); } 1121 @$pb.TagNumber(1) 1122 $core.bool hasManualConfirm() => $_has(0); 1123 @$pb.TagNumber(1) 1124 void clearManualConfirm() => clearField(1); 1125 1126 @$pb.TagNumber(2) 1127 $core.String get moduleId => $_getSZ(1); 1128 @$pb.TagNumber(2) 1129 set moduleId($core.String v) { $_setString(1, v); } 1130 @$pb.TagNumber(2) 1131 $core.bool hasModuleId() => $_has(1); 1132 @$pb.TagNumber(2) 1133 void clearModuleId() => clearField(2); 1134 } 1135 1136 class Switch extends $pb.GeneratedMessage { 1137 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Switch', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1138 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') 1139 ..aOM<SwitchState>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: SwitchState.create) 1140 ..aOM<SwitchState>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: SwitchState.create) 1141 ..hasRequiredFields = false 1142 ; 1143 1144 Switch._() : super(); 1145 factory Switch({ 1146 $core.String? address, 1147 SwitchState? request, 1148 SwitchState? actual, 1149 }) { 1150 final _result = create(); 1151 if (address != null) { 1152 _result.address = address; 1153 } 1154 if (request != null) { 1155 _result.request = request; 1156 } 1157 if (actual != null) { 1158 _result.actual = actual; 1159 } 1160 return _result; 1161 } 1162 factory Switch.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1163 factory Switch.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1164 @$core.Deprecated( 1165 'Using this can add significant overhead to your binary. ' 1166 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1167 'Will be removed in next major version') 1168 Switch clone() => Switch()..mergeFromMessage(this); 1169 @$core.Deprecated( 1170 'Using this can add significant overhead to your binary. ' 1171 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1172 'Will be removed in next major version') 1173 Switch copyWith(void Function(Switch) updates) => super.copyWith((message) => updates(message as Switch)) as Switch; // ignore: deprecated_member_use 1174 $pb.BuilderInfo get info_ => _i; 1175 @$core.pragma('dart2js:noInline') 1176 static Switch create() => Switch._(); 1177 Switch createEmptyInstance() => create(); 1178 static $pb.PbList<Switch> createRepeated() => $pb.PbList<Switch>(); 1179 @$core.pragma('dart2js:noInline') 1180 static Switch getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Switch>(create); 1181 static Switch? _defaultInstance; 1182 1183 @$pb.TagNumber(1) 1184 $core.String get address => $_getSZ(0); 1185 @$pb.TagNumber(1) 1186 set address($core.String v) { $_setString(0, v); } 1187 @$pb.TagNumber(1) 1188 $core.bool hasAddress() => $_has(0); 1189 @$pb.TagNumber(1) 1190 void clearAddress() => clearField(1); 1191 1192 @$pb.TagNumber(2) 1193 SwitchState get request => $_getN(1); 1194 @$pb.TagNumber(2) 1195 set request(SwitchState v) { setField(2, v); } 1196 @$pb.TagNumber(2) 1197 $core.bool hasRequest() => $_has(1); 1198 @$pb.TagNumber(2) 1199 void clearRequest() => clearField(2); 1200 @$pb.TagNumber(2) 1201 SwitchState ensureRequest() => $_ensure(1); 1202 1203 @$pb.TagNumber(3) 1204 SwitchState get actual => $_getN(2); 1205 @$pb.TagNumber(3) 1206 set actual(SwitchState v) { setField(3, v); } 1207 @$pb.TagNumber(3) 1208 $core.bool hasActual() => $_has(2); 1209 @$pb.TagNumber(3) 1210 void clearActual() => clearField(3); 1211 @$pb.TagNumber(3) 1212 SwitchState ensureActual() => $_ensure(2); 1213 } 1214 1215 class SwitchState extends $pb.GeneratedMessage { 1216 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'SwitchState', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1217 ..e<SwitchDirection>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'direction', $pb.PbFieldType.OE, defaultOrMaker: SwitchDirection.STRAIGHT, valueOf: SwitchDirection.valueOf, enumValues: SwitchDirection.values) 1218 ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'isUsed') 1219 ..hasRequiredFields = false 1220 ; 1221 1222 SwitchState._() : super(); 1223 factory SwitchState({ 1224 SwitchDirection? direction, 1225 $core.bool? isUsed, 1226 }) { 1227 final _result = create(); 1228 if (direction != null) { 1229 _result.direction = direction; 1230 } 1231 if (isUsed != null) { 1232 _result.isUsed = isUsed; 1233 } 1234 return _result; 1235 } 1236 factory SwitchState.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1237 factory SwitchState.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1238 @$core.Deprecated( 1239 'Using this can add significant overhead to your binary. ' 1240 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1241 'Will be removed in next major version') 1242 SwitchState clone() => SwitchState()..mergeFromMessage(this); 1243 @$core.Deprecated( 1244 'Using this can add significant overhead to your binary. ' 1245 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1246 'Will be removed in next major version') 1247 SwitchState copyWith(void Function(SwitchState) updates) => super.copyWith((message) => updates(message as SwitchState)) as SwitchState; // ignore: deprecated_member_use 1248 $pb.BuilderInfo get info_ => _i; 1249 @$core.pragma('dart2js:noInline') 1250 static SwitchState create() => SwitchState._(); 1251 SwitchState createEmptyInstance() => create(); 1252 static $pb.PbList<SwitchState> createRepeated() => $pb.PbList<SwitchState>(); 1253 @$core.pragma('dart2js:noInline') 1254 static SwitchState getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<SwitchState>(create); 1255 static SwitchState? _defaultInstance; 1256 1257 @$pb.TagNumber(1) 1258 SwitchDirection get direction => $_getN(0); 1259 @$pb.TagNumber(1) 1260 set direction(SwitchDirection v) { setField(1, v); } 1261 @$pb.TagNumber(1) 1262 $core.bool hasDirection() => $_has(0); 1263 @$pb.TagNumber(1) 1264 void clearDirection() => clearField(1); 1265 1266 @$pb.TagNumber(2) 1267 $core.bool get isUsed => $_getBF(1); 1268 @$pb.TagNumber(2) 1269 set isUsed($core.bool v) { $_setBool(1, v); } 1270 @$pb.TagNumber(2) 1271 $core.bool hasIsUsed() => $_has(1); 1272 @$pb.TagNumber(2) 1273 void clearIsUsed() => clearField(2); 1274 } 1275 1276 class Clock extends $pb.GeneratedMessage { 1277 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Clock', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1278 ..e<TimePeriod>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'period', $pb.PbFieldType.OE, defaultOrMaker: TimePeriod.MORNING, valueOf: TimePeriod.valueOf, enumValues: TimePeriod.values) 1279 ..a<$core.int>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hours', $pb.PbFieldType.O3) 1280 ..a<$core.int>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'minutes', $pb.PbFieldType.O3) 1281 ..aInt64(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unixtime') 1282 ..hasRequiredFields = false 1283 ; 1284 1285 Clock._() : super(); 1286 factory Clock({ 1287 TimePeriod? period, 1288 $core.int? hours, 1289 $core.int? minutes, 1290 $fixnum.Int64? unixtime, 1291 }) { 1292 final _result = create(); 1293 if (period != null) { 1294 _result.period = period; 1295 } 1296 if (hours != null) { 1297 _result.hours = hours; 1298 } 1299 if (minutes != null) { 1300 _result.minutes = minutes; 1301 } 1302 if (unixtime != null) { 1303 _result.unixtime = unixtime; 1304 } 1305 return _result; 1306 } 1307 factory Clock.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1308 factory Clock.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1309 @$core.Deprecated( 1310 'Using this can add significant overhead to your binary. ' 1311 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1312 'Will be removed in next major version') 1313 Clock clone() => Clock()..mergeFromMessage(this); 1314 @$core.Deprecated( 1315 'Using this can add significant overhead to your binary. ' 1316 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1317 'Will be removed in next major version') 1318 Clock copyWith(void Function(Clock) updates) => super.copyWith((message) => updates(message as Clock)) as Clock; // ignore: deprecated_member_use 1319 $pb.BuilderInfo get info_ => _i; 1320 @$core.pragma('dart2js:noInline') 1321 static Clock create() => Clock._(); 1322 Clock createEmptyInstance() => create(); 1323 static $pb.PbList<Clock> createRepeated() => $pb.PbList<Clock>(); 1324 @$core.pragma('dart2js:noInline') 1325 static Clock getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Clock>(create); 1326 static Clock? _defaultInstance; 1327 1328 @$pb.TagNumber(1) 1329 TimePeriod get period => $_getN(0); 1330 @$pb.TagNumber(1) 1331 set period(TimePeriod v) { setField(1, v); } 1332 @$pb.TagNumber(1) 1333 $core.bool hasPeriod() => $_has(0); 1334 @$pb.TagNumber(1) 1335 void clearPeriod() => clearField(1); 1336 1337 @$pb.TagNumber(2) 1338 $core.int get hours => $_getIZ(1); 1339 @$pb.TagNumber(2) 1340 set hours($core.int v) { $_setSignedInt32(1, v); } 1341 @$pb.TagNumber(2) 1342 $core.bool hasHours() => $_has(1); 1343 @$pb.TagNumber(2) 1344 void clearHours() => clearField(2); 1345 1346 @$pb.TagNumber(3) 1347 $core.int get minutes => $_getIZ(2); 1348 @$pb.TagNumber(3) 1349 set minutes($core.int v) { $_setSignedInt32(2, v); } 1350 @$pb.TagNumber(3) 1351 $core.bool hasMinutes() => $_has(2); 1352 @$pb.TagNumber(3) 1353 void clearMinutes() => clearField(3); 1354 1355 @$pb.TagNumber(4) 1356 $fixnum.Int64 get unixtime => $_getI64(3); 1357 @$pb.TagNumber(4) 1358 set unixtime($fixnum.Int64 v) { $_setInt64(3, v); } 1359 @$pb.TagNumber(4) 1360 $core.bool hasUnixtime() => $_has(3); 1361 @$pb.TagNumber(4) 1362 void clearUnixtime() => clearField(4); 1363 } 1364 1365 class Device extends $pb.GeneratedMessage { 1366 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Device', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1367 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 1368 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type') 1369 ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'address') 1370 ..hasRequiredFields = false 1371 ; 1372 1373 Device._() : super(); 1374 factory Device({ 1375 $core.String? id, 1376 $core.String? type, 1377 $core.String? address, 1378 }) { 1379 final _result = create(); 1380 if (id != null) { 1381 _result.id = id; 1382 } 1383 if (type != null) { 1384 _result.type = type; 1385 } 1386 if (address != null) { 1387 _result.address = address; 1388 } 1389 return _result; 1390 } 1391 factory Device.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1392 factory Device.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1393 @$core.Deprecated( 1394 'Using this can add significant overhead to your binary. ' 1395 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1396 'Will be removed in next major version') 1397 Device clone() => Device()..mergeFromMessage(this); 1398 @$core.Deprecated( 1399 'Using this can add significant overhead to your binary. ' 1400 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1401 'Will be removed in next major version') 1402 Device copyWith(void Function(Device) updates) => super.copyWith((message) => updates(message as Device)) as Device; // ignore: deprecated_member_use 1403 $pb.BuilderInfo get info_ => _i; 1404 @$core.pragma('dart2js:noInline') 1405 static Device create() => Device._(); 1406 Device createEmptyInstance() => create(); 1407 static $pb.PbList<Device> createRepeated() => $pb.PbList<Device>(); 1408 @$core.pragma('dart2js:noInline') 1409 static Device getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Device>(create); 1410 static Device? _defaultInstance; 1411 1412 @$pb.TagNumber(1) 1413 $core.String get id => $_getSZ(0); 1414 @$pb.TagNumber(1) 1415 set id($core.String v) { $_setString(0, v); } 1416 @$pb.TagNumber(1) 1417 $core.bool hasId() => $_has(0); 1418 @$pb.TagNumber(1) 1419 void clearId() => clearField(1); 1420 1421 @$pb.TagNumber(2) 1422 $core.String get type => $_getSZ(1); 1423 @$pb.TagNumber(2) 1424 set type($core.String v) { $_setString(1, v); } 1425 @$pb.TagNumber(2) 1426 $core.bool hasType() => $_has(1); 1427 @$pb.TagNumber(2) 1428 void clearType() => clearField(2); 1429 1430 @$pb.TagNumber(3) 1431 $core.String get address => $_getSZ(2); 1432 @$pb.TagNumber(3) 1433 set address($core.String v) { $_setString(2, v); } 1434 @$pb.TagNumber(3) 1435 $core.bool hasAddress() => $_has(2); 1436 @$pb.TagNumber(3) 1437 void clearAddress() => clearField(3); 1438 } 1439 1440 class Object extends $pb.GeneratedMessage { 1441 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Object', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1442 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 1443 ..aOS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'type') 1444 ..pc<Connection>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'connections', $pb.PbFieldType.PM, subBuilder: Connection.create) 1445 ..m<$core.String, $core.String>(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'configuration', entryClassName: 'Object.ConfigurationEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('binkynet.v1')) 1446 ..hasRequiredFields = false 1447 ; 1448 1449 Object._() : super(); 1450 factory Object({ 1451 $core.String? id, 1452 $core.String? type, 1453 $core.Iterable<Connection>? connections, 1454 $core.Map<$core.String, $core.String>? configuration, 1455 }) { 1456 final _result = create(); 1457 if (id != null) { 1458 _result.id = id; 1459 } 1460 if (type != null) { 1461 _result.type = type; 1462 } 1463 if (connections != null) { 1464 _result.connections.addAll(connections); 1465 } 1466 if (configuration != null) { 1467 _result.configuration.addAll(configuration); 1468 } 1469 return _result; 1470 } 1471 factory Object.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1472 factory Object.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1473 @$core.Deprecated( 1474 'Using this can add significant overhead to your binary. ' 1475 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1476 'Will be removed in next major version') 1477 Object clone() => Object()..mergeFromMessage(this); 1478 @$core.Deprecated( 1479 'Using this can add significant overhead to your binary. ' 1480 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1481 'Will be removed in next major version') 1482 Object copyWith(void Function(Object) updates) => super.copyWith((message) => updates(message as Object)) as Object; // ignore: deprecated_member_use 1483 $pb.BuilderInfo get info_ => _i; 1484 @$core.pragma('dart2js:noInline') 1485 static Object create() => Object._(); 1486 Object createEmptyInstance() => create(); 1487 static $pb.PbList<Object> createRepeated() => $pb.PbList<Object>(); 1488 @$core.pragma('dart2js:noInline') 1489 static Object getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Object>(create); 1490 static Object? _defaultInstance; 1491 1492 @$pb.TagNumber(1) 1493 $core.String get id => $_getSZ(0); 1494 @$pb.TagNumber(1) 1495 set id($core.String v) { $_setString(0, v); } 1496 @$pb.TagNumber(1) 1497 $core.bool hasId() => $_has(0); 1498 @$pb.TagNumber(1) 1499 void clearId() => clearField(1); 1500 1501 @$pb.TagNumber(2) 1502 $core.String get type => $_getSZ(1); 1503 @$pb.TagNumber(2) 1504 set type($core.String v) { $_setString(1, v); } 1505 @$pb.TagNumber(2) 1506 $core.bool hasType() => $_has(1); 1507 @$pb.TagNumber(2) 1508 void clearType() => clearField(2); 1509 1510 @$pb.TagNumber(3) 1511 $core.List<Connection> get connections => $_getList(2); 1512 1513 @$pb.TagNumber(4) 1514 $core.Map<$core.String, $core.String> get configuration => $_getMap(3); 1515 } 1516 1517 class Connection extends $pb.GeneratedMessage { 1518 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'Connection', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1519 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'key') 1520 ..pc<DevicePin>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'pins', $pb.PbFieldType.PM, subBuilder: DevicePin.create) 1521 ..m<$core.String, $core.String>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'configuration', entryClassName: 'Connection.ConfigurationEntry', keyFieldType: $pb.PbFieldType.OS, valueFieldType: $pb.PbFieldType.OS, packageName: const $pb.PackageName('binkynet.v1')) 1522 ..hasRequiredFields = false 1523 ; 1524 1525 Connection._() : super(); 1526 factory Connection({ 1527 $core.String? key, 1528 $core.Iterable<DevicePin>? pins, 1529 $core.Map<$core.String, $core.String>? configuration, 1530 }) { 1531 final _result = create(); 1532 if (key != null) { 1533 _result.key = key; 1534 } 1535 if (pins != null) { 1536 _result.pins.addAll(pins); 1537 } 1538 if (configuration != null) { 1539 _result.configuration.addAll(configuration); 1540 } 1541 return _result; 1542 } 1543 factory Connection.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1544 factory Connection.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1545 @$core.Deprecated( 1546 'Using this can add significant overhead to your binary. ' 1547 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1548 'Will be removed in next major version') 1549 Connection clone() => Connection()..mergeFromMessage(this); 1550 @$core.Deprecated( 1551 'Using this can add significant overhead to your binary. ' 1552 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1553 'Will be removed in next major version') 1554 Connection copyWith(void Function(Connection) updates) => super.copyWith((message) => updates(message as Connection)) as Connection; // ignore: deprecated_member_use 1555 $pb.BuilderInfo get info_ => _i; 1556 @$core.pragma('dart2js:noInline') 1557 static Connection create() => Connection._(); 1558 Connection createEmptyInstance() => create(); 1559 static $pb.PbList<Connection> createRepeated() => $pb.PbList<Connection>(); 1560 @$core.pragma('dart2js:noInline') 1561 static Connection getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Connection>(create); 1562 static Connection? _defaultInstance; 1563 1564 @$pb.TagNumber(1) 1565 $core.String get key => $_getSZ(0); 1566 @$pb.TagNumber(1) 1567 set key($core.String v) { $_setString(0, v); } 1568 @$pb.TagNumber(1) 1569 $core.bool hasKey() => $_has(0); 1570 @$pb.TagNumber(1) 1571 void clearKey() => clearField(1); 1572 1573 @$pb.TagNumber(2) 1574 $core.List<DevicePin> get pins => $_getList(1); 1575 1576 @$pb.TagNumber(3) 1577 $core.Map<$core.String, $core.String> get configuration => $_getMap(2); 1578 } 1579 1580 class DevicePin extends $pb.GeneratedMessage { 1581 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DevicePin', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1582 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'deviceId') 1583 ..a<$fixnum.Int64>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'index', $pb.PbFieldType.OU6, defaultOrMaker: $fixnum.Int64.ZERO) 1584 ..hasRequiredFields = false 1585 ; 1586 1587 DevicePin._() : super(); 1588 factory DevicePin({ 1589 $core.String? deviceId, 1590 $fixnum.Int64? index, 1591 }) { 1592 final _result = create(); 1593 if (deviceId != null) { 1594 _result.deviceId = deviceId; 1595 } 1596 if (index != null) { 1597 _result.index = index; 1598 } 1599 return _result; 1600 } 1601 factory DevicePin.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1602 factory DevicePin.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1603 @$core.Deprecated( 1604 'Using this can add significant overhead to your binary. ' 1605 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1606 'Will be removed in next major version') 1607 DevicePin clone() => DevicePin()..mergeFromMessage(this); 1608 @$core.Deprecated( 1609 'Using this can add significant overhead to your binary. ' 1610 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1611 'Will be removed in next major version') 1612 DevicePin copyWith(void Function(DevicePin) updates) => super.copyWith((message) => updates(message as DevicePin)) as DevicePin; // ignore: deprecated_member_use 1613 $pb.BuilderInfo get info_ => _i; 1614 @$core.pragma('dart2js:noInline') 1615 static DevicePin create() => DevicePin._(); 1616 DevicePin createEmptyInstance() => create(); 1617 static $pb.PbList<DevicePin> createRepeated() => $pb.PbList<DevicePin>(); 1618 @$core.pragma('dart2js:noInline') 1619 static DevicePin getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DevicePin>(create); 1620 static DevicePin? _defaultInstance; 1621 1622 @$pb.TagNumber(1) 1623 $core.String get deviceId => $_getSZ(0); 1624 @$pb.TagNumber(1) 1625 set deviceId($core.String v) { $_setString(0, v); } 1626 @$pb.TagNumber(1) 1627 $core.bool hasDeviceId() => $_has(0); 1628 @$pb.TagNumber(1) 1629 void clearDeviceId() => clearField(1); 1630 1631 @$pb.TagNumber(2) 1632 $fixnum.Int64 get index => $_getI64(1); 1633 @$pb.TagNumber(2) 1634 set index($fixnum.Int64 v) { $_setInt64(1, v); } 1635 @$pb.TagNumber(2) 1636 $core.bool hasIndex() => $_has(1); 1637 @$pb.TagNumber(2) 1638 void clearIndex() => clearField(2); 1639 } 1640 1641 class LocalWorkerConfig extends $pb.GeneratedMessage { 1642 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LocalWorkerConfig', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1643 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'alias') 1644 ..pc<Device>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'devices', $pb.PbFieldType.PM, subBuilder: Device.create) 1645 ..pc<Object>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'objects', $pb.PbFieldType.PM, subBuilder: Object.create) 1646 ..aInt64(4, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'unixtime') 1647 ..aOS(5, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'hash') 1648 ..hasRequiredFields = false 1649 ; 1650 1651 LocalWorkerConfig._() : super(); 1652 factory LocalWorkerConfig({ 1653 $core.String? alias, 1654 $core.Iterable<Device>? devices, 1655 $core.Iterable<Object>? objects, 1656 $fixnum.Int64? unixtime, 1657 $core.String? hash, 1658 }) { 1659 final _result = create(); 1660 if (alias != null) { 1661 _result.alias = alias; 1662 } 1663 if (devices != null) { 1664 _result.devices.addAll(devices); 1665 } 1666 if (objects != null) { 1667 _result.objects.addAll(objects); 1668 } 1669 if (unixtime != null) { 1670 _result.unixtime = unixtime; 1671 } 1672 if (hash != null) { 1673 _result.hash = hash; 1674 } 1675 return _result; 1676 } 1677 factory LocalWorkerConfig.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1678 factory LocalWorkerConfig.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1679 @$core.Deprecated( 1680 'Using this can add significant overhead to your binary. ' 1681 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1682 'Will be removed in next major version') 1683 LocalWorkerConfig clone() => LocalWorkerConfig()..mergeFromMessage(this); 1684 @$core.Deprecated( 1685 'Using this can add significant overhead to your binary. ' 1686 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1687 'Will be removed in next major version') 1688 LocalWorkerConfig copyWith(void Function(LocalWorkerConfig) updates) => super.copyWith((message) => updates(message as LocalWorkerConfig)) as LocalWorkerConfig; // ignore: deprecated_member_use 1689 $pb.BuilderInfo get info_ => _i; 1690 @$core.pragma('dart2js:noInline') 1691 static LocalWorkerConfig create() => LocalWorkerConfig._(); 1692 LocalWorkerConfig createEmptyInstance() => create(); 1693 static $pb.PbList<LocalWorkerConfig> createRepeated() => $pb.PbList<LocalWorkerConfig>(); 1694 @$core.pragma('dart2js:noInline') 1695 static LocalWorkerConfig getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocalWorkerConfig>(create); 1696 static LocalWorkerConfig? _defaultInstance; 1697 1698 @$pb.TagNumber(1) 1699 $core.String get alias => $_getSZ(0); 1700 @$pb.TagNumber(1) 1701 set alias($core.String v) { $_setString(0, v); } 1702 @$pb.TagNumber(1) 1703 $core.bool hasAlias() => $_has(0); 1704 @$pb.TagNumber(1) 1705 void clearAlias() => clearField(1); 1706 1707 @$pb.TagNumber(2) 1708 $core.List<Device> get devices => $_getList(1); 1709 1710 @$pb.TagNumber(3) 1711 $core.List<Object> get objects => $_getList(2); 1712 1713 @$pb.TagNumber(4) 1714 $fixnum.Int64 get unixtime => $_getI64(3); 1715 @$pb.TagNumber(4) 1716 set unixtime($fixnum.Int64 v) { $_setInt64(3, v); } 1717 @$pb.TagNumber(4) 1718 $core.bool hasUnixtime() => $_has(3); 1719 @$pb.TagNumber(4) 1720 void clearUnixtime() => clearField(4); 1721 1722 @$pb.TagNumber(5) 1723 $core.String get hash => $_getSZ(4); 1724 @$pb.TagNumber(5) 1725 set hash($core.String v) { $_setString(4, v); } 1726 @$pb.TagNumber(5) 1727 $core.bool hasHash() => $_has(4); 1728 @$pb.TagNumber(5) 1729 void clearHash() => clearField(5); 1730 } 1731 1732 class LocalWorker extends $pb.GeneratedMessage { 1733 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'LocalWorker', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1734 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 1735 ..aOM<LocalWorkerConfig>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: LocalWorkerConfig.create) 1736 ..aOM<LocalWorkerInfo>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: LocalWorkerInfo.create) 1737 ..hasRequiredFields = false 1738 ; 1739 1740 LocalWorker._() : super(); 1741 factory LocalWorker({ 1742 $core.String? id, 1743 LocalWorkerConfig? request, 1744 LocalWorkerInfo? actual, 1745 }) { 1746 final _result = create(); 1747 if (id != null) { 1748 _result.id = id; 1749 } 1750 if (request != null) { 1751 _result.request = request; 1752 } 1753 if (actual != null) { 1754 _result.actual = actual; 1755 } 1756 return _result; 1757 } 1758 factory LocalWorker.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1759 factory LocalWorker.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1760 @$core.Deprecated( 1761 'Using this can add significant overhead to your binary. ' 1762 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1763 'Will be removed in next major version') 1764 LocalWorker clone() => LocalWorker()..mergeFromMessage(this); 1765 @$core.Deprecated( 1766 'Using this can add significant overhead to your binary. ' 1767 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1768 'Will be removed in next major version') 1769 LocalWorker copyWith(void Function(LocalWorker) updates) => super.copyWith((message) => updates(message as LocalWorker)) as LocalWorker; // ignore: deprecated_member_use 1770 $pb.BuilderInfo get info_ => _i; 1771 @$core.pragma('dart2js:noInline') 1772 static LocalWorker create() => LocalWorker._(); 1773 LocalWorker createEmptyInstance() => create(); 1774 static $pb.PbList<LocalWorker> createRepeated() => $pb.PbList<LocalWorker>(); 1775 @$core.pragma('dart2js:noInline') 1776 static LocalWorker getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<LocalWorker>(create); 1777 static LocalWorker? _defaultInstance; 1778 1779 @$pb.TagNumber(1) 1780 $core.String get id => $_getSZ(0); 1781 @$pb.TagNumber(1) 1782 set id($core.String v) { $_setString(0, v); } 1783 @$pb.TagNumber(1) 1784 $core.bool hasId() => $_has(0); 1785 @$pb.TagNumber(1) 1786 void clearId() => clearField(1); 1787 1788 @$pb.TagNumber(2) 1789 LocalWorkerConfig get request => $_getN(1); 1790 @$pb.TagNumber(2) 1791 set request(LocalWorkerConfig v) { setField(2, v); } 1792 @$pb.TagNumber(2) 1793 $core.bool hasRequest() => $_has(1); 1794 @$pb.TagNumber(2) 1795 void clearRequest() => clearField(2); 1796 @$pb.TagNumber(2) 1797 LocalWorkerConfig ensureRequest() => $_ensure(1); 1798 1799 @$pb.TagNumber(3) 1800 LocalWorkerInfo get actual => $_getN(2); 1801 @$pb.TagNumber(3) 1802 set actual(LocalWorkerInfo v) { setField(3, v); } 1803 @$pb.TagNumber(3) 1804 $core.bool hasActual() => $_has(2); 1805 @$pb.TagNumber(3) 1806 void clearActual() => clearField(3); 1807 @$pb.TagNumber(3) 1808 LocalWorkerInfo ensureActual() => $_ensure(2); 1809 } 1810 1811 class DeviceDiscovery extends $pb.GeneratedMessage { 1812 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DeviceDiscovery', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1813 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 1814 ..aOM<DiscoverRequest>(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'request', subBuilder: DiscoverRequest.create) 1815 ..aOM<DiscoverResult>(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'actual', subBuilder: DiscoverResult.create) 1816 ..hasRequiredFields = false 1817 ; 1818 1819 DeviceDiscovery._() : super(); 1820 factory DeviceDiscovery({ 1821 $core.String? id, 1822 DiscoverRequest? request, 1823 DiscoverResult? actual, 1824 }) { 1825 final _result = create(); 1826 if (id != null) { 1827 _result.id = id; 1828 } 1829 if (request != null) { 1830 _result.request = request; 1831 } 1832 if (actual != null) { 1833 _result.actual = actual; 1834 } 1835 return _result; 1836 } 1837 factory DeviceDiscovery.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1838 factory DeviceDiscovery.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1839 @$core.Deprecated( 1840 'Using this can add significant overhead to your binary. ' 1841 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1842 'Will be removed in next major version') 1843 DeviceDiscovery clone() => DeviceDiscovery()..mergeFromMessage(this); 1844 @$core.Deprecated( 1845 'Using this can add significant overhead to your binary. ' 1846 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1847 'Will be removed in next major version') 1848 DeviceDiscovery copyWith(void Function(DeviceDiscovery) updates) => super.copyWith((message) => updates(message as DeviceDiscovery)) as DeviceDiscovery; // ignore: deprecated_member_use 1849 $pb.BuilderInfo get info_ => _i; 1850 @$core.pragma('dart2js:noInline') 1851 static DeviceDiscovery create() => DeviceDiscovery._(); 1852 DeviceDiscovery createEmptyInstance() => create(); 1853 static $pb.PbList<DeviceDiscovery> createRepeated() => $pb.PbList<DeviceDiscovery>(); 1854 @$core.pragma('dart2js:noInline') 1855 static DeviceDiscovery getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DeviceDiscovery>(create); 1856 static DeviceDiscovery? _defaultInstance; 1857 1858 @$pb.TagNumber(1) 1859 $core.String get id => $_getSZ(0); 1860 @$pb.TagNumber(1) 1861 set id($core.String v) { $_setString(0, v); } 1862 @$pb.TagNumber(1) 1863 $core.bool hasId() => $_has(0); 1864 @$pb.TagNumber(1) 1865 void clearId() => clearField(1); 1866 1867 @$pb.TagNumber(2) 1868 DiscoverRequest get request => $_getN(1); 1869 @$pb.TagNumber(2) 1870 set request(DiscoverRequest v) { setField(2, v); } 1871 @$pb.TagNumber(2) 1872 $core.bool hasRequest() => $_has(1); 1873 @$pb.TagNumber(2) 1874 void clearRequest() => clearField(2); 1875 @$pb.TagNumber(2) 1876 DiscoverRequest ensureRequest() => $_ensure(1); 1877 1878 @$pb.TagNumber(3) 1879 DiscoverResult get actual => $_getN(2); 1880 @$pb.TagNumber(3) 1881 set actual(DiscoverResult v) { setField(3, v); } 1882 @$pb.TagNumber(3) 1883 $core.bool hasActual() => $_has(2); 1884 @$pb.TagNumber(3) 1885 void clearActual() => clearField(3); 1886 @$pb.TagNumber(3) 1887 DiscoverResult ensureActual() => $_ensure(2); 1888 } 1889 1890 class DiscoverRequest extends $pb.GeneratedMessage { 1891 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DiscoverRequest', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1892 ..a<$core.int>(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'requestId', $pb.PbFieldType.O3) 1893 ..hasRequiredFields = false 1894 ; 1895 1896 DiscoverRequest._() : super(); 1897 factory DiscoverRequest({ 1898 $core.int? requestId, 1899 }) { 1900 final _result = create(); 1901 if (requestId != null) { 1902 _result.requestId = requestId; 1903 } 1904 return _result; 1905 } 1906 factory DiscoverRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1907 factory DiscoverRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1908 @$core.Deprecated( 1909 'Using this can add significant overhead to your binary. ' 1910 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1911 'Will be removed in next major version') 1912 DiscoverRequest clone() => DiscoverRequest()..mergeFromMessage(this); 1913 @$core.Deprecated( 1914 'Using this can add significant overhead to your binary. ' 1915 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1916 'Will be removed in next major version') 1917 DiscoverRequest copyWith(void Function(DiscoverRequest) updates) => super.copyWith((message) => updates(message as DiscoverRequest)) as DiscoverRequest; // ignore: deprecated_member_use 1918 $pb.BuilderInfo get info_ => _i; 1919 @$core.pragma('dart2js:noInline') 1920 static DiscoverRequest create() => DiscoverRequest._(); 1921 DiscoverRequest createEmptyInstance() => create(); 1922 static $pb.PbList<DiscoverRequest> createRepeated() => $pb.PbList<DiscoverRequest>(); 1923 @$core.pragma('dart2js:noInline') 1924 static DiscoverRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DiscoverRequest>(create); 1925 static DiscoverRequest? _defaultInstance; 1926 1927 @$pb.TagNumber(1) 1928 $core.int get requestId => $_getIZ(0); 1929 @$pb.TagNumber(1) 1930 set requestId($core.int v) { $_setSignedInt32(0, v); } 1931 @$pb.TagNumber(1) 1932 $core.bool hasRequestId() => $_has(0); 1933 @$pb.TagNumber(1) 1934 void clearRequestId() => clearField(1); 1935 } 1936 1937 class DiscoverResult extends $pb.GeneratedMessage { 1938 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'DiscoverResult', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 1939 ..aOS(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'id') 1940 ..pPS(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'addresses') 1941 ..hasRequiredFields = false 1942 ; 1943 1944 DiscoverResult._() : super(); 1945 factory DiscoverResult({ 1946 $core.String? id, 1947 $core.Iterable<$core.String>? addresses, 1948 }) { 1949 final _result = create(); 1950 if (id != null) { 1951 _result.id = id; 1952 } 1953 if (addresses != null) { 1954 _result.addresses.addAll(addresses); 1955 } 1956 return _result; 1957 } 1958 factory DiscoverResult.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 1959 factory DiscoverResult.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 1960 @$core.Deprecated( 1961 'Using this can add significant overhead to your binary. ' 1962 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 1963 'Will be removed in next major version') 1964 DiscoverResult clone() => DiscoverResult()..mergeFromMessage(this); 1965 @$core.Deprecated( 1966 'Using this can add significant overhead to your binary. ' 1967 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 1968 'Will be removed in next major version') 1969 DiscoverResult copyWith(void Function(DiscoverResult) updates) => super.copyWith((message) => updates(message as DiscoverResult)) as DiscoverResult; // ignore: deprecated_member_use 1970 $pb.BuilderInfo get info_ => _i; 1971 @$core.pragma('dart2js:noInline') 1972 static DiscoverResult create() => DiscoverResult._(); 1973 DiscoverResult createEmptyInstance() => create(); 1974 static $pb.PbList<DiscoverResult> createRepeated() => $pb.PbList<DiscoverResult>(); 1975 @$core.pragma('dart2js:noInline') 1976 static DiscoverResult getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<DiscoverResult>(create); 1977 static DiscoverResult? _defaultInstance; 1978 1979 @$pb.TagNumber(1) 1980 $core.String get id => $_getSZ(0); 1981 @$pb.TagNumber(1) 1982 set id($core.String v) { $_setString(0, v); } 1983 @$pb.TagNumber(1) 1984 $core.bool hasId() => $_has(0); 1985 @$pb.TagNumber(1) 1986 void clearId() => clearField(1); 1987 1988 @$pb.TagNumber(2) 1989 $core.List<$core.String> get addresses => $_getList(1); 1990 } 1991