//
// Copyright (C) 2018 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/third_party/statsd/shell_data.proto (package perfetto.proto, 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/third_party/statsd/shell_data.proto.
 */
export const file_protos_third_party_statsd_shell_data: GenFile = /*@__PURE__*/
  fileDesc("Cipwcm90b3MvdGhpcmRfcGFydHkvc3RhdHNkL3NoZWxsX2RhdGEucHJvdG8SDnBlcmZldHRvLnByb3RvIjIKCVNoZWxsRGF0YRIMCgRhdG9tGAEgAygMEhcKD3RpbWVzdGFtcF9uYW5vcxgCIAMoAw");

/**
 * This is a manual import of ShellData:
 * https://cs.android.com/android/platform/superproject/main/+/main:packages/modules/StatsD/statsd/src/shell/shell_data.proto;l=27;drc=d2e51ecdf08753688fb889b657dcba60adb994f3
 * This must exactly match perfetto.protos.StatsdAtom.
 *
 * @generated from message perfetto.proto.ShellData
 */
export type ShellData = Message<"perfetto.proto.ShellData"> & {
  /**
   * @generated from field: repeated bytes atom = 1;
   */
  atom: Uint8Array[];

  /**
   * @generated from field: repeated int64 timestamp_nanos = 2;
   */
  timestampNanos: bigint[];
};

/**
 * Describes the message perfetto.proto.ShellData.
 * Use `create(ShellDataSchema)` to create a new message.
 */
export const ShellDataSchema: GenMessage<ShellData> = /*@__PURE__*/
  messageDesc(file_protos_third_party_statsd_shell_data, 0);

