perfetto-protos
Version:
Perfetto protos exposed via protobuf-es for browser and node
72 lines (61 loc) • 3.18 kB
text/typescript
//
// Copyright (C) 2017 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/app/window_configuration.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 { file_protos_perfetto_trace_android_typedef } from "../typedef_pb";
import type { Message } from "@bufbuild/protobuf";
/**
* Describes the file protos/perfetto/trace/android/app/window_configuration.proto.
*/
export const file_protos_perfetto_trace_android_app_window_configuration: GenFile = /*@__PURE__*/
fileDesc("Cjxwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC9hcHAvd2luZG93X2NvbmZpZ3VyYXRpb24ucHJvdG8SD3BlcmZldHRvLnByb3RvcyK6AgoYV2luZG93Q29uZmlndXJhdGlvblByb3RvEi4KCmFwcF9ib3VuZHMYASABKAsyGi5wZXJmZXR0by5wcm90b3MuUmVjdFByb3RvEkkKDndpbmRvd2luZ19tb2RlGAIgASgFQjGKph0tYW5kcm9pZC5hcHAuV2luZG93Q29uZmlndXJhdGlvbi5XaW5kb3dpbmdNb2RlEkcKDWFjdGl2aXR5X3R5cGUYAyABKAVCMIqmHSxhbmRyb2lkLmFwcC5XaW5kb3dDb25maWd1cmF0aW9uLkFjdGl2aXR5VHlwZRIqCgZib3VuZHMYBCABKAsyGi5wZXJmZXR0by5wcm90b3MuUmVjdFByb3RvEi4KCm1heF9ib3VuZHMYBSABKAsyGi5wZXJmZXR0by5wcm90b3MuUmVjdFByb3Rv", [file_protos_perfetto_trace_android_graphics_rect, file_protos_perfetto_trace_android_typedef]);
/**
* Proto representation for WindowConfiguration.java class
*
* @generated from message perfetto.protos.WindowConfigurationProto
*/
export type WindowConfigurationProto = Message<"perfetto.protos.WindowConfigurationProto"> & {
/**
* @generated from field: optional perfetto.protos.RectProto app_bounds = 1;
*/
appBounds?: RectProto;
/**
* @generated from field: optional int32 windowing_mode = 2;
*/
windowingMode: number;
/**
* @generated from field: optional int32 activity_type = 3;
*/
activityType: number;
/**
* @generated from field: optional perfetto.protos.RectProto bounds = 4;
*/
bounds?: RectProto;
/**
* @generated from field: optional perfetto.protos.RectProto max_bounds = 5;
*/
maxBounds?: RectProto;
};
/**
* Describes the message perfetto.protos.WindowConfigurationProto.
* Use `create(WindowConfigurationProtoSchema)` to create a new message.
*/
export const WindowConfigurationProtoSchema: GenMessage<WindowConfigurationProto> = /*@__PURE__*/
messageDesc(file_protos_perfetto_trace_android_app_window_configuration, 0);