perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
73 lines (63 loc) • 2.9 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/common/ftrace_descriptor.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/common/ftrace_descriptor.proto.
*/
export const file_protos_perfetto_common_ftrace_descriptor: GenFile = /*@__PURE__*/
fileDesc("Ci5wcm90b3MvcGVyZmV0dG8vY29tbW9uL2Z0cmFjZV9kZXNjcmlwdG9yLnByb3RvEg9wZXJmZXR0by5wcm90b3MilAEKEEZ0cmFjZURlc2NyaXB0b3ISSwoRYXRyYWNlX2NhdGVnb3JpZXMYASADKAsyMC5wZXJmZXR0by5wcm90b3MuRnRyYWNlRGVzY3JpcHRvci5BdHJhY2VDYXRlZ29yeRozCg5BdHJhY2VDYXRlZ29yeRIMCgRuYW1lGAEgASgJEhMKC2Rlc2NyaXB0aW9uGAIgASgJ");
/**
* @generated from message perfetto.protos.FtraceDescriptor
*/
export type FtraceDescriptor = Message<"perfetto.protos.FtraceDescriptor"> & {
/**
* Report the available atrace categories.
*
* Used by Traceur via `perfetto --query`.
*
* @generated from field: repeated perfetto.protos.FtraceDescriptor.AtraceCategory atrace_categories = 1;
*/
atraceCategories: FtraceDescriptor_AtraceCategory[];
};
/**
* Describes the message perfetto.protos.FtraceDescriptor.
* Use `create(FtraceDescriptorSchema)` to create a new message.
*/
export const FtraceDescriptorSchema: GenMessage<FtraceDescriptor> = /*@__PURE__*/
messageDesc(file_protos_perfetto_common_ftrace_descriptor, 0);
/**
* @generated from message perfetto.protos.FtraceDescriptor.AtraceCategory
*/
export type FtraceDescriptor_AtraceCategory = Message<"perfetto.protos.FtraceDescriptor.AtraceCategory"> & {
/**
* @generated from field: optional string name = 1;
*/
name: string;
/**
* @generated from field: optional string description = 2;
*/
description: string;
};
/**
* Describes the message perfetto.protos.FtraceDescriptor.AtraceCategory.
* Use `create(FtraceDescriptor_AtraceCategorySchema)` to create a new message.
*/
export const FtraceDescriptor_AtraceCategorySchema: GenMessage<FtraceDescriptor_AtraceCategory> = /*@__PURE__*/
messageDesc(file_protos_perfetto_common_ftrace_descriptor, 0, 0);