perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
96 lines (83 loc) • 3.17 kB
text/typescript
//
// Copyright (C) 2022 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts"
// @generated from file protos/perfetto/metrics/android/anr_metric.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/metrics/android/anr_metric.proto.
*/
export const file_protos_perfetto_metrics_android_anr_metric: GenFile = /*@__PURE__*/
fileDesc("CjBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2Fucl9tZXRyaWMucHJvdG8SD3BlcmZldHRvLnByb3RvcyKfAQoQQW5kcm9pZEFuck1ldHJpYxIyCgNhbnIYASADKAsyJS5wZXJmZXR0by5wcm90b3MuQW5kcm9pZEFuck1ldHJpYy5BbnIaVwoDQW5yEhAKCGVycm9yX2lkGAEgASgJEhQKDHByb2Nlc3NfbmFtZRgCIAEoCRILCgNwaWQYAyABKAUSDwoHc3ViamVjdBgEIAEoCRIKCgJ0cxgFIAEoAw");
/**
* @generated from message perfetto.protos.AndroidAnrMetric
*/
export type AndroidAnrMetric = Message<"perfetto.protos.AndroidAnrMetric"> & {
/**
* @generated from field: repeated perfetto.protos.AndroidAnrMetric.Anr anr = 1;
*/
anr: AndroidAnrMetric_Anr[];
};
/**
* Describes the message perfetto.protos.AndroidAnrMetric.
* Use `create(AndroidAnrMetricSchema)` to create a new message.
*/
export const AndroidAnrMetricSchema: GenMessage<AndroidAnrMetric> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_anr_metric, 0);
/**
* Next id: 12
*
* @generated from message perfetto.protos.AndroidAnrMetric.Anr
*/
export type AndroidAnrMetric_Anr = Message<"perfetto.protos.AndroidAnrMetric.Anr"> & {
/**
* UUID that identifies the ANR.
*
* @generated from field: optional string error_id = 1;
*/
errorId: string;
/**
* Name of the process that ANRed.
*
* @generated from field: optional string process_name = 2;
*/
processName: string;
/**
* PID of the ANRing process.
*
* @generated from field: optional int32 pid = 3;
*/
pid: number;
/**
* ANR subject line.
*
* @generated from field: optional string subject = 4;
*/
subject: string;
/**
* Timestamp of the ANR in the trace.
*
* @generated from field: optional int64 ts = 5;
*/
ts: bigint;
};
/**
* Describes the message perfetto.protos.AndroidAnrMetric.Anr.
* Use `create(AndroidAnrMetric_AnrSchema)` to create a new message.
*/
export const AndroidAnrMetric_AnrSchema: GenMessage<AndroidAnrMetric_Anr> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_anr_metric, 0, 0);