UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

56 lines (48 loc) 2.36 kB
// // 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/chrome/performance_mark_hashes.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/chrome/performance_mark_hashes.proto. */ export const file_protos_perfetto_metrics_chrome_performance_mark_hashes: GenFile = /*@__PURE__*/ fileDesc("Cjxwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvcGVyZm9ybWFuY2VfbWFya19oYXNoZXMucHJvdG8SD3BlcmZldHRvLnByb3RvcyJDChtDaHJvbWVQZXJmb3JtYW5jZU1hcmtIYXNoZXMSEQoJc2l0ZV9oYXNoGAEgAygDEhEKCW1hcmtfaGFzaBgCIAMoAw"); /** * The list of Chrome performance mark hashes in trace track events. * Use cases include translating performance mark hashes to site and mark * names by getting this list, and prepending a translation table to the trace. * * @generated from message perfetto.protos.ChromePerformanceMarkHashes */ export type ChromePerformanceMarkHashes = Message<"perfetto.protos.ChromePerformanceMarkHashes"> & { /** * @generated from field: repeated int64 site_hash = 1; */ siteHash: bigint[]; /** * @generated from field: repeated int64 mark_hash = 2; */ markHash: bigint[]; }; /** * Describes the message perfetto.protos.ChromePerformanceMarkHashes. * Use `create(ChromePerformanceMarkHashesSchema)` to create a new message. */ export const ChromePerformanceMarkHashesSchema: GenMessage<ChromePerformanceMarkHashes> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_chrome_performance_mark_hashes, 0);