perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
89 lines (75 loc) • 3.79 kB
text/typescript
//
// 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/insetssourceconsumer.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 { InsetsSourceControlProto } from "./insetssourcecontrol_pb";
import { file_protos_perfetto_trace_android_view_insetssourcecontrol } from "./insetssourcecontrol_pb";
import type { RectProto } from "../graphics/rect_pb";
import { file_protos_perfetto_trace_android_graphics_rect } from "../graphics/rect_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/view/insetssourceconsumer.proto.
*/
export const file_protos_perfetto_trace_android_view_insetssourceconsumer: GenFile = /*@__PURE__*/
fileDesc("Cj1wcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2luc2V0c3NvdXJjZWNvbnN1bWVyLnByb3RvEg9wZXJmZXR0by5wcm90b3Mi1AIKGUluc2V0c1NvdXJjZUNvbnN1bWVyUHJvdG8SIAoUaW50ZXJuYWxfaW5zZXRzX3R5cGUYASABKAlCAhgBEhgKEGhhc193aW5kb3dfZm9jdXMYAiABKAgSHAoUaXNfcmVxdWVzdGVkX3Zpc2libGUYAyABKAgSQQoOc291cmNlX2NvbnRyb2wYBCABKAsyKS5wZXJmZXR0by5wcm90b3MuSW5zZXRzU291cmNlQ29udHJvbFByb3RvEjEKDXBlbmRpbmdfZnJhbWUYBSABKAsyGi5wZXJmZXR0by5wcm90b3MuUmVjdFByb3RvEjkKFXBlbmRpbmdfdmlzaWJsZV9mcmFtZRgGIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SFwoPYW5pbWF0aW9uX3N0YXRlGAcgASgFEhMKC3R5cGVfbnVtYmVyGAggASgF", [file_protos_perfetto_trace_android_view_insetssourcecontrol, file_protos_perfetto_trace_android_graphics_rect]);
/**
* Represents a {@link android.view.InsetsSourceConsumer} object
*
* @generated from message perfetto.protos.InsetsSourceConsumerProto
*/
export type InsetsSourceConsumerProto = Message<"perfetto.protos.InsetsSourceConsumerProto"> & {
/**
* @generated from field: optional string internal_insets_type = 1 [deprecated = true];
* @deprecated
*/
internalInsetsType: string;
/**
* @generated from field: optional bool has_window_focus = 2;
*/
hasWindowFocus: boolean;
/**
* @generated from field: optional bool is_requested_visible = 3;
*/
isRequestedVisible: boolean;
/**
* @generated from field: optional perfetto.protos.InsetsSourceControlProto source_control = 4;
*/
sourceControl?: InsetsSourceControlProto;
/**
* @generated from field: optional perfetto.protos.RectProto pending_frame = 5;
*/
pendingFrame?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto pending_visible_frame = 6;
*/
pendingVisibleFrame?: RectProto;
/**
* @generated from field: optional int32 animation_state = 7;
*/
animationState: number;
/**
* @generated from field: optional int32 type_number = 8;
*/
typeNumber: number;
};
/**
* Describes the message perfetto.protos.InsetsSourceConsumerProto.
* Use `create(InsetsSourceConsumerProtoSchema)` to create a new message.
*/
export const InsetsSourceConsumerProtoSchema: GenMessage<InsetsSourceConsumerProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_view_insetssourceconsumer, 0);