UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

69 lines (59 loc) 2.68 kB
// // Copyright (C) 2024 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/common/clone_duration.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/common/clone_duration.proto. */ export const file_protos_perfetto_metrics_common_clone_duration: GenFile = /*@__PURE__*/ fileDesc("CjNwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jb21tb24vY2xvbmVfZHVyYXRpb24ucHJvdG8SD3BlcmZldHRvLnByb3RvcyJ8Cg1DbG9uZUR1cmF0aW9uEjoKCWJ5X2J1ZmZlchgBIAMoCzInLnBlcmZldHRvLnByb3Rvcy5DbG9uZUR1cmF0aW9uLkJ5QnVmZmVyGi8KCEJ5QnVmZmVyEg4KBmJ1ZmZlchgBIAEoBRITCgtkdXJhdGlvbl9ucxgCIAEoAw"); /** * @generated from message perfetto.protos.CloneDuration */ export type CloneDuration = Message<"perfetto.protos.CloneDuration"> & { /** * @generated from field: repeated perfetto.protos.CloneDuration.ByBuffer by_buffer = 1; */ byBuffer: CloneDuration_ByBuffer[]; }; /** * Describes the message perfetto.protos.CloneDuration. * Use `create(CloneDurationSchema)` to create a new message. */ export const CloneDurationSchema: GenMessage<CloneDuration> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_common_clone_duration, 0); /** * @generated from message perfetto.protos.CloneDuration.ByBuffer */ export type CloneDuration_ByBuffer = Message<"perfetto.protos.CloneDuration.ByBuffer"> & { /** * @generated from field: optional int32 buffer = 1; */ buffer: number; /** * @generated from field: optional int64 duration_ns = 2; */ durationNs: bigint; }; /** * Describes the message perfetto.protos.CloneDuration.ByBuffer. * Use `create(CloneDuration_ByBufferSchema)` to create a new message. */ export const CloneDuration_ByBufferSchema: GenMessage<CloneDuration_ByBuffer> = /*@__PURE__*/ messageDesc(file_protos_perfetto_metrics_common_clone_duration, 0, 0);