| // This is a generated file - do not edit. |
| // |
| // Generated from test. |
| |
| // @dart = 3.3 |
| |
| // ignore_for_file: annotate_overrides, camel_case_types, comment_references |
| // ignore_for_file: constant_identifier_names |
| // ignore_for_file: curly_braces_in_flow_control_structures |
| // ignore_for_file: deprecated_member_use_from_same_package, library_prefixes |
| // ignore_for_file: non_constant_identifier_names |
| |
| import 'dart:core' as $core; |
| |
| import 'package:fixnum/fixnum.dart' as $fixnum; |
| import 'package:protobuf/protobuf.dart' as $pb; |
| |
| export 'package:protobuf/protobuf.dart' show GeneratedMessageGenericExtensions; |
| |
| class Int64 extends $pb.GeneratedMessage { |
| factory Int64() => create(); |
| |
| Int64._(); |
| |
| factory Int64.fromBuffer($core.List<$core.int> data, |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => |
| create()..mergeFromBuffer(data, registry); |
| factory Int64.fromJson($core.String json, |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => |
| create()..mergeFromJson(json, registry); |
| |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( |
| _omitMessageNames ? '' : 'Int64', |
| createEmptyInstance: create) |
| ..aInt64(1, _omitFieldNames ? '' : 'value') |
| ..hasRequiredFields = false; |
| |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') |
| Int64 clone() => Int64()..mergeFromMessage(this); |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') |
| Int64 copyWith(void Function(Int64) updates) => |
| super.copyWith((message) => updates(message as Int64)) as Int64; |
| |
| @$core.override |
| $pb.BuilderInfo get info_ => _i; |
| |
| @$core.pragma('dart2js:noInline') |
| static Int64 create() => Int64._(); |
| @$core.override |
| Int64 createEmptyInstance() => create(); |
| static $pb.PbList<Int64> createRepeated() => $pb.PbList<Int64>(); |
| @$core.pragma('dart2js:noInline') |
| static Int64 getDefault() => |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Int64>(create); |
| static Int64? _defaultInstance; |
| |
| @$pb.TagNumber(1) |
| $fixnum.Int64 get value => $_getI64(0); |
| @$pb.TagNumber(1) |
| set value($fixnum.Int64 value) => $_setInt64(0, value); |
| @$pb.TagNumber(1) |
| $core.bool hasValue() => $_has(0); |
| @$pb.TagNumber(1) |
| void clearValue() => $_clearField(1); |
| } |
| |
| const $core.bool _omitFieldNames = |
| $core.bool.fromEnvironment('protobuf.omit_field_names'); |
| const $core.bool _omitMessageNames = |
| $core.bool.fromEnvironment('protobuf.omit_message_names'); |