UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

74 lines 2.67 kB
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/chrome/chrome_config.proto. */ export declare const file_protos_perfetto_config_chrome_chrome_config: GenFile; /** * @generated from message perfetto.protos.ChromeConfig */ export type ChromeConfig = Message<"perfetto.protos.ChromeConfig"> & { /** * @generated from field: optional string trace_config = 1; */ traceConfig: string; /** * When enabled, the data source should only fill in fields in the output that * are not potentially privacy sensitive. * * @generated from field: optional bool privacy_filtering_enabled = 2; */ privacyFilteringEnabled: boolean; /** * Instead of emitting binary protobuf, convert the trace data to the legacy * JSON format. Note that the trace data will still be returned as a series of * TracePackets, but the embedded data will be JSON instead of serialized * protobuf. * * @generated from field: optional bool convert_to_legacy_json = 3; */ convertToLegacyJson: boolean; /** * @generated from field: optional perfetto.protos.ChromeConfig.ClientPriority client_priority = 4; */ clientPriority: ChromeConfig_ClientPriority; /** * Applicable only when using legacy JSON format. * If |json_agent_label_filter| is not empty, only data pertaining to * the specified tracing agent label (e.g. "traceEvents") will be returned. * * @generated from field: optional string json_agent_label_filter = 5; */ jsonAgentLabelFilter: string; }; /** * Describes the message perfetto.protos.ChromeConfig. * Use `create(ChromeConfigSchema)` to create a new message. */ export declare const ChromeConfigSchema: GenMessage<ChromeConfig>; /** * Priority of the tracing session client. A higher priority session may * preempt a lower priority one in configurations where concurrent sessions * aren't supported. * * @generated from enum perfetto.protos.ChromeConfig.ClientPriority */ export declare enum ChromeConfig_ClientPriority { /** * @generated from enum value: UNKNOWN = 0; */ UNKNOWN = 0, /** * @generated from enum value: BACKGROUND = 1; */ BACKGROUND = 1, /** * @generated from enum value: USER_INITIATED = 2; */ USER_INITIATED = 2 } /** * Describes the enum perfetto.protos.ChromeConfig.ClientPriority. */ export declare const ChromeConfig_ClientPrioritySchema: GenEnum<ChromeConfig_ClientPriority>; //# sourceMappingURL=chrome_config_pb.d.ts.map