//
// Copyright (C) 2019 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/unsymbolized_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/android/unsymbolized_frames.proto.
 */
export const file_protos_perfetto_metrics_android_unsymbolized_frames: GenFile = /*@__PURE__*/
  fileDesc("Cjlwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9hbmRyb2lkL3Vuc3ltYm9saXplZF9mcmFtZXMucHJvdG8SD3BlcmZldHRvLnByb3RvcyKlAQoSVW5zeW1ib2xpemVkRnJhbWVzEjkKBmZyYW1lcxgBIAMoCzIpLnBlcmZldHRvLnByb3Rvcy5VbnN5bWJvbGl6ZWRGcmFtZXMuRnJhbWUaVAoFRnJhbWUSDgoGbW9kdWxlGAEgASgJEhAKCGJ1aWxkX2lkGAIgASgJEg8KB2FkZHJlc3MYAyABKAMSGAoQZ29vZ2xlX2xvb2t1cF9pZBgEIAEoCQ");

/**
 * @generated from message perfetto.protos.UnsymbolizedFrames
 */
export type UnsymbolizedFrames = Message<"perfetto.protos.UnsymbolizedFrames"> & {
  /**
   * @generated from field: repeated perfetto.protos.UnsymbolizedFrames.Frame frames = 1;
   */
  frames: UnsymbolizedFrames_Frame[];
};

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

/**
 * @generated from message perfetto.protos.UnsymbolizedFrames.Frame
 */
export type UnsymbolizedFrames_Frame = Message<"perfetto.protos.UnsymbolizedFrames.Frame"> & {
  /**
   * @generated from field: optional string module = 1;
   */
  module: string;

  /**
   * @generated from field: optional string build_id = 2;
   */
  buildId: string;

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

  /**
   * In some cases (Chrome/Webview) the ID that should be used to query
   * symbols in Google's internal tera-scale symbolization service is !=
   * `build_id` and requires some mangling.
   * This field is == 'build_id` for non-chromium cases, and is the breakpad
   * module ID (with lowercase hex digics) for chromium cases.
   *
   * @generated from field: optional string google_lookup_id = 4;
   */
  googleLookupId: string;
};

/**
 * Describes the message perfetto.protos.UnsymbolizedFrames.Frame.
 * Use `create(UnsymbolizedFrames_FrameSchema)` to create a new message.
 */
export const UnsymbolizedFrames_FrameSchema: GenMessage<UnsymbolizedFrames_Frame> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_metrics_android_unsymbolized_frames, 0, 0);

