UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

64 lines (55 loc) 2.74 kB
// // Copyright (C) 2018 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/android_log_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 { AndroidLogId, AndroidLogPriority } from "../../common/android_log_constants_pb"; import { file_protos_perfetto_common_android_log_constants } from "../../common/android_log_constants_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/config/android/android_log_config.proto. */ export const file_protos_perfetto_config_android_android_log_config: GenFile = /*@__PURE__*/ fileDesc("Cjdwcm90b3MvcGVyZmV0dG8vY29uZmlnL2FuZHJvaWQvYW5kcm9pZF9sb2dfY29uZmlnLnByb3RvEg9wZXJmZXR0by5wcm90b3MilAEKEEFuZHJvaWRMb2dDb25maWcSLgoHbG9nX2lkcxgBIAMoDjIdLnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkTG9nSWQSNQoIbWluX3ByaW8YAyABKA4yIy5wZXJmZXR0by5wcm90b3MuQW5kcm9pZExvZ1ByaW9yaXR5EhMKC2ZpbHRlcl90YWdzGAQgAygJSgQIAhAD", [file_protos_perfetto_common_android_log_constants]); /** * @generated from message perfetto.protos.AndroidLogConfig */ export type AndroidLogConfig = Message<"perfetto.protos.AndroidLogConfig"> & { /** * @generated from field: repeated perfetto.protos.AndroidLogId log_ids = 1; */ logIds: AndroidLogId[]; /** * If set ignores all log messages whose prio is < the given value. * * @generated from field: optional perfetto.protos.AndroidLogPriority min_prio = 3; */ minPrio: AndroidLogPriority; /** * If non-empty ignores all log messages whose tag doesn't match one of the * specified values. * * @generated from field: repeated string filter_tags = 4; */ filterTags: string[]; }; /** * Describes the message perfetto.protos.AndroidLogConfig. * Use `create(AndroidLogConfigSchema)` to create a new message. */ export const AndroidLogConfigSchema: GenMessage<AndroidLogConfig> = /*@__PURE__*/ messageDesc(file_protos_perfetto_config_android_android_log_config, 0);