//
// Copyright (C) 2022 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/unsymbolized_args.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/unsymbolized_args.proto.
 */
export const file_protos_perfetto_metrics_chrome_unsymbolized_args: GenFile = /*@__PURE__*/
  fileDesc("CjZwcm90b3MvcGVyZmV0dG8vbWV0cmljcy9jaHJvbWUvdW5zeW1ib2xpemVkX2FyZ3MucHJvdG8SD3BlcmZldHRvLnByb3RvcyKnAQoWQ2hyb21lVW5zeW1ib2xpemVkQXJncxI5CgRhcmdzGAEgAygLMisucGVyZmV0dG8ucHJvdG9zLkNocm9tZVVuc3ltYm9saXplZEFyZ3MuQXJnGlIKA0FyZxIOCgZtb2R1bGUYASABKAkSEAoIYnVpbGRfaWQYAiABKAkSDwoHYWRkcmVzcxgDIAEoAxIYChBnb29nbGVfbG9va3VwX2lkGAQgASgJ");

/**
 * This message is similar to perfetto.protos.UnsymbolizedFrames, but this is
 * for trace event arguments, not stack frames. Keeping them separate because
 * the protos may evolve independently.
 *
 * @generated from message perfetto.protos.ChromeUnsymbolizedArgs
 */
export type ChromeUnsymbolizedArgs = Message<"perfetto.protos.ChromeUnsymbolizedArgs"> & {
  /**
   * @generated from field: repeated perfetto.protos.ChromeUnsymbolizedArgs.Arg args = 1;
   */
  args: ChromeUnsymbolizedArgs_Arg[];
};

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

/**
 * @generated from message perfetto.protos.ChromeUnsymbolizedArgs.Arg
 */
export type ChromeUnsymbolizedArgs_Arg = Message<"perfetto.protos.ChromeUnsymbolizedArgs.Arg"> & {
  /**
   * @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.ChromeUnsymbolizedArgs.Arg.
 * Use `create(ChromeUnsymbolizedArgs_ArgSchema)` to create a new message.
 */
export const ChromeUnsymbolizedArgs_ArgSchema: GenMessage<ChromeUnsymbolizedArgs_Arg> = /*@__PURE__*/
  messageDesc(file_protos_perfetto_metrics_chrome_unsymbolized_args, 0, 0);

