//
// Copyright (C) 2021 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/chrome/reported_by_page.proto (package perfetto.protos, syntax proto2)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
import { file_protos_perfetto_metrics_custom_options } from "../custom_options_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/metrics/chrome/reported_by_page.proto.
 */
export const file_protos_perfetto_metrics_chrome_reported_by_page: GenFile = /*@__PURE__*/
  fileDesc("CjVwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvcmVwb3J0ZWRfYnlfcGFnZS5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIqcBCg5SZXBvcnRlZEJ5UGFnZRIwChB0aW1lX3RvX3ZpZXdhYmxlGAEgAygBQhaKtRgSbXNfc21hbGxlcklzQmV0dGVyEjMKE3RpbWVfdG9faW50ZXJhY3RpdmUYAiADKAFCFoq1GBJtc19zbWFsbGVySXNCZXR0ZXISLgoOYmVuY2htYXJrX3RpbWUYAyADKAFCFoq1GBJtc19zbWFsbGVySXNCZXR0ZXI", [file_protos_perfetto_metrics_custom_options]);

/**
 * @generated from message perfetto.protos.ReportedByPage
 */
export type ReportedByPage = Message<"perfetto.protos.ReportedByPage"> & {
  /**
   * Time from navigation start to telemetry:reported_by_page:viewable.
   *
   * @generated from field: repeated double time_to_viewable = 1;
   */
  timeToViewable: number[];

  /**
   * Time from navigation start to telemetry:reported_by_page:interactive.
   *
   * @generated from field: repeated double time_to_interactive = 2;
   */
  timeToInteractive: number[];

  /**
   * Time from telemetry:reported_by_page:benchmark_begin to
   * telemetry:reported_by_page:benchmark_end.
   *
   * @generated from field: repeated double benchmark_time = 3;
   */
  benchmarkTime: number[];
};

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

