github.com/binkynet/BinkyNet@v1.12.1-0.20240421190447-da4e34c20be0/dart/lib/network.pb.dart (about) 1 /// 2 // Generated code. Do not modify. 3 // source: network.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:protobuf/protobuf.dart' as $pb; 11 12 class WatchOptions extends $pb.GeneratedMessage { 13 static final $pb.BuilderInfo _i = $pb.BuilderInfo(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'WatchOptions', package: const $pb.PackageName(const $core.bool.fromEnvironment('protobuf.omit_message_names') ? '' : 'binkynet.v1'), createEmptyInstance: create) 14 ..aOB(1, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'watchRequestChanges') 15 ..aOB(2, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'watchActualChanges') 16 ..aOS(3, const $core.bool.fromEnvironment('protobuf.omit_field_names') ? '' : 'moduleId') 17 ..hasRequiredFields = false 18 ; 19 20 WatchOptions._() : super(); 21 factory WatchOptions({ 22 $core.bool? watchRequestChanges, 23 $core.bool? watchActualChanges, 24 $core.String? moduleId, 25 }) { 26 final _result = create(); 27 if (watchRequestChanges != null) { 28 _result.watchRequestChanges = watchRequestChanges; 29 } 30 if (watchActualChanges != null) { 31 _result.watchActualChanges = watchActualChanges; 32 } 33 if (moduleId != null) { 34 _result.moduleId = moduleId; 35 } 36 return _result; 37 } 38 factory WatchOptions.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); 39 factory WatchOptions.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); 40 @$core.Deprecated( 41 'Using this can add significant overhead to your binary. ' 42 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' 43 'Will be removed in next major version') 44 WatchOptions clone() => WatchOptions()..mergeFromMessage(this); 45 @$core.Deprecated( 46 'Using this can add significant overhead to your binary. ' 47 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' 48 'Will be removed in next major version') 49 WatchOptions copyWith(void Function(WatchOptions) updates) => super.copyWith((message) => updates(message as WatchOptions)) as WatchOptions; // ignore: deprecated_member_use 50 $pb.BuilderInfo get info_ => _i; 51 @$core.pragma('dart2js:noInline') 52 static WatchOptions create() => WatchOptions._(); 53 WatchOptions createEmptyInstance() => create(); 54 static $pb.PbList<WatchOptions> createRepeated() => $pb.PbList<WatchOptions>(); 55 @$core.pragma('dart2js:noInline') 56 static WatchOptions getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<WatchOptions>(create); 57 static WatchOptions? _defaultInstance; 58 59 @$pb.TagNumber(1) 60 $core.bool get watchRequestChanges => $_getBF(0); 61 @$pb.TagNumber(1) 62 set watchRequestChanges($core.bool v) { $_setBool(0, v); } 63 @$pb.TagNumber(1) 64 $core.bool hasWatchRequestChanges() => $_has(0); 65 @$pb.TagNumber(1) 66 void clearWatchRequestChanges() => clearField(1); 67 68 @$pb.TagNumber(2) 69 $core.bool get watchActualChanges => $_getBF(1); 70 @$pb.TagNumber(2) 71 set watchActualChanges($core.bool v) { $_setBool(1, v); } 72 @$pb.TagNumber(2) 73 $core.bool hasWatchActualChanges() => $_has(1); 74 @$pb.TagNumber(2) 75 void clearWatchActualChanges() => clearField(2); 76 77 @$pb.TagNumber(3) 78 $core.String get moduleId => $_getSZ(2); 79 @$pb.TagNumber(3) 80 set moduleId($core.String v) { $_setString(2, v); } 81 @$pb.TagNumber(3) 82 $core.bool hasModuleId() => $_has(2); 83 @$pb.TagNumber(3) 84 void clearModuleId() => clearField(3); 85 } 86