UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

60 lines (52 loc) 2.53 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/interceptor_config.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 { ConsoleConfig } from "./interceptors/console_config_pb"; import { file_protos_perfetto_config_interceptors_console_config } from "./interceptors/console_config_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/interceptor_config.proto. */ export const file_protos_perfetto_config_interceptor_config: GenFile = /*@__PURE__*/ fileDesc("Ci9wcm90b3MvcGVyZmV0dG8vY29uZmlnL2ludGVyY2VwdG9yX2NvbmZpZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIlkKEUludGVyY2VwdG9yQ29uZmlnEgwKBG5hbWUYASABKAkSNgoOY29uc29sZV9jb25maWcYZCABKAsyHi5wZXJmZXR0by5wcm90b3MuQ29uc29sZUNvbmZpZw", [file_protos_perfetto_config_interceptors_console_config]); /** * Configuration for trace packet interception. Used for diverting trace data to * non-Perfetto sources (e.g., logging to the console, ETW) when using the * Perfetto SDK. * * @generated from message perfetto.protos.InterceptorConfig */ export type InterceptorConfig = Message<"perfetto.protos.InterceptorConfig"> & { /** * Matches the name given to RegisterInterceptor(). * * @generated from field: optional string name = 1; */ name: string; /** * @generated from field: optional perfetto.protos.ConsoleConfig console_config = 100; */ consoleConfig?: ConsoleConfig; }; /** * Describes the message perfetto.protos.InterceptorConfig. * Use `create(InterceptorConfigSchema)` to create a new message. */ export const InterceptorConfigSchema: GenMessage<InterceptorConfig> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_interceptor_config, 0);