UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

78 lines (66 loc) 2.8 kB
// // Copyright (C) 2020 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/config/interceptors/console_config.proto (package perfetto.protos, syntax proto2) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/interceptors/console_config.proto. */ export const file_protos_perfetto_config_interceptors_console_config: GenFile = /*@__PURE__*/ fileDesc("Cjhwcm90b3MvcGVyZmV0dG8vY29uZmlnL2ludGVyY2VwdG9ycy9jb25zb2xlX2NvbmZpZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIqUBCg1Db25zb2xlQ29uZmlnEjUKBm91dHB1dBgBIAEoDjIlLnBlcmZldHRvLnByb3Rvcy5Db25zb2xlQ29uZmlnLk91dHB1dBIVCg1lbmFibGVfY29sb3JzGAIgASgIIkYKBk91dHB1dBIWChJPVVRQVVRfVU5TUEVDSUZJRUQQABIRCg1PVVRQVVRfU1RET1VUEAESEQoNT1VUUFVUX1NUREVSUhAC"); /** * @generated from message perfetto.protos.ConsoleConfig */ export type ConsoleConfig = Message<"perfetto.protos.ConsoleConfig"> & { /** * @generated from field: optional perfetto.protos.ConsoleConfig.Output output = 1; */ output: ConsoleConfig_Output; /** * @generated from field: optional bool enable_colors = 2; */ enableColors: boolean; }; /** * Describes the message perfetto.protos.ConsoleConfig. * Use `create(ConsoleConfigSchema)` to create a new message. */ export const ConsoleConfigSchema: GenMessage<ConsoleConfig> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_interceptors_console_config, 0); /** * @generated from enum perfetto.protos.ConsoleConfig.Output */ export enum ConsoleConfig_Output { /** * @generated from enum value: OUTPUT_UNSPECIFIED = 0; */ UNSPECIFIED = 0, /** * @generated from enum value: OUTPUT_STDOUT = 1; */ STDOUT = 1, /** * @generated from enum value: OUTPUT_STDERR = 2; */ STDERR = 2, } /** * Describes the enum perfetto.protos.ConsoleConfig.Output. */ export const ConsoleConfig_OutputSchema: GenEnum<ConsoleConfig_Output> = /*@__PURE__*/ enumDesc(file_protos_perfetto_config_interceptors_console_config, 0, 0);