| // |
| // Generated code. Do not modify. |
| // source: test |
| // |
| // @dart = 2.12 |
| |
| // ignore_for_file: annotate_overrides, camel_case_types |
| // ignore_for_file: constant_identifier_names, library_prefixes |
| // ignore_for_file: non_constant_identifier_names, prefer_final_fields |
| // ignore_for_file: unnecessary_import, unnecessary_this, unused_import |
| |
| import 'dart:core' as $core; |
| |
| import 'package:fixnum/fixnum.dart' as $fixnum; |
| import 'package:protobuf/protobuf.dart' as $pb; |
| |
| class Int64 extends $pb.GeneratedMessage { |
| factory Int64() => create(); |
| Int64._() : super(); |
| factory Int64.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r); |
| factory Int64.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r); |
| |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'Int64', createEmptyInstance: create) |
| ..aInt64(1, _omitFieldNames ? '' : 'value') |
| ..hasRequiredFields = false |
| ; |
| |
| @$core.Deprecated( |
| 'Using this can add significant overhead to your binary. ' |
| 'Use [GeneratedMessageGenericExtensions.deepCopy] instead. ' |
| 'Will be removed in next major version') |
| Int64 clone() => Int64()..mergeFromMessage(this); |
| @$core.Deprecated( |
| 'Using this can add significant overhead to your binary. ' |
| 'Use [GeneratedMessageGenericExtensions.rebuild] instead. ' |
| 'Will be removed in next major version') |
| Int64 copyWith(void Function(Int64) updates) => super.copyWith((message) => updates(message as Int64)) as Int64; |
| |
| $pb.BuilderInfo get info_ => _i; |
| |
| @$core.pragma('dart2js:noInline') |
| static Int64 create() => Int64._(); |
| 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 v) { $_setInt64(0, v); } |
| @$pb.TagNumber(1) |
| $core.bool hasValue() => $_has(0); |
| @$pb.TagNumber(1) |
| void clearValue() => clearField(1); |
| } |
| |
| |
| const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names'); |
| const _omitMessageNames = $core.bool.fromEnvironment('protobuf.omit_message_names'); |