UNPKG

perfetto-protos

Version:

Perfetto protos exposed via protobuf-es for browser and node

62 lines (53 loc) 2.72 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/trace/android/server/windowcontainerthumbnail.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 { SurfaceAnimatorProto } from "./surfaceanimator_pb"; import { file_protos_perfetto_trace_android_server_surfaceanimator } from "./surfaceanimator_pb"; import type { Message } from "@bufbuild/protobuf"; /** * Describes the file protos/perfetto/trace/android/server/windowcontainerthumbnail.proto. */ export const file_protos_perfetto_trace_android_server_windowcontainerthumbnail: GenFile = /*@__PURE__*/ fileDesc("CkNwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9zZXJ2ZXIvd2luZG93Y29udGFpbmVydGh1bWJuYWlsLnByb3RvEg9wZXJmZXR0by5wcm90b3MifwodV2luZG93Q29udGFpbmVyVGh1bWJuYWlsUHJvdG8SDQoFd2lkdGgYASABKAUSDgoGaGVpZ2h0GAIgASgFEj8KEHN1cmZhY2VfYW5pbWF0b3IYAyABKAsyJS5wZXJmZXR0by5wcm90b3MuU3VyZmFjZUFuaW1hdG9yUHJvdG8", [file_protos_perfetto_trace_android_server_surfaceanimator]); /** * Represents a {@link com.android.server.wm.WindowContainerThumbnailProto} * object * * @generated from message perfetto.protos.WindowContainerThumbnailProto */ export type WindowContainerThumbnailProto = Message<"perfetto.protos.WindowContainerThumbnailProto"> & { /** * @generated from field: optional int32 width = 1; */ width: number; /** * @generated from field: optional int32 height = 2; */ height: number; /** * @generated from field: optional perfetto.protos.SurfaceAnimatorProto surface_animator = 3; */ surfaceAnimator?: SurfaceAnimatorProto; }; /** * Describes the message perfetto.protos.WindowContainerThumbnailProto. * Use `create(WindowContainerThumbnailProtoSchema)` to create a new message. */ export const WindowContainerThumbnailProtoSchema: GenMessage<WindowContainerThumbnailProto> = /*@__PURE__*/ messageDesc(file_protos_perfetto_trace_android_server_windowcontainerthumbnail, 0);