//
// 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/metrics/android/android_boot_unagg.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 { AndroidAppProcessStartsMetric } from "./app_process_starts_metric_pb";
import { file_protos_perfetto_metrics_android_app_process_starts_metric } from "./app_process_starts_metric_pb";
import type { AndroidGarbageCollectionUnaggMetric } from "./android_garbage_collection_unagg_metric_pb";
import { file_protos_perfetto_metrics_android_android_garbage_collection_unagg_metric } from "./android_garbage_collection_unagg_metric_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/metrics/android/android_boot_unagg.proto.
 */
export const file_protos_perfetto_metrics_android_android_boot_unagg: GenFile = /*@__PURE__*/
  fileDesc("Cjhwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL2FuZHJvaWRfYm9vdF91bmFnZy5wcm90bxIPcGVyZmV0dG8ucHJvdG9zIscBChBBbmRyb2lkQm9vdFVuYWdnElgKIGFuZHJvaWRfYXBwX3Byb2Nlc3Nfc3RhcnRfbWV0cmljGAEgASgLMi4ucGVyZmV0dG8ucHJvdG9zLkFuZHJvaWRBcHBQcm9jZXNzU3RhcnRzTWV0cmljElkKG2FuZHJvaWRfcG9zdF9ib290X2djX21ldHJpYxgCIAEoCzI0LnBlcmZldHRvLnByb3Rvcy5BbmRyb2lkR2FyYmFnZUNvbGxlY3Rpb25VbmFnZ01ldHJpYw", [file_protos_perfetto_metrics_android_app_process_starts_metric, file_protos_perfetto_metrics_android_android_garbage_collection_unagg_metric]);

/**
 * @generated from message perfetto.protos.AndroidBootUnagg
 */
export type AndroidBootUnagg = Message<"perfetto.protos.AndroidBootUnagg"> & {
  /**
   * Looks at all apps started after boot complete broadcast.
   *
   * @generated from field: optional perfetto.protos.AndroidAppProcessStartsMetric android_app_process_start_metric = 1;
   */
  androidAppProcessStartMetric?: AndroidAppProcessStartsMetric;

  /**
   * Looks at all GC that occurs after boot complete broadcast.
   *
   * @generated from field: optional perfetto.protos.AndroidGarbageCollectionUnaggMetric android_post_boot_gc_metric = 2;
   */
  androidPostBootGcMetric?: AndroidGarbageCollectionUnaggMetric;
};

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

