//
// Copyright (C) 2017 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/trace/ftrace/test_bundle_wrapper.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 { FtraceEventBundle } from "./ftrace_event_bundle_pb";
import { file_protos_perfetto_trace_ftrace_ftrace_event_bundle } from "./ftrace_event_bundle_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file protos/perfetto/trace/ftrace/test_bundle_wrapper.proto.
 */
export const file_protos_perfetto_trace_ftrace_test_bundle_wrapper: GenFile = /*@__PURE__*/
  fileDesc("CjZwcm90b3MvcGVyZmV0dG8vdHJhY2UvZnRyYWNlL3Rlc3RfYnVuZGxlX3dyYXBwZXIucHJvdG8SD3BlcmZldHRvLnByb3RvcyJmChFUZXN0QnVuZGxlV3JhcHBlchIOCgZiZWZvcmUYASABKAkSMgoGYnVuZGxlGAIgAygLMiIucGVyZmV0dG8ucHJvdG9zLkZ0cmFjZUV2ZW50QnVuZGxlEg0KBWFmdGVyGAMgASgJ", [file_protos_perfetto_trace_ftrace_ftrace_event_bundle]);

/**
 * TODO(hjd): Move this to ftrace_reader/test/protos.
 *
 * @generated from message perfetto.protos.TestBundleWrapper
 */
export type TestBundleWrapper = Message<"perfetto.protos.TestBundleWrapper"> & {
  /**
   * @generated from field: optional string before = 1;
   */
  before: string;

  /**
   * @generated from field: repeated perfetto.protos.FtraceEventBundle bundle = 2;
   */
  bundle: FtraceEventBundle[];

  /**
   * @generated from field: optional string after = 3;
   */
  after: string;
};

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

