// Copyright (C) 2025 Rivos Inc.
//
// 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.

// Autogenerated by the ProtoZero Rust compiler plugin.
// Invoked by contrib/rust-sdk/tools/gen_rust_protos
// DO NOT EDIT.

use crate::pb_msg;
use crate::protos::trace::track_event::debug_annotation::*;

pb_msg!(TestEvent {
    str: String, primitive, 1,
    seq_value: u32, primitive, 2,
    counter: u64, primitive, 3,
    is_last: bool, primitive, 4,
    payload: TestEventTestPayload, msg, 5,
    protovm_patch: TestEventProtoVmPatch, msg, 6,
    protovm_incremental_state: TestEventProtoVmIncrementalState, msg, 7,
});

pb_msg!(TestEventProtoVmIncrementalState {
    string_merged: String, primitive, 1,
    int_merged: i32, primitive, 2,
});

pb_msg!(TestEventProtoVmPatch {
    string_to_merge: String, primitive, 1,
    int_to_merge: i32, primitive, 2,
});

pb_msg!(TestEventTestPayload {
    str: String, primitive, 1,
    nested: TestEventTestPayload, msg, 2,
    single_string: String, primitive, 4,
    single_int: i32, primitive, 5,
    repeated_ints: i32, primitive, 6,
    remaining_nesting_depth: u32, primitive, 3,
    debug_annotations: DebugAnnotation, msg, 7,
});
