UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

100 lines (84 loc) 3.21 kB
// // Copyright (C) 2019 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/trace/gpu/gpu_log.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/trace/gpu/gpu_log.proto. */ export const file_protos_perfetto_trace_gpu_gpu_log: GenFile = /*@__PURE__*/ fileDesc("Cidwcm90b3MvcGVyZmV0dG8vdHJhY2UvZ3B1L2dwdV9sb2cucHJvdG8SD3BlcmZldHRvLnByb3RvcyKEAgoGR3B1TG9nEjIKCHNldmVyaXR5GAEgASgOMiAucGVyZmV0dG8ucHJvdG9zLkdwdUxvZy5TZXZlcml0eRILCgN0YWcYAiABKAkSEwoLbG9nX21lc3NhZ2UYAyABKAkiowEKCFNldmVyaXR5EhwKGExPR19TRVZFUklUWV9VTlNQRUNJRklFRBAAEhgKFExPR19TRVZFUklUWV9WRVJCT1NFEAESFgoSTE9HX1NFVkVSSVRZX0RFQlVHEAISFQoRTE9HX1NFVkVSSVRZX0lORk8QAxIYChRMT0dfU0VWRVJJVFlfV0FSTklORxAEEhYKEkxPR19TRVZFUklUWV9FUlJPUhAF"); /** * Message for logging events GPU data producer. * * @generated from message perfetto.protos.GpuLog */ export type GpuLog = Message<"perfetto.protos.GpuLog"> & { /** * @generated from field: optional perfetto.protos.GpuLog.Severity severity = 1; */ severity: GpuLog_Severity; /** * @generated from field: optional string tag = 2; */ tag: string; /** * @generated from field: optional string log_message = 3; */ logMessage: string; }; /** * Describes the message perfetto.protos.GpuLog. * Use `create(GpuLogSchema)` to create a new message. */ export const GpuLogSchema: GenMessage<GpuLog> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_gpu_gpu_log, 0); /** * @generated from enum perfetto.protos.GpuLog.Severity */ export enum GpuLog_Severity { /** * @generated from enum value: LOG_SEVERITY_UNSPECIFIED = 0; */ LOG_SEVERITY_UNSPECIFIED = 0, /** * @generated from enum value: LOG_SEVERITY_VERBOSE = 1; */ LOG_SEVERITY_VERBOSE = 1, /** * @generated from enum value: LOG_SEVERITY_DEBUG = 2; */ LOG_SEVERITY_DEBUG = 2, /** * @generated from enum value: LOG_SEVERITY_INFO = 3; */ LOG_SEVERITY_INFO = 3, /** * @generated from enum value: LOG_SEVERITY_WARNING = 4; */ LOG_SEVERITY_WARNING = 4, /** * @generated from enum value: LOG_SEVERITY_ERROR = 5; */ LOG_SEVERITY_ERROR = 5, } /** * Describes the enum perfetto.protos.GpuLog.Severity. */ export const GpuLog_SeveritySchema: GenEnum<GpuLog_Severity> = /*@__PURE__*/ enumDesc(file_protos_perfetto_trace_gpu_gpu_log, 0, 0);