perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
72 lines (61 loc) • 2.77 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/insetssource.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 { 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/insetssource.proto.
*/
export const file_protos_perfetto_trace_android_view_insetssource: GenFile = /*@__PURE__*/
fileDesc("CjVwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2luc2V0c3NvdXJjZS5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIqkBChFJbnNldHNTb3VyY2VQcm90bxIQCgR0eXBlGAEgASgJQgIYARIpCgVmcmFtZRgCIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SMQoNdmlzaWJsZV9mcmFtZRgDIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SDwoHdmlzaWJsZRgEIAEoCBITCgt0eXBlX251bWJlchgFIAEoBQ", [file_protos_perfetto_trace_android_graphics_rect]);
/**
* Represents a {@link android.view.InsetsSource} object
*
* @generated from message perfetto.protos.InsetsSourceProto
*/
export type InsetsSourceProto = Message<"perfetto.protos.InsetsSourceProto"> & {
/**
* @generated from field: optional string type = 1 [deprecated = true];
* @deprecated
*/
type: string;
/**
* @generated from field: optional perfetto.protos.RectProto frame = 2;
*/
frame?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto visible_frame = 3;
*/
visibleFrame?: RectProto;
/**
* @generated from field: optional bool visible = 4;
*/
visible: boolean;
/**
* @generated from field: optional int32 type_number = 5;
*/
typeNumber: number;
};
/**
* Describes the message perfetto.protos.InsetsSourceProto.
* Use `create(InsetsSourceProtoSchema)` to create a new message.
*/
export const InsetsSourceProtoSchema: GenMessage<InsetsSourceProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_view_insetssource, 0);