//
// Copyright (C) 2023 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/winscope.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 { AndroidInputEvent } from "./android_input_event_pb";
import { file_protos_perfetto_trace_android_android_input_event } from "./android_input_event_pb";
import type { ProtoLogMessage } from "./protolog_pb";
import { file_protos_perfetto_trace_android_protolog } from "./protolog_pb";
import type { ShellTransition } from "./shell_transition_pb";
import { file_protos_perfetto_trace_android_shell_transition } from "./shell_transition_pb";
import type { LayersSnapshotProto } from "./surfaceflinger_layers_pb";
import { file_protos_perfetto_trace_android_surfaceflinger_layers } from "./surfaceflinger_layers_pb";
import type { TransactionTraceEntry } from "./surfaceflinger_transactions_pb";
import { file_protos_perfetto_trace_android_surfaceflinger_transactions } from "./surfaceflinger_transactions_pb";
import type { ViewCapture } from "./viewcapture_pb";
import { file_protos_perfetto_trace_android_viewcapture } from "./viewcapture_pb";
import type { WinscopeExtensionsImpl } from "./winscope_extensions_impl_pb";
import { file_protos_perfetto_trace_android_winscope_extensions_impl } from "./winscope_extensions_impl_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/android/winscope.proto.
 */
export const file_protos_perfetto_trace_android_winscope: GenFile = /*@__PURE__*/
  fileDesc("Cixwcm90b3MvcGVyZmV0dG8vdHJhY2UvYW5kcm9pZC93aW5zY29wZS5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIsIDChFXaW5zY29wZVRyYWNlRGF0YRI9Cg9sYXllcnNfc25hcHNob3QYASABKAsyJC5wZXJmZXR0by5wcm90b3MuTGF5ZXJzU25hcHNob3RQcm90bxI8Cgx0cmFuc2FjdGlvbnMYAiABKAsyJi5wZXJmZXR0by5wcm90b3MuVHJhbnNhY3Rpb25UcmFjZUVudHJ5EjoKEHNoZWxsX3RyYW5zaXRpb24YAyABKAsyIC5wZXJmZXR0by5wcm90b3MuU2hlbGxUcmFuc2l0aW9uEjoKEHByb3RvbG9nX21lc3NhZ2UYBCABKAsyIC5wZXJmZXR0by5wcm90b3MuUHJvdG9Mb2dNZXNzYWdlEkQKE3dpbnNjb3BlX2V4dGVuc2lvbnMYBSABKAsyJy5wZXJmZXR0by5wcm90b3MuV2luc2NvcGVFeHRlbnNpb25zSW1wbBIxCgt2aWV3Y2FwdHVyZRgGIAEoCzIcLnBlcmZldHRvLnByb3Rvcy5WaWV3Q2FwdHVyZRI/ChNhbmRyb2lkX2lucHV0X2V2ZW50GAcgASgLMiIucGVyZmV0dG8ucHJvdG9zLkFuZHJvaWRJbnB1dEV2ZW50", [file_protos_perfetto_trace_android_android_input_event, file_protos_perfetto_trace_android_protolog, file_protos_perfetto_trace_android_shell_transition, file_protos_perfetto_trace_android_surfaceflinger_layers, file_protos_perfetto_trace_android_surfaceflinger_transactions, file_protos_perfetto_trace_android_viewcapture, file_protos_perfetto_trace_android_winscope_extensions_impl]);

/**
 * This file is used to generated descriptors for all the winscope protos.
 * List all the winscope top-level trace messages here:
 *
 * @generated from message perfetto.protos.WinscopeTraceData
 */
export type WinscopeTraceData = Message<"perfetto.protos.WinscopeTraceData"> & {
  /**
   * @generated from field: optional perfetto.protos.LayersSnapshotProto layers_snapshot = 1;
   */
  layersSnapshot?: LayersSnapshotProto;

  /**
   * @generated from field: optional perfetto.protos.TransactionTraceEntry transactions = 2;
   */
  transactions?: TransactionTraceEntry;

  /**
   * @generated from field: optional perfetto.protos.ShellTransition shell_transition = 3;
   */
  shellTransition?: ShellTransition;

  /**
   * @generated from field: optional perfetto.protos.ProtoLogMessage protolog_message = 4;
   */
  protologMessage?: ProtoLogMessage;

  /**
   * @generated from field: optional perfetto.protos.WinscopeExtensionsImpl winscope_extensions = 5;
   */
  winscopeExtensions?: WinscopeExtensionsImpl;

  /**
   * @generated from field: optional perfetto.protos.ViewCapture viewcapture = 6;
   */
  viewcapture?: ViewCapture;

  /**
   * @generated from field: optional perfetto.protos.AndroidInputEvent android_input_event = 7;
   */
  androidInputEvent?: AndroidInputEvent;
};

/**
 * Describes the message perfetto.protos.WinscopeTraceData.
 * Use `create(WinscopeTraceDataSchema)` to create a new message.
 */
export const WinscopeTraceDataSchema: GenMessage<WinscopeTraceData> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_trace_android_winscope, 0);

