perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
72 lines (63 loc) • 3.08 kB
text/typescript
//
// Copyright (C) 2021 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/trace_quality.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/trace_quality.proto.
*/
export const file_protos_perfetto_metrics_android_trace_quality: GenFile = /*@__PURE__*/
fileDesc("CjNwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL3RyYWNlX3F1YWxpdHkucHJvdG8SD3BlcmZldHRvLnByb3RvcyJ6ChlBbmRyb2lkVHJhY2VRdWFsaXR5TWV0cmljEkQKCGZhaWx1cmVzGAEgAygLMjIucGVyZmV0dG8ucHJvdG9zLkFuZHJvaWRUcmFjZVF1YWxpdHlNZXRyaWMuRmFpbHVyZRoXCgdGYWlsdXJlEgwKBG5hbWUYASABKAk");
/**
* Metric which checks the data in the trace processor tables is "reasonble"
* (i.e. we would expect to see it from a real device).
*
* This is useful to reject traces which may be valid (so no stat would be
* recorded) but a human would find the trace nonsensical.
*
* @generated from message perfetto.protos.AndroidTraceQualityMetric
*/
export type AndroidTraceQualityMetric = Message<"perfetto.protos.AndroidTraceQualityMetric"> & {
/**
* @generated from field: repeated perfetto.protos.AndroidTraceQualityMetric.Failure failures = 1;
*/
failures: AndroidTraceQualityMetric_Failure[];
};
/**
* Describes the message perfetto.protos.AndroidTraceQualityMetric.
* Use `create(AndroidTraceQualityMetricSchema)` to create a new message.
*/
export const AndroidTraceQualityMetricSchema: GenMessage<AndroidTraceQualityMetric> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_trace_quality, 0);
/**
* @generated from message perfetto.protos.AndroidTraceQualityMetric.Failure
*/
export type AndroidTraceQualityMetric_Failure = Message<"perfetto.protos.AndroidTraceQualityMetric.Failure"> & {
/**
* The name of the failed check.
*
* @generated from field: optional string name = 1;
*/
name: string;
};
/**
* Describes the message perfetto.protos.AndroidTraceQualityMetric.Failure.
* Use `create(AndroidTraceQualityMetric_FailureSchema)` to create a new message.
*/
export const AndroidTraceQualityMetric_FailureSchema: GenMessage<AndroidTraceQualityMetric_Failure> = /*@__PURE__*/
messageDesc(file_protos_perfetto_metrics_android_trace_quality, 0, 0);