UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

95 lines (82 loc) 3.54 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/config/android/pixel_modem_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/android/pixel_modem_config.proto. */ export const file_protos_perfetto_config_android_pixel_modem_config: GenFile = /*@__PURE__*/ fileDesc("Cjdwcm90b3MvcGVyZmV0dG8vY29uZmlnL2FuZHJvaWQvcGl4ZWxfbW9kZW1fY29uZmlnLnByb3RvEg9wZXJmZXR0by5wcm90b3MihAIKEFBpeGVsTW9kZW1Db25maWcSQQoLZXZlbnRfZ3JvdXAYASABKA4yLC5wZXJmZXR0by5wcm90b3MuUGl4ZWxNb2RlbUNvbmZpZy5FdmVudEdyb3VwEh8KF3BpZ3dlZWRfaGFzaF9hbGxvd19saXN0GAIgAygDEh4KFnBpZ3dlZWRfaGFzaF9kZW55X2xpc3QYAyADKAMibAoKRXZlbnRHcm91cBIXChNFVkVOVF9HUk9VUF9VTktOT1dOEAASHQoZRVZFTlRfR1JPVVBfTE9XX0JBTkRXSURUSBABEiYKIkVWRU5UX0dST1VQX0hJR0hfQU5EX0xPV19CQU5EV0lEVEgQAg"); /** * Data source that records events from the modem. * * @generated from message perfetto.protos.PixelModemConfig */ export type PixelModemConfig = Message<"perfetto.protos.PixelModemConfig"> & { /** * @generated from field: optional perfetto.protos.PixelModemConfig.EventGroup event_group = 1; */ eventGroup: PixelModemConfig_EventGroup; /** * If set, record only events with these hashes. * * @generated from field: repeated int64 pigweed_hash_allow_list = 2; */ pigweedHashAllowList: bigint[]; /** * If set and allow_list is not set, deny events with these hashes. * * @generated from field: repeated int64 pigweed_hash_deny_list = 3; */ pigweedHashDenyList: bigint[]; }; /** * Describes the message perfetto.protos.PixelModemConfig. * Use `create(PixelModemConfigSchema)` to create a new message. */ export const PixelModemConfigSchema: GenMessage<PixelModemConfig> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_android_pixel_modem_config, 0); /** * Event group to record, as defined by the modem. * * @generated from enum perfetto.protos.PixelModemConfig.EventGroup */ export enum PixelModemConfig_EventGroup { /** * @generated from enum value: EVENT_GROUP_UNKNOWN = 0; */ UNKNOWN = 0, /** * Events suitable for low bandwidth tracing only. * * @generated from enum value: EVENT_GROUP_LOW_BANDWIDTH = 1; */ LOW_BANDWIDTH = 1, /** * Events suitable for high and low bandwidth tracing. * * @generated from enum value: EVENT_GROUP_HIGH_AND_LOW_BANDWIDTH = 2; */ HIGH_AND_LOW_BANDWIDTH = 2, } /** * Describes the enum perfetto.protos.PixelModemConfig.EventGroup. */ export const PixelModemConfig_EventGroupSchema: GenEnum<PixelModemConfig_EventGroup> = /*@__PURE__*/ enumDesc(file_protos_perfetto_config_android_pixel_modem_config, 0, 0);