|
| 1 | +// This is a generated file - do not edit. |
| 2 | +// |
| 3 | +// Generated from client_platform_info.proto. |
| 4 | + |
| 5 | +// @dart = 3.3 |
| 6 | + |
| 7 | +// ignore_for_file: annotate_overrides, camel_case_types, comment_references |
| 8 | +// ignore_for_file: constant_identifier_names |
| 9 | +// ignore_for_file: curly_braces_in_flow_control_structures |
| 10 | +// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes |
| 11 | +// ignore_for_file: non_constant_identifier_names, prefer_relative_imports |
| 12 | + |
| 13 | +import 'dart:core' as $core; |
| 14 | + |
| 15 | +import 'package:protobuf/protobuf.dart' as $pb; |
| 16 | + |
| 17 | +export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; |
| 18 | + |
| 19 | +class ClientPlatformInfo extends $pb.GeneratedMessage { |
| 20 | + factory ClientPlatformInfo({ |
| 21 | + $core.String? osFamily, |
| 22 | + $core.String? osType, |
| 23 | + $core.String? version, |
| 24 | + $core.String? edition, |
| 25 | + $core.String? codename, |
| 26 | + $core.String? bitness, |
| 27 | + $core.String? architecture, |
| 28 | + }) { |
| 29 | + final result = create(); |
| 30 | + if (osFamily != null) result.osFamily = osFamily; |
| 31 | + if (osType != null) result.osType = osType; |
| 32 | + if (version != null) result.version = version; |
| 33 | + if (edition != null) result.edition = edition; |
| 34 | + if (codename != null) result.codename = codename; |
| 35 | + if (bitness != null) result.bitness = bitness; |
| 36 | + if (architecture != null) result.architecture = architecture; |
| 37 | + return result; |
| 38 | + } |
| 39 | + |
| 40 | + ClientPlatformInfo._(); |
| 41 | + |
| 42 | + factory ClientPlatformInfo.fromBuffer($core.List<$core.int> data, |
| 43 | + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => |
| 44 | + create()..mergeFromBuffer(data, registry); |
| 45 | + factory ClientPlatformInfo.fromJson($core.String json, |
| 46 | + [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => |
| 47 | + create()..mergeFromJson(json, registry); |
| 48 | + |
| 49 | + static final $pb.BuilderInfo _i = $pb.BuilderInfo( |
| 50 | + _omitMessageNames ? '' : 'ClientPlatformInfo', |
| 51 | + package: const $pb.PackageName(_omitMessageNames ? '' : 'defguard.proxy'), |
| 52 | + createEmptyInstance: create) |
| 53 | + ..aOS(1, _omitFieldNames ? '' : 'osFamily') |
| 54 | + ..aOS(2, _omitFieldNames ? '' : 'osType') |
| 55 | + ..aOS(3, _omitFieldNames ? '' : 'version') |
| 56 | + ..aOS(4, _omitFieldNames ? '' : 'edition') |
| 57 | + ..aOS(5, _omitFieldNames ? '' : 'codename') |
| 58 | + ..aOS(6, _omitFieldNames ? '' : 'bitness') |
| 59 | + ..aOS(7, _omitFieldNames ? '' : 'architecture') |
| 60 | + ..hasRequiredFields = false; |
| 61 | + |
| 62 | + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') |
| 63 | + ClientPlatformInfo clone() => deepCopy(); |
| 64 | + @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') |
| 65 | + ClientPlatformInfo copyWith(void Function(ClientPlatformInfo) updates) => |
| 66 | + super.copyWith((message) => updates(message as ClientPlatformInfo)) |
| 67 | + as ClientPlatformInfo; |
| 68 | + |
| 69 | + @$core.override |
| 70 | + $pb.BuilderInfo get info_ => _i; |
| 71 | + |
| 72 | + @$core.pragma('dart2js:noInline') |
| 73 | + static ClientPlatformInfo create() => ClientPlatformInfo._(); |
| 74 | + @$core.override |
| 75 | + ClientPlatformInfo createEmptyInstance() => create(); |
| 76 | + @$core.pragma('dart2js:noInline') |
| 77 | + static ClientPlatformInfo getDefault() => _defaultInstance ??= |
| 78 | + $pb.GeneratedMessage.$_defaultFor<ClientPlatformInfo>(create); |
| 79 | + static ClientPlatformInfo? _defaultInstance; |
| 80 | + |
| 81 | + @$pb.TagNumber(1) |
| 82 | + $core.String get osFamily => $_getSZ(0); |
| 83 | + @$pb.TagNumber(1) |
| 84 | + set osFamily($core.String value) => $_setString(0, value); |
| 85 | + @$pb.TagNumber(1) |
| 86 | + $core.bool hasOsFamily() => $_has(0); |
| 87 | + @$pb.TagNumber(1) |
| 88 | + void clearOsFamily() => $_clearField(1); |
| 89 | + |
| 90 | + @$pb.TagNumber(2) |
| 91 | + $core.String get osType => $_getSZ(1); |
| 92 | + @$pb.TagNumber(2) |
| 93 | + set osType($core.String value) => $_setString(1, value); |
| 94 | + @$pb.TagNumber(2) |
| 95 | + $core.bool hasOsType() => $_has(1); |
| 96 | + @$pb.TagNumber(2) |
| 97 | + void clearOsType() => $_clearField(2); |
| 98 | + |
| 99 | + @$pb.TagNumber(3) |
| 100 | + $core.String get version => $_getSZ(2); |
| 101 | + @$pb.TagNumber(3) |
| 102 | + set version($core.String value) => $_setString(2, value); |
| 103 | + @$pb.TagNumber(3) |
| 104 | + $core.bool hasVersion() => $_has(2); |
| 105 | + @$pb.TagNumber(3) |
| 106 | + void clearVersion() => $_clearField(3); |
| 107 | + |
| 108 | + @$pb.TagNumber(4) |
| 109 | + $core.String get edition => $_getSZ(3); |
| 110 | + @$pb.TagNumber(4) |
| 111 | + set edition($core.String value) => $_setString(3, value); |
| 112 | + @$pb.TagNumber(4) |
| 113 | + $core.bool hasEdition() => $_has(3); |
| 114 | + @$pb.TagNumber(4) |
| 115 | + void clearEdition() => $_clearField(4); |
| 116 | + |
| 117 | + @$pb.TagNumber(5) |
| 118 | + $core.String get codename => $_getSZ(4); |
| 119 | + @$pb.TagNumber(5) |
| 120 | + set codename($core.String value) => $_setString(4, value); |
| 121 | + @$pb.TagNumber(5) |
| 122 | + $core.bool hasCodename() => $_has(4); |
| 123 | + @$pb.TagNumber(5) |
| 124 | + void clearCodename() => $_clearField(5); |
| 125 | + |
| 126 | + @$pb.TagNumber(6) |
| 127 | + $core.String get bitness => $_getSZ(5); |
| 128 | + @$pb.TagNumber(6) |
| 129 | + set bitness($core.String value) => $_setString(5, value); |
| 130 | + @$pb.TagNumber(6) |
| 131 | + $core.bool hasBitness() => $_has(5); |
| 132 | + @$pb.TagNumber(6) |
| 133 | + void clearBitness() => $_clearField(6); |
| 134 | + |
| 135 | + @$pb.TagNumber(7) |
| 136 | + $core.String get architecture => $_getSZ(6); |
| 137 | + @$pb.TagNumber(7) |
| 138 | + set architecture($core.String value) => $_setString(6, value); |
| 139 | + @$pb.TagNumber(7) |
| 140 | + $core.bool hasArchitecture() => $_has(6); |
| 141 | + @$pb.TagNumber(7) |
| 142 | + void clearArchitecture() => $_clearField(7); |
| 143 | +} |
| 144 | + |
| 145 | +const $core.bool _omitFieldNames = |
| 146 | + $core.bool.fromEnvironment('protobuf.omit_field_names'); |
| 147 | +const $core.bool _omitMessageNames = |
| 148 | + $core.bool.fromEnvironment('protobuf.omit_message_names'); |
0 commit comments