//
// 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/metrics/webview/webview_jank_approximation.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 { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/metrics/webview/webview_jank_approximation.proto.
 */
export const file_protos_perfetto_metrics_webview_webview_jank_approximation: GenFile = /*@__PURE__*/
  fileDesc("CkBwcm90b3MvcGVyZmV0dG8vbWV0cmljcy93ZWJ2aWV3L3dlYnZpZXdfamFua19hcHByb3hpbWF0aW9uLnByb3RvEg9wZXJmZXR0by5wcm90b3MipQEKGFdlYlZpZXdKYW5rQXBwcm94aW1hdGlvbhIVCg13ZWJ2aWV3X2phbmtzGAEgASgFEiUKHXdlYnZpZXdfamFua3Nfd2l0aG91dF9zdGFydHVwGAIgASgFEhkKEXdlYnZpZXdfYXBwX2phbmtzGAMgASgFEhsKE3dlYnZpZXdfdG90YWxfamFua3MYBCABKAUSEwoLdG90YWxfamFua3MYBSABKAU");

/**
 * @generated from message perfetto.protos.WebViewJankApproximation
 */
export type WebViewJankApproximation = Message<"perfetto.protos.WebViewJankApproximation"> & {
  /**
   * @generated from field: optional int32 webview_janks = 1;
   */
  webviewJanks: number;

  /**
   * @generated from field: optional int32 webview_janks_without_startup = 2;
   */
  webviewJanksWithoutStartup: number;

  /**
   * @generated from field: optional int32 webview_app_janks = 3;
   */
  webviewAppJanks: number;

  /**
   * @generated from field: optional int32 webview_total_janks = 4;
   */
  webviewTotalJanks: number;

  /**
   * @generated from field: optional int32 total_janks = 5;
   */
  totalJanks: number;
};

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

