UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

108 lines (93 loc) 4.13 kB
// // Copyright (C) 2017 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/inode_file/inode_file_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 { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/inode_file/inode_file_config.proto. */ export const file_protos_perfetto_config_inode_file_inode_file_config: GenFile = /*@__PURE__*/ fileDesc("Cjlwcm90b3MvcGVyZmV0dG8vY29uZmlnL2lub2RlX2ZpbGUvaW5vZGVfZmlsZV9jb25maWcucHJvdG8SD3BlcmZldHRvLnByb3RvcyKjAgoPSW5vZGVGaWxlQ29uZmlnEhgKEHNjYW5faW50ZXJ2YWxfbXMYASABKA0SFQoNc2Nhbl9kZWxheV9tcxgCIAEoDRIXCg9zY2FuX2JhdGNoX3NpemUYAyABKA0SEwoLZG9fbm90X3NjYW4YBCABKAgSGQoRc2Nhbl9tb3VudF9wb2ludHMYBSADKAkSVAoTbW91bnRfcG9pbnRfbWFwcGluZxgGIAMoCzI3LnBlcmZldHRvLnByb3Rvcy5Jbm9kZUZpbGVDb25maWcuTW91bnRQb2ludE1hcHBpbmdFbnRyeRpAChZNb3VudFBvaW50TWFwcGluZ0VudHJ5EhIKCm1vdW50cG9pbnQYASABKAkSEgoKc2Nhbl9yb290cxgCIAMoCQ"); /** * @generated from message perfetto.protos.InodeFileConfig */ export type InodeFileConfig = Message<"perfetto.protos.InodeFileConfig"> & { /** * How long to pause between batches. * * @generated from field: optional uint32 scan_interval_ms = 1; */ scanIntervalMs: number; /** * How long to wait before the first scan in order to accumulate inodes. * * @generated from field: optional uint32 scan_delay_ms = 2; */ scanDelayMs: number; /** * How many inodes to scan in one batch. * * @generated from field: optional uint32 scan_batch_size = 3; */ scanBatchSize: number; /** * Do not scan for inodes not found in the static map. * * @generated from field: optional bool do_not_scan = 4; */ doNotScan: boolean; /** * If non-empty, only scan inodes corresponding to block devices named in * this list. * * @generated from field: repeated string scan_mount_points = 5; */ scanMountPoints: string[]; /** * When encountering an inode belonging to a block device corresponding * to one of the mount points in this map, scan its scan_roots instead. * * @generated from field: repeated perfetto.protos.InodeFileConfig.MountPointMappingEntry mount_point_mapping = 6; */ mountPointMapping: InodeFileConfig_MountPointMappingEntry[]; }; /** * Describes the message perfetto.protos.InodeFileConfig. * Use `create(InodeFileConfigSchema)` to create a new message. */ export const InodeFileConfigSchema: GenMessage<InodeFileConfig> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_inode_file_inode_file_config, 0); /** * @generated from message perfetto.protos.InodeFileConfig.MountPointMappingEntry */ export type InodeFileConfig_MountPointMappingEntry = Message<"perfetto.protos.InodeFileConfig.MountPointMappingEntry"> & { /** * @generated from field: optional string mountpoint = 1; */ mountpoint: string; /** * @generated from field: repeated string scan_roots = 2; */ scanRoots: string[]; }; /** * Describes the message perfetto.protos.InodeFileConfig.MountPointMappingEntry. * Use `create(InodeFileConfig_MountPointMappingEntrySchema)` to create a new message. */ export const InodeFileConfig_MountPointMappingEntrySchema: GenMessage<InodeFileConfig_MountPointMappingEntry> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_inode_file_inode_file_config, 0, 0);