| // This is a generated file - do not edit. | |
| // | |
| // Generated from profile.proto. | |
| // @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, prefer_relative_imports | |
| 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 Profile extends $pb.GeneratedMessage { | |
| factory Profile({ | |
| $core.Iterable<ValueType>? sampleType, | |
| $core.Iterable<Sample>? sample, | |
| $core.Iterable<Mapping>? mapping, | |
| $core.Iterable<Location>? location, | |
| $core.Iterable<Function_>? function, | |
| $core.Iterable<$core.String>? stringTable, | |
| $fixnum.Int64? dropFrames, | |
| $fixnum.Int64? keepFrames, | |
| $fixnum.Int64? timeNanos, | |
| $fixnum.Int64? durationNanos, | |
| ValueType? periodType, | |
| $fixnum.Int64? period, | |
| $core.Iterable<$fixnum.Int64>? comment, | |
| $fixnum.Int64? defaultSampleType, | |
| }) { | |
| final result = create(); | |
| if (sampleType != null) result.sampleType.addAll(sampleType); | |
| if (sample != null) result.sample.addAll(sample); | |
| if (mapping != null) result.mapping.addAll(mapping); | |
| if (location != null) result.location.addAll(location); | |
| if (function != null) result.function.addAll(function); | |
| if (stringTable != null) result.stringTable.addAll(stringTable); | |
| if (dropFrames != null) result.dropFrames = dropFrames; | |
| if (keepFrames != null) result.keepFrames = keepFrames; | |
| if (timeNanos != null) result.timeNanos = timeNanos; | |
| if (durationNanos != null) result.durationNanos = durationNanos; | |
| if (periodType != null) result.periodType = periodType; | |
| if (period != null) result.period = period; | |
| if (comment != null) result.comment.addAll(comment); | |
| if (defaultSampleType != null) result.defaultSampleType = defaultSampleType; | |
| return result; | |
| } | |
| Profile._(); | |
| factory Profile.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Profile.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Profile', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..pPM<ValueType>(1, _omitFieldNames ? '' : 'sampleType', | |
| subBuilder: ValueType.create) | |
| ..pPM<Sample>(2, _omitFieldNames ? '' : 'sample', subBuilder: Sample.create) | |
| ..pPM<Mapping>(3, _omitFieldNames ? '' : 'mapping', | |
| subBuilder: Mapping.create) | |
| ..pPM<Location>(4, _omitFieldNames ? '' : 'location', | |
| subBuilder: Location.create) | |
| ..pPM<Function_>(5, _omitFieldNames ? '' : 'function', | |
| subBuilder: Function_.create) | |
| ..pPS(6, _omitFieldNames ? '' : 'stringTable') | |
| ..aInt64(7, _omitFieldNames ? '' : 'dropFrames') | |
| ..aInt64(8, _omitFieldNames ? '' : 'keepFrames') | |
| ..aInt64(9, _omitFieldNames ? '' : 'timeNanos') | |
| ..aInt64(10, _omitFieldNames ? '' : 'durationNanos') | |
| ..aOM<ValueType>(11, _omitFieldNames ? '' : 'periodType', | |
| subBuilder: ValueType.create) | |
| ..aInt64(12, _omitFieldNames ? '' : 'period') | |
| ..p<$fixnum.Int64>(13, _omitFieldNames ? '' : 'comment', $pb.PbFieldType.K6) | |
| ..aInt64(14, _omitFieldNames ? '' : 'defaultSampleType') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Profile clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Profile copyWith(void Function(Profile) updates) => | |
| super.copyWith((message) => updates(message as Profile)) as Profile; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Profile create() => Profile._(); | |
| @$core.override | |
| Profile createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Profile getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Profile>(create); | |
| static Profile? _defaultInstance; | |
| /// A description of the samples associated with each Sample.value. | |
| /// For a cpu profile this might be: | |
| /// [["cpu","nanoseconds"]] or [["wall","seconds"]] or [["syscall","count"]] | |
| /// For a heap profile, this might be: | |
| /// [["allocations","count"], ["space","bytes"]], | |
| /// If one of the values represents the number of events represented | |
| /// by the sample, by convention it should be at index 0 and use | |
| /// sample_type.unit == "count". | |
| @$pb.TagNumber(1) | |
| $pb.PbList<ValueType> get sampleType => $_getList(0); | |
| /// The set of samples recorded in this profile. | |
| @$pb.TagNumber(2) | |
| $pb.PbList<Sample> get sample => $_getList(1); | |
| /// Mapping from address ranges to the image/binary/library mapped | |
| /// into that address range. mapping[0] will be the main binary. | |
| @$pb.TagNumber(3) | |
| $pb.PbList<Mapping> get mapping => $_getList(2); | |
| /// Useful program location | |
| @$pb.TagNumber(4) | |
| $pb.PbList<Location> get location => $_getList(3); | |
| /// Functions referenced by locations | |
| @$pb.TagNumber(5) | |
| $pb.PbList<Function_> get function => $_getList(4); | |
| /// A common table for strings referenced by various messages. | |
| /// string_table[0] must always be "". | |
| @$pb.TagNumber(6) | |
| $pb.PbList<$core.String> get stringTable => $_getList(5); | |
| /// frames with Function.function_name fully matching the following | |
| /// regexp will be dropped from the samples, along with their successors. | |
| /// Index into string table. | |
| @$pb.TagNumber(7) | |
| $fixnum.Int64 get dropFrames => $_getI64(6); | |
| @$pb.TagNumber(7) | |
| set dropFrames($fixnum.Int64 value) => $_setInt64(6, value); | |
| @$pb.TagNumber(7) | |
| $core.bool hasDropFrames() => $_has(6); | |
| @$pb.TagNumber(7) | |
| void clearDropFrames() => $_clearField(7); | |
| /// frames with Function.function_name fully matching the following | |
| /// regexp will be kept, even if it matches drop_functions. | |
| /// Index into string table. | |
| @$pb.TagNumber(8) | |
| $fixnum.Int64 get keepFrames => $_getI64(7); | |
| @$pb.TagNumber(8) | |
| set keepFrames($fixnum.Int64 value) => $_setInt64(7, value); | |
| @$pb.TagNumber(8) | |
| $core.bool hasKeepFrames() => $_has(7); | |
| @$pb.TagNumber(8) | |
| void clearKeepFrames() => $_clearField(8); | |
| /// Time of collection (UTC) represented as nanoseconds past the epoch. | |
| @$pb.TagNumber(9) | |
| $fixnum.Int64 get timeNanos => $_getI64(8); | |
| @$pb.TagNumber(9) | |
| set timeNanos($fixnum.Int64 value) => $_setInt64(8, value); | |
| @$pb.TagNumber(9) | |
| $core.bool hasTimeNanos() => $_has(8); | |
| @$pb.TagNumber(9) | |
| void clearTimeNanos() => $_clearField(9); | |
| /// Duration of the profile, if a duration makes sense. | |
| @$pb.TagNumber(10) | |
| $fixnum.Int64 get durationNanos => $_getI64(9); | |
| @$pb.TagNumber(10) | |
| set durationNanos($fixnum.Int64 value) => $_setInt64(9, value); | |
| @$pb.TagNumber(10) | |
| $core.bool hasDurationNanos() => $_has(9); | |
| @$pb.TagNumber(10) | |
| void clearDurationNanos() => $_clearField(10); | |
| /// The kind of events between sampled ocurrences. | |
| /// e.g [ "cpu","cycles" ] or [ "heap","bytes" ] | |
| @$pb.TagNumber(11) | |
| ValueType get periodType => $_getN(10); | |
| @$pb.TagNumber(11) | |
| set periodType(ValueType value) => $_setField(11, value); | |
| @$pb.TagNumber(11) | |
| $core.bool hasPeriodType() => $_has(10); | |
| @$pb.TagNumber(11) | |
| void clearPeriodType() => $_clearField(11); | |
| @$pb.TagNumber(11) | |
| ValueType ensurePeriodType() => $_ensure(10); | |
| /// The number of events between sampled occurrences. | |
| @$pb.TagNumber(12) | |
| $fixnum.Int64 get period => $_getI64(11); | |
| @$pb.TagNumber(12) | |
| set period($fixnum.Int64 value) => $_setInt64(11, value); | |
| @$pb.TagNumber(12) | |
| $core.bool hasPeriod() => $_has(11); | |
| @$pb.TagNumber(12) | |
| void clearPeriod() => $_clearField(12); | |
| /// Freeform text associated to the profile. | |
| /// Indices into string table. | |
| @$pb.TagNumber(13) | |
| $pb.PbList<$fixnum.Int64> get comment => $_getList(12); | |
| /// Index into the string table of the type of the preferred sample | |
| /// value. If unset, clients should default to the last sample value. | |
| @$pb.TagNumber(14) | |
| $fixnum.Int64 get defaultSampleType => $_getI64(13); | |
| @$pb.TagNumber(14) | |
| set defaultSampleType($fixnum.Int64 value) => $_setInt64(13, value); | |
| @$pb.TagNumber(14) | |
| $core.bool hasDefaultSampleType() => $_has(13); | |
| @$pb.TagNumber(14) | |
| void clearDefaultSampleType() => $_clearField(14); | |
| } | |
| /// ValueType describes the semantics and measurement units of a value. | |
| class ValueType extends $pb.GeneratedMessage { | |
| factory ValueType({ | |
| $fixnum.Int64? type, | |
| $fixnum.Int64? unit, | |
| }) { | |
| final result = create(); | |
| if (type != null) result.type = type; | |
| if (unit != null) result.unit = unit; | |
| return result; | |
| } | |
| ValueType._(); | |
| factory ValueType.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory ValueType.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'ValueType', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..aInt64(1, _omitFieldNames ? '' : 'type') | |
| ..aInt64(2, _omitFieldNames ? '' : 'unit') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| ValueType clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| ValueType copyWith(void Function(ValueType) updates) => | |
| super.copyWith((message) => updates(message as ValueType)) as ValueType; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static ValueType create() => ValueType._(); | |
| @$core.override | |
| ValueType createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static ValueType getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ValueType>(create); | |
| static ValueType? _defaultInstance; | |
| /// Index into string table. | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get type => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set type($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasType() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearType() => $_clearField(1); | |
| /// Index into string table. | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get unit => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set unit($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasUnit() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearUnit() => $_clearField(2); | |
| } | |
| /// Each Sample records values encountered in some program | |
| /// context. The program context is typically a stack trace, perhaps | |
| /// augmented with auxiliary information like the thread-id, some | |
| /// indicator of a higher level request being handled etc. | |
| class Sample extends $pb.GeneratedMessage { | |
| factory Sample({ | |
| $core.Iterable<$fixnum.Int64>? locationId, | |
| $core.Iterable<$fixnum.Int64>? value, | |
| $core.Iterable<Label>? label, | |
| }) { | |
| final result = create(); | |
| if (locationId != null) result.locationId.addAll(locationId); | |
| if (value != null) result.value.addAll(value); | |
| if (label != null) result.label.addAll(label); | |
| return result; | |
| } | |
| Sample._(); | |
| factory Sample.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Sample.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Sample', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..p<$fixnum.Int64>( | |
| 1, _omitFieldNames ? '' : 'locationId', $pb.PbFieldType.KU6) | |
| ..p<$fixnum.Int64>(2, _omitFieldNames ? '' : 'value', $pb.PbFieldType.K6) | |
| ..pPM<Label>(3, _omitFieldNames ? '' : 'label', subBuilder: Label.create) | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Sample clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Sample copyWith(void Function(Sample) updates) => | |
| super.copyWith((message) => updates(message as Sample)) as Sample; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Sample create() => Sample._(); | |
| @$core.override | |
| Sample createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Sample getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Sample>(create); | |
| static Sample? _defaultInstance; | |
| /// The ids recorded here correspond to a Profile.location.id. | |
| /// The leaf is at location_id[0]. | |
| @$pb.TagNumber(1) | |
| $pb.PbList<$fixnum.Int64> get locationId => $_getList(0); | |
| /// The type and unit of each value is defined by the corresponding | |
| /// entry in Profile.sample_type. All samples must have the same | |
| /// number of values, the same as the length of Profile.sample_type. | |
| /// When aggregating multiple samples into a single sample, the | |
| /// result has a list of values that is the elemntwise sum of the | |
| /// lists of the originals. | |
| @$pb.TagNumber(2) | |
| $pb.PbList<$fixnum.Int64> get value => $_getList(1); | |
| /// label includes additional context for this sample. It can include | |
| /// things like a thread id, allocation size, etc | |
| @$pb.TagNumber(3) | |
| $pb.PbList<Label> get label => $_getList(2); | |
| } | |
| class Label extends $pb.GeneratedMessage { | |
| factory Label({ | |
| $fixnum.Int64? key, | |
| $fixnum.Int64? str, | |
| $fixnum.Int64? num, | |
| $fixnum.Int64? numUnit, | |
| }) { | |
| final result = create(); | |
| if (key != null) result.key = key; | |
| if (str != null) result.str = str; | |
| if (num != null) result.num = num; | |
| if (numUnit != null) result.numUnit = numUnit; | |
| return result; | |
| } | |
| Label._(); | |
| factory Label.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Label.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Label', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..aInt64(1, _omitFieldNames ? '' : 'key') | |
| ..aInt64(2, _omitFieldNames ? '' : 'str') | |
| ..aInt64(3, _omitFieldNames ? '' : 'num') | |
| ..aInt64(4, _omitFieldNames ? '' : 'numUnit') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Label clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Label copyWith(void Function(Label) updates) => | |
| super.copyWith((message) => updates(message as Label)) as Label; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Label create() => Label._(); | |
| @$core.override | |
| Label createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Label getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Label>(create); | |
| static Label? _defaultInstance; | |
| /// Index into string table | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get key => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set key($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasKey() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearKey() => $_clearField(1); | |
| /// Index into string table | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get str => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set str($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasStr() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearStr() => $_clearField(2); | |
| @$pb.TagNumber(3) | |
| $fixnum.Int64 get num => $_getI64(2); | |
| @$pb.TagNumber(3) | |
| set num($fixnum.Int64 value) => $_setInt64(2, value); | |
| @$pb.TagNumber(3) | |
| $core.bool hasNum() => $_has(2); | |
| @$pb.TagNumber(3) | |
| void clearNum() => $_clearField(3); | |
| /// Index into string table | |
| @$pb.TagNumber(4) | |
| $fixnum.Int64 get numUnit => $_getI64(3); | |
| @$pb.TagNumber(4) | |
| set numUnit($fixnum.Int64 value) => $_setInt64(3, value); | |
| @$pb.TagNumber(4) | |
| $core.bool hasNumUnit() => $_has(3); | |
| @$pb.TagNumber(4) | |
| void clearNumUnit() => $_clearField(4); | |
| } | |
| class Mapping extends $pb.GeneratedMessage { | |
| factory Mapping({ | |
| $fixnum.Int64? id, | |
| $fixnum.Int64? memoryStart, | |
| $fixnum.Int64? memoryLimit, | |
| $fixnum.Int64? fileOffset, | |
| $fixnum.Int64? filename, | |
| $fixnum.Int64? buildId, | |
| $core.bool? hasFunctions, | |
| $core.bool? hasFilenames, | |
| $core.bool? hasLineNumbers, | |
| $core.bool? hasInlineFrames, | |
| }) { | |
| final result = create(); | |
| if (id != null) result.id = id; | |
| if (memoryStart != null) result.memoryStart = memoryStart; | |
| if (memoryLimit != null) result.memoryLimit = memoryLimit; | |
| if (fileOffset != null) result.fileOffset = fileOffset; | |
| if (filename != null) result.filename = filename; | |
| if (buildId != null) result.buildId = buildId; | |
| if (hasFunctions != null) result.hasFunctions = hasFunctions; | |
| if (hasFilenames != null) result.hasFilenames = hasFilenames; | |
| if (hasLineNumbers != null) result.hasLineNumbers = hasLineNumbers; | |
| if (hasInlineFrames != null) result.hasInlineFrames = hasInlineFrames; | |
| return result; | |
| } | |
| Mapping._(); | |
| factory Mapping.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Mapping.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Mapping', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..a<$fixnum.Int64>( | |
| 2, _omitFieldNames ? '' : 'memoryStart', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..a<$fixnum.Int64>( | |
| 3, _omitFieldNames ? '' : 'memoryLimit', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..a<$fixnum.Int64>( | |
| 4, _omitFieldNames ? '' : 'fileOffset', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..aInt64(5, _omitFieldNames ? '' : 'filename') | |
| ..aInt64(6, _omitFieldNames ? '' : 'buildId') | |
| ..aOB(7, _omitFieldNames ? '' : 'hasFunctions') | |
| ..aOB(8, _omitFieldNames ? '' : 'hasFilenames') | |
| ..aOB(9, _omitFieldNames ? '' : 'hasLineNumbers') | |
| ..aOB(10, _omitFieldNames ? '' : 'hasInlineFrames') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Mapping clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Mapping copyWith(void Function(Mapping) updates) => | |
| super.copyWith((message) => updates(message as Mapping)) as Mapping; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Mapping create() => Mapping._(); | |
| @$core.override | |
| Mapping createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Mapping getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Mapping>(create); | |
| static Mapping? _defaultInstance; | |
| /// Unique nonzero id for the mapping. | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get id => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set id($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasId() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearId() => $_clearField(1); | |
| /// Address at which the binary (or DLL) is loaded into memory. | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get memoryStart => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set memoryStart($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasMemoryStart() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearMemoryStart() => $_clearField(2); | |
| /// The limit of the address range occupied by this mapping. | |
| @$pb.TagNumber(3) | |
| $fixnum.Int64 get memoryLimit => $_getI64(2); | |
| @$pb.TagNumber(3) | |
| set memoryLimit($fixnum.Int64 value) => $_setInt64(2, value); | |
| @$pb.TagNumber(3) | |
| $core.bool hasMemoryLimit() => $_has(2); | |
| @$pb.TagNumber(3) | |
| void clearMemoryLimit() => $_clearField(3); | |
| /// Offset in the binary that corresponds to the first mapped address. | |
| @$pb.TagNumber(4) | |
| $fixnum.Int64 get fileOffset => $_getI64(3); | |
| @$pb.TagNumber(4) | |
| set fileOffset($fixnum.Int64 value) => $_setInt64(3, value); | |
| @$pb.TagNumber(4) | |
| $core.bool hasFileOffset() => $_has(3); | |
| @$pb.TagNumber(4) | |
| void clearFileOffset() => $_clearField(4); | |
| /// The object this entry is loaded from. This can be a filename on | |
| /// disk for the main binary and shared libraries, or virtual | |
| /// abstractions like "[vdso]". | |
| /// Index into string table | |
| @$pb.TagNumber(5) | |
| $fixnum.Int64 get filename => $_getI64(4); | |
| @$pb.TagNumber(5) | |
| set filename($fixnum.Int64 value) => $_setInt64(4, value); | |
| @$pb.TagNumber(5) | |
| $core.bool hasFilename() => $_has(4); | |
| @$pb.TagNumber(5) | |
| void clearFilename() => $_clearField(5); | |
| /// A string that uniquely identifies a particular program version | |
| /// with high probability. E.g., for binaries generated by GNU tools, | |
| /// it could be the contents of the .note.gnu.build-id field. | |
| /// Index into string table | |
| @$pb.TagNumber(6) | |
| $fixnum.Int64 get buildId => $_getI64(5); | |
| @$pb.TagNumber(6) | |
| set buildId($fixnum.Int64 value) => $_setInt64(5, value); | |
| @$pb.TagNumber(6) | |
| $core.bool hasBuildId() => $_has(5); | |
| @$pb.TagNumber(6) | |
| void clearBuildId() => $_clearField(6); | |
| /// The following fields indicate the resolution of symbolic info. | |
| @$pb.TagNumber(7) | |
| $core.bool get hasFunctions => $_getBF(6); | |
| @$pb.TagNumber(7) | |
| set hasFunctions($core.bool value) => $_setBool(6, value); | |
| @$pb.TagNumber(7) | |
| $core.bool hasHasFunctions() => $_has(6); | |
| @$pb.TagNumber(7) | |
| void clearHasFunctions() => $_clearField(7); | |
| @$pb.TagNumber(8) | |
| $core.bool get hasFilenames => $_getBF(7); | |
| @$pb.TagNumber(8) | |
| set hasFilenames($core.bool value) => $_setBool(7, value); | |
| @$pb.TagNumber(8) | |
| $core.bool hasHasFilenames() => $_has(7); | |
| @$pb.TagNumber(8) | |
| void clearHasFilenames() => $_clearField(8); | |
| @$pb.TagNumber(9) | |
| $core.bool get hasLineNumbers => $_getBF(8); | |
| @$pb.TagNumber(9) | |
| set hasLineNumbers($core.bool value) => $_setBool(8, value); | |
| @$pb.TagNumber(9) | |
| $core.bool hasHasLineNumbers() => $_has(8); | |
| @$pb.TagNumber(9) | |
| void clearHasLineNumbers() => $_clearField(9); | |
| @$pb.TagNumber(10) | |
| $core.bool get hasInlineFrames => $_getBF(9); | |
| @$pb.TagNumber(10) | |
| set hasInlineFrames($core.bool value) => $_setBool(9, value); | |
| @$pb.TagNumber(10) | |
| $core.bool hasHasInlineFrames() => $_has(9); | |
| @$pb.TagNumber(10) | |
| void clearHasInlineFrames() => $_clearField(10); | |
| } | |
| /// Describes function and line table debug information. | |
| class Location extends $pb.GeneratedMessage { | |
| factory Location({ | |
| $fixnum.Int64? id, | |
| $fixnum.Int64? mappingId, | |
| $fixnum.Int64? address, | |
| $core.Iterable<Line>? line, | |
| $core.bool? isFolded, | |
| }) { | |
| final result = create(); | |
| if (id != null) result.id = id; | |
| if (mappingId != null) result.mappingId = mappingId; | |
| if (address != null) result.address = address; | |
| if (line != null) result.line.addAll(line); | |
| if (isFolded != null) result.isFolded = isFolded; | |
| return result; | |
| } | |
| Location._(); | |
| factory Location.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Location.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Location', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..a<$fixnum.Int64>( | |
| 2, _omitFieldNames ? '' : 'mappingId', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..a<$fixnum.Int64>(3, _omitFieldNames ? '' : 'address', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..pPM<Line>(4, _omitFieldNames ? '' : 'line', subBuilder: Line.create) | |
| ..aOB(5, _omitFieldNames ? '' : 'isFolded') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Location clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Location copyWith(void Function(Location) updates) => | |
| super.copyWith((message) => updates(message as Location)) as Location; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Location create() => Location._(); | |
| @$core.override | |
| Location createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Location getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Location>(create); | |
| static Location? _defaultInstance; | |
| /// Unique nonzero id for the location. A profile could use | |
| /// instruction addresses or any integer sequence as ids. | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get id => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set id($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasId() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearId() => $_clearField(1); | |
| /// The id of the corresponding profile.Mapping for this location. | |
| /// It can be unset if the mapping is unknown or not applicable for | |
| /// this profile type. | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get mappingId => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set mappingId($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasMappingId() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearMappingId() => $_clearField(2); | |
| /// The instruction address for this location, if available. It | |
| /// should be within [Mapping.memory_start...Mapping.memory_limit] | |
| /// for the corresponding mapping. A non-leaf address may be in the | |
| /// middle of a call instruction. It is up to display tools to find | |
| /// the beginning of the instruction if necessary. | |
| @$pb.TagNumber(3) | |
| $fixnum.Int64 get address => $_getI64(2); | |
| @$pb.TagNumber(3) | |
| set address($fixnum.Int64 value) => $_setInt64(2, value); | |
| @$pb.TagNumber(3) | |
| $core.bool hasAddress() => $_has(2); | |
| @$pb.TagNumber(3) | |
| void clearAddress() => $_clearField(3); | |
| /// Multiple line indicates this location has inlined functions, | |
| /// where the last entry represents the caller into which the | |
| /// preceding entries were inlined. | |
| /// | |
| /// E.g., if memcpy() is inlined into printf: | |
| /// line[0].function_name == "memcpy" | |
| /// line[1].function_name == "printf" | |
| @$pb.TagNumber(4) | |
| $pb.PbList<Line> get line => $_getList(3); | |
| /// Provides an indication that multiple symbols map to this location's | |
| /// address, for example due to identical code folding by the linker. In that | |
| /// case the line information above represents one of the multiple | |
| /// symbols. This field must be recomputed when the symbolization state of the | |
| /// profile changes. | |
| @$pb.TagNumber(5) | |
| $core.bool get isFolded => $_getBF(4); | |
| @$pb.TagNumber(5) | |
| set isFolded($core.bool value) => $_setBool(4, value); | |
| @$pb.TagNumber(5) | |
| $core.bool hasIsFolded() => $_has(4); | |
| @$pb.TagNumber(5) | |
| void clearIsFolded() => $_clearField(5); | |
| } | |
| class Line extends $pb.GeneratedMessage { | |
| factory Line({ | |
| $fixnum.Int64? functionId, | |
| $fixnum.Int64? line, | |
| }) { | |
| final result = create(); | |
| if (functionId != null) result.functionId = functionId; | |
| if (line != null) result.line = line; | |
| return result; | |
| } | |
| Line._(); | |
| factory Line.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Line.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Line', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..a<$fixnum.Int64>( | |
| 1, _omitFieldNames ? '' : 'functionId', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..aInt64(2, _omitFieldNames ? '' : 'line') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Line clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Line copyWith(void Function(Line) updates) => | |
| super.copyWith((message) => updates(message as Line)) as Line; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Line create() => Line._(); | |
| @$core.override | |
| Line createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Line getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Line>(create); | |
| static Line? _defaultInstance; | |
| /// The id of the corresponding profile.Function for this line. | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get functionId => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set functionId($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasFunctionId() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearFunctionId() => $_clearField(1); | |
| /// Line number in source code. | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get line => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set line($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasLine() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearLine() => $_clearField(2); | |
| } | |
| class Function_ extends $pb.GeneratedMessage { | |
| factory Function_({ | |
| $fixnum.Int64? id, | |
| $fixnum.Int64? name, | |
| $fixnum.Int64? systemName, | |
| $fixnum.Int64? filename, | |
| $fixnum.Int64? startLine, | |
| }) { | |
| final result = create(); | |
| if (id != null) result.id = id; | |
| if (name != null) result.name = name; | |
| if (systemName != null) result.systemName = systemName; | |
| if (filename != null) result.filename = filename; | |
| if (startLine != null) result.startLine = startLine; | |
| return result; | |
| } | |
| Function_._(); | |
| factory Function_.fromBuffer($core.List<$core.int> data, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromBuffer(data, registry); | |
| factory Function_.fromJson($core.String json, | |
| [$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) => | |
| create()..mergeFromJson(json, registry); | |
| static final $pb.BuilderInfo _i = $pb.BuilderInfo( | |
| _omitMessageNames ? '' : 'Function', | |
| package: const $pb.PackageName( | |
| _omitMessageNames ? '' : 'perfetto.third_party.perftools.profiles'), | |
| createEmptyInstance: create) | |
| ..a<$fixnum.Int64>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.OU6, | |
| defaultOrMaker: $fixnum.Int64.ZERO) | |
| ..aInt64(2, _omitFieldNames ? '' : 'name') | |
| ..aInt64(3, _omitFieldNames ? '' : 'systemName') | |
| ..aInt64(4, _omitFieldNames ? '' : 'filename') | |
| ..aInt64(5, _omitFieldNames ? '' : 'startLine') | |
| ..hasRequiredFields = false; | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Function_ clone() => deepCopy(); | |
| @$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.') | |
| Function_ copyWith(void Function(Function_) updates) => | |
| super.copyWith((message) => updates(message as Function_)) as Function_; | |
| @$core.override | |
| $pb.BuilderInfo get info_ => _i; | |
| @$core.pragma('dart2js:noInline') | |
| static Function_ create() => Function_._(); | |
| @$core.override | |
| Function_ createEmptyInstance() => create(); | |
| @$core.pragma('dart2js:noInline') | |
| static Function_ getDefault() => | |
| _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Function_>(create); | |
| static Function_? _defaultInstance; | |
| /// Unique nonzero id for the function. | |
| @$pb.TagNumber(1) | |
| $fixnum.Int64 get id => $_getI64(0); | |
| @$pb.TagNumber(1) | |
| set id($fixnum.Int64 value) => $_setInt64(0, value); | |
| @$pb.TagNumber(1) | |
| $core.bool hasId() => $_has(0); | |
| @$pb.TagNumber(1) | |
| void clearId() => $_clearField(1); | |
| /// Name of the function, in human-readable form if available. | |
| /// Index into string table | |
| @$pb.TagNumber(2) | |
| $fixnum.Int64 get name => $_getI64(1); | |
| @$pb.TagNumber(2) | |
| set name($fixnum.Int64 value) => $_setInt64(1, value); | |
| @$pb.TagNumber(2) | |
| $core.bool hasName() => $_has(1); | |
| @$pb.TagNumber(2) | |
| void clearName() => $_clearField(2); | |
| /// Name of the function, as identified by the system. | |
| /// For instance, it can be a C++ mangled name. | |
| /// Index into string table | |
| @$pb.TagNumber(3) | |
| $fixnum.Int64 get systemName => $_getI64(2); | |
| @$pb.TagNumber(3) | |
| set systemName($fixnum.Int64 value) => $_setInt64(2, value); | |
| @$pb.TagNumber(3) | |
| $core.bool hasSystemName() => $_has(2); | |
| @$pb.TagNumber(3) | |
| void clearSystemName() => $_clearField(3); | |
| /// Source file containing the function. | |
| /// Index into string table | |
| @$pb.TagNumber(4) | |
| $fixnum.Int64 get filename => $_getI64(3); | |
| @$pb.TagNumber(4) | |
| set filename($fixnum.Int64 value) => $_setInt64(3, value); | |
| @$pb.TagNumber(4) | |
| $core.bool hasFilename() => $_has(3); | |
| @$pb.TagNumber(4) | |
| void clearFilename() => $_clearField(4); | |
| /// Line number in source file. | |
| @$pb.TagNumber(5) | |
| $fixnum.Int64 get startLine => $_getI64(4); | |
| @$pb.TagNumber(5) | |
| set startLine($fixnum.Int64 value) => $_setInt64(4, value); | |
| @$pb.TagNumber(5) | |
| $core.bool hasStartLine() => $_has(4); | |
| @$pb.TagNumber(5) | |
| void clearStartLine() => $_clearField(5); | |
| } | |
| const $core.bool _omitFieldNames = | |
| $core.bool.fromEnvironment('protobuf.omit_field_names'); | |
| const $core.bool _omitMessageNames = | |
| $core.bool.fromEnvironment('protobuf.omit_message_names'); |