UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

69 lines (59 loc) 3 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/trace/android/view/insetssourcecontrol.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 { PointProto } from "../graphics/point_pb"; import { file_protos_perfetto_trace_android_graphics_point } from "../graphics/point_pb"; import type { SurfaceControlProto } from "./surfacecontrol_pb"; import { file_protos_perfetto_trace_android_view_surfacecontrol } from "./surfacecontrol_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/android/view/insetssourcecontrol.proto. */ export const file_protos_perfetto_trace_android_view_insetssourcecontrol: GenFile = /*@__PURE__*/ fileDesc("Cjxwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2luc2V0c3NvdXJjZWNvbnRyb2wucHJvdG8SD3BlcmZldHRvLnByb3RvcyKlAQoYSW5zZXRzU291cmNlQ29udHJvbFByb3RvEhAKBHR5cGUYASABKAlCAhgBEi0KCHBvc2l0aW9uGAIgASgLMhsucGVyZmV0dG8ucHJvdG9zLlBvaW50UHJvdG8SMwoFbGVhc2gYAyABKAsyJC5wZXJmZXR0by5wcm90b3MuU3VyZmFjZUNvbnRyb2xQcm90bxITCgt0eXBlX251bWJlchgEIAEoBQ", [file_protos_perfetto_trace_android_graphics_point, file_protos_perfetto_trace_android_view_surfacecontrol]); /** * Represents a {@link android.view.InsetsSourceControl} object * * @generated from message perfetto.protos.InsetsSourceControlProto */ export type InsetsSourceControlProto = Message<"perfetto.protos.InsetsSourceControlProto"> & { /** * @generated from field: optional string type = 1 [deprecated = true]; * @deprecated */ type: string; /** * @generated from field: optional perfetto.protos.PointProto position = 2; */ position?: PointProto; /** * @generated from field: optional perfetto.protos.SurfaceControlProto leash = 3; */ leash?: SurfaceControlProto; /** * @generated from field: optional int32 type_number = 4; */ typeNumber: number; }; /** * Describes the message perfetto.protos.InsetsSourceControlProto. * Use `create(InsetsSourceControlProtoSchema)` to create a new message. */ export const InsetsSourceControlProtoSchema: GenMessage<InsetsSourceControlProto> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_android_view_insetssourcecontrol, 0);