//
// 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/dropped_frames.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/chrome/dropped_frames.proto.
 */
export const file_protos_perfetto_metrics_chrome_dropped_frames: GenFile = /*@__PURE__*/
  fileDesc("CjNwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvZHJvcHBlZF9mcmFtZXMucHJvdG8SD3BlcmZldHRvLnByb3RvcyKeAQoTQ2hyb21lRHJvcHBlZEZyYW1lcxJICg1kcm9wcGVkX2ZyYW1lGAEgAygLMjEucGVyZmV0dG8ucHJvdG9zLkNocm9tZURyb3BwZWRGcmFtZXMuRHJvcHBlZEZyYW1lGj0KDERyb3BwZWRGcmFtZRIKCgJ0cxgBIAEoAxIUCgxwcm9jZXNzX25hbWUYAiABKAkSCwoDcGlkGAMgASgD");

/**
 * @generated from message perfetto.protos.ChromeDroppedFrames
 */
export type ChromeDroppedFrames = Message<"perfetto.protos.ChromeDroppedFrames"> & {
  /**
   * @generated from field: repeated perfetto.protos.ChromeDroppedFrames.DroppedFrame dropped_frame = 1;
   */
  droppedFrame: ChromeDroppedFrames_DroppedFrame[];
};

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

/**
 * @generated from message perfetto.protos.ChromeDroppedFrames.DroppedFrame
 */
export type ChromeDroppedFrames_DroppedFrame = Message<"perfetto.protos.ChromeDroppedFrames.DroppedFrame"> & {
  /**
   * @generated from field: optional int64 ts = 1;
   */
  ts: bigint;

  /**
   * @generated from field: optional string process_name = 2;
   */
  processName: string;

  /**
   * @generated from field: optional int64 pid = 3;
   */
  pid: bigint;
};

/**
 * Describes the message perfetto.protos.ChromeDroppedFrames.DroppedFrame.
 * Use `create(ChromeDroppedFrames_DroppedFrameSchema)` to create a new message.
 */
export const ChromeDroppedFrames_DroppedFrameSchema: GenMessage<ChromeDroppedFrames_DroppedFrame> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_metrics_chrome_dropped_frames, 0, 0);

