perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
79 lines (66 loc) • 3.23 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/displaycutout.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/displaycutout.proto.
*/
export const file_protos_perfetto_trace_android_view_displaycutout: GenFile = /*@__PURE__*/
fileDesc("CjZwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC92aWV3L2Rpc3BsYXljdXRvdXQucHJvdG8SD3BlcmZldHRvLnByb3RvcyLWAgoSRGlzcGxheUN1dG91dFByb3RvEioKBmluc2V0cxgBIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SLgoKYm91bmRfbGVmdBgDIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SLQoJYm91bmRfdG9wGAQgASgLMhoucGVyZmV0dG8ucHJvdG9zLlJlY3RQcm90bxIvCgtib3VuZF9yaWdodBgFIAEoCzIaLnBlcmZldHRvLnByb3Rvcy5SZWN0UHJvdG8SMAoMYm91bmRfYm90dG9tGAYgASgLMhoucGVyZmV0dG8ucHJvdG9zLlJlY3RQcm90bxI0ChB3YXRlcmZhbGxfaW5zZXRzGAcgASgLMhoucGVyZmV0dG8ucHJvdG9zLlJlY3RQcm90bxIWCg5zaWRlX292ZXJyaWRlcxgIIAMoBUoECAIQAw", [file_protos_perfetto_trace_android_graphics_rect]);
/**
* @generated from message perfetto.protos.DisplayCutoutProto
*/
export type DisplayCutoutProto = Message<"perfetto.protos.DisplayCutoutProto"> & {
/**
* @generated from field: optional perfetto.protos.RectProto insets = 1;
*/
insets?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto bound_left = 3;
*/
boundLeft?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto bound_top = 4;
*/
boundTop?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto bound_right = 5;
*/
boundRight?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto bound_bottom = 6;
*/
boundBottom?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto waterfall_insets = 7;
*/
waterfallInsets?: RectProto;
/**
* @generated from field: repeated int32 side_overrides = 8;
*/
sideOverrides: number[];
};
/**
* Describes the message perfetto.protos.DisplayCutoutProto.
* Use `create(DisplayCutoutProtoSchema)` to create a new message.
*/
export const DisplayCutoutProtoSchema: GenMessage<DisplayCutoutProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_view_displaycutout, 0);