diff --git a/.gitignore b/.gitignore index 334901860d9..d8802caa066 100644 --- a/.gitignore +++ b/.gitignore @@ -52,8 +52,6 @@ tooling/noir_js/lib # docs autogen build /docs/docs/noir_js/reference/ -codegen - **/cspell.json !./cspell.json diff --git a/acvm-repo/acir/build.rs b/acvm-repo/acir/build.rs index e52a06fbce4..5287a550d35 100644 --- a/acvm-repo/acir/build.rs +++ b/acvm-repo/acir/build.rs @@ -1,24 +1,75 @@ -use std::path::Path; +use std::{path::Path, process::Command}; fn main() { let (protoc_bin, include_dir) = protoc_prebuilt::init("29.3").expect("failed to initialize protoc"); unsafe { - std::env::set_var("PROTOC", protoc_bin); + std::env::set_var("PROTOC", &protoc_bin); } - prost_build::compile_protos( - &[ - // DTOs for a `Program`, which work with the types in `acir.cpp` - "./src/proto/program.proto", - // DTOs for the `WitnessStack`, which work with the types in `witness.cpp` - "./src/proto/acir/witness.proto", - // A pared down DTO for `Program`, so Barretenberg can ignore the Brillig part. - // This is only included to make sure it compiles. - "./src/proto/acir/program.proto", - ], - &[Path::new("./src/proto"), include_dir.as_path()], - ) - .expect("failed to compile .proto schemas"); + // Schemas we use on the Noir side. `prost` generates bindings for imported schemas transitively. + let noir_protos = ["./src/proto/program.proto", "./src/proto/acir/witness.proto"]; + + // Schemas we use in `aztec-packages`, ie. Barretenberg. For these we use `protoc` + // which doesn't generate source for imports, we have to list everything we need. + let bb_protos = [ + // DTOs for `Program`, which works with the types in `acir.cpp`, pared down + // so Barretenberg can ignore the Brillig part. + // If we don't generate C++ bindings here then we can add this to the Rust + // protos above to make to make sure it compiles. + "./src/proto/acir/program.proto", + // DTOs for the `WitnessStack`, which work with the types in `witness.cpp` + "./src/proto/acir/witness.proto", + "./src/proto/acir/circuit.proto", + "./src/proto/acir/native.proto", + ]; + + let includes = [Path::new("./src/proto"), include_dir.as_path()]; + + // Compile Rust sources into the OUT_DIR, e.g. target/debug/build/acir-611425dff1e0c70c/out/acvm.program.rs + prost_build::compile_protos(&noir_protos, &includes).expect("failed to compile .proto schemas"); + + // Compile C++ sources as well; the `serde` based codegen happens in tests, but here we have all the info already, + // and if the source files change then `prost` will have emitted the signals `cargo` to run the build again. + proto_cpp_codegen(&protoc_bin, "./codegen", &bb_protos, &includes) + .expect("failed to generate C++ bindings"); +} + +/// Compile C++ bindings for our protobuf schemas, to be shared with `aztec-packages` +/// similar to how the `serde_acir_cpp_codegen` test produced `acir.cpp`. +/// +/// Unlike `serde`, however, we don't have to error out if the bindings changed, +/// because this is backwards compatible. We just have to make sure that if the +/// `serde` bindings also changed, then we will update the mapping on the C++ +/// side as well in order to make use of the new types/fields. +/// +/// Alternatively we can do this as part of the `aztec-packages` build. +fn proto_cpp_codegen( + protoc_bin: impl AsRef, + out_dir: impl AsRef, + protos: &[impl AsRef], + includes: &[impl AsRef], +) -> std::io::Result<()> { + let mut cmd = Command::new(protoc_bin.as_ref()); + cmd.arg("--cpp_out").arg(out_dir.as_ref()); + for i in includes { + cmd.arg("-I").arg(i.as_ref()); + } + for p in protos { + cmd.arg(p.as_ref()); + } + let output = match cmd.output() { + Err(e) => { + return Err(std::io::Error::other(format!("failed to invoke protoc: {}", e))); + } + Ok(output) => output, + }; + if !output.status.success() { + return Err(std::io::Error::other(format!( + "protoc failed: {}", + String::from_utf8_lossy(&output.stderr) + ))); + } + Ok(()) } diff --git a/acvm-repo/acir/codegen/acir/circuit.pb.cc b/acvm-repo/acir/codegen/acir/circuit.pb.cc new file mode 100644 index 00000000000..b2a3130fc0b --- /dev/null +++ b/acvm-repo/acir/codegen/acir/circuit.pb.cc @@ -0,0 +1,17240 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/circuit.proto +// Protobuf C++ Version: 5.29.3 + +#include "acir/circuit.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace acvm { +namespace acir { +namespace circuit { + +inline constexpr OpcodeLocation_BrilligLocation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : acir_index_{::uint64_t{0u}}, + brillig_index_{::uint64_t{0u}}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR OpcodeLocation_BrilligLocation::OpcodeLocation_BrilligLocation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OpcodeLocation_BrilligLocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR OpcodeLocation_BrilligLocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OpcodeLocation_BrilligLocationDefaultTypeInternal() {} + union { + OpcodeLocation_BrilligLocation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpcodeLocation_BrilligLocationDefaultTypeInternal _OpcodeLocation_BrilligLocation_default_instance_; + template +PROTOBUF_CONSTEXPR ExpressionWidth_Unbounded::ExpressionWidth_Unbounded(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct ExpressionWidth_UnboundedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ExpressionWidth_UnboundedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ExpressionWidth_UnboundedDefaultTypeInternal() {} + union { + ExpressionWidth_Unbounded _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionWidth_UnboundedDefaultTypeInternal _ExpressionWidth_Unbounded_default_instance_; + +inline constexpr ExpressionWidth_Bounded::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : width_{::uint64_t{0u}}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR ExpressionWidth_Bounded::ExpressionWidth_Bounded(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ExpressionWidth_BoundedDefaultTypeInternal { + PROTOBUF_CONSTEXPR ExpressionWidth_BoundedDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ExpressionWidth_BoundedDefaultTypeInternal() {} + union { + ExpressionWidth_Bounded _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionWidth_BoundedDefaultTypeInternal _ExpressionWidth_Bounded_default_instance_; + template +PROTOBUF_CONSTEXPR BlockType_ReturnData::BlockType_ReturnData(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct BlockType_ReturnDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlockType_ReturnDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlockType_ReturnDataDefaultTypeInternal() {} + union { + BlockType_ReturnData _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockType_ReturnDataDefaultTypeInternal _BlockType_ReturnData_default_instance_; + template +PROTOBUF_CONSTEXPR BlockType_Memory::BlockType_Memory(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(_class_data_.base()){} +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase() { +} +#endif // PROTOBUF_CUSTOM_VTABLE +struct BlockType_MemoryDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlockType_MemoryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlockType_MemoryDefaultTypeInternal() {} + union { + BlockType_Memory _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockType_MemoryDefaultTypeInternal _BlockType_Memory_default_instance_; + +inline constexpr BlockType_CallData::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlockType_CallData::BlockType_CallData(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlockType_CallDataDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlockType_CallDataDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlockType_CallDataDefaultTypeInternal() {} + union { + BlockType_CallData _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockType_CallDataDefaultTypeInternal _BlockType_CallData_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntSub::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lhs_{0u}, + rhs_{0u}, + output_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntSub::BlackBoxFuncCall_BigIntSub(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntSubDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntSubDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntSubDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntSub _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntSubDefaultTypeInternal _BlackBoxFuncCall_BigIntSub_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntMul::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lhs_{0u}, + rhs_{0u}, + output_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntMul::BlackBoxFuncCall_BigIntMul(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntMulDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntMulDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntMulDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntMul _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntMulDefaultTypeInternal _BlackBoxFuncCall_BigIntMul_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntDiv::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lhs_{0u}, + rhs_{0u}, + output_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntDiv::BlackBoxFuncCall_BigIntDiv(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntDivDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntDivDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntDivDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntDiv _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntDivDefaultTypeInternal _BlackBoxFuncCall_BigIntDiv_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntAdd::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : lhs_{0u}, + rhs_{0u}, + output_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntAdd::BlackBoxFuncCall_BigIntAdd(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntAddDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntAddDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntAddDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntAdd _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntAddDefaultTypeInternal _BlackBoxFuncCall_BigIntAdd_default_instance_; + +inline constexpr OpcodeLocation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR OpcodeLocation::OpcodeLocation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OpcodeLocationDefaultTypeInternal { + PROTOBUF_CONSTEXPR OpcodeLocationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OpcodeLocationDefaultTypeInternal() {} + union { + OpcodeLocation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpcodeLocationDefaultTypeInternal _OpcodeLocation_default_instance_; + +inline constexpr ExpressionWidth::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR ExpressionWidth::ExpressionWidth(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ExpressionWidthDefaultTypeInternal { + PROTOBUF_CONSTEXPR ExpressionWidthDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ExpressionWidthDefaultTypeInternal() {} + union { + ExpressionWidth _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionWidthDefaultTypeInternal _ExpressionWidth_default_instance_; + +inline constexpr ConstantOrWitnessEnum::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR ConstantOrWitnessEnum::ConstantOrWitnessEnum(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ConstantOrWitnessEnumDefaultTypeInternal { + PROTOBUF_CONSTEXPR ConstantOrWitnessEnumDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ConstantOrWitnessEnumDefaultTypeInternal() {} + union { + ConstantOrWitnessEnum _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstantOrWitnessEnumDefaultTypeInternal _ConstantOrWitnessEnum_default_instance_; + +inline constexpr BrilligOutputs_Array::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : values_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BrilligOutputs_Array::BrilligOutputs_Array(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BrilligOutputs_ArrayDefaultTypeInternal { + PROTOBUF_CONSTEXPR BrilligOutputs_ArrayDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BrilligOutputs_ArrayDefaultTypeInternal() {} + union { + BrilligOutputs_Array _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BrilligOutputs_ArrayDefaultTypeInternal _BrilligOutputs_Array_default_instance_; + +inline constexpr BlockType::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR BlockType::BlockType(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlockTypeDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlockTypeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlockTypeDefaultTypeInternal() {} + union { + BlockType _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlockTypeDefaultTypeInternal _BlockType_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntToLeBytes::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : outputs_{}, + input_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntToLeBytes::BlackBoxFuncCall_BigIntToLeBytes(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntToLeBytes _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal _BlackBoxFuncCall_BigIntToLeBytes_default_instance_; + +inline constexpr Opcode_MemoryInit::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + init_{}, + block_type_{nullptr}, + block_id_{0u} {} + +template +PROTOBUF_CONSTEXPR Opcode_MemoryInit::Opcode_MemoryInit(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Opcode_MemoryInitDefaultTypeInternal { + PROTOBUF_CONSTEXPR Opcode_MemoryInitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Opcode_MemoryInitDefaultTypeInternal() {} + union { + Opcode_MemoryInit _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Opcode_MemoryInitDefaultTypeInternal _Opcode_MemoryInit_default_instance_; + +inline constexpr FunctionInput::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + input_{nullptr}, + num_bits_{0u} {} + +template +PROTOBUF_CONSTEXPR FunctionInput::FunctionInput(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FunctionInputDefaultTypeInternal { + PROTOBUF_CONSTEXPR FunctionInputDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FunctionInputDefaultTypeInternal() {} + union { + FunctionInput _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FunctionInputDefaultTypeInternal _FunctionInput_default_instance_; + +inline constexpr BrilligOutputs::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR BrilligOutputs::BrilligOutputs(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BrilligOutputsDefaultTypeInternal { + PROTOBUF_CONSTEXPR BrilligOutputsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BrilligOutputsDefaultTypeInternal() {} + union { + BrilligOutputs _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BrilligOutputsDefaultTypeInternal _BrilligOutputs_default_instance_; + +inline constexpr Opcode_Call::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + inputs_{}, + outputs_{}, + predicate_{nullptr}, + id_{0u} {} + +template +PROTOBUF_CONSTEXPR Opcode_Call::Opcode_Call(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Opcode_CallDefaultTypeInternal { + PROTOBUF_CONSTEXPR Opcode_CallDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Opcode_CallDefaultTypeInternal() {} + union { + Opcode_Call _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Opcode_CallDefaultTypeInternal _Opcode_Call_default_instance_; + +inline constexpr MemOp::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + operation_{nullptr}, + index_{nullptr}, + value_{nullptr} {} + +template +PROTOBUF_CONSTEXPR MemOp::MemOp(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct MemOpDefaultTypeInternal { + PROTOBUF_CONSTEXPR MemOpDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~MemOpDefaultTypeInternal() {} + union { + MemOp _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 MemOpDefaultTypeInternal _MemOp_default_instance_; + +inline constexpr ExpressionOrMemory::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR ExpressionOrMemory::ExpressionOrMemory(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ExpressionOrMemoryDefaultTypeInternal { + PROTOBUF_CONSTEXPR ExpressionOrMemoryDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ExpressionOrMemoryDefaultTypeInternal() {} + union { + ExpressionOrMemory _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionOrMemoryDefaultTypeInternal _ExpressionOrMemory_default_instance_; + +inline constexpr BrilligInputs_Array::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : values_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BrilligInputs_Array::BrilligInputs_Array(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BrilligInputs_ArrayDefaultTypeInternal { + PROTOBUF_CONSTEXPR BrilligInputs_ArrayDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BrilligInputs_ArrayDefaultTypeInternal() {} + union { + BrilligInputs_Array _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BrilligInputs_ArrayDefaultTypeInternal _BrilligInputs_Array_default_instance_; + +inline constexpr BlackBoxFuncCall_XOR::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + lhs_{nullptr}, + rhs_{nullptr}, + output_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_XOR::BlackBoxFuncCall_XOR(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_XORDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_XORDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_XORDefaultTypeInternal() {} + union { + BlackBoxFuncCall_XOR _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_XORDefaultTypeInternal _BlackBoxFuncCall_XOR_default_instance_; + +inline constexpr BlackBoxFuncCall_Sha256Compression::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + hash_values_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_Sha256Compression::BlackBoxFuncCall_Sha256Compression(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal() {} + union { + BlackBoxFuncCall_Sha256Compression _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal _BlackBoxFuncCall_Sha256Compression_default_instance_; + +inline constexpr BlackBoxFuncCall_RecursiveAggregation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + verification_key_{}, + proof_{}, + public_inputs_{}, + key_hash_{nullptr}, + proof_type_{0u} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_RecursiveAggregation::BlackBoxFuncCall_RecursiveAggregation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal() {} + union { + BlackBoxFuncCall_RecursiveAggregation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal _BlackBoxFuncCall_RecursiveAggregation_default_instance_; + +inline constexpr BlackBoxFuncCall_RANGE::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + input_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_RANGE::BlackBoxFuncCall_RANGE(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_RANGEDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_RANGEDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_RANGEDefaultTypeInternal() {} + union { + BlackBoxFuncCall_RANGE _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_RANGEDefaultTypeInternal _BlackBoxFuncCall_RANGE_default_instance_; + +inline constexpr BlackBoxFuncCall_Poseidon2Permutation::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + outputs_{}, + len_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_Poseidon2Permutation::BlackBoxFuncCall_Poseidon2Permutation(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal() {} + union { + BlackBoxFuncCall_Poseidon2Permutation _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal _BlackBoxFuncCall_Poseidon2Permutation_default_instance_; + +inline constexpr BlackBoxFuncCall_MultiScalarMul::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : points_{}, + scalars_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_MultiScalarMul::BlackBoxFuncCall_MultiScalarMul(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal() {} + union { + BlackBoxFuncCall_MultiScalarMul _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal _BlackBoxFuncCall_MultiScalarMul_default_instance_; + +inline constexpr BlackBoxFuncCall_Keccakf1600::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_Keccakf1600::BlackBoxFuncCall_Keccakf1600(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_Keccakf1600DefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_Keccakf1600DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_Keccakf1600DefaultTypeInternal() {} + union { + BlackBoxFuncCall_Keccakf1600 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_Keccakf1600DefaultTypeInternal _BlackBoxFuncCall_Keccakf1600_default_instance_; + +inline constexpr BlackBoxFuncCall_EmbeddedCurveAdd::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : input1_{}, + input2_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_EmbeddedCurveAdd::BlackBoxFuncCall_EmbeddedCurveAdd(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal() {} + union { + BlackBoxFuncCall_EmbeddedCurveAdd _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal _BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_; + +inline constexpr BlackBoxFuncCall_EcdsaSecp256r1::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + public_key_x_{}, + public_key_y_{}, + signature_{}, + hashed_message_{}, + output_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256r1::BlackBoxFuncCall_EcdsaSecp256r1(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal() {} + union { + BlackBoxFuncCall_EcdsaSecp256r1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal _BlackBoxFuncCall_EcdsaSecp256r1_default_instance_; + +inline constexpr BlackBoxFuncCall_EcdsaSecp256k1::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + public_key_x_{}, + public_key_y_{}, + signature_{}, + hashed_message_{}, + output_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256k1::BlackBoxFuncCall_EcdsaSecp256k1(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal() {} + union { + BlackBoxFuncCall_EcdsaSecp256k1 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal _BlackBoxFuncCall_EcdsaSecp256k1_default_instance_; + +inline constexpr BlackBoxFuncCall_Blake3::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake3::BlackBoxFuncCall_Blake3(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_Blake3DefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake3DefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_Blake3DefaultTypeInternal() {} + union { + BlackBoxFuncCall_Blake3 _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_Blake3DefaultTypeInternal _BlackBoxFuncCall_Blake3_default_instance_; + +inline constexpr BlackBoxFuncCall_Blake2s::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake2s::BlackBoxFuncCall_Blake2s(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_Blake2sDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake2sDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_Blake2sDefaultTypeInternal() {} + union { + BlackBoxFuncCall_Blake2s _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_Blake2sDefaultTypeInternal _BlackBoxFuncCall_Blake2s_default_instance_; + +inline constexpr BlackBoxFuncCall_BigIntFromLeBytes::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + modulus_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + output_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntFromLeBytes::BlackBoxFuncCall_BigIntFromLeBytes(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal() {} + union { + BlackBoxFuncCall_BigIntFromLeBytes _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal _BlackBoxFuncCall_BigIntFromLeBytes_default_instance_; + +inline constexpr BlackBoxFuncCall_AND::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + lhs_{nullptr}, + rhs_{nullptr}, + output_{nullptr} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_AND::BlackBoxFuncCall_AND(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_ANDDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_ANDDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_ANDDefaultTypeInternal() {} + union { + BlackBoxFuncCall_AND _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_ANDDefaultTypeInternal _BlackBoxFuncCall_AND_default_instance_; + +inline constexpr BlackBoxFuncCall_AES128Encrypt::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : inputs_{}, + iv_{}, + key_{}, + outputs_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall_AES128Encrypt::BlackBoxFuncCall_AES128Encrypt(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCall_AES128EncryptDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCall_AES128EncryptDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCall_AES128EncryptDefaultTypeInternal() {} + union { + BlackBoxFuncCall_AES128Encrypt _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCall_AES128EncryptDefaultTypeInternal _BlackBoxFuncCall_AES128Encrypt_default_instance_; + +inline constexpr Opcode_MemoryOp::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + op_{nullptr}, + predicate_{nullptr}, + block_id_{0u} {} + +template +PROTOBUF_CONSTEXPR Opcode_MemoryOp::Opcode_MemoryOp(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Opcode_MemoryOpDefaultTypeInternal { + PROTOBUF_CONSTEXPR Opcode_MemoryOpDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Opcode_MemoryOpDefaultTypeInternal() {} + union { + Opcode_MemoryOp _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Opcode_MemoryOpDefaultTypeInternal _Opcode_MemoryOp_default_instance_; + +inline constexpr BrilligInputs::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR BrilligInputs::BrilligInputs(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BrilligInputsDefaultTypeInternal { + PROTOBUF_CONSTEXPR BrilligInputsDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BrilligInputsDefaultTypeInternal() {} + union { + BrilligInputs _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BrilligInputsDefaultTypeInternal _BrilligInputs_default_instance_; + +inline constexpr BlackBoxFuncCall::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR BlackBoxFuncCall::BlackBoxFuncCall(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct BlackBoxFuncCallDefaultTypeInternal { + PROTOBUF_CONSTEXPR BlackBoxFuncCallDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~BlackBoxFuncCallDefaultTypeInternal() {} + union { + BlackBoxFuncCall _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 BlackBoxFuncCallDefaultTypeInternal _BlackBoxFuncCall_default_instance_; + +inline constexpr AssertionPayload::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : payload_{}, + error_selector_{::uint64_t{0u}}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR AssertionPayload::AssertionPayload(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AssertionPayloadDefaultTypeInternal { + PROTOBUF_CONSTEXPR AssertionPayloadDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AssertionPayloadDefaultTypeInternal() {} + union { + AssertionPayload _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssertionPayloadDefaultTypeInternal _AssertionPayload_default_instance_; + +inline constexpr Opcode_BrilligCall::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + inputs_{}, + outputs_{}, + predicate_{nullptr}, + id_{0u} {} + +template +PROTOBUF_CONSTEXPR Opcode_BrilligCall::Opcode_BrilligCall(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Opcode_BrilligCallDefaultTypeInternal { + PROTOBUF_CONSTEXPR Opcode_BrilligCallDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Opcode_BrilligCallDefaultTypeInternal() {} + union { + Opcode_BrilligCall _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Opcode_BrilligCallDefaultTypeInternal _Opcode_BrilligCall_default_instance_; + +inline constexpr AssertMessage::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + location_{nullptr}, + payload_{nullptr} {} + +template +PROTOBUF_CONSTEXPR AssertMessage::AssertMessage(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct AssertMessageDefaultTypeInternal { + PROTOBUF_CONSTEXPR AssertMessageDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~AssertMessageDefaultTypeInternal() {} + union { + AssertMessage _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 AssertMessageDefaultTypeInternal _AssertMessage_default_instance_; + +inline constexpr Opcode::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +template +PROTOBUF_CONSTEXPR Opcode::Opcode(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct OpcodeDefaultTypeInternal { + PROTOBUF_CONSTEXPR OpcodeDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~OpcodeDefaultTypeInternal() {} + union { + Opcode _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 OpcodeDefaultTypeInternal _Opcode_default_instance_; + +inline constexpr Circuit::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + opcodes_{}, + private_parameters_{}, + public_parameters_{}, + return_values_{}, + assert_messages_{}, + expression_width_{nullptr}, + current_witness_index_{0u} {} + +template +PROTOBUF_CONSTEXPR Circuit::Circuit(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct CircuitDefaultTypeInternal { + PROTOBUF_CONSTEXPR CircuitDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~CircuitDefaultTypeInternal() {} + union { + Circuit _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CircuitDefaultTypeInternal _Circuit_default_instance_; +} // namespace circuit +} // namespace acir +} // namespace acvm +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_acir_2fcircuit_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_acir_2fcircuit_2eproto = nullptr; +const ::uint32_t + TableStruct_acir_2fcircuit_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.current_witness_index_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.opcodes_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.expression_width_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.private_parameters_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.public_parameters_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.return_values_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Circuit, _impl_.assert_messages_), + ~0u, + ~0u, + 0, + ~0u, + ~0u, + ~0u, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth_Unbounded, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth_Bounded, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth_Bounded, _impl_.width_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertMessage, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertMessage, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertMessage, _impl_.location_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertMessage, _impl_.payload_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation_BrilligLocation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation_BrilligLocation, _impl_.acir_index_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation_BrilligLocation, _impl_.brillig_index_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertionPayload, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertionPayload, _impl_.error_selector_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::AssertionPayload, _impl_.payload_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionOrMemory, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionOrMemory, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionOrMemory, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryOp, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryOp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryOp, _impl_.block_id_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryOp, _impl_.op_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryOp, _impl_.predicate_), + ~0u, + 0, + 1, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryInit, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryInit, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryInit, _impl_.block_id_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryInit, _impl_.init_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_MemoryInit, _impl_.block_type_), + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_BrilligCall, _impl_.predicate_), + ~0u, + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _impl_.id_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode_Call, _impl_.predicate_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt, _impl_.iv_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt, _impl_.key_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AND, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AND, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AND, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AND, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_AND, _impl_.output_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_XOR, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_XOR, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_XOR, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_XOR, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_XOR, _impl_.output_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RANGE, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RANGE, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RANGE, _impl_.input_), + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s, _impl_.outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake3, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake3, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Blake3, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_x_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_y_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_.hashed_message_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1, _impl_.output_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_x_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_y_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_.signature_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_.hashed_message_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1, _impl_.output_), + ~0u, + ~0u, + ~0u, + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul, _impl_.points_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul, _impl_.scalars_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul, _impl_.outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input1_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input2_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_.verification_key_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_.public_inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_.key_hash_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_type_), + ~0u, + ~0u, + ~0u, + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd, _impl_.output_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub, _impl_.output_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul, _impl_.output_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv, _impl_.lhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv, _impl_.rhs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv, _impl_.output_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes, _impl_.modulus_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes, _impl_.output_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes, _impl_.input_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes, _impl_.outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation, _impl_.outputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation, _impl_.len_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression, _impl_.inputs_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression, _impl_.hash_values_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression, _impl_.outputs_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::FunctionInput, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::FunctionInput, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::FunctionInput, _impl_.input_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::FunctionInput, _impl_.num_bits_), + 0, + ~0u, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ConstantOrWitnessEnum, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ConstantOrWitnessEnum, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ConstantOrWitnessEnum, _impl_.value_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::MemOp, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::MemOp, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::MemOp, _impl_.operation_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::MemOp, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::MemOp, _impl_.value_), + 0, + 1, + 2, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType_Memory, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType_CallData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType_CallData, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType_ReturnData, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs_Array, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs_Array, _impl_.values_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs_Array, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs_Array, _impl_.values_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs, _internal_metadata_), + ~0u, // no _extensions_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs, _impl_._oneof_case_[0]), + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + ::_pbi::kInvalidFieldOffsetTag, + ::_pbi::kInvalidFieldOffsetTag, + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs, _impl_.value_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 15, -1, sizeof(::acvm::acir::circuit::Circuit)}, + {22, -1, -1, sizeof(::acvm::acir::circuit::ExpressionWidth_Unbounded)}, + {30, -1, -1, sizeof(::acvm::acir::circuit::ExpressionWidth_Bounded)}, + {39, -1, -1, sizeof(::acvm::acir::circuit::ExpressionWidth)}, + {50, 60, -1, sizeof(::acvm::acir::circuit::AssertMessage)}, + {62, -1, -1, sizeof(::acvm::acir::circuit::OpcodeLocation_BrilligLocation)}, + {72, -1, -1, sizeof(::acvm::acir::circuit::OpcodeLocation)}, + {83, -1, -1, sizeof(::acvm::acir::circuit::AssertionPayload)}, + {93, -1, -1, sizeof(::acvm::acir::circuit::ExpressionOrMemory)}, + {104, 115, -1, sizeof(::acvm::acir::circuit::Opcode_MemoryOp)}, + {118, 129, -1, sizeof(::acvm::acir::circuit::Opcode_MemoryInit)}, + {132, 144, -1, sizeof(::acvm::acir::circuit::Opcode_BrilligCall)}, + {148, 160, -1, sizeof(::acvm::acir::circuit::Opcode_Call)}, + {164, -1, -1, sizeof(::acvm::acir::circuit::Opcode)}, + {179, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt)}, + {191, 202, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_AND)}, + {205, 216, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_XOR)}, + {219, 228, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_RANGE)}, + {229, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s)}, + {239, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_Blake3)}, + {249, 262, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1)}, + {267, 280, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1)}, + {285, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul)}, + {296, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd)}, + {307, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600)}, + {317, 330, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation)}, + {335, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd)}, + {346, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub)}, + {357, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul)}, + {368, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv)}, + {379, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes)}, + {390, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes)}, + {400, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation)}, + {411, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression)}, + {422, -1, -1, sizeof(::acvm::acir::circuit::BlackBoxFuncCall)}, + {451, 461, -1, sizeof(::acvm::acir::circuit::FunctionInput)}, + {463, -1, -1, sizeof(::acvm::acir::circuit::ConstantOrWitnessEnum)}, + {474, 485, -1, sizeof(::acvm::acir::circuit::MemOp)}, + {488, -1, -1, sizeof(::acvm::acir::circuit::BlockType_Memory)}, + {496, -1, -1, sizeof(::acvm::acir::circuit::BlockType_CallData)}, + {505, -1, -1, sizeof(::acvm::acir::circuit::BlockType_ReturnData)}, + {513, -1, -1, sizeof(::acvm::acir::circuit::BlockType)}, + {525, -1, -1, sizeof(::acvm::acir::circuit::BrilligInputs_Array)}, + {534, -1, -1, sizeof(::acvm::acir::circuit::BrilligInputs)}, + {546, -1, -1, sizeof(::acvm::acir::circuit::BrilligOutputs_Array)}, + {555, -1, -1, sizeof(::acvm::acir::circuit::BrilligOutputs)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::acvm::acir::circuit::_Circuit_default_instance_._instance, + &::acvm::acir::circuit::_ExpressionWidth_Unbounded_default_instance_._instance, + &::acvm::acir::circuit::_ExpressionWidth_Bounded_default_instance_._instance, + &::acvm::acir::circuit::_ExpressionWidth_default_instance_._instance, + &::acvm::acir::circuit::_AssertMessage_default_instance_._instance, + &::acvm::acir::circuit::_OpcodeLocation_BrilligLocation_default_instance_._instance, + &::acvm::acir::circuit::_OpcodeLocation_default_instance_._instance, + &::acvm::acir::circuit::_AssertionPayload_default_instance_._instance, + &::acvm::acir::circuit::_ExpressionOrMemory_default_instance_._instance, + &::acvm::acir::circuit::_Opcode_MemoryOp_default_instance_._instance, + &::acvm::acir::circuit::_Opcode_MemoryInit_default_instance_._instance, + &::acvm::acir::circuit::_Opcode_BrilligCall_default_instance_._instance, + &::acvm::acir::circuit::_Opcode_Call_default_instance_._instance, + &::acvm::acir::circuit::_Opcode_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_AES128Encrypt_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_AND_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_XOR_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_RANGE_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_Blake2s_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_Blake3_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_EcdsaSecp256k1_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_EcdsaSecp256r1_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_MultiScalarMul_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_Keccakf1600_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_RecursiveAggregation_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntAdd_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntSub_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntMul_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntDiv_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntFromLeBytes_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_BigIntToLeBytes_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_Poseidon2Permutation_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_Sha256Compression_default_instance_._instance, + &::acvm::acir::circuit::_BlackBoxFuncCall_default_instance_._instance, + &::acvm::acir::circuit::_FunctionInput_default_instance_._instance, + &::acvm::acir::circuit::_ConstantOrWitnessEnum_default_instance_._instance, + &::acvm::acir::circuit::_MemOp_default_instance_._instance, + &::acvm::acir::circuit::_BlockType_Memory_default_instance_._instance, + &::acvm::acir::circuit::_BlockType_CallData_default_instance_._instance, + &::acvm::acir::circuit::_BlockType_ReturnData_default_instance_._instance, + &::acvm::acir::circuit::_BlockType_default_instance_._instance, + &::acvm::acir::circuit::_BrilligInputs_Array_default_instance_._instance, + &::acvm::acir::circuit::_BrilligInputs_default_instance_._instance, + &::acvm::acir::circuit::_BrilligOutputs_Array_default_instance_._instance, + &::acvm::acir::circuit::_BrilligOutputs_default_instance_._instance, +}; +const char descriptor_table_protodef_acir_2fcircuit_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\022acir/circuit.proto\022\021acvm.acir.circuit\032" + "\021acir/native.proto\"\354\002\n\007Circuit\022\035\n\025curren" + "t_witness_index\030\001 \001(\r\022*\n\007opcodes\030\002 \003(\0132\031" + ".acvm.acir.circuit.Opcode\022<\n\020expression_" + "width\030\003 \001(\0132\".acvm.acir.circuit.Expressi" + "onWidth\0225\n\022private_parameters\030\004 \003(\0132\031.ac" + "vm.acir.native.Witness\0224\n\021public_paramet" + "ers\030\005 \003(\0132\031.acvm.acir.native.Witness\0220\n\r" + "return_values\030\006 \003(\0132\031.acvm.acir.native.W" + "itness\0229\n\017assert_messages\030\007 \003(\0132 .acvm.a" + "cir.circuit.AssertMessage\"\303\001\n\017Expression" + "Width\022A\n\tunbounded\030\001 \001(\0132,.acvm.acir.cir" + "cuit.ExpressionWidth.UnboundedH\000\022=\n\007boun" + "ded\030\002 \001(\0132*.acvm.acir.circuit.Expression" + "Width.BoundedH\000\032\013\n\tUnbounded\032\030\n\007Bounded\022" + "\r\n\005width\030\001 \001(\004B\007\n\005value\"z\n\rAssertMessage" + "\0223\n\010location\030\001 \001(\0132!.acvm.acir.circuit.O" + "pcodeLocation\0224\n\007payload\030\002 \001(\0132#.acvm.ac" + "ir.circuit.AssertionPayload\"\255\001\n\016OpcodeLo" + "cation\022\016\n\004acir\030\001 \001(\004H\000\022D\n\007brillig\030\002 \001(\0132" + "1.acvm.acir.circuit.OpcodeLocation.Brill" + "igLocationH\000\032<\n\017BrilligLocation\022\022\n\nacir_" + "index\030\001 \001(\004\022\025\n\rbrillig_index\030\002 \001(\004B\007\n\005va" + "lue\"b\n\020AssertionPayload\022\026\n\016error_selecto" + "r\030\001 \001(\004\0226\n\007payload\030\002 \003(\0132%.acvm.acir.cir" + "cuit.ExpressionOrMemory\"c\n\022ExpressionOrM" + "emory\0222\n\nexpression\030\001 \001(\0132\034.acvm.acir.na" + "tive.ExpressionH\000\022\020\n\006memory\030\002 \001(\rH\000B\007\n\005v" + "alue\"\350\007\n\006Opcode\0223\n\013assert_zero\030\001 \001(\0132\034.a" + "cvm.acir.native.ExpressionH\000\022A\n\022blackbox" + "_func_call\030\002 \001(\0132#.acvm.acir.circuit.Bla" + "ckBoxFuncCallH\000\0227\n\tmemory_op\030\003 \001(\0132\".acv" + "m.acir.circuit.Opcode.MemoryOpH\000\022;\n\013memo" + "ry_init\030\004 \001(\0132$.acvm.acir.circuit.Opcode" + ".MemoryInitH\000\022=\n\014brillig_call\030\005 \001(\0132%.ac" + "vm.acir.circuit.Opcode.BrilligCallH\000\022.\n\004" + "call\030\006 \001(\0132\036.acvm.acir.circuit.Opcode.Ca" + "llH\000\032\206\001\n\010MemoryOp\022\020\n\010block_id\030\001 \001(\r\022$\n\002o" + "p\030\002 \001(\0132\030.acvm.acir.circuit.MemOp\0224\n\tpre" + "dicate\030\003 \001(\0132\034.acvm.acir.native.Expressi" + "onH\000\210\001\001B\014\n\n_predicate\032y\n\nMemoryInit\022\020\n\010b" + "lock_id\030\001 \001(\r\022\'\n\004init\030\002 \003(\0132\031.acvm.acir." + "native.Witness\0220\n\nblock_type\030\003 \001(\0132\034.acv" + "m.acir.circuit.BlockType\032\303\001\n\013BrilligCall" + "\022\n\n\002id\030\001 \001(\r\0220\n\006inputs\030\002 \003(\0132 .acvm.acir" + ".circuit.BrilligInputs\0222\n\007outputs\030\003 \003(\0132" + "!.acvm.acir.circuit.BrilligOutputs\0224\n\tpr" + "edicate\030\004 \001(\0132\034.acvm.acir.native.Express" + "ionH\000\210\001\001B\014\n\n_predicate\032\255\001\n\004Call\022\n\n\002id\030\001 " + "\001(\r\022)\n\006inputs\030\002 \003(\0132\031.acvm.acir.native.W" + "itness\022*\n\007outputs\030\003 \003(\0132\031.acvm.acir.nati" + "ve.Witness\0224\n\tpredicate\030\004 \001(\0132\034.acvm.aci" + "r.native.ExpressionH\000\210\001\001B\014\n\n_predicateB\007" + "\n\005value\"\236!\n\020BlackBoxFuncCall\022K\n\016aes128_e" + "ncrypt\030\001 \001(\01321.acvm.acir.circuit.BlackBo" + "xFuncCall.AES128EncryptH\000\0226\n\003and\030\002 \001(\0132\'" + ".acvm.acir.circuit.BlackBoxFuncCall.ANDH" + "\000\0226\n\003xor\030\003 \001(\0132\'.acvm.acir.circuit.Black" + "BoxFuncCall.XORH\000\022:\n\005range\030\004 \001(\0132).acvm." + "acir.circuit.BlackBoxFuncCall.RANGEH\000\022>\n" + "\007blake2s\030\005 \001(\0132+.acvm.acir.circuit.Black" + "BoxFuncCall.Blake2sH\000\022<\n\006blake3\030\006 \001(\0132*." + "acvm.acir.circuit.BlackBoxFuncCall.Blake" + "3H\000\022M\n\017ecdsa_secp256k1\030\007 \001(\01322.acvm.acir" + ".circuit.BlackBoxFuncCall.EcdsaSecp256k1" + "H\000\022M\n\017ecdsa_secp256r1\030\010 \001(\01322.acvm.acir." + "circuit.BlackBoxFuncCall.EcdsaSecp256r1H" + "\000\022N\n\020multi_scalar_mul\030\t \001(\01322.acvm.acir." + "circuit.BlackBoxFuncCall.MultiScalarMulH" + "\000\022R\n\022embedded_curve_add\030\n \001(\01324.acvm.aci" + "r.circuit.BlackBoxFuncCall.EmbeddedCurve" + "AddH\000\022G\n\014keccak_f1600\030\013 \001(\0132/.acvm.acir." + "circuit.BlackBoxFuncCall.Keccakf1600H\000\022Y" + "\n\025recursive_aggregation\030\014 \001(\01328.acvm.aci" + "r.circuit.BlackBoxFuncCall.RecursiveAggr" + "egationH\000\022D\n\013big_int_add\030\r \001(\0132-.acvm.ac" + "ir.circuit.BlackBoxFuncCall.BigIntAddH\000\022" + "D\n\013big_int_sub\030\016 \001(\0132-.acvm.acir.circuit" + ".BlackBoxFuncCall.BigIntSubH\000\022D\n\013big_int" + "_mul\030\017 \001(\0132-.acvm.acir.circuit.BlackBoxF" + "uncCall.BigIntMulH\000\022D\n\013big_int_div\030\020 \001(\013" + "2-.acvm.acir.circuit.BlackBoxFuncCall.Bi" + "gIntDivH\000\022V\n\025big_int_from_le_bytes\030\021 \001(\013" + "25.acvm.acir.circuit.BlackBoxFuncCall.Bi" + "gIntFromLeBytesH\000\022R\n\023big_int_to_le_bytes" + "\030\022 \001(\01323.acvm.acir.circuit.BlackBoxFuncC" + "all.BigIntToLeBytesH\000\022Y\n\025poseidon2_permu" + "tation\030\023 \001(\01328.acvm.acir.circuit.BlackBo" + "xFuncCall.Poseidon2PermutationH\000\022S\n\022sha2" + "56_compression\030\024 \001(\01325.acvm.acir.circuit" + ".BlackBoxFuncCall.Sha256CompressionH\000\032\312\001" + "\n\rAES128Encrypt\0220\n\006inputs\030\001 \003(\0132 .acvm.a" + "cir.circuit.FunctionInput\022,\n\002iv\030\002 \003(\0132 ." + "acvm.acir.circuit.FunctionInput\022-\n\003key\030\003" + " \003(\0132 .acvm.acir.circuit.FunctionInput\022*" + "\n\007outputs\030\004 \003(\0132\031.acvm.acir.native.Witne" + "ss\032\216\001\n\003AND\022-\n\003lhs\030\001 \001(\0132 .acvm.acir.circ" + "uit.FunctionInput\022-\n\003rhs\030\002 \001(\0132 .acvm.ac" + "ir.circuit.FunctionInput\022)\n\006output\030\003 \001(\013" + "2\031.acvm.acir.native.Witness\032\216\001\n\003XOR\022-\n\003l" + "hs\030\001 \001(\0132 .acvm.acir.circuit.FunctionInp" + "ut\022-\n\003rhs\030\002 \001(\0132 .acvm.acir.circuit.Func" + "tionInput\022)\n\006output\030\003 \001(\0132\031.acvm.acir.na" + "tive.Witness\0328\n\005RANGE\022/\n\005input\030\001 \001(\0132 .a" + "cvm.acir.circuit.FunctionInput\032g\n\007Blake2" + "s\0220\n\006inputs\030\001 \003(\0132 .acvm.acir.circuit.Fu" + "nctionInput\022*\n\007outputs\030\002 \003(\0132\031.acvm.acir" + ".native.Witness\032f\n\006Blake3\0220\n\006inputs\030\001 \003(" + "\0132 .acvm.acir.circuit.FunctionInput\022*\n\007o" + "utputs\030\002 \003(\0132\031.acvm.acir.native.Witness\032" + "\232\002\n\016EcdsaSecp256k1\0226\n\014public_key_x\030\001 \003(\013" + "2 .acvm.acir.circuit.FunctionInput\0226\n\014pu" + "blic_key_y\030\002 \003(\0132 .acvm.acir.circuit.Fun" + "ctionInput\0223\n\tsignature\030\003 \003(\0132 .acvm.aci" + "r.circuit.FunctionInput\0228\n\016hashed_messag" + "e\030\004 \003(\0132 .acvm.acir.circuit.FunctionInpu" + "t\022)\n\006output\030\005 \001(\0132\031.acvm.acir.native.Wit" + "ness\032\232\002\n\016EcdsaSecp256r1\0226\n\014public_key_x\030" + "\001 \003(\0132 .acvm.acir.circuit.FunctionInput\022" + "6\n\014public_key_y\030\002 \003(\0132 .acvm.acir.circui" + "t.FunctionInput\0223\n\tsignature\030\003 \003(\0132 .acv" + "m.acir.circuit.FunctionInput\0228\n\016hashed_m" + "essage\030\004 \003(\0132 .acvm.acir.circuit.Functio" + "nInput\022)\n\006output\030\005 \001(\0132\031.acvm.acir.nativ" + "e.Witness\032\241\001\n\016MultiScalarMul\0220\n\006points\030\001" + " \003(\0132 .acvm.acir.circuit.FunctionInput\0221" + "\n\007scalars\030\002 \003(\0132 .acvm.acir.circuit.Func" + "tionInput\022*\n\007outputs\030\003 \003(\0132\031.acvm.acir.n" + "ative.Witness\032\242\001\n\020EmbeddedCurveAdd\0220\n\006in" + "put1\030\001 \003(\0132 .acvm.acir.circuit.FunctionI" + "nput\0220\n\006input2\030\002 \003(\0132 .acvm.acir.circuit" + ".FunctionInput\022*\n\007outputs\030\003 \003(\0132\031.acvm.a" + "cir.native.Witness\032k\n\013Keccakf1600\0220\n\006inp" + "uts\030\001 \003(\0132 .acvm.acir.circuit.FunctionIn" + "put\022*\n\007outputs\030\002 \003(\0132\031.acvm.acir.native." + "Witness\032\204\002\n\024RecursiveAggregation\022:\n\020veri" + "fication_key\030\001 \003(\0132 .acvm.acir.circuit.F" + "unctionInput\022/\n\005proof\030\002 \003(\0132 .acvm.acir." + "circuit.FunctionInput\0227\n\rpublic_inputs\030\003" + " \003(\0132 .acvm.acir.circuit.FunctionInput\0222" + "\n\010key_hash\030\004 \001(\0132 .acvm.acir.circuit.Fun" + "ctionInput\022\022\n\nproof_type\030\005 \001(\r\0325\n\tBigInt" + "Add\022\013\n\003lhs\030\001 \001(\r\022\013\n\003rhs\030\002 \001(\r\022\016\n\006output\030" + "\003 \001(\r\0325\n\tBigIntSub\022\013\n\003lhs\030\001 \001(\r\022\013\n\003rhs\030\002" + " \001(\r\022\016\n\006output\030\003 \001(\r\0325\n\tBigIntMul\022\013\n\003lhs" + "\030\001 \001(\r\022\013\n\003rhs\030\002 \001(\r\022\016\n\006output\030\003 \001(\r\0325\n\tB" + "igIntDiv\022\013\n\003lhs\030\001 \001(\r\022\013\n\003rhs\030\002 \001(\r\022\016\n\006ou" + "tput\030\003 \001(\r\032f\n\021BigIntFromLeBytes\0220\n\006input" + "s\030\001 \003(\0132 .acvm.acir.circuit.FunctionInpu" + "t\022\017\n\007modulus\030\002 \001(\014\022\016\n\006output\030\003 \001(\r\032L\n\017Bi" + "gIntToLeBytes\022\r\n\005input\030\001 \001(\r\022*\n\007outputs\030" + "\002 \003(\0132\031.acvm.acir.native.Witness\032\201\001\n\024Pos" + "eidon2Permutation\0220\n\006inputs\030\001 \003(\0132 .acvm" + ".acir.circuit.FunctionInput\022*\n\007outputs\030\002" + " \003(\0132\031.acvm.acir.native.Witness\022\013\n\003len\030\003" + " \001(\r\032\250\001\n\021Sha256Compression\0220\n\006inputs\030\001 \003" + "(\0132 .acvm.acir.circuit.FunctionInput\0225\n\013" + "hash_values\030\002 \003(\0132 .acvm.acir.circuit.Fu" + "nctionInput\022*\n\007outputs\030\003 \003(\0132\031.acvm.acir" + ".native.WitnessB\007\n\005value\"Z\n\rFunctionInpu" + "t\0227\n\005input\030\001 \001(\0132(.acvm.acir.circuit.Con" + "stantOrWitnessEnum\022\020\n\010num_bits\030\002 \001(\r\"{\n\025" + "ConstantOrWitnessEnum\022+\n\010constant\030\001 \001(\0132" + "\027.acvm.acir.native.FieldH\000\022,\n\007witness\030\002 " + "\001(\0132\031.acvm.acir.native.WitnessH\000B\007\n\005valu" + "e\"\222\001\n\005MemOp\022/\n\toperation\030\001 \001(\0132\034.acvm.ac" + "ir.native.Expression\022+\n\005index\030\002 \001(\0132\034.ac" + "vm.acir.native.Expression\022+\n\005value\030\003 \001(\013" + "2\034.acvm.acir.native.Expression\"\372\001\n\tBlock" + "Type\0225\n\006memory\030\001 \001(\0132#.acvm.acir.circuit" + ".BlockType.MemoryH\000\022:\n\tcall_data\030\002 \001(\0132%" + ".acvm.acir.circuit.BlockType.CallDataH\000\022" + ">\n\013return_data\030\003 \001(\0132\'.acvm.acir.circuit" + ".BlockType.ReturnDataH\000\032\010\n\006Memory\032\031\n\010Cal" + "lData\022\r\n\005value\030\001 \001(\r\032\014\n\nReturnDataB\007\n\005va" + "lue\"\320\001\n\rBrilligInputs\022.\n\006single\030\001 \001(\0132\034." + "acvm.acir.native.ExpressionH\000\0227\n\005array\030\002" + " \001(\0132&.acvm.acir.circuit.BrilligInputs.A" + "rrayH\000\022\026\n\014memory_array\030\003 \001(\rH\000\0325\n\005Array\022" + ",\n\006values\030\002 \003(\0132\034.acvm.acir.native.Expre" + "ssionB\007\n\005value\"\264\001\n\016BrilligOutputs\022+\n\006sim" + "ple\030\001 \001(\0132\031.acvm.acir.native.WitnessH\000\0228" + "\n\005array\030\002 \001(\0132\'.acvm.acir.circuit.Brilli" + "gOutputs.ArrayH\000\0322\n\005Array\022)\n\006values\030\001 \003(" + "\0132\031.acvm.acir.native.WitnessB\007\n\005valueb\006p" + "roto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_acir_2fcircuit_2eproto_deps[1] = + { + &::descriptor_table_acir_2fnative_2eproto, +}; +static ::absl::once_flag descriptor_table_acir_2fcircuit_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_acir_2fcircuit_2eproto = { + false, + false, + 7405, + descriptor_table_protodef_acir_2fcircuit_2eproto, + "acir/circuit.proto", + &descriptor_table_acir_2fcircuit_2eproto_once, + descriptor_table_acir_2fcircuit_2eproto_deps, + 1, + 46, + schemas, + file_default_instances, + TableStruct_acir_2fcircuit_2eproto::offsets, + file_level_enum_descriptors_acir_2fcircuit_2eproto, + file_level_service_descriptors_acir_2fcircuit_2eproto, +}; +namespace acvm { +namespace acir { +namespace circuit { +// =================================================================== + +class Circuit::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Circuit, _impl_._has_bits_); +}; + +void Circuit::clear_private_parameters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.private_parameters_.Clear(); +} +void Circuit::clear_public_parameters() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_parameters_.Clear(); +} +void Circuit::clear_return_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.return_values_.Clear(); +} +Circuit::Circuit(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Circuit) +} +inline PROTOBUF_NDEBUG_INLINE Circuit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Circuit& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + opcodes_{visibility, arena, from.opcodes_}, + private_parameters_{visibility, arena, from.private_parameters_}, + public_parameters_{visibility, arena, from.public_parameters_}, + return_values_{visibility, arena, from.return_values_}, + assert_messages_{visibility, arena, from.assert_messages_} {} + +Circuit::Circuit( + ::google::protobuf::Arena* arena, + const Circuit& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Circuit* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.expression_width_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth>( + arena, *from._impl_.expression_width_) + : nullptr; + _impl_.current_witness_index_ = from._impl_.current_witness_index_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Circuit) +} +inline PROTOBUF_NDEBUG_INLINE Circuit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + opcodes_{visibility, arena}, + private_parameters_{visibility, arena}, + public_parameters_{visibility, arena}, + return_values_{visibility, arena}, + assert_messages_{visibility, arena} {} + +inline void Circuit::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, expression_width_), + 0, + offsetof(Impl_, current_witness_index_) - + offsetof(Impl_, expression_width_) + + sizeof(Impl_::current_witness_index_)); +} +Circuit::~Circuit() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Circuit) + SharedDtor(*this); +} +inline void Circuit::SharedDtor(MessageLite& self) { + Circuit& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.expression_width_; + this_._impl_.~Impl_(); +} + +inline void* Circuit::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Circuit(arena); +} +constexpr auto Circuit::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.opcodes_) + + decltype(Circuit::_impl_.opcodes_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.private_parameters_) + + decltype(Circuit::_impl_.private_parameters_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.public_parameters_) + + decltype(Circuit::_impl_.public_parameters_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.return_values_) + + decltype(Circuit::_impl_.return_values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.assert_messages_) + + decltype(Circuit::_impl_.assert_messages_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Circuit), alignof(Circuit), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Circuit::PlacementNew_, + sizeof(Circuit), + alignof(Circuit)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Circuit::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Circuit_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Circuit::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Circuit::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Circuit::ByteSizeLong, + &Circuit::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Circuit, _impl_._cached_size_), + false, + }, + &Circuit::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Circuit::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 7, 6, 0, 2> Circuit::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Circuit, _impl_._has_bits_), + 0, // no _extensions_ + 7, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967168, // skipmap + offsetof(decltype(_table_), field_entries), + 7, // num_field_entries + 6, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Circuit>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 current_witness_index = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Circuit, _impl_.current_witness_index_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.current_witness_index_)}}, + // repeated .acvm.acir.circuit.Opcode opcodes = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.opcodes_)}}, + // .acvm.acir.circuit.ExpressionWidth expression_width = 3; + {::_pbi::TcParser::FastMtS1, + {26, 0, 1, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.expression_width_)}}, + // repeated .acvm.acir.native.Witness private_parameters = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 2, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.private_parameters_)}}, + // repeated .acvm.acir.native.Witness public_parameters = 5; + {::_pbi::TcParser::FastMtR1, + {42, 63, 3, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.public_parameters_)}}, + // repeated .acvm.acir.native.Witness return_values = 6; + {::_pbi::TcParser::FastMtR1, + {50, 63, 4, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.return_values_)}}, + // repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; + {::_pbi::TcParser::FastMtR1, + {58, 63, 5, PROTOBUF_FIELD_OFFSET(Circuit, _impl_.assert_messages_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 current_witness_index = 1; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.current_witness_index_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .acvm.acir.circuit.Opcode opcodes = 2; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.opcodes_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.ExpressionWidth expression_width = 3; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.expression_width_), _Internal::kHasBitsOffset + 0, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness private_parameters = 4; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.private_parameters_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness public_parameters = 5; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.public_parameters_), -1, 3, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness return_values = 6; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.return_values_), -1, 4, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; + {PROTOBUF_FIELD_OFFSET(Circuit, _impl_.assert_messages_), -1, 5, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::AssertMessage>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Circuit::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Circuit) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.opcodes_.Clear(); + _impl_.private_parameters_.Clear(); + _impl_.public_parameters_.Clear(); + _impl_.return_values_.Clear(); + _impl_.assert_messages_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.expression_width_ != nullptr); + _impl_.expression_width_->Clear(); + } + _impl_.current_witness_index_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Circuit::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Circuit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Circuit::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Circuit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Circuit) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 current_witness_index = 1; + if (this_._internal_current_witness_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_current_witness_index(), target); + } + + // repeated .acvm.acir.circuit.Opcode opcodes = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_opcodes_size()); + i < n; i++) { + const auto& repfield = this_._internal_opcodes().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.ExpressionWidth expression_width = 3; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.expression_width_, this_._impl_.expression_width_->GetCachedSize(), target, + stream); + } + + // repeated .acvm.acir.native.Witness private_parameters = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_private_parameters_size()); + i < n; i++) { + const auto& repfield = this_._internal_private_parameters().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness public_parameters = 5; + for (unsigned i = 0, n = static_cast( + this_._internal_public_parameters_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_parameters().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness return_values = 6; + for (unsigned i = 0, n = static_cast( + this_._internal_return_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_return_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; + for (unsigned i = 0, n = static_cast( + this_._internal_assert_messages_size()); + i < n; i++) { + const auto& repfield = this_._internal_assert_messages().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Circuit) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Circuit::ByteSizeLong(const MessageLite& base) { + const Circuit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Circuit::ByteSizeLong() const { + const Circuit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Circuit) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.Opcode opcodes = 2; + { + total_size += 1UL * this_._internal_opcodes_size(); + for (const auto& msg : this_._internal_opcodes()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness private_parameters = 4; + { + total_size += 1UL * this_._internal_private_parameters_size(); + for (const auto& msg : this_._internal_private_parameters()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness public_parameters = 5; + { + total_size += 1UL * this_._internal_public_parameters_size(); + for (const auto& msg : this_._internal_public_parameters()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness return_values = 6; + { + total_size += 1UL * this_._internal_return_values_size(); + for (const auto& msg : this_._internal_return_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; + { + total_size += 1UL * this_._internal_assert_messages_size(); + for (const auto& msg : this_._internal_assert_messages()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.circuit.ExpressionWidth expression_width = 3; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.expression_width_); + } + } + { + // uint32 current_witness_index = 1; + if (this_._internal_current_witness_index() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_current_witness_index()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Circuit::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Circuit) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_opcodes()->MergeFrom( + from._internal_opcodes()); + _this->_internal_mutable_private_parameters()->MergeFrom( + from._internal_private_parameters()); + _this->_internal_mutable_public_parameters()->MergeFrom( + from._internal_public_parameters()); + _this->_internal_mutable_return_values()->MergeFrom( + from._internal_return_values()); + _this->_internal_mutable_assert_messages()->MergeFrom( + from._internal_assert_messages()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.expression_width_ != nullptr); + if (_this->_impl_.expression_width_ == nullptr) { + _this->_impl_.expression_width_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth>(arena, *from._impl_.expression_width_); + } else { + _this->_impl_.expression_width_->MergeFrom(*from._impl_.expression_width_); + } + } + if (from._internal_current_witness_index() != 0) { + _this->_impl_.current_witness_index_ = from._impl_.current_witness_index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Circuit::CopyFrom(const Circuit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Circuit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Circuit::InternalSwap(Circuit* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.opcodes_.InternalSwap(&other->_impl_.opcodes_); + _impl_.private_parameters_.InternalSwap(&other->_impl_.private_parameters_); + _impl_.public_parameters_.InternalSwap(&other->_impl_.public_parameters_); + _impl_.return_values_.InternalSwap(&other->_impl_.return_values_); + _impl_.assert_messages_.InternalSwap(&other->_impl_.assert_messages_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Circuit, _impl_.current_witness_index_) + + sizeof(Circuit::_impl_.current_witness_index_) + - PROTOBUF_FIELD_OFFSET(Circuit, _impl_.expression_width_)>( + reinterpret_cast(&_impl_.expression_width_), + reinterpret_cast(&other->_impl_.expression_width_)); +} + +::google::protobuf::Metadata Circuit::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ExpressionWidth_Unbounded::_Internal { + public: +}; + +ExpressionWidth_Unbounded::ExpressionWidth_Unbounded(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.ExpressionWidth.Unbounded) +} +ExpressionWidth_Unbounded::ExpressionWidth_Unbounded( + ::google::protobuf::Arena* arena, + const ExpressionWidth_Unbounded& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ExpressionWidth_Unbounded* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.ExpressionWidth.Unbounded) +} + +inline void* ExpressionWidth_Unbounded::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ExpressionWidth_Unbounded(arena); +} +constexpr auto ExpressionWidth_Unbounded::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ExpressionWidth_Unbounded), + alignof(ExpressionWidth_Unbounded)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ExpressionWidth_Unbounded::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ExpressionWidth_Unbounded_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ExpressionWidth_Unbounded::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExpressionWidth_Unbounded::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &ExpressionWidth_Unbounded::ByteSizeLong, + &ExpressionWidth_Unbounded::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExpressionWidth_Unbounded, _impl_._cached_size_), + false, + }, + &ExpressionWidth_Unbounded::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ExpressionWidth_Unbounded::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> ExpressionWidth_Unbounded::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth_Unbounded>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata ExpressionWidth_Unbounded::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ExpressionWidth_Bounded::_Internal { + public: +}; + +ExpressionWidth_Bounded::ExpressionWidth_Bounded(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.ExpressionWidth.Bounded) +} +ExpressionWidth_Bounded::ExpressionWidth_Bounded( + ::google::protobuf::Arena* arena, const ExpressionWidth_Bounded& from) + : ExpressionWidth_Bounded(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE ExpressionWidth_Bounded::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void ExpressionWidth_Bounded::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.width_ = {}; +} +ExpressionWidth_Bounded::~ExpressionWidth_Bounded() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.ExpressionWidth.Bounded) + SharedDtor(*this); +} +inline void ExpressionWidth_Bounded::SharedDtor(MessageLite& self) { + ExpressionWidth_Bounded& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* ExpressionWidth_Bounded::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ExpressionWidth_Bounded(arena); +} +constexpr auto ExpressionWidth_Bounded::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ExpressionWidth_Bounded), + alignof(ExpressionWidth_Bounded)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ExpressionWidth_Bounded::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ExpressionWidth_Bounded_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ExpressionWidth_Bounded::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExpressionWidth_Bounded::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ExpressionWidth_Bounded::ByteSizeLong, + &ExpressionWidth_Bounded::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExpressionWidth_Bounded, _impl_._cached_size_), + false, + }, + &ExpressionWidth_Bounded::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ExpressionWidth_Bounded::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> ExpressionWidth_Bounded::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth_Bounded>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint64 width = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(ExpressionWidth_Bounded, _impl_.width_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(ExpressionWidth_Bounded, _impl_.width_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 width = 1; + {PROTOBUF_FIELD_OFFSET(ExpressionWidth_Bounded, _impl_.width_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void ExpressionWidth_Bounded::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.ExpressionWidth.Bounded) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.width_ = ::uint64_t{0u}; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ExpressionWidth_Bounded::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ExpressionWidth_Bounded& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ExpressionWidth_Bounded::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ExpressionWidth_Bounded& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.ExpressionWidth.Bounded) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint64 width = 1; + if (this_._internal_width() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_width(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.ExpressionWidth.Bounded) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ExpressionWidth_Bounded::ByteSizeLong(const MessageLite& base) { + const ExpressionWidth_Bounded& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ExpressionWidth_Bounded::ByteSizeLong() const { + const ExpressionWidth_Bounded& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.ExpressionWidth.Bounded) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint64 width = 1; + if (this_._internal_width() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_width()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ExpressionWidth_Bounded::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.ExpressionWidth.Bounded) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_width() != 0) { + _this->_impl_.width_ = from._impl_.width_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ExpressionWidth_Bounded::CopyFrom(const ExpressionWidth_Bounded& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.ExpressionWidth.Bounded) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ExpressionWidth_Bounded::InternalSwap(ExpressionWidth_Bounded* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.width_, other->_impl_.width_); +} + +::google::protobuf::Metadata ExpressionWidth_Bounded::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ExpressionWidth::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionWidth, _impl_._oneof_case_); +}; + +void ExpressionWidth::set_allocated_unbounded(::acvm::acir::circuit::ExpressionWidth_Unbounded* unbounded) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (unbounded) { + ::google::protobuf::Arena* submessage_arena = unbounded->GetArena(); + if (message_arena != submessage_arena) { + unbounded = ::google::protobuf::internal::GetOwnedMessage(message_arena, unbounded, submessage_arena); + } + set_has_unbounded(); + _impl_.value_.unbounded_ = unbounded; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.ExpressionWidth.unbounded) +} +void ExpressionWidth::set_allocated_bounded(::acvm::acir::circuit::ExpressionWidth_Bounded* bounded) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (bounded) { + ::google::protobuf::Arena* submessage_arena = bounded->GetArena(); + if (message_arena != submessage_arena) { + bounded = ::google::protobuf::internal::GetOwnedMessage(message_arena, bounded, submessage_arena); + } + set_has_bounded(); + _impl_.value_.bounded_ = bounded; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.ExpressionWidth.bounded) +} +ExpressionWidth::ExpressionWidth(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.ExpressionWidth) +} +inline PROTOBUF_NDEBUG_INLINE ExpressionWidth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::ExpressionWidth& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +ExpressionWidth::ExpressionWidth( + ::google::protobuf::Arena* arena, + const ExpressionWidth& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ExpressionWidth* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kUnbounded: + _impl_.value_.unbounded_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth_Unbounded>(arena, *from._impl_.value_.unbounded_); + break; + case kBounded: + _impl_.value_.bounded_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth_Bounded>(arena, *from._impl_.value_.bounded_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.ExpressionWidth) +} +inline PROTOBUF_NDEBUG_INLINE ExpressionWidth::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void ExpressionWidth::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ExpressionWidth::~ExpressionWidth() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.ExpressionWidth) + SharedDtor(*this); +} +inline void ExpressionWidth::SharedDtor(MessageLite& self) { + ExpressionWidth& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void ExpressionWidth::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.ExpressionWidth) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kUnbounded: { + if (GetArena() == nullptr) { + delete _impl_.value_.unbounded_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.unbounded_); + } + break; + } + case kBounded: { + if (GetArena() == nullptr) { + delete _impl_.value_.bounded_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.bounded_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* ExpressionWidth::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ExpressionWidth(arena); +} +constexpr auto ExpressionWidth::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ExpressionWidth), + alignof(ExpressionWidth)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ExpressionWidth::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ExpressionWidth_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ExpressionWidth::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExpressionWidth::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ExpressionWidth::ByteSizeLong, + &ExpressionWidth::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExpressionWidth, _impl_._cached_size_), + false, + }, + &ExpressionWidth::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ExpressionWidth::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> ExpressionWidth::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.ExpressionWidth.Unbounded unbounded = 1; + {PROTOBUF_FIELD_OFFSET(ExpressionWidth, _impl_.value_.unbounded_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.ExpressionWidth.Bounded bounded = 2; + {PROTOBUF_FIELD_OFFSET(ExpressionWidth, _impl_.value_.bounded_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth_Unbounded>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionWidth_Bounded>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ExpressionWidth::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.ExpressionWidth) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ExpressionWidth::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ExpressionWidth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ExpressionWidth::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ExpressionWidth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.ExpressionWidth) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kUnbounded: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.unbounded_, this_._impl_.value_.unbounded_->GetCachedSize(), target, + stream); + break; + } + case kBounded: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.bounded_, this_._impl_.value_.bounded_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.ExpressionWidth) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ExpressionWidth::ByteSizeLong(const MessageLite& base) { + const ExpressionWidth& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ExpressionWidth::ByteSizeLong() const { + const ExpressionWidth& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.ExpressionWidth) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.circuit.ExpressionWidth.Unbounded unbounded = 1; + case kUnbounded: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.unbounded_); + break; + } + // .acvm.acir.circuit.ExpressionWidth.Bounded bounded = 2; + case kBounded: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.bounded_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ExpressionWidth::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.ExpressionWidth) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kUnbounded: { + if (oneof_needs_init) { + _this->_impl_.value_.unbounded_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth_Unbounded>(arena, *from._impl_.value_.unbounded_); + } else { + _this->_impl_.value_.unbounded_->MergeFrom(from._internal_unbounded()); + } + break; + } + case kBounded: { + if (oneof_needs_init) { + _this->_impl_.value_.bounded_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ExpressionWidth_Bounded>(arena, *from._impl_.value_.bounded_); + } else { + _this->_impl_.value_.bounded_->MergeFrom(from._internal_bounded()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ExpressionWidth::CopyFrom(const ExpressionWidth& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.ExpressionWidth) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ExpressionWidth::InternalSwap(ExpressionWidth* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata ExpressionWidth::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AssertMessage::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_._has_bits_); +}; + +AssertMessage::AssertMessage(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.AssertMessage) +} +inline PROTOBUF_NDEBUG_INLINE AssertMessage::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::AssertMessage& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +AssertMessage::AssertMessage( + ::google::protobuf::Arena* arena, + const AssertMessage& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AssertMessage* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.location_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::OpcodeLocation>( + arena, *from._impl_.location_) + : nullptr; + _impl_.payload_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::AssertionPayload>( + arena, *from._impl_.payload_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.AssertMessage) +} +inline PROTOBUF_NDEBUG_INLINE AssertMessage::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void AssertMessage::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, location_), + 0, + offsetof(Impl_, payload_) - + offsetof(Impl_, location_) + + sizeof(Impl_::payload_)); +} +AssertMessage::~AssertMessage() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.AssertMessage) + SharedDtor(*this); +} +inline void AssertMessage::SharedDtor(MessageLite& self) { + AssertMessage& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.location_; + delete this_._impl_.payload_; + this_._impl_.~Impl_(); +} + +inline void* AssertMessage::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AssertMessage(arena); +} +constexpr auto AssertMessage::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(AssertMessage), + alignof(AssertMessage)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AssertMessage::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AssertMessage_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AssertMessage::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AssertMessage::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AssertMessage::ByteSizeLong, + &AssertMessage::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_._cached_size_), + false, + }, + &AssertMessage::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AssertMessage::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> AssertMessage::_table_ = { + { + PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::AssertMessage>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .acvm.acir.circuit.AssertionPayload payload = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.payload_)}}, + // .acvm.acir.circuit.OpcodeLocation location = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.location_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.OpcodeLocation location = 1; + {PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.location_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.AssertionPayload payload = 2; + {PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.payload_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::OpcodeLocation>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::AssertionPayload>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void AssertMessage::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.AssertMessage) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.location_ != nullptr); + _impl_.location_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.payload_ != nullptr); + _impl_.payload_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AssertMessage::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AssertMessage& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AssertMessage::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AssertMessage& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.AssertMessage) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.OpcodeLocation location = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.location_, this_._impl_.location_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.circuit.AssertionPayload payload = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.payload_, this_._impl_.payload_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.AssertMessage) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AssertMessage::ByteSizeLong(const MessageLite& base) { + const AssertMessage& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AssertMessage::ByteSizeLong() const { + const AssertMessage& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.AssertMessage) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .acvm.acir.circuit.OpcodeLocation location = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.location_); + } + // .acvm.acir.circuit.AssertionPayload payload = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.payload_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AssertMessage::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.AssertMessage) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.location_ != nullptr); + if (_this->_impl_.location_ == nullptr) { + _this->_impl_.location_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::OpcodeLocation>(arena, *from._impl_.location_); + } else { + _this->_impl_.location_->MergeFrom(*from._impl_.location_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.payload_ != nullptr); + if (_this->_impl_.payload_ == nullptr) { + _this->_impl_.payload_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::AssertionPayload>(arena, *from._impl_.payload_); + } else { + _this->_impl_.payload_->MergeFrom(*from._impl_.payload_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AssertMessage::CopyFrom(const AssertMessage& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.AssertMessage) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AssertMessage::InternalSwap(AssertMessage* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.payload_) + + sizeof(AssertMessage::_impl_.payload_) + - PROTOBUF_FIELD_OFFSET(AssertMessage, _impl_.location_)>( + reinterpret_cast(&_impl_.location_), + reinterpret_cast(&other->_impl_.location_)); +} + +::google::protobuf::Metadata AssertMessage::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class OpcodeLocation_BrilligLocation::_Internal { + public: +}; + +OpcodeLocation_BrilligLocation::OpcodeLocation_BrilligLocation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.OpcodeLocation.BrilligLocation) +} +OpcodeLocation_BrilligLocation::OpcodeLocation_BrilligLocation( + ::google::protobuf::Arena* arena, const OpcodeLocation_BrilligLocation& from) + : OpcodeLocation_BrilligLocation(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE OpcodeLocation_BrilligLocation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void OpcodeLocation_BrilligLocation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, acir_index_), + 0, + offsetof(Impl_, brillig_index_) - + offsetof(Impl_, acir_index_) + + sizeof(Impl_::brillig_index_)); +} +OpcodeLocation_BrilligLocation::~OpcodeLocation_BrilligLocation() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + SharedDtor(*this); +} +inline void OpcodeLocation_BrilligLocation::SharedDtor(MessageLite& self) { + OpcodeLocation_BrilligLocation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* OpcodeLocation_BrilligLocation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OpcodeLocation_BrilligLocation(arena); +} +constexpr auto OpcodeLocation_BrilligLocation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OpcodeLocation_BrilligLocation), + alignof(OpcodeLocation_BrilligLocation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OpcodeLocation_BrilligLocation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OpcodeLocation_BrilligLocation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OpcodeLocation_BrilligLocation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OpcodeLocation_BrilligLocation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OpcodeLocation_BrilligLocation::ByteSizeLong, + &OpcodeLocation_BrilligLocation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_._cached_size_), + false, + }, + &OpcodeLocation_BrilligLocation::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OpcodeLocation_BrilligLocation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 0, 0, 2> OpcodeLocation_BrilligLocation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::OpcodeLocation_BrilligLocation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint64 brillig_index = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(OpcodeLocation_BrilligLocation, _impl_.brillig_index_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.brillig_index_)}}, + // uint64 acir_index = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(OpcodeLocation_BrilligLocation, _impl_.acir_index_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.acir_index_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 acir_index = 1; + {PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.acir_index_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + // uint64 brillig_index = 2; + {PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.brillig_index_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void OpcodeLocation_BrilligLocation::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.acir_index_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.brillig_index_) - + reinterpret_cast(&_impl_.acir_index_)) + sizeof(_impl_.brillig_index_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OpcodeLocation_BrilligLocation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OpcodeLocation_BrilligLocation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OpcodeLocation_BrilligLocation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OpcodeLocation_BrilligLocation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint64 acir_index = 1; + if (this_._internal_acir_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_acir_index(), target); + } + + // uint64 brillig_index = 2; + if (this_._internal_brillig_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 2, this_._internal_brillig_index(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OpcodeLocation_BrilligLocation::ByteSizeLong(const MessageLite& base) { + const OpcodeLocation_BrilligLocation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OpcodeLocation_BrilligLocation::ByteSizeLong() const { + const OpcodeLocation_BrilligLocation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint64 acir_index = 1; + if (this_._internal_acir_index() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_acir_index()); + } + // uint64 brillig_index = 2; + if (this_._internal_brillig_index() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_brillig_index()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OpcodeLocation_BrilligLocation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_acir_index() != 0) { + _this->_impl_.acir_index_ = from._impl_.acir_index_; + } + if (from._internal_brillig_index() != 0) { + _this->_impl_.brillig_index_ = from._impl_.brillig_index_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OpcodeLocation_BrilligLocation::CopyFrom(const OpcodeLocation_BrilligLocation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OpcodeLocation_BrilligLocation::InternalSwap(OpcodeLocation_BrilligLocation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.brillig_index_) + + sizeof(OpcodeLocation_BrilligLocation::_impl_.brillig_index_) + - PROTOBUF_FIELD_OFFSET(OpcodeLocation_BrilligLocation, _impl_.acir_index_)>( + reinterpret_cast(&_impl_.acir_index_), + reinterpret_cast(&other->_impl_.acir_index_)); +} + +::google::protobuf::Metadata OpcodeLocation_BrilligLocation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class OpcodeLocation::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::OpcodeLocation, _impl_._oneof_case_); +}; + +void OpcodeLocation::set_allocated_brillig(::acvm::acir::circuit::OpcodeLocation_BrilligLocation* brillig) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (brillig) { + ::google::protobuf::Arena* submessage_arena = brillig->GetArena(); + if (message_arena != submessage_arena) { + brillig = ::google::protobuf::internal::GetOwnedMessage(message_arena, brillig, submessage_arena); + } + set_has_brillig(); + _impl_.value_.brillig_ = brillig; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.OpcodeLocation.brillig) +} +OpcodeLocation::OpcodeLocation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.OpcodeLocation) +} +inline PROTOBUF_NDEBUG_INLINE OpcodeLocation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::OpcodeLocation& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +OpcodeLocation::OpcodeLocation( + ::google::protobuf::Arena* arena, + const OpcodeLocation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + OpcodeLocation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kAcir: + _impl_.value_.acir_ = from._impl_.value_.acir_; + break; + case kBrillig: + _impl_.value_.brillig_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::OpcodeLocation_BrilligLocation>(arena, *from._impl_.value_.brillig_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.OpcodeLocation) +} +inline PROTOBUF_NDEBUG_INLINE OpcodeLocation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void OpcodeLocation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +OpcodeLocation::~OpcodeLocation() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.OpcodeLocation) + SharedDtor(*this); +} +inline void OpcodeLocation::SharedDtor(MessageLite& self) { + OpcodeLocation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void OpcodeLocation::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.OpcodeLocation) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kAcir: { + // No need to clear + break; + } + case kBrillig: { + if (GetArena() == nullptr) { + delete _impl_.value_.brillig_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.brillig_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* OpcodeLocation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) OpcodeLocation(arena); +} +constexpr auto OpcodeLocation::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(OpcodeLocation), + alignof(OpcodeLocation)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull OpcodeLocation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_OpcodeLocation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &OpcodeLocation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &OpcodeLocation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &OpcodeLocation::ByteSizeLong, + &OpcodeLocation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(OpcodeLocation, _impl_._cached_size_), + false, + }, + &OpcodeLocation::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* OpcodeLocation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 1, 0, 2> OpcodeLocation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::OpcodeLocation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 acir = 1; + {PROTOBUF_FIELD_OFFSET(OpcodeLocation, _impl_.value_.acir_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kUInt64)}, + // .acvm.acir.circuit.OpcodeLocation.BrilligLocation brillig = 2; + {PROTOBUF_FIELD_OFFSET(OpcodeLocation, _impl_.value_.brillig_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::OpcodeLocation_BrilligLocation>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void OpcodeLocation::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.OpcodeLocation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* OpcodeLocation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const OpcodeLocation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* OpcodeLocation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const OpcodeLocation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.OpcodeLocation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kAcir: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_acir(), target); + break; + } + case kBrillig: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.brillig_, this_._impl_.value_.brillig_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.OpcodeLocation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t OpcodeLocation::ByteSizeLong(const MessageLite& base) { + const OpcodeLocation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t OpcodeLocation::ByteSizeLong() const { + const OpcodeLocation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.OpcodeLocation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // uint64 acir = 1; + case kAcir: { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_acir()); + break; + } + // .acvm.acir.circuit.OpcodeLocation.BrilligLocation brillig = 2; + case kBrillig: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.brillig_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void OpcodeLocation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.OpcodeLocation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kAcir: { + _this->_impl_.value_.acir_ = from._impl_.value_.acir_; + break; + } + case kBrillig: { + if (oneof_needs_init) { + _this->_impl_.value_.brillig_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::OpcodeLocation_BrilligLocation>(arena, *from._impl_.value_.brillig_); + } else { + _this->_impl_.value_.brillig_->MergeFrom(from._internal_brillig()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void OpcodeLocation::CopyFrom(const OpcodeLocation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.OpcodeLocation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void OpcodeLocation::InternalSwap(OpcodeLocation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata OpcodeLocation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class AssertionPayload::_Internal { + public: +}; + +AssertionPayload::AssertionPayload(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.AssertionPayload) +} +inline PROTOBUF_NDEBUG_INLINE AssertionPayload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::AssertionPayload& from_msg) + : payload_{visibility, arena, from.payload_}, + _cached_size_{0} {} + +AssertionPayload::AssertionPayload( + ::google::protobuf::Arena* arena, + const AssertionPayload& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + AssertionPayload* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.error_selector_ = from._impl_.error_selector_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.AssertionPayload) +} +inline PROTOBUF_NDEBUG_INLINE AssertionPayload::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : payload_{visibility, arena}, + _cached_size_{0} {} + +inline void AssertionPayload::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.error_selector_ = {}; +} +AssertionPayload::~AssertionPayload() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.AssertionPayload) + SharedDtor(*this); +} +inline void AssertionPayload::SharedDtor(MessageLite& self) { + AssertionPayload& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* AssertionPayload::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) AssertionPayload(arena); +} +constexpr auto AssertionPayload::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_.payload_) + + decltype(AssertionPayload::_impl_.payload_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(AssertionPayload), alignof(AssertionPayload), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&AssertionPayload::PlacementNew_, + sizeof(AssertionPayload), + alignof(AssertionPayload)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull AssertionPayload::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_AssertionPayload_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &AssertionPayload::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &AssertionPayload::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &AssertionPayload::ByteSizeLong, + &AssertionPayload::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_._cached_size_), + false, + }, + &AssertionPayload::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* AssertionPayload::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> AssertionPayload::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::AssertionPayload>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_.payload_)}}, + // uint64 error_selector = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(AssertionPayload, _impl_.error_selector_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_.error_selector_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint64 error_selector = 1; + {PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_.error_selector_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt64)}, + // repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; + {PROTOBUF_FIELD_OFFSET(AssertionPayload, _impl_.payload_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionOrMemory>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void AssertionPayload::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.AssertionPayload) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.payload_.Clear(); + _impl_.error_selector_ = ::uint64_t{0u}; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* AssertionPayload::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const AssertionPayload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* AssertionPayload::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const AssertionPayload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.AssertionPayload) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint64 error_selector = 1; + if (this_._internal_error_selector() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt64ToArray( + 1, this_._internal_error_selector(), target); + } + + // repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_payload_size()); + i < n; i++) { + const auto& repfield = this_._internal_payload().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.AssertionPayload) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t AssertionPayload::ByteSizeLong(const MessageLite& base) { + const AssertionPayload& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t AssertionPayload::ByteSizeLong() const { + const AssertionPayload& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.AssertionPayload) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; + { + total_size += 1UL * this_._internal_payload_size(); + for (const auto& msg : this_._internal_payload()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // uint64 error_selector = 1; + if (this_._internal_error_selector() != 0) { + total_size += ::_pbi::WireFormatLite::UInt64SizePlusOne( + this_._internal_error_selector()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void AssertionPayload::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.AssertionPayload) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_payload()->MergeFrom( + from._internal_payload()); + if (from._internal_error_selector() != 0) { + _this->_impl_.error_selector_ = from._impl_.error_selector_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void AssertionPayload::CopyFrom(const AssertionPayload& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.AssertionPayload) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void AssertionPayload::InternalSwap(AssertionPayload* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.payload_.InternalSwap(&other->_impl_.payload_); + swap(_impl_.error_selector_, other->_impl_.error_selector_); +} + +::google::protobuf::Metadata AssertionPayload::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ExpressionOrMemory::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ExpressionOrMemory, _impl_._oneof_case_); +}; + +void ExpressionOrMemory::set_allocated_expression(::acvm::acir::native::Expression* expression) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (expression) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(expression)->GetArena(); + if (message_arena != submessage_arena) { + expression = ::google::protobuf::internal::GetOwnedMessage(message_arena, expression, submessage_arena); + } + set_has_expression(); + _impl_.value_.expression_ = expression; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.ExpressionOrMemory.expression) +} +void ExpressionOrMemory::clear_expression() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kExpression) { + if (GetArena() == nullptr) { + delete _impl_.value_.expression_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.expression_); + } + clear_has_value(); + } +} +ExpressionOrMemory::ExpressionOrMemory(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.ExpressionOrMemory) +} +inline PROTOBUF_NDEBUG_INLINE ExpressionOrMemory::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::ExpressionOrMemory& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +ExpressionOrMemory::ExpressionOrMemory( + ::google::protobuf::Arena* arena, + const ExpressionOrMemory& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ExpressionOrMemory* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kExpression: + _impl_.value_.expression_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.expression_); + break; + case kMemory: + _impl_.value_.memory_ = from._impl_.value_.memory_; + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.ExpressionOrMemory) +} +inline PROTOBUF_NDEBUG_INLINE ExpressionOrMemory::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void ExpressionOrMemory::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ExpressionOrMemory::~ExpressionOrMemory() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.ExpressionOrMemory) + SharedDtor(*this); +} +inline void ExpressionOrMemory::SharedDtor(MessageLite& self) { + ExpressionOrMemory& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void ExpressionOrMemory::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.ExpressionOrMemory) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kExpression: { + if (GetArena() == nullptr) { + delete _impl_.value_.expression_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.expression_); + } + break; + } + case kMemory: { + // No need to clear + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* ExpressionOrMemory::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ExpressionOrMemory(arena); +} +constexpr auto ExpressionOrMemory::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ExpressionOrMemory), + alignof(ExpressionOrMemory)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ExpressionOrMemory::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ExpressionOrMemory_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ExpressionOrMemory::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ExpressionOrMemory::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ExpressionOrMemory::ByteSizeLong, + &ExpressionOrMemory::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ExpressionOrMemory, _impl_._cached_size_), + false, + }, + &ExpressionOrMemory::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ExpressionOrMemory::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 1, 0, 2> ExpressionOrMemory::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::ExpressionOrMemory>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Expression expression = 1; + {PROTOBUF_FIELD_OFFSET(ExpressionOrMemory, _impl_.value_.expression_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 memory = 2; + {PROTOBUF_FIELD_OFFSET(ExpressionOrMemory, _impl_.value_.memory_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ExpressionOrMemory::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.ExpressionOrMemory) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ExpressionOrMemory::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ExpressionOrMemory& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ExpressionOrMemory::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ExpressionOrMemory& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.ExpressionOrMemory) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kExpression: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.expression_, this_._impl_.value_.expression_->GetCachedSize(), target, + stream); + break; + } + case kMemory: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_memory(), target); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.ExpressionOrMemory) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ExpressionOrMemory::ByteSizeLong(const MessageLite& base) { + const ExpressionOrMemory& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ExpressionOrMemory::ByteSizeLong() const { + const ExpressionOrMemory& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.ExpressionOrMemory) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.native.Expression expression = 1; + case kExpression: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.expression_); + break; + } + // uint32 memory = 2; + case kMemory: { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_memory()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ExpressionOrMemory::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.ExpressionOrMemory) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kExpression: { + if (oneof_needs_init) { + _this->_impl_.value_.expression_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.expression_); + } else { + _this->_impl_.value_.expression_->MergeFrom(from._internal_expression()); + } + break; + } + case kMemory: { + _this->_impl_.value_.memory_ = from._impl_.value_.memory_; + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ExpressionOrMemory::CopyFrom(const ExpressionOrMemory& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.ExpressionOrMemory) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ExpressionOrMemory::InternalSwap(ExpressionOrMemory* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata ExpressionOrMemory::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Opcode_MemoryOp::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_._has_bits_); +}; + +void Opcode_MemoryOp::clear_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ != nullptr) _impl_.predicate_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +Opcode_MemoryOp::Opcode_MemoryOp(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Opcode.MemoryOp) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_MemoryOp::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Opcode_MemoryOp& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Opcode_MemoryOp::Opcode_MemoryOp( + ::google::protobuf::Arena* arena, + const Opcode_MemoryOp& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Opcode_MemoryOp* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.op_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::MemOp>( + arena, *from._impl_.op_) + : nullptr; + _impl_.predicate_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.predicate_) + : nullptr; + _impl_.block_id_ = from._impl_.block_id_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Opcode.MemoryOp) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_MemoryOp::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Opcode_MemoryOp::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, op_), + 0, + offsetof(Impl_, block_id_) - + offsetof(Impl_, op_) + + sizeof(Impl_::block_id_)); +} +Opcode_MemoryOp::~Opcode_MemoryOp() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Opcode.MemoryOp) + SharedDtor(*this); +} +inline void Opcode_MemoryOp::SharedDtor(MessageLite& self) { + Opcode_MemoryOp& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.op_; + delete this_._impl_.predicate_; + this_._impl_.~Impl_(); +} + +inline void* Opcode_MemoryOp::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Opcode_MemoryOp(arena); +} +constexpr auto Opcode_MemoryOp::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Opcode_MemoryOp), + alignof(Opcode_MemoryOp)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Opcode_MemoryOp::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Opcode_MemoryOp_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Opcode_MemoryOp::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Opcode_MemoryOp::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Opcode_MemoryOp::ByteSizeLong, + &Opcode_MemoryOp::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_._cached_size_), + false, + }, + &Opcode_MemoryOp::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Opcode_MemoryOp::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> Opcode_MemoryOp::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_MemoryOp>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 block_id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Opcode_MemoryOp, _impl_.block_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.block_id_)}}, + // .acvm.acir.circuit.MemOp op = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.op_)}}, + // optional .acvm.acir.native.Expression predicate = 3; + {::_pbi::TcParser::FastMtS1, + {26, 1, 1, PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.predicate_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 block_id = 1; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.block_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .acvm.acir.circuit.MemOp op = 2; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.op_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .acvm.acir.native.Expression predicate = 3; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.predicate_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::MemOp>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Opcode_MemoryOp::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Opcode.MemoryOp) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.op_ != nullptr); + _impl_.op_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.predicate_ != nullptr); + _impl_.predicate_->Clear(); + } + } + _impl_.block_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Opcode_MemoryOp::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Opcode_MemoryOp& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Opcode_MemoryOp::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Opcode_MemoryOp& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Opcode.MemoryOp) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 block_id = 1; + if (this_._internal_block_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_block_id(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.MemOp op = 2; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.op_, this_._impl_.op_->GetCachedSize(), target, + stream); + } + + // optional .acvm.acir.native.Expression predicate = 3; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.predicate_, this_._impl_.predicate_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Opcode.MemoryOp) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Opcode_MemoryOp::ByteSizeLong(const MessageLite& base) { + const Opcode_MemoryOp& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Opcode_MemoryOp::ByteSizeLong() const { + const Opcode_MemoryOp& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Opcode.MemoryOp) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .acvm.acir.circuit.MemOp op = 2; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.op_); + } + // optional .acvm.acir.native.Expression predicate = 3; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.predicate_); + } + } + { + // uint32 block_id = 1; + if (this_._internal_block_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_block_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Opcode_MemoryOp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Opcode.MemoryOp) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.op_ != nullptr); + if (_this->_impl_.op_ == nullptr) { + _this->_impl_.op_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::MemOp>(arena, *from._impl_.op_); + } else { + _this->_impl_.op_->MergeFrom(*from._impl_.op_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.predicate_ != nullptr); + if (_this->_impl_.predicate_ == nullptr) { + _this->_impl_.predicate_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.predicate_); + } else { + _this->_impl_.predicate_->MergeFrom(*from._impl_.predicate_); + } + } + } + if (from._internal_block_id() != 0) { + _this->_impl_.block_id_ = from._impl_.block_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Opcode_MemoryOp::CopyFrom(const Opcode_MemoryOp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Opcode.MemoryOp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Opcode_MemoryOp::InternalSwap(Opcode_MemoryOp* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.block_id_) + + sizeof(Opcode_MemoryOp::_impl_.block_id_) + - PROTOBUF_FIELD_OFFSET(Opcode_MemoryOp, _impl_.op_)>( + reinterpret_cast(&_impl_.op_), + reinterpret_cast(&other->_impl_.op_)); +} + +::google::protobuf::Metadata Opcode_MemoryOp::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Opcode_MemoryInit::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_._has_bits_); +}; + +void Opcode_MemoryInit::clear_init() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.init_.Clear(); +} +Opcode_MemoryInit::Opcode_MemoryInit(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Opcode.MemoryInit) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_MemoryInit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Opcode_MemoryInit& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + init_{visibility, arena, from.init_} {} + +Opcode_MemoryInit::Opcode_MemoryInit( + ::google::protobuf::Arena* arena, + const Opcode_MemoryInit& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Opcode_MemoryInit* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.block_type_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType>( + arena, *from._impl_.block_type_) + : nullptr; + _impl_.block_id_ = from._impl_.block_id_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Opcode.MemoryInit) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_MemoryInit::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + init_{visibility, arena} {} + +inline void Opcode_MemoryInit::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, block_type_), + 0, + offsetof(Impl_, block_id_) - + offsetof(Impl_, block_type_) + + sizeof(Impl_::block_id_)); +} +Opcode_MemoryInit::~Opcode_MemoryInit() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Opcode.MemoryInit) + SharedDtor(*this); +} +inline void Opcode_MemoryInit::SharedDtor(MessageLite& self) { + Opcode_MemoryInit& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.block_type_; + this_._impl_.~Impl_(); +} + +inline void* Opcode_MemoryInit::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Opcode_MemoryInit(arena); +} +constexpr auto Opcode_MemoryInit::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.init_) + + decltype(Opcode_MemoryInit::_impl_.init_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Opcode_MemoryInit), alignof(Opcode_MemoryInit), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Opcode_MemoryInit::PlacementNew_, + sizeof(Opcode_MemoryInit), + alignof(Opcode_MemoryInit)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Opcode_MemoryInit::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Opcode_MemoryInit_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Opcode_MemoryInit::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Opcode_MemoryInit::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Opcode_MemoryInit::ByteSizeLong, + &Opcode_MemoryInit::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_._cached_size_), + false, + }, + &Opcode_MemoryInit::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Opcode_MemoryInit::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> Opcode_MemoryInit::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_MemoryInit>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 block_id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Opcode_MemoryInit, _impl_.block_id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_id_)}}, + // repeated .acvm.acir.native.Witness init = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.init_)}}, + // .acvm.acir.circuit.BlockType block_type = 3; + {::_pbi::TcParser::FastMtS1, + {26, 0, 1, PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_type_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 block_id = 1; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .acvm.acir.native.Witness init = 2; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.init_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlockType block_type = 3; + {PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_type_), _Internal::kHasBitsOffset + 0, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Opcode_MemoryInit::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Opcode.MemoryInit) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.init_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.block_type_ != nullptr); + _impl_.block_type_->Clear(); + } + _impl_.block_id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Opcode_MemoryInit::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Opcode_MemoryInit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Opcode_MemoryInit::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Opcode_MemoryInit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Opcode.MemoryInit) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 block_id = 1; + if (this_._internal_block_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_block_id(), target); + } + + // repeated .acvm.acir.native.Witness init = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_init_size()); + i < n; i++) { + const auto& repfield = this_._internal_init().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.BlockType block_type = 3; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.block_type_, this_._impl_.block_type_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Opcode.MemoryInit) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Opcode_MemoryInit::ByteSizeLong(const MessageLite& base) { + const Opcode_MemoryInit& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Opcode_MemoryInit::ByteSizeLong() const { + const Opcode_MemoryInit& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Opcode.MemoryInit) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Witness init = 2; + { + total_size += 1UL * this_._internal_init_size(); + for (const auto& msg : this_._internal_init()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.circuit.BlockType block_type = 3; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.block_type_); + } + } + { + // uint32 block_id = 1; + if (this_._internal_block_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_block_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Opcode_MemoryInit::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Opcode.MemoryInit) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_init()->MergeFrom( + from._internal_init()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.block_type_ != nullptr); + if (_this->_impl_.block_type_ == nullptr) { + _this->_impl_.block_type_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType>(arena, *from._impl_.block_type_); + } else { + _this->_impl_.block_type_->MergeFrom(*from._impl_.block_type_); + } + } + if (from._internal_block_id() != 0) { + _this->_impl_.block_id_ = from._impl_.block_id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Opcode_MemoryInit::CopyFrom(const Opcode_MemoryInit& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Opcode.MemoryInit) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Opcode_MemoryInit::InternalSwap(Opcode_MemoryInit* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.init_.InternalSwap(&other->_impl_.init_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_id_) + + sizeof(Opcode_MemoryInit::_impl_.block_id_) + - PROTOBUF_FIELD_OFFSET(Opcode_MemoryInit, _impl_.block_type_)>( + reinterpret_cast(&_impl_.block_type_), + reinterpret_cast(&other->_impl_.block_type_)); +} + +::google::protobuf::Metadata Opcode_MemoryInit::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Opcode_BrilligCall::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_._has_bits_); +}; + +void Opcode_BrilligCall::clear_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ != nullptr) _impl_.predicate_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Opcode_BrilligCall::Opcode_BrilligCall(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Opcode.BrilligCall) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_BrilligCall::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Opcode_BrilligCall& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_} {} + +Opcode_BrilligCall::Opcode_BrilligCall( + ::google::protobuf::Arena* arena, + const Opcode_BrilligCall& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Opcode_BrilligCall* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.predicate_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.predicate_) + : nullptr; + _impl_.id_ = from._impl_.id_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Opcode.BrilligCall) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_BrilligCall::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + inputs_{visibility, arena}, + outputs_{visibility, arena} {} + +inline void Opcode_BrilligCall::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, predicate_), + 0, + offsetof(Impl_, id_) - + offsetof(Impl_, predicate_) + + sizeof(Impl_::id_)); +} +Opcode_BrilligCall::~Opcode_BrilligCall() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Opcode.BrilligCall) + SharedDtor(*this); +} +inline void Opcode_BrilligCall::SharedDtor(MessageLite& self) { + Opcode_BrilligCall& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.predicate_; + this_._impl_.~Impl_(); +} + +inline void* Opcode_BrilligCall::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Opcode_BrilligCall(arena); +} +constexpr auto Opcode_BrilligCall::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.inputs_) + + decltype(Opcode_BrilligCall::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.outputs_) + + decltype(Opcode_BrilligCall::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Opcode_BrilligCall), alignof(Opcode_BrilligCall), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Opcode_BrilligCall::PlacementNew_, + sizeof(Opcode_BrilligCall), + alignof(Opcode_BrilligCall)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Opcode_BrilligCall::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Opcode_BrilligCall_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Opcode_BrilligCall::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Opcode_BrilligCall::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Opcode_BrilligCall::ByteSizeLong, + &Opcode_BrilligCall::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_._cached_size_), + false, + }, + &Opcode_BrilligCall::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Opcode_BrilligCall::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> Opcode_BrilligCall::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_BrilligCall>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // optional .acvm.acir.native.Expression predicate = 4; + {::_pbi::TcParser::FastMtS1, + {34, 0, 2, PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.predicate_)}}, + // uint32 id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Opcode_BrilligCall, _impl_.id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.id_)}}, + // repeated .acvm.acir.circuit.BrilligInputs inputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.inputs_)}}, + // repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 1, PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.outputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 id = 1; + {PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .acvm.acir.circuit.BrilligInputs inputs = 2; + {PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.inputs_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; + {PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.outputs_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .acvm.acir.native.Expression predicate = 4; + {PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.predicate_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligInputs>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligOutputs>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Opcode_BrilligCall::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Opcode.BrilligCall) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.predicate_ != nullptr); + _impl_.predicate_->Clear(); + } + _impl_.id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Opcode_BrilligCall::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Opcode_BrilligCall& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Opcode_BrilligCall::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Opcode_BrilligCall& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Opcode.BrilligCall) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 id = 1; + if (this_._internal_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_id(), target); + } + + // repeated .acvm.acir.circuit.BrilligInputs inputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // optional .acvm.acir.native.Expression predicate = 4; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.predicate_, this_._impl_.predicate_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Opcode.BrilligCall) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Opcode_BrilligCall::ByteSizeLong(const MessageLite& base) { + const Opcode_BrilligCall& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Opcode_BrilligCall::ByteSizeLong() const { + const Opcode_BrilligCall& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Opcode.BrilligCall) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.BrilligInputs inputs = 2; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // optional .acvm.acir.native.Expression predicate = 4; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.predicate_); + } + } + { + // uint32 id = 1; + if (this_._internal_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Opcode_BrilligCall::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Opcode.BrilligCall) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.predicate_ != nullptr); + if (_this->_impl_.predicate_ == nullptr) { + _this->_impl_.predicate_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.predicate_); + } else { + _this->_impl_.predicate_->MergeFrom(*from._impl_.predicate_); + } + } + if (from._internal_id() != 0) { + _this->_impl_.id_ = from._impl_.id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Opcode_BrilligCall::CopyFrom(const Opcode_BrilligCall& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Opcode.BrilligCall) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Opcode_BrilligCall::InternalSwap(Opcode_BrilligCall* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.id_) + + sizeof(Opcode_BrilligCall::_impl_.id_) + - PROTOBUF_FIELD_OFFSET(Opcode_BrilligCall, _impl_.predicate_)>( + reinterpret_cast(&_impl_.predicate_), + reinterpret_cast(&other->_impl_.predicate_)); +} + +::google::protobuf::Metadata Opcode_BrilligCall::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Opcode_Call::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_._has_bits_); +}; + +void Opcode_Call::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +void Opcode_Call::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +void Opcode_Call::clear_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ != nullptr) _impl_.predicate_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +Opcode_Call::Opcode_Call(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Opcode.Call) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_Call::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Opcode_Call& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_} {} + +Opcode_Call::Opcode_Call( + ::google::protobuf::Arena* arena, + const Opcode_Call& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Opcode_Call* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.predicate_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.predicate_) + : nullptr; + _impl_.id_ = from._impl_.id_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Opcode.Call) +} +inline PROTOBUF_NDEBUG_INLINE Opcode_Call::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + inputs_{visibility, arena}, + outputs_{visibility, arena} {} + +inline void Opcode_Call::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, predicate_), + 0, + offsetof(Impl_, id_) - + offsetof(Impl_, predicate_) + + sizeof(Impl_::id_)); +} +Opcode_Call::~Opcode_Call() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Opcode.Call) + SharedDtor(*this); +} +inline void Opcode_Call::SharedDtor(MessageLite& self) { + Opcode_Call& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.predicate_; + this_._impl_.~Impl_(); +} + +inline void* Opcode_Call::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Opcode_Call(arena); +} +constexpr auto Opcode_Call::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.inputs_) + + decltype(Opcode_Call::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.outputs_) + + decltype(Opcode_Call::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Opcode_Call), alignof(Opcode_Call), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Opcode_Call::PlacementNew_, + sizeof(Opcode_Call), + alignof(Opcode_Call)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Opcode_Call::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Opcode_Call_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Opcode_Call::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Opcode_Call::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Opcode_Call::ByteSizeLong, + &Opcode_Call::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_._cached_size_), + false, + }, + &Opcode_Call::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Opcode_Call::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 3, 0, 2> Opcode_Call::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_._has_bits_), + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_Call>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // optional .acvm.acir.native.Expression predicate = 4; + {::_pbi::TcParser::FastMtS1, + {34, 0, 2, PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.predicate_)}}, + // uint32 id = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Opcode_Call, _impl_.id_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.id_)}}, + // repeated .acvm.acir.native.Witness inputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.inputs_)}}, + // repeated .acvm.acir.native.Witness outputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 1, PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.outputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 id = 1; + {PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.id_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .acvm.acir.native.Witness inputs = 2; + {PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.inputs_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 3; + {PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.outputs_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // optional .acvm.acir.native.Expression predicate = 4; + {PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.predicate_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Opcode_Call::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Opcode.Call) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.predicate_ != nullptr); + _impl_.predicate_->Clear(); + } + _impl_.id_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Opcode_Call::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Opcode_Call& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Opcode_Call::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Opcode_Call& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Opcode.Call) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 id = 1; + if (this_._internal_id() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_id(), target); + } + + // repeated .acvm.acir.native.Witness inputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // optional .acvm.acir.native.Expression predicate = 4; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.predicate_, this_._impl_.predicate_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Opcode.Call) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Opcode_Call::ByteSizeLong(const MessageLite& base) { + const Opcode_Call& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Opcode_Call::ByteSizeLong() const { + const Opcode_Call& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Opcode.Call) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Witness inputs = 2; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 3; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // optional .acvm.acir.native.Expression predicate = 4; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.predicate_); + } + } + { + // uint32 id = 1; + if (this_._internal_id() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_id()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Opcode_Call::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Opcode.Call) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.predicate_ != nullptr); + if (_this->_impl_.predicate_ == nullptr) { + _this->_impl_.predicate_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.predicate_); + } else { + _this->_impl_.predicate_->MergeFrom(*from._impl_.predicate_); + } + } + if (from._internal_id() != 0) { + _this->_impl_.id_ = from._impl_.id_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Opcode_Call::CopyFrom(const Opcode_Call& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Opcode.Call) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Opcode_Call::InternalSwap(Opcode_Call* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.id_) + + sizeof(Opcode_Call::_impl_.id_) + - PROTOBUF_FIELD_OFFSET(Opcode_Call, _impl_.predicate_)>( + reinterpret_cast(&_impl_.predicate_), + reinterpret_cast(&other->_impl_.predicate_)); +} + +::google::protobuf::Metadata Opcode_Call::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Opcode::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::Opcode, _impl_._oneof_case_); +}; + +void Opcode::set_allocated_assert_zero(::acvm::acir::native::Expression* assert_zero) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (assert_zero) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(assert_zero)->GetArena(); + if (message_arena != submessage_arena) { + assert_zero = ::google::protobuf::internal::GetOwnedMessage(message_arena, assert_zero, submessage_arena); + } + set_has_assert_zero(); + _impl_.value_.assert_zero_ = assert_zero; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.assert_zero) +} +void Opcode::clear_assert_zero() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kAssertZero) { + if (GetArena() == nullptr) { + delete _impl_.value_.assert_zero_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.assert_zero_); + } + clear_has_value(); + } +} +void Opcode::set_allocated_blackbox_func_call(::acvm::acir::circuit::BlackBoxFuncCall* blackbox_func_call) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (blackbox_func_call) { + ::google::protobuf::Arena* submessage_arena = blackbox_func_call->GetArena(); + if (message_arena != submessage_arena) { + blackbox_func_call = ::google::protobuf::internal::GetOwnedMessage(message_arena, blackbox_func_call, submessage_arena); + } + set_has_blackbox_func_call(); + _impl_.value_.blackbox_func_call_ = blackbox_func_call; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.blackbox_func_call) +} +void Opcode::set_allocated_memory_op(::acvm::acir::circuit::Opcode_MemoryOp* memory_op) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (memory_op) { + ::google::protobuf::Arena* submessage_arena = memory_op->GetArena(); + if (message_arena != submessage_arena) { + memory_op = ::google::protobuf::internal::GetOwnedMessage(message_arena, memory_op, submessage_arena); + } + set_has_memory_op(); + _impl_.value_.memory_op_ = memory_op; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.memory_op) +} +void Opcode::set_allocated_memory_init(::acvm::acir::circuit::Opcode_MemoryInit* memory_init) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (memory_init) { + ::google::protobuf::Arena* submessage_arena = memory_init->GetArena(); + if (message_arena != submessage_arena) { + memory_init = ::google::protobuf::internal::GetOwnedMessage(message_arena, memory_init, submessage_arena); + } + set_has_memory_init(); + _impl_.value_.memory_init_ = memory_init; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.memory_init) +} +void Opcode::set_allocated_brillig_call(::acvm::acir::circuit::Opcode_BrilligCall* brillig_call) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (brillig_call) { + ::google::protobuf::Arena* submessage_arena = brillig_call->GetArena(); + if (message_arena != submessage_arena) { + brillig_call = ::google::protobuf::internal::GetOwnedMessage(message_arena, brillig_call, submessage_arena); + } + set_has_brillig_call(); + _impl_.value_.brillig_call_ = brillig_call; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.brillig_call) +} +void Opcode::set_allocated_call(::acvm::acir::circuit::Opcode_Call* call) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (call) { + ::google::protobuf::Arena* submessage_arena = call->GetArena(); + if (message_arena != submessage_arena) { + call = ::google::protobuf::internal::GetOwnedMessage(message_arena, call, submessage_arena); + } + set_has_call(); + _impl_.value_.call_ = call; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.call) +} +Opcode::Opcode(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.Opcode) +} +inline PROTOBUF_NDEBUG_INLINE Opcode::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::Opcode& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +Opcode::Opcode( + ::google::protobuf::Arena* arena, + const Opcode& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Opcode* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kAssertZero: + _impl_.value_.assert_zero_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.assert_zero_); + break; + case kBlackboxFuncCall: + _impl_.value_.blackbox_func_call_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall>(arena, *from._impl_.value_.blackbox_func_call_); + break; + case kMemoryOp: + _impl_.value_.memory_op_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_MemoryOp>(arena, *from._impl_.value_.memory_op_); + break; + case kMemoryInit: + _impl_.value_.memory_init_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_MemoryInit>(arena, *from._impl_.value_.memory_init_); + break; + case kBrilligCall: + _impl_.value_.brillig_call_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_BrilligCall>(arena, *from._impl_.value_.brillig_call_); + break; + case kCall: + _impl_.value_.call_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_Call>(arena, *from._impl_.value_.call_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.Opcode) +} +inline PROTOBUF_NDEBUG_INLINE Opcode::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void Opcode::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Opcode::~Opcode() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.Opcode) + SharedDtor(*this); +} +inline void Opcode::SharedDtor(MessageLite& self) { + Opcode& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void Opcode::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.Opcode) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kAssertZero: { + if (GetArena() == nullptr) { + delete _impl_.value_.assert_zero_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.assert_zero_); + } + break; + } + case kBlackboxFuncCall: { + if (GetArena() == nullptr) { + delete _impl_.value_.blackbox_func_call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blackbox_func_call_); + } + break; + } + case kMemoryOp: { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_op_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_op_); + } + break; + } + case kMemoryInit: { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_init_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_init_); + } + break; + } + case kBrilligCall: { + if (GetArena() == nullptr) { + delete _impl_.value_.brillig_call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.brillig_call_); + } + break; + } + case kCall: { + if (GetArena() == nullptr) { + delete _impl_.value_.call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.call_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* Opcode::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Opcode(arena); +} +constexpr auto Opcode::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Opcode), + alignof(Opcode)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Opcode::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Opcode_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Opcode::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Opcode::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Opcode::ByteSizeLong, + &Opcode::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Opcode, _impl_._cached_size_), + false, + }, + &Opcode::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Opcode::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 6, 6, 0, 2> Opcode::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 6, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967232, // skipmap + offsetof(decltype(_table_), field_entries), + 6, // num_field_entries + 6, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Expression assert_zero = 1; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.assert_zero_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall blackbox_func_call = 2; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.blackbox_func_call_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.Opcode.MemoryOp memory_op = 3; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.memory_op_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.Opcode.MemoryInit memory_init = 4; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.memory_init_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.Opcode.BrilligCall brillig_call = 5; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.brillig_call_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.Opcode.Call call = 6; + {PROTOBUF_FIELD_OFFSET(Opcode, _impl_.value_.call_), _Internal::kOneofCaseOffset + 0, 5, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_MemoryOp>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_MemoryInit>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_BrilligCall>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Opcode_Call>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Opcode::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.Opcode) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Opcode::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Opcode& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Opcode::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Opcode& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.Opcode) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kAssertZero: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.assert_zero_, this_._impl_.value_.assert_zero_->GetCachedSize(), target, + stream); + break; + } + case kBlackboxFuncCall: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.blackbox_func_call_, this_._impl_.value_.blackbox_func_call_->GetCachedSize(), target, + stream); + break; + } + case kMemoryOp: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.value_.memory_op_, this_._impl_.value_.memory_op_->GetCachedSize(), target, + stream); + break; + } + case kMemoryInit: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.value_.memory_init_, this_._impl_.value_.memory_init_->GetCachedSize(), target, + stream); + break; + } + case kBrilligCall: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.value_.brillig_call_, this_._impl_.value_.brillig_call_->GetCachedSize(), target, + stream); + break; + } + case kCall: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.value_.call_, this_._impl_.value_.call_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.Opcode) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Opcode::ByteSizeLong(const MessageLite& base) { + const Opcode& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Opcode::ByteSizeLong() const { + const Opcode& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.Opcode) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.native.Expression assert_zero = 1; + case kAssertZero: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.assert_zero_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall blackbox_func_call = 2; + case kBlackboxFuncCall: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.blackbox_func_call_); + break; + } + // .acvm.acir.circuit.Opcode.MemoryOp memory_op = 3; + case kMemoryOp: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.memory_op_); + break; + } + // .acvm.acir.circuit.Opcode.MemoryInit memory_init = 4; + case kMemoryInit: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.memory_init_); + break; + } + // .acvm.acir.circuit.Opcode.BrilligCall brillig_call = 5; + case kBrilligCall: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.brillig_call_); + break; + } + // .acvm.acir.circuit.Opcode.Call call = 6; + case kCall: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.call_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Opcode::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.Opcode) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kAssertZero: { + if (oneof_needs_init) { + _this->_impl_.value_.assert_zero_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.assert_zero_); + } else { + _this->_impl_.value_.assert_zero_->MergeFrom(from._internal_assert_zero()); + } + break; + } + case kBlackboxFuncCall: { + if (oneof_needs_init) { + _this->_impl_.value_.blackbox_func_call_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall>(arena, *from._impl_.value_.blackbox_func_call_); + } else { + _this->_impl_.value_.blackbox_func_call_->MergeFrom(from._internal_blackbox_func_call()); + } + break; + } + case kMemoryOp: { + if (oneof_needs_init) { + _this->_impl_.value_.memory_op_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_MemoryOp>(arena, *from._impl_.value_.memory_op_); + } else { + _this->_impl_.value_.memory_op_->MergeFrom(from._internal_memory_op()); + } + break; + } + case kMemoryInit: { + if (oneof_needs_init) { + _this->_impl_.value_.memory_init_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_MemoryInit>(arena, *from._impl_.value_.memory_init_); + } else { + _this->_impl_.value_.memory_init_->MergeFrom(from._internal_memory_init()); + } + break; + } + case kBrilligCall: { + if (oneof_needs_init) { + _this->_impl_.value_.brillig_call_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_BrilligCall>(arena, *from._impl_.value_.brillig_call_); + } else { + _this->_impl_.value_.brillig_call_->MergeFrom(from._internal_brillig_call()); + } + break; + } + case kCall: { + if (oneof_needs_init) { + _this->_impl_.value_.call_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::Opcode_Call>(arena, *from._impl_.value_.call_); + } else { + _this->_impl_.value_.call_->MergeFrom(from._internal_call()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Opcode::CopyFrom(const Opcode& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.Opcode) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Opcode::InternalSwap(Opcode* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata Opcode::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_AES128Encrypt::_Internal { + public: +}; + +void BlackBoxFuncCall_AES128Encrypt::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_AES128Encrypt::BlackBoxFuncCall_AES128Encrypt(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_AES128Encrypt::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt& from_msg) + : inputs_{visibility, arena, from.inputs_}, + iv_{visibility, arena, from.iv_}, + key_{visibility, arena, from.key_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_AES128Encrypt::BlackBoxFuncCall_AES128Encrypt( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_AES128Encrypt& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_AES128Encrypt* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_AES128Encrypt::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + iv_{visibility, arena}, + key_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_AES128Encrypt::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_AES128Encrypt::~BlackBoxFuncCall_AES128Encrypt() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_AES128Encrypt::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_AES128Encrypt& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_AES128Encrypt::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_AES128Encrypt(arena); +} +constexpr auto BlackBoxFuncCall_AES128Encrypt::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.inputs_) + + decltype(BlackBoxFuncCall_AES128Encrypt::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.iv_) + + decltype(BlackBoxFuncCall_AES128Encrypt::_impl_.iv_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.key_) + + decltype(BlackBoxFuncCall_AES128Encrypt::_impl_.key_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.outputs_) + + decltype(BlackBoxFuncCall_AES128Encrypt::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_AES128Encrypt), alignof(BlackBoxFuncCall_AES128Encrypt), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_AES128Encrypt::PlacementNew_, + sizeof(BlackBoxFuncCall_AES128Encrypt), + alignof(BlackBoxFuncCall_AES128Encrypt)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_AES128Encrypt::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_AES128Encrypt_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_AES128Encrypt::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_AES128Encrypt::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_AES128Encrypt::ByteSizeLong, + &BlackBoxFuncCall_AES128Encrypt::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_AES128Encrypt::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_AES128Encrypt::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 4, 4, 0, 2> BlackBoxFuncCall_AES128Encrypt::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 4, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967280, // skipmap + offsetof(decltype(_table_), field_entries), + 4, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness outputs = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 3, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.outputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.inputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput iv = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.iv_)}}, + // repeated .acvm.acir.circuit.FunctionInput key = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.key_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput iv = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.iv_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput key = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.key_), 0, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 4; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AES128Encrypt, _impl_.outputs_), 0, 3, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_AES128Encrypt::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.iv_.Clear(); + _impl_.key_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_AES128Encrypt::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_AES128Encrypt& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_AES128Encrypt::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_AES128Encrypt& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput iv = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_iv_size()); + i < n; i++) { + const auto& repfield = this_._internal_iv().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput key = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_key_size()); + i < n; i++) { + const auto& repfield = this_._internal_key().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_AES128Encrypt::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_AES128Encrypt& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_AES128Encrypt::ByteSizeLong() const { + const BlackBoxFuncCall_AES128Encrypt& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput iv = 2; + { + total_size += 1UL * this_._internal_iv_size(); + for (const auto& msg : this_._internal_iv()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput key = 3; + { + total_size += 1UL * this_._internal_key_size(); + for (const auto& msg : this_._internal_key()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 4; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_AES128Encrypt::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_iv()->MergeFrom( + from._internal_iv()); + _this->_internal_mutable_key()->MergeFrom( + from._internal_key()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_AES128Encrypt::CopyFrom(const BlackBoxFuncCall_AES128Encrypt& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_AES128Encrypt::InternalSwap(BlackBoxFuncCall_AES128Encrypt* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.iv_.InternalSwap(&other->_impl_.iv_); + _impl_.key_.InternalSwap(&other->_impl_.key_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_AES128Encrypt::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_AND::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_._has_bits_); +}; + +void BlackBoxFuncCall_AND::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ != nullptr) _impl_.output_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +BlackBoxFuncCall_AND::BlackBoxFuncCall_AND(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.AND) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_AND::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_AND& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BlackBoxFuncCall_AND::BlackBoxFuncCall_AND( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_AND& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_AND* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.lhs_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.lhs_) + : nullptr; + _impl_.rhs_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.rhs_) + : nullptr; + _impl_.output_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.output_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.AND) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_AND::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_AND::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_AND::~BlackBoxFuncCall_AND() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.AND) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_AND::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_AND& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.lhs_; + delete this_._impl_.rhs_; + delete this_._impl_.output_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_AND::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_AND(arena); +} +constexpr auto BlackBoxFuncCall_AND::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_AND), + alignof(BlackBoxFuncCall_AND)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_AND::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_AND_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_AND::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_AND::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_AND::ByteSizeLong, + &BlackBoxFuncCall_AND::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_AND::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_AND::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BlackBoxFuncCall_AND::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_AND>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .acvm.acir.circuit.FunctionInput lhs = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.lhs_)}}, + // .acvm.acir.circuit.FunctionInput rhs = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.rhs_)}}, + // .acvm.acir.native.Witness output = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.FunctionInput lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.lhs_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.FunctionInput rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.rhs_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.output_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_AND::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.AND) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.lhs_ != nullptr); + _impl_.lhs_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.rhs_ != nullptr); + _impl_.rhs_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.output_ != nullptr); + _impl_.output_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_AND::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_AND& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_AND::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_AND& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.AND) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.FunctionInput lhs = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.lhs_, this_._impl_.lhs_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.circuit.FunctionInput rhs = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.rhs_, this_._impl_.rhs_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Witness output = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.output_, this_._impl_.output_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.AND) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_AND::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_AND& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_AND::ByteSizeLong() const { + const BlackBoxFuncCall_AND& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.AND) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .acvm.acir.circuit.FunctionInput lhs = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.lhs_); + } + // .acvm.acir.circuit.FunctionInput rhs = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rhs_); + } + // .acvm.acir.native.Witness output = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.output_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_AND::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.AND) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.lhs_ != nullptr); + if (_this->_impl_.lhs_ == nullptr) { + _this->_impl_.lhs_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.lhs_); + } else { + _this->_impl_.lhs_->MergeFrom(*from._impl_.lhs_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.rhs_ != nullptr); + if (_this->_impl_.rhs_ == nullptr) { + _this->_impl_.rhs_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.rhs_); + } else { + _this->_impl_.rhs_->MergeFrom(*from._impl_.rhs_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.output_ != nullptr); + if (_this->_impl_.output_ == nullptr) { + _this->_impl_.output_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.output_); + } else { + _this->_impl_.output_->MergeFrom(*from._impl_.output_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_AND::CopyFrom(const BlackBoxFuncCall_AND& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.AND) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_AND::InternalSwap(BlackBoxFuncCall_AND* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.output_) + + sizeof(BlackBoxFuncCall_AND::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_AND, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_AND::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_XOR::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_._has_bits_); +}; + +void BlackBoxFuncCall_XOR::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ != nullptr) _impl_.output_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +BlackBoxFuncCall_XOR::BlackBoxFuncCall_XOR(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.XOR) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_XOR::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_XOR& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BlackBoxFuncCall_XOR::BlackBoxFuncCall_XOR( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_XOR& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_XOR* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.lhs_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.lhs_) + : nullptr; + _impl_.rhs_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.rhs_) + : nullptr; + _impl_.output_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.output_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.XOR) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_XOR::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_XOR::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_XOR::~BlackBoxFuncCall_XOR() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.XOR) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_XOR::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_XOR& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.lhs_; + delete this_._impl_.rhs_; + delete this_._impl_.output_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_XOR::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_XOR(arena); +} +constexpr auto BlackBoxFuncCall_XOR::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_XOR), + alignof(BlackBoxFuncCall_XOR)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_XOR::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_XOR_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_XOR::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_XOR::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_XOR::ByteSizeLong, + &BlackBoxFuncCall_XOR::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_XOR::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_XOR::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BlackBoxFuncCall_XOR::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_XOR>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .acvm.acir.circuit.FunctionInput lhs = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.lhs_)}}, + // .acvm.acir.circuit.FunctionInput rhs = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.rhs_)}}, + // .acvm.acir.native.Witness output = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.FunctionInput lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.lhs_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.FunctionInput rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.rhs_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.output_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_XOR::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.XOR) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.lhs_ != nullptr); + _impl_.lhs_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.rhs_ != nullptr); + _impl_.rhs_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.output_ != nullptr); + _impl_.output_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_XOR::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_XOR& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_XOR::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_XOR& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.XOR) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.FunctionInput lhs = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.lhs_, this_._impl_.lhs_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.circuit.FunctionInput rhs = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.rhs_, this_._impl_.rhs_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Witness output = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.output_, this_._impl_.output_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.XOR) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_XOR::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_XOR& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_XOR::ByteSizeLong() const { + const BlackBoxFuncCall_XOR& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.XOR) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .acvm.acir.circuit.FunctionInput lhs = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.lhs_); + } + // .acvm.acir.circuit.FunctionInput rhs = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.rhs_); + } + // .acvm.acir.native.Witness output = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.output_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_XOR::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.XOR) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.lhs_ != nullptr); + if (_this->_impl_.lhs_ == nullptr) { + _this->_impl_.lhs_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.lhs_); + } else { + _this->_impl_.lhs_->MergeFrom(*from._impl_.lhs_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.rhs_ != nullptr); + if (_this->_impl_.rhs_ == nullptr) { + _this->_impl_.rhs_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.rhs_); + } else { + _this->_impl_.rhs_->MergeFrom(*from._impl_.rhs_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.output_ != nullptr); + if (_this->_impl_.output_ == nullptr) { + _this->_impl_.output_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.output_); + } else { + _this->_impl_.output_->MergeFrom(*from._impl_.output_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_XOR::CopyFrom(const BlackBoxFuncCall_XOR& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.XOR) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_XOR::InternalSwap(BlackBoxFuncCall_XOR* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.output_) + + sizeof(BlackBoxFuncCall_XOR::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_XOR, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_XOR::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_RANGE::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RANGE, _impl_._has_bits_); +}; + +BlackBoxFuncCall_RANGE::BlackBoxFuncCall_RANGE(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.RANGE) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_RANGE::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_RANGE& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +BlackBoxFuncCall_RANGE::BlackBoxFuncCall_RANGE( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_RANGE& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_RANGE* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.input_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.input_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.RANGE) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_RANGE::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_RANGE::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.input_ = {}; +} +BlackBoxFuncCall_RANGE::~BlackBoxFuncCall_RANGE() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_RANGE::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_RANGE& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.input_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_RANGE::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_RANGE(arena); +} +constexpr auto BlackBoxFuncCall_RANGE::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_RANGE), + alignof(BlackBoxFuncCall_RANGE)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_RANGE::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_RANGE_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_RANGE::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_RANGE::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_RANGE::ByteSizeLong, + &BlackBoxFuncCall_RANGE::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RANGE, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_RANGE::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_RANGE::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> BlackBoxFuncCall_RANGE::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RANGE, _impl_._has_bits_), + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_RANGE>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .acvm.acir.circuit.FunctionInput input = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RANGE, _impl_.input_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.FunctionInput input = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RANGE, _impl_.input_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_RANGE::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.input_ != nullptr); + _impl_.input_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_RANGE::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_RANGE& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_RANGE::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_RANGE& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.FunctionInput input = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.input_, this_._impl_.input_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_RANGE::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_RANGE& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_RANGE::ByteSizeLong() const { + const BlackBoxFuncCall_RANGE& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // .acvm.acir.circuit.FunctionInput input = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.input_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_RANGE::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.input_ != nullptr); + if (_this->_impl_.input_ == nullptr) { + _this->_impl_.input_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.input_); + } else { + _this->_impl_.input_->MergeFrom(*from._impl_.input_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_RANGE::CopyFrom(const BlackBoxFuncCall_RANGE& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_RANGE::InternalSwap(BlackBoxFuncCall_RANGE* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + swap(_impl_.input_, other->_impl_.input_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_RANGE::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_Blake2s::_Internal { + public: +}; + +void BlackBoxFuncCall_Blake2s::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_Blake2s::BlackBoxFuncCall_Blake2s(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Blake2s::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s& from_msg) + : inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_Blake2s::BlackBoxFuncCall_Blake2s( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_Blake2s& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_Blake2s* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Blake2s::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_Blake2s::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_Blake2s::~BlackBoxFuncCall_Blake2s() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_Blake2s::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_Blake2s& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_Blake2s::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_Blake2s(arena); +} +constexpr auto BlackBoxFuncCall_Blake2s::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.inputs_) + + decltype(BlackBoxFuncCall_Blake2s::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.outputs_) + + decltype(BlackBoxFuncCall_Blake2s::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_Blake2s), alignof(BlackBoxFuncCall_Blake2s), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_Blake2s::PlacementNew_, + sizeof(BlackBoxFuncCall_Blake2s), + alignof(BlackBoxFuncCall_Blake2s)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_Blake2s::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_Blake2s_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_Blake2s::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_Blake2s::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_Blake2s::ByteSizeLong, + &BlackBoxFuncCall_Blake2s::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_Blake2s::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_Blake2s::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> BlackBoxFuncCall_Blake2s::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness outputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.outputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.inputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake2s, _impl_.outputs_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_Blake2s::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_Blake2s::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_Blake2s& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_Blake2s::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_Blake2s& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_Blake2s::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_Blake2s& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_Blake2s::ByteSizeLong() const { + const BlackBoxFuncCall_Blake2s& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 2; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_Blake2s::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_Blake2s::CopyFrom(const BlackBoxFuncCall_Blake2s& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_Blake2s::InternalSwap(BlackBoxFuncCall_Blake2s* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_Blake2s::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_Blake3::_Internal { + public: +}; + +void BlackBoxFuncCall_Blake3::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_Blake3::BlackBoxFuncCall_Blake3(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.Blake3) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Blake3::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_Blake3& from_msg) + : inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_Blake3::BlackBoxFuncCall_Blake3( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_Blake3& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_Blake3* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.Blake3) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Blake3::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_Blake3::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_Blake3::~BlackBoxFuncCall_Blake3() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_Blake3::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_Blake3& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_Blake3::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_Blake3(arena); +} +constexpr auto BlackBoxFuncCall_Blake3::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.inputs_) + + decltype(BlackBoxFuncCall_Blake3::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.outputs_) + + decltype(BlackBoxFuncCall_Blake3::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_Blake3), alignof(BlackBoxFuncCall_Blake3), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_Blake3::PlacementNew_, + sizeof(BlackBoxFuncCall_Blake3), + alignof(BlackBoxFuncCall_Blake3)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_Blake3::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_Blake3_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_Blake3::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_Blake3::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_Blake3::ByteSizeLong, + &BlackBoxFuncCall_Blake3::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_Blake3::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_Blake3::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> BlackBoxFuncCall_Blake3::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Blake3>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness outputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.outputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.inputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Blake3, _impl_.outputs_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_Blake3::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_Blake3::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_Blake3& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_Blake3::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_Blake3& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_Blake3::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_Blake3& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_Blake3::ByteSizeLong() const { + const BlackBoxFuncCall_Blake3& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 2; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_Blake3::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_Blake3::CopyFrom(const BlackBoxFuncCall_Blake3& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_Blake3::InternalSwap(BlackBoxFuncCall_Blake3* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_Blake3::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_EcdsaSecp256k1::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_._has_bits_); +}; + +void BlackBoxFuncCall_EcdsaSecp256k1::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ != nullptr) _impl_.output_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +BlackBoxFuncCall_EcdsaSecp256k1::BlackBoxFuncCall_EcdsaSecp256k1(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EcdsaSecp256k1::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + public_key_x_{visibility, arena, from.public_key_x_}, + public_key_y_{visibility, arena, from.public_key_y_}, + signature_{visibility, arena, from.signature_}, + hashed_message_{visibility, arena, from.hashed_message_} {} + +BlackBoxFuncCall_EcdsaSecp256k1::BlackBoxFuncCall_EcdsaSecp256k1( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_EcdsaSecp256k1& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_EcdsaSecp256k1* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.output_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.output_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EcdsaSecp256k1::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + public_key_x_{visibility, arena}, + public_key_y_{visibility, arena}, + signature_{visibility, arena}, + hashed_message_{visibility, arena} {} + +inline void BlackBoxFuncCall_EcdsaSecp256k1::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.output_ = {}; +} +BlackBoxFuncCall_EcdsaSecp256k1::~BlackBoxFuncCall_EcdsaSecp256k1() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_EcdsaSecp256k1& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.output_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_EcdsaSecp256k1::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_EcdsaSecp256k1(arena); +} +constexpr auto BlackBoxFuncCall_EcdsaSecp256k1::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_x_) + + decltype(BlackBoxFuncCall_EcdsaSecp256k1::_impl_.public_key_x_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_y_) + + decltype(BlackBoxFuncCall_EcdsaSecp256k1::_impl_.public_key_y_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.signature_) + + decltype(BlackBoxFuncCall_EcdsaSecp256k1::_impl_.signature_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.hashed_message_) + + decltype(BlackBoxFuncCall_EcdsaSecp256k1::_impl_.hashed_message_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_EcdsaSecp256k1), alignof(BlackBoxFuncCall_EcdsaSecp256k1), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_EcdsaSecp256k1::PlacementNew_, + sizeof(BlackBoxFuncCall_EcdsaSecp256k1), + alignof(BlackBoxFuncCall_EcdsaSecp256k1)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_EcdsaSecp256k1::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_EcdsaSecp256k1_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_EcdsaSecp256k1::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_EcdsaSecp256k1::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_EcdsaSecp256k1::ByteSizeLong, + &BlackBoxFuncCall_EcdsaSecp256k1::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_EcdsaSecp256k1::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_EcdsaSecp256k1::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 5, 0, 2> BlackBoxFuncCall_EcdsaSecp256k1::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_x_)}}, + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_y_)}}, + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.signature_)}}, + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 3, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.hashed_message_)}}, + // .acvm.acir.native.Witness output = 5; + {::_pbi::TcParser::FastMtS1, + {42, 0, 4, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.output_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_x_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.public_key_y_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.signature_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.hashed_message_), -1, 3, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness output = 5; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256k1, _impl_.output_), _Internal::kHasBitsOffset + 0, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_EcdsaSecp256k1::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.public_key_x_.Clear(); + _impl_.public_key_y_.Clear(); + _impl_.signature_.Clear(); + _impl_.hashed_message_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.output_ != nullptr); + _impl_.output_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_EcdsaSecp256k1::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_EcdsaSecp256k1& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_EcdsaSecp256k1::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_EcdsaSecp256k1& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_public_key_x_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_key_x().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_public_key_y_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_key_y().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_signature_size()); + i < n; i++) { + const auto& repfield = this_._internal_signature().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_hashed_message_size()); + i < n; i++) { + const auto& repfield = this_._internal_hashed_message().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Witness output = 5; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.output_, this_._impl_.output_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_EcdsaSecp256k1::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_EcdsaSecp256k1& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_EcdsaSecp256k1::ByteSizeLong() const { + const BlackBoxFuncCall_EcdsaSecp256k1& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + { + total_size += 1UL * this_._internal_public_key_x_size(); + for (const auto& msg : this_._internal_public_key_x()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + { + total_size += 1UL * this_._internal_public_key_y_size(); + for (const auto& msg : this_._internal_public_key_y()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + { + total_size += 1UL * this_._internal_signature_size(); + for (const auto& msg : this_._internal_signature()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + { + total_size += 1UL * this_._internal_hashed_message_size(); + for (const auto& msg : this_._internal_hashed_message()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.native.Witness output = 5; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.output_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_EcdsaSecp256k1::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_public_key_x()->MergeFrom( + from._internal_public_key_x()); + _this->_internal_mutable_public_key_y()->MergeFrom( + from._internal_public_key_y()); + _this->_internal_mutable_signature()->MergeFrom( + from._internal_signature()); + _this->_internal_mutable_hashed_message()->MergeFrom( + from._internal_hashed_message()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.output_ != nullptr); + if (_this->_impl_.output_ == nullptr) { + _this->_impl_.output_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.output_); + } else { + _this->_impl_.output_->MergeFrom(*from._impl_.output_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_EcdsaSecp256k1::CopyFrom(const BlackBoxFuncCall_EcdsaSecp256k1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_EcdsaSecp256k1::InternalSwap(BlackBoxFuncCall_EcdsaSecp256k1* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.public_key_x_.InternalSwap(&other->_impl_.public_key_x_); + _impl_.public_key_y_.InternalSwap(&other->_impl_.public_key_y_); + _impl_.signature_.InternalSwap(&other->_impl_.signature_); + _impl_.hashed_message_.InternalSwap(&other->_impl_.hashed_message_); + swap(_impl_.output_, other->_impl_.output_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_EcdsaSecp256k1::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_EcdsaSecp256r1::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_._has_bits_); +}; + +void BlackBoxFuncCall_EcdsaSecp256r1::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ != nullptr) _impl_.output_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +BlackBoxFuncCall_EcdsaSecp256r1::BlackBoxFuncCall_EcdsaSecp256r1(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EcdsaSecp256r1::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + public_key_x_{visibility, arena, from.public_key_x_}, + public_key_y_{visibility, arena, from.public_key_y_}, + signature_{visibility, arena, from.signature_}, + hashed_message_{visibility, arena, from.hashed_message_} {} + +BlackBoxFuncCall_EcdsaSecp256r1::BlackBoxFuncCall_EcdsaSecp256r1( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_EcdsaSecp256r1& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_EcdsaSecp256r1* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.output_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.output_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EcdsaSecp256r1::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + public_key_x_{visibility, arena}, + public_key_y_{visibility, arena}, + signature_{visibility, arena}, + hashed_message_{visibility, arena} {} + +inline void BlackBoxFuncCall_EcdsaSecp256r1::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.output_ = {}; +} +BlackBoxFuncCall_EcdsaSecp256r1::~BlackBoxFuncCall_EcdsaSecp256r1() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_EcdsaSecp256r1& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.output_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_EcdsaSecp256r1::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_EcdsaSecp256r1(arena); +} +constexpr auto BlackBoxFuncCall_EcdsaSecp256r1::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_x_) + + decltype(BlackBoxFuncCall_EcdsaSecp256r1::_impl_.public_key_x_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_y_) + + decltype(BlackBoxFuncCall_EcdsaSecp256r1::_impl_.public_key_y_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.signature_) + + decltype(BlackBoxFuncCall_EcdsaSecp256r1::_impl_.signature_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.hashed_message_) + + decltype(BlackBoxFuncCall_EcdsaSecp256r1::_impl_.hashed_message_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_EcdsaSecp256r1), alignof(BlackBoxFuncCall_EcdsaSecp256r1), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_EcdsaSecp256r1::PlacementNew_, + sizeof(BlackBoxFuncCall_EcdsaSecp256r1), + alignof(BlackBoxFuncCall_EcdsaSecp256r1)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_EcdsaSecp256r1::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_EcdsaSecp256r1_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_EcdsaSecp256r1::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_EcdsaSecp256r1::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_EcdsaSecp256r1::ByteSizeLong, + &BlackBoxFuncCall_EcdsaSecp256r1::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_EcdsaSecp256r1::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_EcdsaSecp256r1::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 5, 0, 2> BlackBoxFuncCall_EcdsaSecp256r1::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 5, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_x_)}}, + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_y_)}}, + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.signature_)}}, + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + {::_pbi::TcParser::FastMtR1, + {34, 63, 3, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.hashed_message_)}}, + // .acvm.acir.native.Witness output = 5; + {::_pbi::TcParser::FastMtS1, + {42, 0, 4, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.output_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_x_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.public_key_y_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.signature_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.hashed_message_), -1, 3, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness output = 5; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EcdsaSecp256r1, _impl_.output_), _Internal::kHasBitsOffset + 0, 4, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_EcdsaSecp256r1::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.public_key_x_.Clear(); + _impl_.public_key_y_.Clear(); + _impl_.signature_.Clear(); + _impl_.hashed_message_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.output_ != nullptr); + _impl_.output_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_EcdsaSecp256r1::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_EcdsaSecp256r1& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_EcdsaSecp256r1::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_EcdsaSecp256r1& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_public_key_x_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_key_x().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_public_key_y_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_key_y().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_signature_size()); + i < n; i++) { + const auto& repfield = this_._internal_signature().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + for (unsigned i = 0, n = static_cast( + this_._internal_hashed_message_size()); + i < n; i++) { + const auto& repfield = this_._internal_hashed_message().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Witness output = 5; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.output_, this_._impl_.output_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_EcdsaSecp256r1::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_EcdsaSecp256r1& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_EcdsaSecp256r1::ByteSizeLong() const { + const BlackBoxFuncCall_EcdsaSecp256r1& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + { + total_size += 1UL * this_._internal_public_key_x_size(); + for (const auto& msg : this_._internal_public_key_x()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + { + total_size += 1UL * this_._internal_public_key_y_size(); + for (const auto& msg : this_._internal_public_key_y()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + { + total_size += 1UL * this_._internal_signature_size(); + for (const auto& msg : this_._internal_signature()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + { + total_size += 1UL * this_._internal_hashed_message_size(); + for (const auto& msg : this_._internal_hashed_message()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.native.Witness output = 5; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.output_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_EcdsaSecp256r1::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_public_key_x()->MergeFrom( + from._internal_public_key_x()); + _this->_internal_mutable_public_key_y()->MergeFrom( + from._internal_public_key_y()); + _this->_internal_mutable_signature()->MergeFrom( + from._internal_signature()); + _this->_internal_mutable_hashed_message()->MergeFrom( + from._internal_hashed_message()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.output_ != nullptr); + if (_this->_impl_.output_ == nullptr) { + _this->_impl_.output_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.output_); + } else { + _this->_impl_.output_->MergeFrom(*from._impl_.output_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_EcdsaSecp256r1::CopyFrom(const BlackBoxFuncCall_EcdsaSecp256r1& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_EcdsaSecp256r1::InternalSwap(BlackBoxFuncCall_EcdsaSecp256r1* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.public_key_x_.InternalSwap(&other->_impl_.public_key_x_); + _impl_.public_key_y_.InternalSwap(&other->_impl_.public_key_y_); + _impl_.signature_.InternalSwap(&other->_impl_.signature_); + _impl_.hashed_message_.InternalSwap(&other->_impl_.hashed_message_); + swap(_impl_.output_, other->_impl_.output_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_EcdsaSecp256r1::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_MultiScalarMul::_Internal { + public: +}; + +void BlackBoxFuncCall_MultiScalarMul::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_MultiScalarMul::BlackBoxFuncCall_MultiScalarMul(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_MultiScalarMul::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul& from_msg) + : points_{visibility, arena, from.points_}, + scalars_{visibility, arena, from.scalars_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_MultiScalarMul::BlackBoxFuncCall_MultiScalarMul( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_MultiScalarMul& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_MultiScalarMul* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_MultiScalarMul::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : points_{visibility, arena}, + scalars_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_MultiScalarMul::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_MultiScalarMul::~BlackBoxFuncCall_MultiScalarMul() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_MultiScalarMul::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_MultiScalarMul& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_MultiScalarMul::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_MultiScalarMul(arena); +} +constexpr auto BlackBoxFuncCall_MultiScalarMul::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.points_) + + decltype(BlackBoxFuncCall_MultiScalarMul::_impl_.points_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.scalars_) + + decltype(BlackBoxFuncCall_MultiScalarMul::_impl_.scalars_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.outputs_) + + decltype(BlackBoxFuncCall_MultiScalarMul::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_MultiScalarMul), alignof(BlackBoxFuncCall_MultiScalarMul), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_MultiScalarMul::PlacementNew_, + sizeof(BlackBoxFuncCall_MultiScalarMul), + alignof(BlackBoxFuncCall_MultiScalarMul)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_MultiScalarMul::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_MultiScalarMul_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_MultiScalarMul::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_MultiScalarMul::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_MultiScalarMul::ByteSizeLong, + &BlackBoxFuncCall_MultiScalarMul::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_MultiScalarMul::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_MultiScalarMul::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BlackBoxFuncCall_MultiScalarMul::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput points = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.points_)}}, + // repeated .acvm.acir.circuit.FunctionInput scalars = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.scalars_)}}, + // repeated .acvm.acir.native.Witness outputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.outputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput points = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.points_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput scalars = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.scalars_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_MultiScalarMul, _impl_.outputs_), 0, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_MultiScalarMul::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.points_.Clear(); + _impl_.scalars_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_MultiScalarMul::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_MultiScalarMul& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_MultiScalarMul::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_MultiScalarMul& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput points = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_points_size()); + i < n; i++) { + const auto& repfield = this_._internal_points().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput scalars = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_scalars_size()); + i < n; i++) { + const auto& repfield = this_._internal_scalars().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_MultiScalarMul::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_MultiScalarMul& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_MultiScalarMul::ByteSizeLong() const { + const BlackBoxFuncCall_MultiScalarMul& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput points = 1; + { + total_size += 1UL * this_._internal_points_size(); + for (const auto& msg : this_._internal_points()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput scalars = 2; + { + total_size += 1UL * this_._internal_scalars_size(); + for (const auto& msg : this_._internal_scalars()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 3; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_MultiScalarMul::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_points()->MergeFrom( + from._internal_points()); + _this->_internal_mutable_scalars()->MergeFrom( + from._internal_scalars()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_MultiScalarMul::CopyFrom(const BlackBoxFuncCall_MultiScalarMul& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_MultiScalarMul::InternalSwap(BlackBoxFuncCall_MultiScalarMul* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.points_.InternalSwap(&other->_impl_.points_); + _impl_.scalars_.InternalSwap(&other->_impl_.scalars_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_MultiScalarMul::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_EmbeddedCurveAdd::_Internal { + public: +}; + +void BlackBoxFuncCall_EmbeddedCurveAdd::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_EmbeddedCurveAdd::BlackBoxFuncCall_EmbeddedCurveAdd(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EmbeddedCurveAdd::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd& from_msg) + : input1_{visibility, arena, from.input1_}, + input2_{visibility, arena, from.input2_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_EmbeddedCurveAdd::BlackBoxFuncCall_EmbeddedCurveAdd( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_EmbeddedCurveAdd& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_EmbeddedCurveAdd* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_EmbeddedCurveAdd::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : input1_{visibility, arena}, + input2_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_EmbeddedCurveAdd::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_EmbeddedCurveAdd::~BlackBoxFuncCall_EmbeddedCurveAdd() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_EmbeddedCurveAdd::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_EmbeddedCurveAdd& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_EmbeddedCurveAdd::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_EmbeddedCurveAdd(arena); +} +constexpr auto BlackBoxFuncCall_EmbeddedCurveAdd::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input1_) + + decltype(BlackBoxFuncCall_EmbeddedCurveAdd::_impl_.input1_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input2_) + + decltype(BlackBoxFuncCall_EmbeddedCurveAdd::_impl_.input2_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.outputs_) + + decltype(BlackBoxFuncCall_EmbeddedCurveAdd::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_EmbeddedCurveAdd), alignof(BlackBoxFuncCall_EmbeddedCurveAdd), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_EmbeddedCurveAdd::PlacementNew_, + sizeof(BlackBoxFuncCall_EmbeddedCurveAdd), + alignof(BlackBoxFuncCall_EmbeddedCurveAdd)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_EmbeddedCurveAdd::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_EmbeddedCurveAdd::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_EmbeddedCurveAdd::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_EmbeddedCurveAdd::ByteSizeLong, + &BlackBoxFuncCall_EmbeddedCurveAdd::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_EmbeddedCurveAdd::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_EmbeddedCurveAdd::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BlackBoxFuncCall_EmbeddedCurveAdd::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput input1 = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input1_)}}, + // repeated .acvm.acir.circuit.FunctionInput input2 = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input2_)}}, + // repeated .acvm.acir.native.Witness outputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.outputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput input1 = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input1_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput input2 = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.input2_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_EmbeddedCurveAdd, _impl_.outputs_), 0, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_EmbeddedCurveAdd::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.input1_.Clear(); + _impl_.input2_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_EmbeddedCurveAdd::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_EmbeddedCurveAdd& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_EmbeddedCurveAdd::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_EmbeddedCurveAdd& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput input1 = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_input1_size()); + i < n; i++) { + const auto& repfield = this_._internal_input1().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput input2 = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_input2_size()); + i < n; i++) { + const auto& repfield = this_._internal_input2().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_EmbeddedCurveAdd::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_EmbeddedCurveAdd& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_EmbeddedCurveAdd::ByteSizeLong() const { + const BlackBoxFuncCall_EmbeddedCurveAdd& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput input1 = 1; + { + total_size += 1UL * this_._internal_input1_size(); + for (const auto& msg : this_._internal_input1()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput input2 = 2; + { + total_size += 1UL * this_._internal_input2_size(); + for (const auto& msg : this_._internal_input2()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 3; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_EmbeddedCurveAdd::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_input1()->MergeFrom( + from._internal_input1()); + _this->_internal_mutable_input2()->MergeFrom( + from._internal_input2()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_EmbeddedCurveAdd::CopyFrom(const BlackBoxFuncCall_EmbeddedCurveAdd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_EmbeddedCurveAdd::InternalSwap(BlackBoxFuncCall_EmbeddedCurveAdd* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.input1_.InternalSwap(&other->_impl_.input1_); + _impl_.input2_.InternalSwap(&other->_impl_.input2_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_EmbeddedCurveAdd::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_Keccakf1600::_Internal { + public: +}; + +void BlackBoxFuncCall_Keccakf1600::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_Keccakf1600::BlackBoxFuncCall_Keccakf1600(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Keccakf1600::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600& from_msg) + : inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_Keccakf1600::BlackBoxFuncCall_Keccakf1600( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_Keccakf1600& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_Keccakf1600* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Keccakf1600::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_Keccakf1600::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_Keccakf1600::~BlackBoxFuncCall_Keccakf1600() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_Keccakf1600::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_Keccakf1600& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_Keccakf1600::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_Keccakf1600(arena); +} +constexpr auto BlackBoxFuncCall_Keccakf1600::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.inputs_) + + decltype(BlackBoxFuncCall_Keccakf1600::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.outputs_) + + decltype(BlackBoxFuncCall_Keccakf1600::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_Keccakf1600), alignof(BlackBoxFuncCall_Keccakf1600), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_Keccakf1600::PlacementNew_, + sizeof(BlackBoxFuncCall_Keccakf1600), + alignof(BlackBoxFuncCall_Keccakf1600)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_Keccakf1600::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_Keccakf1600_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_Keccakf1600::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_Keccakf1600::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_Keccakf1600::ByteSizeLong, + &BlackBoxFuncCall_Keccakf1600::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_Keccakf1600::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_Keccakf1600::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> BlackBoxFuncCall_Keccakf1600::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness outputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.outputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.inputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Keccakf1600, _impl_.outputs_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_Keccakf1600::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_Keccakf1600::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_Keccakf1600& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_Keccakf1600::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_Keccakf1600& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_Keccakf1600::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_Keccakf1600& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_Keccakf1600::ByteSizeLong() const { + const BlackBoxFuncCall_Keccakf1600& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 2; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_Keccakf1600::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_Keccakf1600::CopyFrom(const BlackBoxFuncCall_Keccakf1600& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_Keccakf1600::InternalSwap(BlackBoxFuncCall_Keccakf1600* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_Keccakf1600::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_RecursiveAggregation::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_._has_bits_); +}; + +BlackBoxFuncCall_RecursiveAggregation::BlackBoxFuncCall_RecursiveAggregation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_RecursiveAggregation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + verification_key_{visibility, arena, from.verification_key_}, + proof_{visibility, arena, from.proof_}, + public_inputs_{visibility, arena, from.public_inputs_} {} + +BlackBoxFuncCall_RecursiveAggregation::BlackBoxFuncCall_RecursiveAggregation( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_RecursiveAggregation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_RecursiveAggregation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.key_hash_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>( + arena, *from._impl_.key_hash_) + : nullptr; + _impl_.proof_type_ = from._impl_.proof_type_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_RecursiveAggregation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + verification_key_{visibility, arena}, + proof_{visibility, arena}, + public_inputs_{visibility, arena} {} + +inline void BlackBoxFuncCall_RecursiveAggregation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, key_hash_), + 0, + offsetof(Impl_, proof_type_) - + offsetof(Impl_, key_hash_) + + sizeof(Impl_::proof_type_)); +} +BlackBoxFuncCall_RecursiveAggregation::~BlackBoxFuncCall_RecursiveAggregation() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_RecursiveAggregation::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_RecursiveAggregation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.key_hash_; + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_RecursiveAggregation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_RecursiveAggregation(arena); +} +constexpr auto BlackBoxFuncCall_RecursiveAggregation::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.verification_key_) + + decltype(BlackBoxFuncCall_RecursiveAggregation::_impl_.verification_key_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_) + + decltype(BlackBoxFuncCall_RecursiveAggregation::_impl_.proof_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.public_inputs_) + + decltype(BlackBoxFuncCall_RecursiveAggregation::_impl_.public_inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_RecursiveAggregation), alignof(BlackBoxFuncCall_RecursiveAggregation), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_RecursiveAggregation::PlacementNew_, + sizeof(BlackBoxFuncCall_RecursiveAggregation), + alignof(BlackBoxFuncCall_RecursiveAggregation)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_RecursiveAggregation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_RecursiveAggregation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_RecursiveAggregation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_RecursiveAggregation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_RecursiveAggregation::ByteSizeLong, + &BlackBoxFuncCall_RecursiveAggregation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_RecursiveAggregation::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_RecursiveAggregation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<3, 5, 4, 0, 2> BlackBoxFuncCall_RecursiveAggregation::_table_ = { + { + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_._has_bits_), + 0, // no _extensions_ + 5, 56, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967264, // skipmap + offsetof(decltype(_table_), field_entries), + 5, // num_field_entries + 4, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput verification_key = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.verification_key_)}}, + // repeated .acvm.acir.circuit.FunctionInput proof = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_)}}, + // repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.public_inputs_)}}, + // .acvm.acir.circuit.FunctionInput key_hash = 4; + {::_pbi::TcParser::FastMtS1, + {34, 0, 3, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.key_hash_)}}, + // uint32 proof_type = 5; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_type_), 63>(), + {40, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_type_)}}, + {::_pbi::TcParser::MiniParse, {}}, + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput verification_key = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.verification_key_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput proof = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.public_inputs_), -1, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.FunctionInput key_hash = 4; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.key_hash_), _Internal::kHasBitsOffset + 0, 3, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 proof_type = 5; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_type_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_RecursiveAggregation::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.verification_key_.Clear(); + _impl_.proof_.Clear(); + _impl_.public_inputs_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.key_hash_ != nullptr); + _impl_.key_hash_->Clear(); + } + _impl_.proof_type_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_RecursiveAggregation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_RecursiveAggregation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_RecursiveAggregation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_RecursiveAggregation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput verification_key = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_verification_key_size()); + i < n; i++) { + const auto& repfield = this_._internal_verification_key().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput proof = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_proof_size()); + i < n; i++) { + const auto& repfield = this_._internal_proof().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_public_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_public_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.FunctionInput key_hash = 4; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.key_hash_, this_._impl_.key_hash_->GetCachedSize(), target, + stream); + } + + // uint32 proof_type = 5; + if (this_._internal_proof_type() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 5, this_._internal_proof_type(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_RecursiveAggregation::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_RecursiveAggregation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_RecursiveAggregation::ByteSizeLong() const { + const BlackBoxFuncCall_RecursiveAggregation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput verification_key = 1; + { + total_size += 1UL * this_._internal_verification_key_size(); + for (const auto& msg : this_._internal_verification_key()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput proof = 2; + { + total_size += 1UL * this_._internal_proof_size(); + for (const auto& msg : this_._internal_proof()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; + { + total_size += 1UL * this_._internal_public_inputs_size(); + for (const auto& msg : this_._internal_public_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.circuit.FunctionInput key_hash = 4; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.key_hash_); + } + } + { + // uint32 proof_type = 5; + if (this_._internal_proof_type() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_proof_type()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_RecursiveAggregation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_verification_key()->MergeFrom( + from._internal_verification_key()); + _this->_internal_mutable_proof()->MergeFrom( + from._internal_proof()); + _this->_internal_mutable_public_inputs()->MergeFrom( + from._internal_public_inputs()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.key_hash_ != nullptr); + if (_this->_impl_.key_hash_ == nullptr) { + _this->_impl_.key_hash_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::FunctionInput>(arena, *from._impl_.key_hash_); + } else { + _this->_impl_.key_hash_->MergeFrom(*from._impl_.key_hash_); + } + } + if (from._internal_proof_type() != 0) { + _this->_impl_.proof_type_ = from._impl_.proof_type_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_RecursiveAggregation::CopyFrom(const BlackBoxFuncCall_RecursiveAggregation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_RecursiveAggregation::InternalSwap(BlackBoxFuncCall_RecursiveAggregation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.verification_key_.InternalSwap(&other->_impl_.verification_key_); + _impl_.proof_.InternalSwap(&other->_impl_.proof_); + _impl_.public_inputs_.InternalSwap(&other->_impl_.public_inputs_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.proof_type_) + + sizeof(BlackBoxFuncCall_RecursiveAggregation::_impl_.proof_type_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_RecursiveAggregation, _impl_.key_hash_)>( + reinterpret_cast(&_impl_.key_hash_), + reinterpret_cast(&other->_impl_.key_hash_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_RecursiveAggregation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntAdd::_Internal { + public: +}; + +BlackBoxFuncCall_BigIntAdd::BlackBoxFuncCall_BigIntAdd(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) +} +BlackBoxFuncCall_BigIntAdd::BlackBoxFuncCall_BigIntAdd( + ::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntAdd& from) + : BlackBoxFuncCall_BigIntAdd(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntAdd::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntAdd::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_BigIntAdd::~BlackBoxFuncCall_BigIntAdd() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntAdd::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntAdd& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntAdd::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntAdd(arena); +} +constexpr auto BlackBoxFuncCall_BigIntAdd::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_BigIntAdd), + alignof(BlackBoxFuncCall_BigIntAdd)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntAdd::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntAdd_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntAdd::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntAdd::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntAdd::ByteSizeLong, + &BlackBoxFuncCall_BigIntAdd::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntAdd::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntAdd::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BlackBoxFuncCall_BigIntAdd::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 lhs = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntAdd, _impl_.lhs_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.lhs_)}}, + // uint32 rhs = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntAdd, _impl_.rhs_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.rhs_)}}, + // uint32 output = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntAdd, _impl_.output_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.lhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.rhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.output_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntAdd::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lhs_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.output_) - + reinterpret_cast(&_impl_.lhs_)) + sizeof(_impl_.output_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntAdd::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntAdd& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntAdd::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntAdd& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_lhs(), target); + } + + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_rhs(), target); + } + + // uint32 output = 3; + if (this_._internal_output() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_output(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntAdd::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntAdd& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntAdd::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntAdd& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_lhs()); + } + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rhs()); + } + // uint32 output = 3; + if (this_._internal_output() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_output()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntAdd::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_lhs() != 0) { + _this->_impl_.lhs_ = from._impl_.lhs_; + } + if (from._internal_rhs() != 0) { + _this->_impl_.rhs_ = from._impl_.rhs_; + } + if (from._internal_output() != 0) { + _this->_impl_.output_ = from._impl_.output_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntAdd::CopyFrom(const BlackBoxFuncCall_BigIntAdd& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntAdd::InternalSwap(BlackBoxFuncCall_BigIntAdd* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.output_) + + sizeof(BlackBoxFuncCall_BigIntAdd::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntAdd, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntAdd::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntSub::_Internal { + public: +}; + +BlackBoxFuncCall_BigIntSub::BlackBoxFuncCall_BigIntSub(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) +} +BlackBoxFuncCall_BigIntSub::BlackBoxFuncCall_BigIntSub( + ::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntSub& from) + : BlackBoxFuncCall_BigIntSub(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntSub::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntSub::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_BigIntSub::~BlackBoxFuncCall_BigIntSub() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntSub::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntSub& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntSub::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntSub(arena); +} +constexpr auto BlackBoxFuncCall_BigIntSub::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_BigIntSub), + alignof(BlackBoxFuncCall_BigIntSub)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntSub::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntSub_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntSub::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntSub::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntSub::ByteSizeLong, + &BlackBoxFuncCall_BigIntSub::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntSub::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntSub::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BlackBoxFuncCall_BigIntSub::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 lhs = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntSub, _impl_.lhs_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.lhs_)}}, + // uint32 rhs = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntSub, _impl_.rhs_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.rhs_)}}, + // uint32 output = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntSub, _impl_.output_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.lhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.rhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.output_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntSub::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lhs_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.output_) - + reinterpret_cast(&_impl_.lhs_)) + sizeof(_impl_.output_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntSub::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntSub& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntSub::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntSub& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_lhs(), target); + } + + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_rhs(), target); + } + + // uint32 output = 3; + if (this_._internal_output() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_output(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntSub::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntSub& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntSub::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntSub& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_lhs()); + } + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rhs()); + } + // uint32 output = 3; + if (this_._internal_output() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_output()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntSub::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_lhs() != 0) { + _this->_impl_.lhs_ = from._impl_.lhs_; + } + if (from._internal_rhs() != 0) { + _this->_impl_.rhs_ = from._impl_.rhs_; + } + if (from._internal_output() != 0) { + _this->_impl_.output_ = from._impl_.output_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntSub::CopyFrom(const BlackBoxFuncCall_BigIntSub& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntSub::InternalSwap(BlackBoxFuncCall_BigIntSub* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.output_) + + sizeof(BlackBoxFuncCall_BigIntSub::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntSub, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntSub::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntMul::_Internal { + public: +}; + +BlackBoxFuncCall_BigIntMul::BlackBoxFuncCall_BigIntMul(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) +} +BlackBoxFuncCall_BigIntMul::BlackBoxFuncCall_BigIntMul( + ::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntMul& from) + : BlackBoxFuncCall_BigIntMul(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntMul::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntMul::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_BigIntMul::~BlackBoxFuncCall_BigIntMul() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntMul::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntMul& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntMul::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntMul(arena); +} +constexpr auto BlackBoxFuncCall_BigIntMul::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_BigIntMul), + alignof(BlackBoxFuncCall_BigIntMul)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntMul::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntMul_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntMul::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntMul::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntMul::ByteSizeLong, + &BlackBoxFuncCall_BigIntMul::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntMul::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntMul::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BlackBoxFuncCall_BigIntMul::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 lhs = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntMul, _impl_.lhs_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.lhs_)}}, + // uint32 rhs = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntMul, _impl_.rhs_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.rhs_)}}, + // uint32 output = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntMul, _impl_.output_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.lhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.rhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.output_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntMul::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lhs_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.output_) - + reinterpret_cast(&_impl_.lhs_)) + sizeof(_impl_.output_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntMul::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntMul& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntMul::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntMul& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_lhs(), target); + } + + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_rhs(), target); + } + + // uint32 output = 3; + if (this_._internal_output() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_output(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntMul::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntMul& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntMul::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntMul& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_lhs()); + } + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rhs()); + } + // uint32 output = 3; + if (this_._internal_output() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_output()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntMul::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_lhs() != 0) { + _this->_impl_.lhs_ = from._impl_.lhs_; + } + if (from._internal_rhs() != 0) { + _this->_impl_.rhs_ = from._impl_.rhs_; + } + if (from._internal_output() != 0) { + _this->_impl_.output_ = from._impl_.output_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntMul::CopyFrom(const BlackBoxFuncCall_BigIntMul& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntMul::InternalSwap(BlackBoxFuncCall_BigIntMul* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.output_) + + sizeof(BlackBoxFuncCall_BigIntMul::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntMul, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntMul::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntDiv::_Internal { + public: +}; + +BlackBoxFuncCall_BigIntDiv::BlackBoxFuncCall_BigIntDiv(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) +} +BlackBoxFuncCall_BigIntDiv::BlackBoxFuncCall_BigIntDiv( + ::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntDiv& from) + : BlackBoxFuncCall_BigIntDiv(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntDiv::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntDiv::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, lhs_), + 0, + offsetof(Impl_, output_) - + offsetof(Impl_, lhs_) + + sizeof(Impl_::output_)); +} +BlackBoxFuncCall_BigIntDiv::~BlackBoxFuncCall_BigIntDiv() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntDiv::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntDiv& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntDiv::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntDiv(arena); +} +constexpr auto BlackBoxFuncCall_BigIntDiv::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall_BigIntDiv), + alignof(BlackBoxFuncCall_BigIntDiv)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntDiv::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntDiv_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntDiv::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntDiv::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntDiv::ByteSizeLong, + &BlackBoxFuncCall_BigIntDiv::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntDiv::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntDiv::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 0, 0, 2> BlackBoxFuncCall_BigIntDiv::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // uint32 lhs = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntDiv, _impl_.lhs_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.lhs_)}}, + // uint32 rhs = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntDiv, _impl_.rhs_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.rhs_)}}, + // uint32 output = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntDiv, _impl_.output_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 lhs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.lhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 rhs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.rhs_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // uint32 output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.output_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntDiv::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + ::memset(&_impl_.lhs_, 0, static_cast<::size_t>( + reinterpret_cast(&_impl_.output_) - + reinterpret_cast(&_impl_.lhs_)) + sizeof(_impl_.output_)); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntDiv::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntDiv& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntDiv::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntDiv& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_lhs(), target); + } + + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_rhs(), target); + } + + // uint32 output = 3; + if (this_._internal_output() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_output(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntDiv::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntDiv& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntDiv::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntDiv& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // uint32 lhs = 1; + if (this_._internal_lhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_lhs()); + } + // uint32 rhs = 2; + if (this_._internal_rhs() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_rhs()); + } + // uint32 output = 3; + if (this_._internal_output() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_output()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntDiv::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_lhs() != 0) { + _this->_impl_.lhs_ = from._impl_.lhs_; + } + if (from._internal_rhs() != 0) { + _this->_impl_.rhs_ = from._impl_.rhs_; + } + if (from._internal_output() != 0) { + _this->_impl_.output_ = from._impl_.output_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntDiv::CopyFrom(const BlackBoxFuncCall_BigIntDiv& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntDiv::InternalSwap(BlackBoxFuncCall_BigIntDiv* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.output_) + + sizeof(BlackBoxFuncCall_BigIntDiv::_impl_.output_) + - PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntDiv, _impl_.lhs_)>( + reinterpret_cast(&_impl_.lhs_), + reinterpret_cast(&other->_impl_.lhs_)); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntDiv::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntFromLeBytes::_Internal { + public: +}; + +BlackBoxFuncCall_BigIntFromLeBytes::BlackBoxFuncCall_BigIntFromLeBytes(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntFromLeBytes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes& from_msg) + : inputs_{visibility, arena, from.inputs_}, + modulus_(arena, from.modulus_), + _cached_size_{0} {} + +BlackBoxFuncCall_BigIntFromLeBytes::BlackBoxFuncCall_BigIntFromLeBytes( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_BigIntFromLeBytes& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_BigIntFromLeBytes* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.output_ = from._impl_.output_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntFromLeBytes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + modulus_(arena), + _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntFromLeBytes::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.output_ = {}; +} +BlackBoxFuncCall_BigIntFromLeBytes::~BlackBoxFuncCall_BigIntFromLeBytes() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntFromLeBytes& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.modulus_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntFromLeBytes::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntFromLeBytes(arena); +} +constexpr auto BlackBoxFuncCall_BigIntFromLeBytes::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.inputs_) + + decltype(BlackBoxFuncCall_BigIntFromLeBytes::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::CopyInit( + sizeof(BlackBoxFuncCall_BigIntFromLeBytes), alignof(BlackBoxFuncCall_BigIntFromLeBytes), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_BigIntFromLeBytes::PlacementNew_, + sizeof(BlackBoxFuncCall_BigIntFromLeBytes), + alignof(BlackBoxFuncCall_BigIntFromLeBytes)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntFromLeBytes::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntFromLeBytes_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntFromLeBytes::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntFromLeBytes::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntFromLeBytes::ByteSizeLong, + &BlackBoxFuncCall_BigIntFromLeBytes::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntFromLeBytes::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntFromLeBytes::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 1, 0, 2> BlackBoxFuncCall_BigIntFromLeBytes::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.inputs_)}}, + // bytes modulus = 2; + {::_pbi::TcParser::FastBS1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.modulus_)}}, + // uint32 output = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.output_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.output_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // bytes modulus = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.modulus_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, + // uint32 output = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntFromLeBytes, _impl_.output_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntFromLeBytes::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.modulus_.ClearToEmpty(); + _impl_.output_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntFromLeBytes::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntFromLeBytes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntFromLeBytes::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntFromLeBytes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // bytes modulus = 2; + if (!this_._internal_modulus().empty()) { + const std::string& _s = this_._internal_modulus(); + target = stream->WriteBytesMaybeAliased(2, _s, target); + } + + // uint32 output = 3; + if (this_._internal_output() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_output(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntFromLeBytes::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntFromLeBytes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntFromLeBytes::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntFromLeBytes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // bytes modulus = 2; + if (!this_._internal_modulus().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_modulus()); + } + // uint32 output = 3; + if (this_._internal_output() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_output()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntFromLeBytes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + if (!from._internal_modulus().empty()) { + _this->_internal_set_modulus(from._internal_modulus()); + } + if (from._internal_output() != 0) { + _this->_impl_.output_ = from._impl_.output_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntFromLeBytes::CopyFrom(const BlackBoxFuncCall_BigIntFromLeBytes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntFromLeBytes::InternalSwap(BlackBoxFuncCall_BigIntFromLeBytes* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.modulus_, &other->_impl_.modulus_, arena); + swap(_impl_.output_, other->_impl_.output_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntFromLeBytes::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_BigIntToLeBytes::_Internal { + public: +}; + +void BlackBoxFuncCall_BigIntToLeBytes::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_BigIntToLeBytes::BlackBoxFuncCall_BigIntToLeBytes(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntToLeBytes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes& from_msg) + : outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_BigIntToLeBytes::BlackBoxFuncCall_BigIntToLeBytes( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_BigIntToLeBytes& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_BigIntToLeBytes* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.input_ = from._impl_.input_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_BigIntToLeBytes::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_BigIntToLeBytes::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.input_ = {}; +} +BlackBoxFuncCall_BigIntToLeBytes::~BlackBoxFuncCall_BigIntToLeBytes() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_BigIntToLeBytes::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_BigIntToLeBytes& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_BigIntToLeBytes::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_BigIntToLeBytes(arena); +} +constexpr auto BlackBoxFuncCall_BigIntToLeBytes::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_.outputs_) + + decltype(BlackBoxFuncCall_BigIntToLeBytes::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_BigIntToLeBytes), alignof(BlackBoxFuncCall_BigIntToLeBytes), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_BigIntToLeBytes::PlacementNew_, + sizeof(BlackBoxFuncCall_BigIntToLeBytes), + alignof(BlackBoxFuncCall_BigIntToLeBytes)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_BigIntToLeBytes::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_BigIntToLeBytes_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_BigIntToLeBytes::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_BigIntToLeBytes::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_BigIntToLeBytes::ByteSizeLong, + &BlackBoxFuncCall_BigIntToLeBytes::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_BigIntToLeBytes::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_BigIntToLeBytes::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> BlackBoxFuncCall_BigIntToLeBytes::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness outputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_.outputs_)}}, + // uint32 input = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_BigIntToLeBytes, _impl_.input_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_.input_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 input = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_.input_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // repeated .acvm.acir.native.Witness outputs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_BigIntToLeBytes, _impl_.outputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_BigIntToLeBytes::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.outputs_.Clear(); + _impl_.input_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_BigIntToLeBytes::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_BigIntToLeBytes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_BigIntToLeBytes::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_BigIntToLeBytes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 input = 1; + if (this_._internal_input() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_input(), target); + } + + // repeated .acvm.acir.native.Witness outputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_BigIntToLeBytes::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_BigIntToLeBytes& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_BigIntToLeBytes::ByteSizeLong() const { + const BlackBoxFuncCall_BigIntToLeBytes& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Witness outputs = 2; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // uint32 input = 1; + if (this_._internal_input() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_input()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_BigIntToLeBytes::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + if (from._internal_input() != 0) { + _this->_impl_.input_ = from._impl_.input_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_BigIntToLeBytes::CopyFrom(const BlackBoxFuncCall_BigIntToLeBytes& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_BigIntToLeBytes::InternalSwap(BlackBoxFuncCall_BigIntToLeBytes* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); + swap(_impl_.input_, other->_impl_.input_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_BigIntToLeBytes::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_Poseidon2Permutation::_Internal { + public: +}; + +void BlackBoxFuncCall_Poseidon2Permutation::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_Poseidon2Permutation::BlackBoxFuncCall_Poseidon2Permutation(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Poseidon2Permutation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation& from_msg) + : inputs_{visibility, arena, from.inputs_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_Poseidon2Permutation::BlackBoxFuncCall_Poseidon2Permutation( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_Poseidon2Permutation& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_Poseidon2Permutation* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + _impl_.len_ = from._impl_.len_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Poseidon2Permutation::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_Poseidon2Permutation::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.len_ = {}; +} +BlackBoxFuncCall_Poseidon2Permutation::~BlackBoxFuncCall_Poseidon2Permutation() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_Poseidon2Permutation::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_Poseidon2Permutation& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_Poseidon2Permutation::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_Poseidon2Permutation(arena); +} +constexpr auto BlackBoxFuncCall_Poseidon2Permutation::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.inputs_) + + decltype(BlackBoxFuncCall_Poseidon2Permutation::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.outputs_) + + decltype(BlackBoxFuncCall_Poseidon2Permutation::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_Poseidon2Permutation), alignof(BlackBoxFuncCall_Poseidon2Permutation), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_Poseidon2Permutation::PlacementNew_, + sizeof(BlackBoxFuncCall_Poseidon2Permutation), + alignof(BlackBoxFuncCall_Poseidon2Permutation)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_Poseidon2Permutation::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_Poseidon2Permutation_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_Poseidon2Permutation::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_Poseidon2Permutation::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_Poseidon2Permutation::ByteSizeLong, + &BlackBoxFuncCall_Poseidon2Permutation::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_Poseidon2Permutation::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_Poseidon2Permutation::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 2, 0, 2> BlackBoxFuncCall_Poseidon2Permutation::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.inputs_)}}, + // repeated .acvm.acir.native.Witness outputs = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.outputs_)}}, + // uint32 len = 3; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlackBoxFuncCall_Poseidon2Permutation, _impl_.len_), 63>(), + {24, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.len_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.outputs_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 len = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Poseidon2Permutation, _impl_.len_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_Poseidon2Permutation::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.outputs_.Clear(); + _impl_.len_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_Poseidon2Permutation::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_Poseidon2Permutation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_Poseidon2Permutation::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_Poseidon2Permutation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // uint32 len = 3; + if (this_._internal_len() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_len(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_Poseidon2Permutation::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_Poseidon2Permutation& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_Poseidon2Permutation::ByteSizeLong() const { + const BlackBoxFuncCall_Poseidon2Permutation& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 2; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // uint32 len = 3; + if (this_._internal_len() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_len()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_Poseidon2Permutation::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + if (from._internal_len() != 0) { + _this->_impl_.len_ = from._impl_.len_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_Poseidon2Permutation::CopyFrom(const BlackBoxFuncCall_Poseidon2Permutation& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_Poseidon2Permutation::InternalSwap(BlackBoxFuncCall_Poseidon2Permutation* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); + swap(_impl_.len_, other->_impl_.len_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_Poseidon2Permutation::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall_Sha256Compression::_Internal { + public: +}; + +void BlackBoxFuncCall_Sha256Compression::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +BlackBoxFuncCall_Sha256Compression::BlackBoxFuncCall_Sha256Compression(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Sha256Compression::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression& from_msg) + : inputs_{visibility, arena, from.inputs_}, + hash_values_{visibility, arena, from.hash_values_}, + outputs_{visibility, arena, from.outputs_}, + _cached_size_{0} {} + +BlackBoxFuncCall_Sha256Compression::BlackBoxFuncCall_Sha256Compression( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall_Sha256Compression& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall_Sha256Compression* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall_Sha256Compression::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : inputs_{visibility, arena}, + hash_values_{visibility, arena}, + outputs_{visibility, arena}, + _cached_size_{0} {} + +inline void BlackBoxFuncCall_Sha256Compression::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall_Sha256Compression::~BlackBoxFuncCall_Sha256Compression() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + SharedDtor(*this); +} +inline void BlackBoxFuncCall_Sha256Compression::SharedDtor(MessageLite& self) { + BlackBoxFuncCall_Sha256Compression& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlackBoxFuncCall_Sha256Compression::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall_Sha256Compression(arena); +} +constexpr auto BlackBoxFuncCall_Sha256Compression::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.inputs_) + + decltype(BlackBoxFuncCall_Sha256Compression::_impl_.inputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.hash_values_) + + decltype(BlackBoxFuncCall_Sha256Compression::_impl_.hash_values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.outputs_) + + decltype(BlackBoxFuncCall_Sha256Compression::_impl_.outputs_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BlackBoxFuncCall_Sha256Compression), alignof(BlackBoxFuncCall_Sha256Compression), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BlackBoxFuncCall_Sha256Compression::PlacementNew_, + sizeof(BlackBoxFuncCall_Sha256Compression), + alignof(BlackBoxFuncCall_Sha256Compression)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall_Sha256Compression::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_Sha256Compression_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall_Sha256Compression::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall_Sha256Compression::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall_Sha256Compression::ByteSizeLong, + &BlackBoxFuncCall_Sha256Compression::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall_Sha256Compression::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall_Sha256Compression::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> BlackBoxFuncCall_Sha256Compression::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.inputs_)}}, + // repeated .acvm.acir.circuit.FunctionInput hash_values = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.hash_values_)}}, + // repeated .acvm.acir.native.Witness outputs = 3; + {::_pbi::TcParser::FastMtR1, + {26, 63, 2, PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.outputs_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.inputs_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.circuit.FunctionInput hash_values = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.hash_values_), 0, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Witness outputs = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall_Sha256Compression, _impl_.outputs_), 0, 2, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall_Sha256Compression::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.inputs_.Clear(); + _impl_.hash_values_.Clear(); + _impl_.outputs_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall_Sha256Compression::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall_Sha256Compression& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall_Sha256Compression::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall_Sha256Compression& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_inputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_inputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.circuit.FunctionInput hash_values = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_hash_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_hash_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Witness outputs = 3; + for (unsigned i = 0, n = static_cast( + this_._internal_outputs_size()); + i < n; i++) { + const auto& repfield = this_._internal_outputs().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall_Sha256Compression::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall_Sha256Compression& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall_Sha256Compression::ByteSizeLong() const { + const BlackBoxFuncCall_Sha256Compression& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + { + total_size += 1UL * this_._internal_inputs_size(); + for (const auto& msg : this_._internal_inputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.circuit.FunctionInput hash_values = 2; + { + total_size += 1UL * this_._internal_hash_values_size(); + for (const auto& msg : this_._internal_hash_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Witness outputs = 3; + { + total_size += 1UL * this_._internal_outputs_size(); + for (const auto& msg : this_._internal_outputs()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall_Sha256Compression::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_inputs()->MergeFrom( + from._internal_inputs()); + _this->_internal_mutable_hash_values()->MergeFrom( + from._internal_hash_values()); + _this->_internal_mutable_outputs()->MergeFrom( + from._internal_outputs()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall_Sha256Compression::CopyFrom(const BlackBoxFuncCall_Sha256Compression& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall_Sha256Compression::InternalSwap(BlackBoxFuncCall_Sha256Compression* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.inputs_.InternalSwap(&other->_impl_.inputs_); + _impl_.hash_values_.InternalSwap(&other->_impl_.hash_values_); + _impl_.outputs_.InternalSwap(&other->_impl_.outputs_); +} + +::google::protobuf::Metadata BlackBoxFuncCall_Sha256Compression::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlackBoxFuncCall::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlackBoxFuncCall, _impl_._oneof_case_); +}; + +void BlackBoxFuncCall::set_allocated_aes128_encrypt(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* aes128_encrypt) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (aes128_encrypt) { + ::google::protobuf::Arena* submessage_arena = aes128_encrypt->GetArena(); + if (message_arena != submessage_arena) { + aes128_encrypt = ::google::protobuf::internal::GetOwnedMessage(message_arena, aes128_encrypt, submessage_arena); + } + set_has_aes128_encrypt(); + _impl_.value_.aes128_encrypt_ = aes128_encrypt; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) +} +void BlackBoxFuncCall::set_allocated_and_(::acvm::acir::circuit::BlackBoxFuncCall_AND* and_) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (and_) { + ::google::protobuf::Arena* submessage_arena = and_->GetArena(); + if (message_arena != submessage_arena) { + and_ = ::google::protobuf::internal::GetOwnedMessage(message_arena, and_, submessage_arena); + } + set_has_and_(); + _impl_.value_.and__ = and_; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.and) +} +void BlackBoxFuncCall::set_allocated_xor_(::acvm::acir::circuit::BlackBoxFuncCall_XOR* xor_) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (xor_) { + ::google::protobuf::Arena* submessage_arena = xor_->GetArena(); + if (message_arena != submessage_arena) { + xor_ = ::google::protobuf::internal::GetOwnedMessage(message_arena, xor_, submessage_arena); + } + set_has_xor_(); + _impl_.value_.xor__ = xor_; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.xor) +} +void BlackBoxFuncCall::set_allocated_range(::acvm::acir::circuit::BlackBoxFuncCall_RANGE* range) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (range) { + ::google::protobuf::Arena* submessage_arena = range->GetArena(); + if (message_arena != submessage_arena) { + range = ::google::protobuf::internal::GetOwnedMessage(message_arena, range, submessage_arena); + } + set_has_range(); + _impl_.value_.range_ = range; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.range) +} +void BlackBoxFuncCall::set_allocated_blake2s(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* blake2s) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (blake2s) { + ::google::protobuf::Arena* submessage_arena = blake2s->GetArena(); + if (message_arena != submessage_arena) { + blake2s = ::google::protobuf::internal::GetOwnedMessage(message_arena, blake2s, submessage_arena); + } + set_has_blake2s(); + _impl_.value_.blake2s_ = blake2s; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.blake2s) +} +void BlackBoxFuncCall::set_allocated_blake3(::acvm::acir::circuit::BlackBoxFuncCall_Blake3* blake3) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (blake3) { + ::google::protobuf::Arena* submessage_arena = blake3->GetArena(); + if (message_arena != submessage_arena) { + blake3 = ::google::protobuf::internal::GetOwnedMessage(message_arena, blake3, submessage_arena); + } + set_has_blake3(); + _impl_.value_.blake3_ = blake3; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.blake3) +} +void BlackBoxFuncCall::set_allocated_ecdsa_secp256k1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* ecdsa_secp256k1) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (ecdsa_secp256k1) { + ::google::protobuf::Arena* submessage_arena = ecdsa_secp256k1->GetArena(); + if (message_arena != submessage_arena) { + ecdsa_secp256k1 = ::google::protobuf::internal::GetOwnedMessage(message_arena, ecdsa_secp256k1, submessage_arena); + } + set_has_ecdsa_secp256k1(); + _impl_.value_.ecdsa_secp256k1_ = ecdsa_secp256k1; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) +} +void BlackBoxFuncCall::set_allocated_ecdsa_secp256r1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* ecdsa_secp256r1) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (ecdsa_secp256r1) { + ::google::protobuf::Arena* submessage_arena = ecdsa_secp256r1->GetArena(); + if (message_arena != submessage_arena) { + ecdsa_secp256r1 = ::google::protobuf::internal::GetOwnedMessage(message_arena, ecdsa_secp256r1, submessage_arena); + } + set_has_ecdsa_secp256r1(); + _impl_.value_.ecdsa_secp256r1_ = ecdsa_secp256r1; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) +} +void BlackBoxFuncCall::set_allocated_multi_scalar_mul(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* multi_scalar_mul) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (multi_scalar_mul) { + ::google::protobuf::Arena* submessage_arena = multi_scalar_mul->GetArena(); + if (message_arena != submessage_arena) { + multi_scalar_mul = ::google::protobuf::internal::GetOwnedMessage(message_arena, multi_scalar_mul, submessage_arena); + } + set_has_multi_scalar_mul(); + _impl_.value_.multi_scalar_mul_ = multi_scalar_mul; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) +} +void BlackBoxFuncCall::set_allocated_embedded_curve_add(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* embedded_curve_add) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (embedded_curve_add) { + ::google::protobuf::Arena* submessage_arena = embedded_curve_add->GetArena(); + if (message_arena != submessage_arena) { + embedded_curve_add = ::google::protobuf::internal::GetOwnedMessage(message_arena, embedded_curve_add, submessage_arena); + } + set_has_embedded_curve_add(); + _impl_.value_.embedded_curve_add_ = embedded_curve_add; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) +} +void BlackBoxFuncCall::set_allocated_keccak_f1600(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* keccak_f1600) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (keccak_f1600) { + ::google::protobuf::Arena* submessage_arena = keccak_f1600->GetArena(); + if (message_arena != submessage_arena) { + keccak_f1600 = ::google::protobuf::internal::GetOwnedMessage(message_arena, keccak_f1600, submessage_arena); + } + set_has_keccak_f1600(); + _impl_.value_.keccak_f1600_ = keccak_f1600; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) +} +void BlackBoxFuncCall::set_allocated_recursive_aggregation(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* recursive_aggregation) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (recursive_aggregation) { + ::google::protobuf::Arena* submessage_arena = recursive_aggregation->GetArena(); + if (message_arena != submessage_arena) { + recursive_aggregation = ::google::protobuf::internal::GetOwnedMessage(message_arena, recursive_aggregation, submessage_arena); + } + set_has_recursive_aggregation(); + _impl_.value_.recursive_aggregation_ = recursive_aggregation; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) +} +void BlackBoxFuncCall::set_allocated_big_int_add(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* big_int_add) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_add) { + ::google::protobuf::Arena* submessage_arena = big_int_add->GetArena(); + if (message_arena != submessage_arena) { + big_int_add = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_add, submessage_arena); + } + set_has_big_int_add(); + _impl_.value_.big_int_add_ = big_int_add; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) +} +void BlackBoxFuncCall::set_allocated_big_int_sub(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* big_int_sub) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_sub) { + ::google::protobuf::Arena* submessage_arena = big_int_sub->GetArena(); + if (message_arena != submessage_arena) { + big_int_sub = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_sub, submessage_arena); + } + set_has_big_int_sub(); + _impl_.value_.big_int_sub_ = big_int_sub; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) +} +void BlackBoxFuncCall::set_allocated_big_int_mul(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* big_int_mul) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_mul) { + ::google::protobuf::Arena* submessage_arena = big_int_mul->GetArena(); + if (message_arena != submessage_arena) { + big_int_mul = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_mul, submessage_arena); + } + set_has_big_int_mul(); + _impl_.value_.big_int_mul_ = big_int_mul; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) +} +void BlackBoxFuncCall::set_allocated_big_int_div(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* big_int_div) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_div) { + ::google::protobuf::Arena* submessage_arena = big_int_div->GetArena(); + if (message_arena != submessage_arena) { + big_int_div = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_div, submessage_arena); + } + set_has_big_int_div(); + _impl_.value_.big_int_div_ = big_int_div; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) +} +void BlackBoxFuncCall::set_allocated_big_int_from_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* big_int_from_le_bytes) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_from_le_bytes) { + ::google::protobuf::Arena* submessage_arena = big_int_from_le_bytes->GetArena(); + if (message_arena != submessage_arena) { + big_int_from_le_bytes = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_from_le_bytes, submessage_arena); + } + set_has_big_int_from_le_bytes(); + _impl_.value_.big_int_from_le_bytes_ = big_int_from_le_bytes; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) +} +void BlackBoxFuncCall::set_allocated_big_int_to_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* big_int_to_le_bytes) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (big_int_to_le_bytes) { + ::google::protobuf::Arena* submessage_arena = big_int_to_le_bytes->GetArena(); + if (message_arena != submessage_arena) { + big_int_to_le_bytes = ::google::protobuf::internal::GetOwnedMessage(message_arena, big_int_to_le_bytes, submessage_arena); + } + set_has_big_int_to_le_bytes(); + _impl_.value_.big_int_to_le_bytes_ = big_int_to_le_bytes; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) +} +void BlackBoxFuncCall::set_allocated_poseidon2_permutation(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* poseidon2_permutation) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (poseidon2_permutation) { + ::google::protobuf::Arena* submessage_arena = poseidon2_permutation->GetArena(); + if (message_arena != submessage_arena) { + poseidon2_permutation = ::google::protobuf::internal::GetOwnedMessage(message_arena, poseidon2_permutation, submessage_arena); + } + set_has_poseidon2_permutation(); + _impl_.value_.poseidon2_permutation_ = poseidon2_permutation; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) +} +void BlackBoxFuncCall::set_allocated_sha256_compression(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* sha256_compression) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (sha256_compression) { + ::google::protobuf::Arena* submessage_arena = sha256_compression->GetArena(); + if (message_arena != submessage_arena) { + sha256_compression = ::google::protobuf::internal::GetOwnedMessage(message_arena, sha256_compression, submessage_arena); + } + set_has_sha256_compression(); + _impl_.value_.sha256_compression_ = sha256_compression; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) +} +BlackBoxFuncCall::BlackBoxFuncCall(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlackBoxFuncCall) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlackBoxFuncCall& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +BlackBoxFuncCall::BlackBoxFuncCall( + ::google::protobuf::Arena* arena, + const BlackBoxFuncCall& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlackBoxFuncCall* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kAes128Encrypt: + _impl_.value_.aes128_encrypt_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt>(arena, *from._impl_.value_.aes128_encrypt_); + break; + case kAnd: + _impl_.value_.and__ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AND>(arena, *from._impl_.value_.and__); + break; + case kXor: + _impl_.value_.xor__ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_XOR>(arena, *from._impl_.value_.xor__); + break; + case kRange: + _impl_.value_.range_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RANGE>(arena, *from._impl_.value_.range_); + break; + case kBlake2S: + _impl_.value_.blake2s_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s>(arena, *from._impl_.value_.blake2s_); + break; + case kBlake3: + _impl_.value_.blake3_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake3>(arena, *from._impl_.value_.blake3_); + break; + case kEcdsaSecp256K1: + _impl_.value_.ecdsa_secp256k1_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1>(arena, *from._impl_.value_.ecdsa_secp256k1_); + break; + case kEcdsaSecp256R1: + _impl_.value_.ecdsa_secp256r1_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1>(arena, *from._impl_.value_.ecdsa_secp256r1_); + break; + case kMultiScalarMul: + _impl_.value_.multi_scalar_mul_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul>(arena, *from._impl_.value_.multi_scalar_mul_); + break; + case kEmbeddedCurveAdd: + _impl_.value_.embedded_curve_add_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd>(arena, *from._impl_.value_.embedded_curve_add_); + break; + case kKeccakF1600: + _impl_.value_.keccak_f1600_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600>(arena, *from._impl_.value_.keccak_f1600_); + break; + case kRecursiveAggregation: + _impl_.value_.recursive_aggregation_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation>(arena, *from._impl_.value_.recursive_aggregation_); + break; + case kBigIntAdd: + _impl_.value_.big_int_add_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd>(arena, *from._impl_.value_.big_int_add_); + break; + case kBigIntSub: + _impl_.value_.big_int_sub_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub>(arena, *from._impl_.value_.big_int_sub_); + break; + case kBigIntMul: + _impl_.value_.big_int_mul_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul>(arena, *from._impl_.value_.big_int_mul_); + break; + case kBigIntDiv: + _impl_.value_.big_int_div_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv>(arena, *from._impl_.value_.big_int_div_); + break; + case kBigIntFromLeBytes: + _impl_.value_.big_int_from_le_bytes_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes>(arena, *from._impl_.value_.big_int_from_le_bytes_); + break; + case kBigIntToLeBytes: + _impl_.value_.big_int_to_le_bytes_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes>(arena, *from._impl_.value_.big_int_to_le_bytes_); + break; + case kPoseidon2Permutation: + _impl_.value_.poseidon2_permutation_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation>(arena, *from._impl_.value_.poseidon2_permutation_); + break; + case kSha256Compression: + _impl_.value_.sha256_compression_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression>(arena, *from._impl_.value_.sha256_compression_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlackBoxFuncCall) +} +inline PROTOBUF_NDEBUG_INLINE BlackBoxFuncCall::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void BlackBoxFuncCall::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlackBoxFuncCall::~BlackBoxFuncCall() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlackBoxFuncCall) + SharedDtor(*this); +} +inline void BlackBoxFuncCall::SharedDtor(MessageLite& self) { + BlackBoxFuncCall& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void BlackBoxFuncCall::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.BlackBoxFuncCall) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kAes128Encrypt: { + if (GetArena() == nullptr) { + delete _impl_.value_.aes128_encrypt_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.aes128_encrypt_); + } + break; + } + case kAnd: { + if (GetArena() == nullptr) { + delete _impl_.value_.and__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.and__); + } + break; + } + case kXor: { + if (GetArena() == nullptr) { + delete _impl_.value_.xor__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.xor__); + } + break; + } + case kRange: { + if (GetArena() == nullptr) { + delete _impl_.value_.range_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.range_); + } + break; + } + case kBlake2S: { + if (GetArena() == nullptr) { + delete _impl_.value_.blake2s_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blake2s_); + } + break; + } + case kBlake3: { + if (GetArena() == nullptr) { + delete _impl_.value_.blake3_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blake3_); + } + break; + } + case kEcdsaSecp256K1: { + if (GetArena() == nullptr) { + delete _impl_.value_.ecdsa_secp256k1_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.ecdsa_secp256k1_); + } + break; + } + case kEcdsaSecp256R1: { + if (GetArena() == nullptr) { + delete _impl_.value_.ecdsa_secp256r1_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.ecdsa_secp256r1_); + } + break; + } + case kMultiScalarMul: { + if (GetArena() == nullptr) { + delete _impl_.value_.multi_scalar_mul_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.multi_scalar_mul_); + } + break; + } + case kEmbeddedCurveAdd: { + if (GetArena() == nullptr) { + delete _impl_.value_.embedded_curve_add_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.embedded_curve_add_); + } + break; + } + case kKeccakF1600: { + if (GetArena() == nullptr) { + delete _impl_.value_.keccak_f1600_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.keccak_f1600_); + } + break; + } + case kRecursiveAggregation: { + if (GetArena() == nullptr) { + delete _impl_.value_.recursive_aggregation_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.recursive_aggregation_); + } + break; + } + case kBigIntAdd: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_add_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_add_); + } + break; + } + case kBigIntSub: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_sub_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_sub_); + } + break; + } + case kBigIntMul: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_mul_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_mul_); + } + break; + } + case kBigIntDiv: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_div_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_div_); + } + break; + } + case kBigIntFromLeBytes: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_from_le_bytes_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_from_le_bytes_); + } + break; + } + case kBigIntToLeBytes: { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_to_le_bytes_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_to_le_bytes_); + } + break; + } + case kPoseidon2Permutation: { + if (GetArena() == nullptr) { + delete _impl_.value_.poseidon2_permutation_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.poseidon2_permutation_); + } + break; + } + case kSha256Compression: { + if (GetArena() == nullptr) { + delete _impl_.value_.sha256_compression_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.sha256_compression_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* BlackBoxFuncCall::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlackBoxFuncCall(arena); +} +constexpr auto BlackBoxFuncCall::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlackBoxFuncCall), + alignof(BlackBoxFuncCall)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlackBoxFuncCall::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlackBoxFuncCall_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlackBoxFuncCall::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlackBoxFuncCall::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlackBoxFuncCall::ByteSizeLong, + &BlackBoxFuncCall::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_._cached_size_), + false, + }, + &BlackBoxFuncCall::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlackBoxFuncCall::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 20, 20, 0, 2> BlackBoxFuncCall::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 20, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4293918720, // skipmap + offsetof(decltype(_table_), field_entries), + 20, // num_field_entries + 20, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt aes128_encrypt = 1; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.aes128_encrypt_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.AND and = 2; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.and__), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.XOR xor = 3; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.xor__), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.RANGE range = 4; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.range_), _Internal::kOneofCaseOffset + 0, 3, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.Blake2s blake2s = 5; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.blake2s_), _Internal::kOneofCaseOffset + 0, 4, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.Blake3 blake3 = 6; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.blake3_), _Internal::kOneofCaseOffset + 0, 5, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1 ecdsa_secp256k1 = 7; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.ecdsa_secp256k1_), _Internal::kOneofCaseOffset + 0, 6, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1 ecdsa_secp256r1 = 8; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.ecdsa_secp256r1_), _Internal::kOneofCaseOffset + 0, 7, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul multi_scalar_mul = 9; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.multi_scalar_mul_), _Internal::kOneofCaseOffset + 0, 8, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd embedded_curve_add = 10; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.embedded_curve_add_), _Internal::kOneofCaseOffset + 0, 9, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600 keccak_f1600 = 11; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.keccak_f1600_), _Internal::kOneofCaseOffset + 0, 10, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation recursive_aggregation = 12; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.recursive_aggregation_), _Internal::kOneofCaseOffset + 0, 11, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd big_int_add = 13; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_add_), _Internal::kOneofCaseOffset + 0, 12, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntSub big_int_sub = 14; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_sub_), _Internal::kOneofCaseOffset + 0, 13, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntMul big_int_mul = 15; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_mul_), _Internal::kOneofCaseOffset + 0, 14, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv big_int_div = 16; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_div_), _Internal::kOneofCaseOffset + 0, 15, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes big_int_from_le_bytes = 17; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_from_le_bytes_), _Internal::kOneofCaseOffset + 0, 16, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes big_int_to_le_bytes = 18; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.big_int_to_le_bytes_), _Internal::kOneofCaseOffset + 0, 17, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation poseidon2_permutation = 19; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.poseidon2_permutation_), _Internal::kOneofCaseOffset + 0, 18, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression sha256_compression = 20; + {PROTOBUF_FIELD_OFFSET(BlackBoxFuncCall, _impl_.value_.sha256_compression_), _Internal::kOneofCaseOffset + 0, 19, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_AND>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_XOR>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_RANGE>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Blake3>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlackBoxFuncCall::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlackBoxFuncCall) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlackBoxFuncCall::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlackBoxFuncCall& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlackBoxFuncCall::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlackBoxFuncCall& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlackBoxFuncCall) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kAes128Encrypt: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.aes128_encrypt_, this_._impl_.value_.aes128_encrypt_->GetCachedSize(), target, + stream); + break; + } + case kAnd: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.and__, this_._impl_.value_.and__->GetCachedSize(), target, + stream); + break; + } + case kXor: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.value_.xor__, this_._impl_.value_.xor__->GetCachedSize(), target, + stream); + break; + } + case kRange: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 4, *this_._impl_.value_.range_, this_._impl_.value_.range_->GetCachedSize(), target, + stream); + break; + } + case kBlake2S: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 5, *this_._impl_.value_.blake2s_, this_._impl_.value_.blake2s_->GetCachedSize(), target, + stream); + break; + } + case kBlake3: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 6, *this_._impl_.value_.blake3_, this_._impl_.value_.blake3_->GetCachedSize(), target, + stream); + break; + } + case kEcdsaSecp256K1: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 7, *this_._impl_.value_.ecdsa_secp256k1_, this_._impl_.value_.ecdsa_secp256k1_->GetCachedSize(), target, + stream); + break; + } + case kEcdsaSecp256R1: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 8, *this_._impl_.value_.ecdsa_secp256r1_, this_._impl_.value_.ecdsa_secp256r1_->GetCachedSize(), target, + stream); + break; + } + case kMultiScalarMul: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 9, *this_._impl_.value_.multi_scalar_mul_, this_._impl_.value_.multi_scalar_mul_->GetCachedSize(), target, + stream); + break; + } + case kEmbeddedCurveAdd: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 10, *this_._impl_.value_.embedded_curve_add_, this_._impl_.value_.embedded_curve_add_->GetCachedSize(), target, + stream); + break; + } + case kKeccakF1600: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 11, *this_._impl_.value_.keccak_f1600_, this_._impl_.value_.keccak_f1600_->GetCachedSize(), target, + stream); + break; + } + case kRecursiveAggregation: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 12, *this_._impl_.value_.recursive_aggregation_, this_._impl_.value_.recursive_aggregation_->GetCachedSize(), target, + stream); + break; + } + case kBigIntAdd: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 13, *this_._impl_.value_.big_int_add_, this_._impl_.value_.big_int_add_->GetCachedSize(), target, + stream); + break; + } + case kBigIntSub: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 14, *this_._impl_.value_.big_int_sub_, this_._impl_.value_.big_int_sub_->GetCachedSize(), target, + stream); + break; + } + case kBigIntMul: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 15, *this_._impl_.value_.big_int_mul_, this_._impl_.value_.big_int_mul_->GetCachedSize(), target, + stream); + break; + } + case kBigIntDiv: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 16, *this_._impl_.value_.big_int_div_, this_._impl_.value_.big_int_div_->GetCachedSize(), target, + stream); + break; + } + case kBigIntFromLeBytes: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 17, *this_._impl_.value_.big_int_from_le_bytes_, this_._impl_.value_.big_int_from_le_bytes_->GetCachedSize(), target, + stream); + break; + } + case kBigIntToLeBytes: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 18, *this_._impl_.value_.big_int_to_le_bytes_, this_._impl_.value_.big_int_to_le_bytes_->GetCachedSize(), target, + stream); + break; + } + case kPoseidon2Permutation: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 19, *this_._impl_.value_.poseidon2_permutation_, this_._impl_.value_.poseidon2_permutation_->GetCachedSize(), target, + stream); + break; + } + case kSha256Compression: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 20, *this_._impl_.value_.sha256_compression_, this_._impl_.value_.sha256_compression_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlackBoxFuncCall) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlackBoxFuncCall::ByteSizeLong(const MessageLite& base) { + const BlackBoxFuncCall& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlackBoxFuncCall::ByteSizeLong() const { + const BlackBoxFuncCall& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlackBoxFuncCall) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt aes128_encrypt = 1; + case kAes128Encrypt: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.aes128_encrypt_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.AND and = 2; + case kAnd: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.and__); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.XOR xor = 3; + case kXor: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.xor__); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.RANGE range = 4; + case kRange: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.range_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.Blake2s blake2s = 5; + case kBlake2S: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.blake2s_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.Blake3 blake3 = 6; + case kBlake3: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.blake3_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1 ecdsa_secp256k1 = 7; + case kEcdsaSecp256K1: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.ecdsa_secp256k1_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1 ecdsa_secp256r1 = 8; + case kEcdsaSecp256R1: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.ecdsa_secp256r1_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul multi_scalar_mul = 9; + case kMultiScalarMul: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.multi_scalar_mul_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd embedded_curve_add = 10; + case kEmbeddedCurveAdd: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.embedded_curve_add_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600 keccak_f1600 = 11; + case kKeccakF1600: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.keccak_f1600_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation recursive_aggregation = 12; + case kRecursiveAggregation: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.recursive_aggregation_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd big_int_add = 13; + case kBigIntAdd: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_add_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntSub big_int_sub = 14; + case kBigIntSub: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_sub_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntMul big_int_mul = 15; + case kBigIntMul: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_mul_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv big_int_div = 16; + case kBigIntDiv: { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_div_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes big_int_from_le_bytes = 17; + case kBigIntFromLeBytes: { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_from_le_bytes_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes big_int_to_le_bytes = 18; + case kBigIntToLeBytes: { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.big_int_to_le_bytes_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation poseidon2_permutation = 19; + case kPoseidon2Permutation: { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.poseidon2_permutation_); + break; + } + // .acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression sha256_compression = 20; + case kSha256Compression: { + total_size += 2 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.sha256_compression_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlackBoxFuncCall::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlackBoxFuncCall) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kAes128Encrypt: { + if (oneof_needs_init) { + _this->_impl_.value_.aes128_encrypt_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt>(arena, *from._impl_.value_.aes128_encrypt_); + } else { + _this->_impl_.value_.aes128_encrypt_->MergeFrom(from._internal_aes128_encrypt()); + } + break; + } + case kAnd: { + if (oneof_needs_init) { + _this->_impl_.value_.and__ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AND>(arena, *from._impl_.value_.and__); + } else { + _this->_impl_.value_.and__->MergeFrom(from._internal_and_()); + } + break; + } + case kXor: { + if (oneof_needs_init) { + _this->_impl_.value_.xor__ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_XOR>(arena, *from._impl_.value_.xor__); + } else { + _this->_impl_.value_.xor__->MergeFrom(from._internal_xor_()); + } + break; + } + case kRange: { + if (oneof_needs_init) { + _this->_impl_.value_.range_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RANGE>(arena, *from._impl_.value_.range_); + } else { + _this->_impl_.value_.range_->MergeFrom(from._internal_range()); + } + break; + } + case kBlake2S: { + if (oneof_needs_init) { + _this->_impl_.value_.blake2s_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s>(arena, *from._impl_.value_.blake2s_); + } else { + _this->_impl_.value_.blake2s_->MergeFrom(from._internal_blake2s()); + } + break; + } + case kBlake3: { + if (oneof_needs_init) { + _this->_impl_.value_.blake3_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake3>(arena, *from._impl_.value_.blake3_); + } else { + _this->_impl_.value_.blake3_->MergeFrom(from._internal_blake3()); + } + break; + } + case kEcdsaSecp256K1: { + if (oneof_needs_init) { + _this->_impl_.value_.ecdsa_secp256k1_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1>(arena, *from._impl_.value_.ecdsa_secp256k1_); + } else { + _this->_impl_.value_.ecdsa_secp256k1_->MergeFrom(from._internal_ecdsa_secp256k1()); + } + break; + } + case kEcdsaSecp256R1: { + if (oneof_needs_init) { + _this->_impl_.value_.ecdsa_secp256r1_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1>(arena, *from._impl_.value_.ecdsa_secp256r1_); + } else { + _this->_impl_.value_.ecdsa_secp256r1_->MergeFrom(from._internal_ecdsa_secp256r1()); + } + break; + } + case kMultiScalarMul: { + if (oneof_needs_init) { + _this->_impl_.value_.multi_scalar_mul_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul>(arena, *from._impl_.value_.multi_scalar_mul_); + } else { + _this->_impl_.value_.multi_scalar_mul_->MergeFrom(from._internal_multi_scalar_mul()); + } + break; + } + case kEmbeddedCurveAdd: { + if (oneof_needs_init) { + _this->_impl_.value_.embedded_curve_add_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd>(arena, *from._impl_.value_.embedded_curve_add_); + } else { + _this->_impl_.value_.embedded_curve_add_->MergeFrom(from._internal_embedded_curve_add()); + } + break; + } + case kKeccakF1600: { + if (oneof_needs_init) { + _this->_impl_.value_.keccak_f1600_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600>(arena, *from._impl_.value_.keccak_f1600_); + } else { + _this->_impl_.value_.keccak_f1600_->MergeFrom(from._internal_keccak_f1600()); + } + break; + } + case kRecursiveAggregation: { + if (oneof_needs_init) { + _this->_impl_.value_.recursive_aggregation_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation>(arena, *from._impl_.value_.recursive_aggregation_); + } else { + _this->_impl_.value_.recursive_aggregation_->MergeFrom(from._internal_recursive_aggregation()); + } + break; + } + case kBigIntAdd: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_add_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd>(arena, *from._impl_.value_.big_int_add_); + } else { + _this->_impl_.value_.big_int_add_->MergeFrom(from._internal_big_int_add()); + } + break; + } + case kBigIntSub: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_sub_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub>(arena, *from._impl_.value_.big_int_sub_); + } else { + _this->_impl_.value_.big_int_sub_->MergeFrom(from._internal_big_int_sub()); + } + break; + } + case kBigIntMul: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_mul_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul>(arena, *from._impl_.value_.big_int_mul_); + } else { + _this->_impl_.value_.big_int_mul_->MergeFrom(from._internal_big_int_mul()); + } + break; + } + case kBigIntDiv: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_div_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv>(arena, *from._impl_.value_.big_int_div_); + } else { + _this->_impl_.value_.big_int_div_->MergeFrom(from._internal_big_int_div()); + } + break; + } + case kBigIntFromLeBytes: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_from_le_bytes_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes>(arena, *from._impl_.value_.big_int_from_le_bytes_); + } else { + _this->_impl_.value_.big_int_from_le_bytes_->MergeFrom(from._internal_big_int_from_le_bytes()); + } + break; + } + case kBigIntToLeBytes: { + if (oneof_needs_init) { + _this->_impl_.value_.big_int_to_le_bytes_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes>(arena, *from._impl_.value_.big_int_to_le_bytes_); + } else { + _this->_impl_.value_.big_int_to_le_bytes_->MergeFrom(from._internal_big_int_to_le_bytes()); + } + break; + } + case kPoseidon2Permutation: { + if (oneof_needs_init) { + _this->_impl_.value_.poseidon2_permutation_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation>(arena, *from._impl_.value_.poseidon2_permutation_); + } else { + _this->_impl_.value_.poseidon2_permutation_->MergeFrom(from._internal_poseidon2_permutation()); + } + break; + } + case kSha256Compression: { + if (oneof_needs_init) { + _this->_impl_.value_.sha256_compression_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression>(arena, *from._impl_.value_.sha256_compression_); + } else { + _this->_impl_.value_.sha256_compression_->MergeFrom(from._internal_sha256_compression()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlackBoxFuncCall::CopyFrom(const BlackBoxFuncCall& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlackBoxFuncCall) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlackBoxFuncCall::InternalSwap(BlackBoxFuncCall* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata BlackBoxFuncCall::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class FunctionInput::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_._has_bits_); +}; + +FunctionInput::FunctionInput(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.FunctionInput) +} +inline PROTOBUF_NDEBUG_INLINE FunctionInput::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::FunctionInput& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +FunctionInput::FunctionInput( + ::google::protobuf::Arena* arena, + const FunctionInput& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + FunctionInput* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.input_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ConstantOrWitnessEnum>( + arena, *from._impl_.input_) + : nullptr; + _impl_.num_bits_ = from._impl_.num_bits_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.FunctionInput) +} +inline PROTOBUF_NDEBUG_INLINE FunctionInput::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void FunctionInput::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, input_), + 0, + offsetof(Impl_, num_bits_) - + offsetof(Impl_, input_) + + sizeof(Impl_::num_bits_)); +} +FunctionInput::~FunctionInput() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.FunctionInput) + SharedDtor(*this); +} +inline void FunctionInput::SharedDtor(MessageLite& self) { + FunctionInput& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.input_; + this_._impl_.~Impl_(); +} + +inline void* FunctionInput::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) FunctionInput(arena); +} +constexpr auto FunctionInput::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(FunctionInput), + alignof(FunctionInput)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull FunctionInput::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_FunctionInput_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &FunctionInput::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &FunctionInput::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &FunctionInput::ByteSizeLong, + &FunctionInput::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_._cached_size_), + false, + }, + &FunctionInput::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* FunctionInput::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> FunctionInput::_table_ = { + { + PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::FunctionInput>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 num_bits = 2; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(FunctionInput, _impl_.num_bits_), 63>(), + {16, 63, 0, PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.num_bits_)}}, + // .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.input_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; + {PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.input_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 num_bits = 2; + {PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.num_bits_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::ConstantOrWitnessEnum>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void FunctionInput::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.FunctionInput) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.input_ != nullptr); + _impl_.input_->Clear(); + } + _impl_.num_bits_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* FunctionInput::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const FunctionInput& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* FunctionInput::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const FunctionInput& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.FunctionInput) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.input_, this_._impl_.input_->GetCachedSize(), target, + stream); + } + + // uint32 num_bits = 2; + if (this_._internal_num_bits() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 2, this_._internal_num_bits(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.FunctionInput) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t FunctionInput::ByteSizeLong(const MessageLite& base) { + const FunctionInput& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t FunctionInput::ByteSizeLong() const { + const FunctionInput& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.FunctionInput) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.input_); + } + } + { + // uint32 num_bits = 2; + if (this_._internal_num_bits() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_num_bits()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void FunctionInput::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.FunctionInput) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.input_ != nullptr); + if (_this->_impl_.input_ == nullptr) { + _this->_impl_.input_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::ConstantOrWitnessEnum>(arena, *from._impl_.input_); + } else { + _this->_impl_.input_->MergeFrom(*from._impl_.input_); + } + } + if (from._internal_num_bits() != 0) { + _this->_impl_.num_bits_ = from._impl_.num_bits_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void FunctionInput::CopyFrom(const FunctionInput& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.FunctionInput) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void FunctionInput::InternalSwap(FunctionInput* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.num_bits_) + + sizeof(FunctionInput::_impl_.num_bits_) + - PROTOBUF_FIELD_OFFSET(FunctionInput, _impl_.input_)>( + reinterpret_cast(&_impl_.input_), + reinterpret_cast(&other->_impl_.input_)); +} + +::google::protobuf::Metadata FunctionInput::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class ConstantOrWitnessEnum::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::ConstantOrWitnessEnum, _impl_._oneof_case_); +}; + +void ConstantOrWitnessEnum::set_allocated_constant(::acvm::acir::native::Field* constant) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (constant) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(constant)->GetArena(); + if (message_arena != submessage_arena) { + constant = ::google::protobuf::internal::GetOwnedMessage(message_arena, constant, submessage_arena); + } + set_has_constant(); + _impl_.value_.constant_ = constant; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.ConstantOrWitnessEnum.constant) +} +void ConstantOrWitnessEnum::clear_constant() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kConstant) { + if (GetArena() == nullptr) { + delete _impl_.value_.constant_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.constant_); + } + clear_has_value(); + } +} +void ConstantOrWitnessEnum::set_allocated_witness(::acvm::acir::native::Witness* witness) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (witness) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(witness)->GetArena(); + if (message_arena != submessage_arena) { + witness = ::google::protobuf::internal::GetOwnedMessage(message_arena, witness, submessage_arena); + } + set_has_witness(); + _impl_.value_.witness_ = witness; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.ConstantOrWitnessEnum.witness) +} +void ConstantOrWitnessEnum::clear_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kWitness) { + if (GetArena() == nullptr) { + delete _impl_.value_.witness_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.witness_); + } + clear_has_value(); + } +} +ConstantOrWitnessEnum::ConstantOrWitnessEnum(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.ConstantOrWitnessEnum) +} +inline PROTOBUF_NDEBUG_INLINE ConstantOrWitnessEnum::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::ConstantOrWitnessEnum& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +ConstantOrWitnessEnum::ConstantOrWitnessEnum( + ::google::protobuf::Arena* arena, + const ConstantOrWitnessEnum& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + ConstantOrWitnessEnum* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kConstant: + _impl_.value_.constant_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.value_.constant_); + break; + case kWitness: + _impl_.value_.witness_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.value_.witness_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.ConstantOrWitnessEnum) +} +inline PROTOBUF_NDEBUG_INLINE ConstantOrWitnessEnum::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void ConstantOrWitnessEnum::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +ConstantOrWitnessEnum::~ConstantOrWitnessEnum() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.ConstantOrWitnessEnum) + SharedDtor(*this); +} +inline void ConstantOrWitnessEnum::SharedDtor(MessageLite& self) { + ConstantOrWitnessEnum& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void ConstantOrWitnessEnum::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.ConstantOrWitnessEnum) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kConstant: { + if (GetArena() == nullptr) { + delete _impl_.value_.constant_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.constant_); + } + break; + } + case kWitness: { + if (GetArena() == nullptr) { + delete _impl_.value_.witness_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.witness_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* ConstantOrWitnessEnum::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) ConstantOrWitnessEnum(arena); +} +constexpr auto ConstantOrWitnessEnum::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(ConstantOrWitnessEnum), + alignof(ConstantOrWitnessEnum)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull ConstantOrWitnessEnum::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_ConstantOrWitnessEnum_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &ConstantOrWitnessEnum::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &ConstantOrWitnessEnum::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &ConstantOrWitnessEnum::ByteSizeLong, + &ConstantOrWitnessEnum::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(ConstantOrWitnessEnum, _impl_._cached_size_), + false, + }, + &ConstantOrWitnessEnum::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* ConstantOrWitnessEnum::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> ConstantOrWitnessEnum::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::ConstantOrWitnessEnum>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Field constant = 1; + {PROTOBUF_FIELD_OFFSET(ConstantOrWitnessEnum, _impl_.value_.constant_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness witness = 2; + {PROTOBUF_FIELD_OFFSET(ConstantOrWitnessEnum, _impl_.value_.witness_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Field>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void ConstantOrWitnessEnum::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.ConstantOrWitnessEnum) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* ConstantOrWitnessEnum::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const ConstantOrWitnessEnum& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* ConstantOrWitnessEnum::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const ConstantOrWitnessEnum& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.ConstantOrWitnessEnum) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kConstant: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.constant_, this_._impl_.value_.constant_->GetCachedSize(), target, + stream); + break; + } + case kWitness: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.witness_, this_._impl_.value_.witness_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.ConstantOrWitnessEnum) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t ConstantOrWitnessEnum::ByteSizeLong(const MessageLite& base) { + const ConstantOrWitnessEnum& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t ConstantOrWitnessEnum::ByteSizeLong() const { + const ConstantOrWitnessEnum& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.ConstantOrWitnessEnum) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.native.Field constant = 1; + case kConstant: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.constant_); + break; + } + // .acvm.acir.native.Witness witness = 2; + case kWitness: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.witness_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void ConstantOrWitnessEnum::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.ConstantOrWitnessEnum) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kConstant: { + if (oneof_needs_init) { + _this->_impl_.value_.constant_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.value_.constant_); + } else { + _this->_impl_.value_.constant_->MergeFrom(from._internal_constant()); + } + break; + } + case kWitness: { + if (oneof_needs_init) { + _this->_impl_.value_.witness_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.value_.witness_); + } else { + _this->_impl_.value_.witness_->MergeFrom(from._internal_witness()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void ConstantOrWitnessEnum::CopyFrom(const ConstantOrWitnessEnum& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.ConstantOrWitnessEnum) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void ConstantOrWitnessEnum::InternalSwap(ConstantOrWitnessEnum* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata ConstantOrWitnessEnum::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class MemOp::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(MemOp, _impl_._has_bits_); +}; + +void MemOp::clear_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.operation_ != nullptr) _impl_.operation_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void MemOp::clear_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.index_ != nullptr) _impl_.index_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +void MemOp::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ != nullptr) _impl_.value_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +MemOp::MemOp(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.MemOp) +} +inline PROTOBUF_NDEBUG_INLINE MemOp::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::MemOp& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +MemOp::MemOp( + ::google::protobuf::Arena* arena, + const MemOp& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + MemOp* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.operation_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.operation_) + : nullptr; + _impl_.index_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.index_) + : nullptr; + _impl_.value_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>( + arena, *from._impl_.value_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.MemOp) +} +inline PROTOBUF_NDEBUG_INLINE MemOp::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void MemOp::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, operation_), + 0, + offsetof(Impl_, value_) - + offsetof(Impl_, operation_) + + sizeof(Impl_::value_)); +} +MemOp::~MemOp() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.MemOp) + SharedDtor(*this); +} +inline void MemOp::SharedDtor(MessageLite& self) { + MemOp& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.operation_; + delete this_._impl_.index_; + delete this_._impl_.value_; + this_._impl_.~Impl_(); +} + +inline void* MemOp::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) MemOp(arena); +} +constexpr auto MemOp::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(MemOp), + alignof(MemOp)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull MemOp::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_MemOp_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &MemOp::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &MemOp::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &MemOp::ByteSizeLong, + &MemOp::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(MemOp, _impl_._cached_size_), + false, + }, + &MemOp::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* MemOp::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> MemOp::_table_ = { + { + PROTOBUF_FIELD_OFFSET(MemOp, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::MemOp>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .acvm.acir.native.Expression operation = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(MemOp, _impl_.operation_)}}, + // .acvm.acir.native.Expression index = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(MemOp, _impl_.index_)}}, + // .acvm.acir.native.Expression value = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(MemOp, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Expression operation = 1; + {PROTOBUF_FIELD_OFFSET(MemOp, _impl_.operation_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Expression index = 2; + {PROTOBUF_FIELD_OFFSET(MemOp, _impl_.index_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Expression value = 3; + {PROTOBUF_FIELD_OFFSET(MemOp, _impl_.value_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void MemOp::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.MemOp) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.operation_ != nullptr); + _impl_.operation_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.index_ != nullptr); + _impl_.index_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.value_ != nullptr); + _impl_.value_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* MemOp::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const MemOp& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* MemOp::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const MemOp& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.MemOp) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Expression operation = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.operation_, this_._impl_.operation_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Expression index = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.index_, this_._impl_.index_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Expression value = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.value_, this_._impl_.value_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.MemOp) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t MemOp::ByteSizeLong(const MessageLite& base) { + const MemOp& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t MemOp::ByteSizeLong() const { + const MemOp& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.MemOp) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .acvm.acir.native.Expression operation = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.operation_); + } + // .acvm.acir.native.Expression index = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.index_); + } + // .acvm.acir.native.Expression value = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void MemOp::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.MemOp) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.operation_ != nullptr); + if (_this->_impl_.operation_ == nullptr) { + _this->_impl_.operation_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.operation_); + } else { + _this->_impl_.operation_->MergeFrom(*from._impl_.operation_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.index_ != nullptr); + if (_this->_impl_.index_ == nullptr) { + _this->_impl_.index_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.index_); + } else { + _this->_impl_.index_->MergeFrom(*from._impl_.index_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.value_ != nullptr); + if (_this->_impl_.value_ == nullptr) { + _this->_impl_.value_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_); + } else { + _this->_impl_.value_->MergeFrom(*from._impl_.value_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void MemOp::CopyFrom(const MemOp& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.MemOp) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void MemOp::InternalSwap(MemOp* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(MemOp, _impl_.value_) + + sizeof(MemOp::_impl_.value_) + - PROTOBUF_FIELD_OFFSET(MemOp, _impl_.operation_)>( + reinterpret_cast(&_impl_.operation_), + reinterpret_cast(&other->_impl_.operation_)); +} + +::google::protobuf::Metadata MemOp::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlockType_Memory::_Internal { + public: +}; + +BlockType_Memory::BlockType_Memory(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlockType.Memory) +} +BlockType_Memory::BlockType_Memory( + ::google::protobuf::Arena* arena, + const BlockType_Memory& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlockType_Memory* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlockType.Memory) +} + +inline void* BlockType_Memory::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlockType_Memory(arena); +} +constexpr auto BlockType_Memory::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlockType_Memory), + alignof(BlockType_Memory)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlockType_Memory::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlockType_Memory_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlockType_Memory::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlockType_Memory::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &BlockType_Memory::ByteSizeLong, + &BlockType_Memory::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlockType_Memory, _impl_._cached_size_), + false, + }, + &BlockType_Memory::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlockType_Memory::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> BlockType_Memory::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_Memory>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata BlockType_Memory::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlockType_CallData::_Internal { + public: +}; + +BlockType_CallData::BlockType_CallData(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlockType.CallData) +} +BlockType_CallData::BlockType_CallData( + ::google::protobuf::Arena* arena, const BlockType_CallData& from) + : BlockType_CallData(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE BlockType_CallData::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void BlockType_CallData::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.value_ = {}; +} +BlockType_CallData::~BlockType_CallData() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlockType.CallData) + SharedDtor(*this); +} +inline void BlockType_CallData::SharedDtor(MessageLite& self) { + BlockType_CallData& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BlockType_CallData::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlockType_CallData(arena); +} +constexpr auto BlockType_CallData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlockType_CallData), + alignof(BlockType_CallData)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlockType_CallData::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlockType_CallData_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlockType_CallData::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlockType_CallData::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlockType_CallData::ByteSizeLong, + &BlockType_CallData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlockType_CallData, _impl_._cached_size_), + false, + }, + &BlockType_CallData::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlockType_CallData::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> BlockType_CallData::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_CallData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 value = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(BlockType_CallData, _impl_.value_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(BlockType_CallData, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 value = 1; + {PROTOBUF_FIELD_OFFSET(BlockType_CallData, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void BlockType_CallData::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlockType.CallData) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlockType_CallData::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlockType_CallData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlockType_CallData::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlockType_CallData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlockType.CallData) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 value = 1; + if (this_._internal_value() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_value(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlockType.CallData) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlockType_CallData::ByteSizeLong(const MessageLite& base) { + const BlockType_CallData& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlockType_CallData::ByteSizeLong() const { + const BlockType_CallData& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlockType.CallData) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 value = 1; + if (this_._internal_value() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_value()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlockType_CallData::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlockType.CallData) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_value() != 0) { + _this->_impl_.value_ = from._impl_.value_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlockType_CallData::CopyFrom(const BlockType_CallData& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlockType.CallData) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlockType_CallData::InternalSwap(BlockType_CallData* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); +} + +::google::protobuf::Metadata BlockType_CallData::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlockType_ReturnData::_Internal { + public: +}; + +BlockType_ReturnData::BlockType_ReturnData(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlockType.ReturnData) +} +BlockType_ReturnData::BlockType_ReturnData( + ::google::protobuf::Arena* arena, + const BlockType_ReturnData& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::internal::ZeroFieldsBase(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::internal::ZeroFieldsBase(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlockType_ReturnData* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlockType.ReturnData) +} + +inline void* BlockType_ReturnData::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlockType_ReturnData(arena); +} +constexpr auto BlockType_ReturnData::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlockType_ReturnData), + alignof(BlockType_ReturnData)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlockType_ReturnData::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlockType_ReturnData_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlockType_ReturnData::MergeImpl, + ::google::protobuf::internal::ZeroFieldsBase::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlockType_ReturnData::SharedDtor, + ::google::protobuf::internal::ZeroFieldsBase::GetClearImpl(), &BlockType_ReturnData::ByteSizeLong, + &BlockType_ReturnData::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlockType_ReturnData, _impl_._cached_size_), + false, + }, + &BlockType_ReturnData::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlockType_ReturnData::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 0, 0, 0, 2> BlockType_ReturnData::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 0, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967295, // skipmap + offsetof(decltype(_table_), field_names), // no field_entries + 0, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_ReturnData>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, + // no field_entries, or aux_entries + {{ + }}, +}; + + + + + + + + +::google::protobuf::Metadata BlockType_ReturnData::GetMetadata() const { + return ::google::protobuf::internal::ZeroFieldsBase::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BlockType::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BlockType, _impl_._oneof_case_); +}; + +void BlockType::set_allocated_memory(::acvm::acir::circuit::BlockType_Memory* memory) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (memory) { + ::google::protobuf::Arena* submessage_arena = memory->GetArena(); + if (message_arena != submessage_arena) { + memory = ::google::protobuf::internal::GetOwnedMessage(message_arena, memory, submessage_arena); + } + set_has_memory(); + _impl_.value_.memory_ = memory; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlockType.memory) +} +void BlockType::set_allocated_call_data(::acvm::acir::circuit::BlockType_CallData* call_data) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (call_data) { + ::google::protobuf::Arena* submessage_arena = call_data->GetArena(); + if (message_arena != submessage_arena) { + call_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, call_data, submessage_arena); + } + set_has_call_data(); + _impl_.value_.call_data_ = call_data; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlockType.call_data) +} +void BlockType::set_allocated_return_data(::acvm::acir::circuit::BlockType_ReturnData* return_data) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (return_data) { + ::google::protobuf::Arena* submessage_arena = return_data->GetArena(); + if (message_arena != submessage_arena) { + return_data = ::google::protobuf::internal::GetOwnedMessage(message_arena, return_data, submessage_arena); + } + set_has_return_data(); + _impl_.value_.return_data_ = return_data; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlockType.return_data) +} +BlockType::BlockType(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BlockType) +} +inline PROTOBUF_NDEBUG_INLINE BlockType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BlockType& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +BlockType::BlockType( + ::google::protobuf::Arena* arena, + const BlockType& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BlockType* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kMemory: + _impl_.value_.memory_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_Memory>(arena, *from._impl_.value_.memory_); + break; + case kCallData: + _impl_.value_.call_data_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_CallData>(arena, *from._impl_.value_.call_data_); + break; + case kReturnData: + _impl_.value_.return_data_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_ReturnData>(arena, *from._impl_.value_.return_data_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BlockType) +} +inline PROTOBUF_NDEBUG_INLINE BlockType::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void BlockType::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BlockType::~BlockType() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BlockType) + SharedDtor(*this); +} +inline void BlockType::SharedDtor(MessageLite& self) { + BlockType& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void BlockType::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.BlockType) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kMemory: { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_); + } + break; + } + case kCallData: { + if (GetArena() == nullptr) { + delete _impl_.value_.call_data_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.call_data_); + } + break; + } + case kReturnData: { + if (GetArena() == nullptr) { + delete _impl_.value_.return_data_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.return_data_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* BlockType::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BlockType(arena); +} +constexpr auto BlockType::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BlockType), + alignof(BlockType)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BlockType::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BlockType_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BlockType::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BlockType::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BlockType::ByteSizeLong, + &BlockType::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BlockType, _impl_._cached_size_), + false, + }, + &BlockType::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BlockType::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 3, 3, 0, 2> BlockType::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.circuit.BlockType.Memory memory = 1; + {PROTOBUF_FIELD_OFFSET(BlockType, _impl_.value_.memory_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlockType.CallData call_data = 2; + {PROTOBUF_FIELD_OFFSET(BlockType, _impl_.value_.call_data_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BlockType.ReturnData return_data = 3; + {PROTOBUF_FIELD_OFFSET(BlockType, _impl_.value_.return_data_), _Internal::kOneofCaseOffset + 0, 2, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_Memory>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_CallData>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BlockType_ReturnData>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BlockType::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BlockType) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BlockType::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BlockType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BlockType::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BlockType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BlockType) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kMemory: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.memory_, this_._impl_.value_.memory_->GetCachedSize(), target, + stream); + break; + } + case kCallData: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.call_data_, this_._impl_.value_.call_data_->GetCachedSize(), target, + stream); + break; + } + case kReturnData: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.value_.return_data_, this_._impl_.value_.return_data_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BlockType) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BlockType::ByteSizeLong(const MessageLite& base) { + const BlockType& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BlockType::ByteSizeLong() const { + const BlockType& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BlockType) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.circuit.BlockType.Memory memory = 1; + case kMemory: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.memory_); + break; + } + // .acvm.acir.circuit.BlockType.CallData call_data = 2; + case kCallData: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.call_data_); + break; + } + // .acvm.acir.circuit.BlockType.ReturnData return_data = 3; + case kReturnData: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.return_data_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BlockType::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BlockType) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kMemory: { + if (oneof_needs_init) { + _this->_impl_.value_.memory_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_Memory>(arena, *from._impl_.value_.memory_); + } else { + _this->_impl_.value_.memory_->MergeFrom(from._internal_memory()); + } + break; + } + case kCallData: { + if (oneof_needs_init) { + _this->_impl_.value_.call_data_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_CallData>(arena, *from._impl_.value_.call_data_); + } else { + _this->_impl_.value_.call_data_->MergeFrom(from._internal_call_data()); + } + break; + } + case kReturnData: { + if (oneof_needs_init) { + _this->_impl_.value_.return_data_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BlockType_ReturnData>(arena, *from._impl_.value_.return_data_); + } else { + _this->_impl_.value_.return_data_->MergeFrom(from._internal_return_data()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BlockType::CopyFrom(const BlockType& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BlockType) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BlockType::InternalSwap(BlockType* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata BlockType::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BrilligInputs_Array::_Internal { + public: +}; + +void BrilligInputs_Array::clear_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.values_.Clear(); +} +BrilligInputs_Array::BrilligInputs_Array(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BrilligInputs.Array) +} +inline PROTOBUF_NDEBUG_INLINE BrilligInputs_Array::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BrilligInputs_Array& from_msg) + : values_{visibility, arena, from.values_}, + _cached_size_{0} {} + +BrilligInputs_Array::BrilligInputs_Array( + ::google::protobuf::Arena* arena, + const BrilligInputs_Array& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BrilligInputs_Array* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BrilligInputs.Array) +} +inline PROTOBUF_NDEBUG_INLINE BrilligInputs_Array::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : values_{visibility, arena}, + _cached_size_{0} {} + +inline void BrilligInputs_Array::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BrilligInputs_Array::~BrilligInputs_Array() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BrilligInputs.Array) + SharedDtor(*this); +} +inline void BrilligInputs_Array::SharedDtor(MessageLite& self) { + BrilligInputs_Array& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BrilligInputs_Array::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BrilligInputs_Array(arena); +} +constexpr auto BrilligInputs_Array::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BrilligInputs_Array, _impl_.values_) + + decltype(BrilligInputs_Array::_impl_.values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BrilligInputs_Array), alignof(BrilligInputs_Array), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BrilligInputs_Array::PlacementNew_, + sizeof(BrilligInputs_Array), + alignof(BrilligInputs_Array)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BrilligInputs_Array::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BrilligInputs_Array_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BrilligInputs_Array::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BrilligInputs_Array::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BrilligInputs_Array::ByteSizeLong, + &BrilligInputs_Array::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BrilligInputs_Array, _impl_._cached_size_), + false, + }, + &BrilligInputs_Array::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BrilligInputs_Array::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> BrilligInputs_Array::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967293, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligInputs_Array>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Expression values = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 0, PROTOBUF_FIELD_OFFSET(BrilligInputs_Array, _impl_.values_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.native.Expression values = 2; + {PROTOBUF_FIELD_OFFSET(BrilligInputs_Array, _impl_.values_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BrilligInputs_Array::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BrilligInputs.Array) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BrilligInputs_Array::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BrilligInputs_Array& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BrilligInputs_Array::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BrilligInputs_Array& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BrilligInputs.Array) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.native.Expression values = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BrilligInputs.Array) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BrilligInputs_Array::ByteSizeLong(const MessageLite& base) { + const BrilligInputs_Array& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BrilligInputs_Array::ByteSizeLong() const { + const BrilligInputs_Array& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BrilligInputs.Array) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Expression values = 2; + { + total_size += 1UL * this_._internal_values_size(); + for (const auto& msg : this_._internal_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BrilligInputs_Array::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BrilligInputs.Array) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_values()->MergeFrom( + from._internal_values()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BrilligInputs_Array::CopyFrom(const BrilligInputs_Array& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BrilligInputs.Array) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BrilligInputs_Array::InternalSwap(BrilligInputs_Array* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.values_.InternalSwap(&other->_impl_.values_); +} + +::google::protobuf::Metadata BrilligInputs_Array::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BrilligInputs::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligInputs, _impl_._oneof_case_); +}; + +void BrilligInputs::set_allocated_single(::acvm::acir::native::Expression* single) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (single) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(single)->GetArena(); + if (message_arena != submessage_arena) { + single = ::google::protobuf::internal::GetOwnedMessage(message_arena, single, submessage_arena); + } + set_has_single(); + _impl_.value_.single_ = single; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BrilligInputs.single) +} +void BrilligInputs::clear_single() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kSingle) { + if (GetArena() == nullptr) { + delete _impl_.value_.single_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.single_); + } + clear_has_value(); + } +} +void BrilligInputs::set_allocated_array(::acvm::acir::circuit::BrilligInputs_Array* array) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (array) { + ::google::protobuf::Arena* submessage_arena = array->GetArena(); + if (message_arena != submessage_arena) { + array = ::google::protobuf::internal::GetOwnedMessage(message_arena, array, submessage_arena); + } + set_has_array(); + _impl_.value_.array_ = array; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BrilligInputs.array) +} +BrilligInputs::BrilligInputs(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BrilligInputs) +} +inline PROTOBUF_NDEBUG_INLINE BrilligInputs::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BrilligInputs& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +BrilligInputs::BrilligInputs( + ::google::protobuf::Arena* arena, + const BrilligInputs& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BrilligInputs* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kSingle: + _impl_.value_.single_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.single_); + break; + case kArray: + _impl_.value_.array_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BrilligInputs_Array>(arena, *from._impl_.value_.array_); + break; + case kMemoryArray: + _impl_.value_.memory_array_ = from._impl_.value_.memory_array_; + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BrilligInputs) +} +inline PROTOBUF_NDEBUG_INLINE BrilligInputs::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void BrilligInputs::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BrilligInputs::~BrilligInputs() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BrilligInputs) + SharedDtor(*this); +} +inline void BrilligInputs::SharedDtor(MessageLite& self) { + BrilligInputs& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void BrilligInputs::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.BrilligInputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kSingle: { + if (GetArena() == nullptr) { + delete _impl_.value_.single_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.single_); + } + break; + } + case kArray: { + if (GetArena() == nullptr) { + delete _impl_.value_.array_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.array_); + } + break; + } + case kMemoryArray: { + // No need to clear + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* BrilligInputs::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BrilligInputs(arena); +} +constexpr auto BrilligInputs::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BrilligInputs), + alignof(BrilligInputs)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BrilligInputs::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BrilligInputs_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BrilligInputs::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BrilligInputs::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BrilligInputs::ByteSizeLong, + &BrilligInputs::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BrilligInputs, _impl_._cached_size_), + false, + }, + &BrilligInputs::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BrilligInputs::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 3, 2, 0, 2> BrilligInputs::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 3, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligInputs>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Expression single = 1; + {PROTOBUF_FIELD_OFFSET(BrilligInputs, _impl_.value_.single_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BrilligInputs.Array array = 2; + {PROTOBUF_FIELD_OFFSET(BrilligInputs, _impl_.value_.array_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // uint32 memory_array = 3; + {PROTOBUF_FIELD_OFFSET(BrilligInputs, _impl_.value_.memory_array_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kUInt32)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligInputs_Array>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BrilligInputs::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BrilligInputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BrilligInputs::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BrilligInputs& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BrilligInputs::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BrilligInputs& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BrilligInputs) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kSingle: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.single_, this_._impl_.value_.single_->GetCachedSize(), target, + stream); + break; + } + case kArray: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.array_, this_._impl_.value_.array_->GetCachedSize(), target, + stream); + break; + } + case kMemoryArray: { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 3, this_._internal_memory_array(), target); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BrilligInputs) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BrilligInputs::ByteSizeLong(const MessageLite& base) { + const BrilligInputs& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BrilligInputs::ByteSizeLong() const { + const BrilligInputs& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BrilligInputs) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.native.Expression single = 1; + case kSingle: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.single_); + break; + } + // .acvm.acir.circuit.BrilligInputs.Array array = 2; + case kArray: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.array_); + break; + } + // uint32 memory_array = 3; + case kMemoryArray: { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_memory_array()); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BrilligInputs::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BrilligInputs) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kSingle: { + if (oneof_needs_init) { + _this->_impl_.value_.single_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Expression>(arena, *from._impl_.value_.single_); + } else { + _this->_impl_.value_.single_->MergeFrom(from._internal_single()); + } + break; + } + case kArray: { + if (oneof_needs_init) { + _this->_impl_.value_.array_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BrilligInputs_Array>(arena, *from._impl_.value_.array_); + } else { + _this->_impl_.value_.array_->MergeFrom(from._internal_array()); + } + break; + } + case kMemoryArray: { + _this->_impl_.value_.memory_array_ = from._impl_.value_.memory_array_; + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BrilligInputs::CopyFrom(const BrilligInputs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BrilligInputs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BrilligInputs::InternalSwap(BrilligInputs* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata BrilligInputs::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BrilligOutputs_Array::_Internal { + public: +}; + +void BrilligOutputs_Array::clear_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.values_.Clear(); +} +BrilligOutputs_Array::BrilligOutputs_Array(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BrilligOutputs.Array) +} +inline PROTOBUF_NDEBUG_INLINE BrilligOutputs_Array::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BrilligOutputs_Array& from_msg) + : values_{visibility, arena, from.values_}, + _cached_size_{0} {} + +BrilligOutputs_Array::BrilligOutputs_Array( + ::google::protobuf::Arena* arena, + const BrilligOutputs_Array& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BrilligOutputs_Array* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BrilligOutputs.Array) +} +inline PROTOBUF_NDEBUG_INLINE BrilligOutputs_Array::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : values_{visibility, arena}, + _cached_size_{0} {} + +inline void BrilligOutputs_Array::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BrilligOutputs_Array::~BrilligOutputs_Array() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BrilligOutputs.Array) + SharedDtor(*this); +} +inline void BrilligOutputs_Array::SharedDtor(MessageLite& self) { + BrilligOutputs_Array& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* BrilligOutputs_Array::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BrilligOutputs_Array(arena); +} +constexpr auto BrilligOutputs_Array::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(BrilligOutputs_Array, _impl_.values_) + + decltype(BrilligOutputs_Array::_impl_.values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(BrilligOutputs_Array), alignof(BrilligOutputs_Array), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&BrilligOutputs_Array::PlacementNew_, + sizeof(BrilligOutputs_Array), + alignof(BrilligOutputs_Array)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BrilligOutputs_Array::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BrilligOutputs_Array_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BrilligOutputs_Array::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BrilligOutputs_Array::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BrilligOutputs_Array::ByteSizeLong, + &BrilligOutputs_Array::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BrilligOutputs_Array, _impl_._cached_size_), + false, + }, + &BrilligOutputs_Array::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BrilligOutputs_Array::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> BrilligOutputs_Array::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligOutputs_Array>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.native.Witness values = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(BrilligOutputs_Array, _impl_.values_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.native.Witness values = 1; + {PROTOBUF_FIELD_OFFSET(BrilligOutputs_Array, _impl_.values_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BrilligOutputs_Array::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BrilligOutputs.Array) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BrilligOutputs_Array::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BrilligOutputs_Array& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BrilligOutputs_Array::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BrilligOutputs_Array& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BrilligOutputs.Array) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.native.Witness values = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BrilligOutputs.Array) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BrilligOutputs_Array::ByteSizeLong(const MessageLite& base) { + const BrilligOutputs_Array& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BrilligOutputs_Array::ByteSizeLong() const { + const BrilligOutputs_Array& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BrilligOutputs.Array) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Witness values = 1; + { + total_size += 1UL * this_._internal_values_size(); + for (const auto& msg : this_._internal_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BrilligOutputs_Array::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BrilligOutputs.Array) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_values()->MergeFrom( + from._internal_values()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BrilligOutputs_Array::CopyFrom(const BrilligOutputs_Array& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BrilligOutputs.Array) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BrilligOutputs_Array::InternalSwap(BrilligOutputs_Array* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.values_.InternalSwap(&other->_impl_.values_); +} + +::google::protobuf::Metadata BrilligOutputs_Array::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class BrilligOutputs::_Internal { + public: + static constexpr ::int32_t kOneofCaseOffset = + PROTOBUF_FIELD_OFFSET(::acvm::acir::circuit::BrilligOutputs, _impl_._oneof_case_); +}; + +void BrilligOutputs::set_allocated_simple(::acvm::acir::native::Witness* simple) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (simple) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(simple)->GetArena(); + if (message_arena != submessage_arena) { + simple = ::google::protobuf::internal::GetOwnedMessage(message_arena, simple, submessage_arena); + } + set_has_simple(); + _impl_.value_.simple_ = simple; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BrilligOutputs.simple) +} +void BrilligOutputs::clear_simple() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kSimple) { + if (GetArena() == nullptr) { + delete _impl_.value_.simple_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.simple_); + } + clear_has_value(); + } +} +void BrilligOutputs::set_allocated_array(::acvm::acir::circuit::BrilligOutputs_Array* array) { + ::google::protobuf::Arena* message_arena = GetArena(); + clear_value(); + if (array) { + ::google::protobuf::Arena* submessage_arena = array->GetArena(); + if (message_arena != submessage_arena) { + array = ::google::protobuf::internal::GetOwnedMessage(message_arena, array, submessage_arena); + } + set_has_array(); + _impl_.value_.array_ = array; + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BrilligOutputs.array) +} +BrilligOutputs::BrilligOutputs(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.circuit.BrilligOutputs) +} +inline PROTOBUF_NDEBUG_INLINE BrilligOutputs::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::circuit::BrilligOutputs& from_msg) + : value_{}, + _cached_size_{0}, + _oneof_case_{from._oneof_case_[0]} {} + +BrilligOutputs::BrilligOutputs( + ::google::protobuf::Arena* arena, + const BrilligOutputs& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + BrilligOutputs* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + switch (value_case()) { + case VALUE_NOT_SET: + break; + case kSimple: + _impl_.value_.simple_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.value_.simple_); + break; + case kArray: + _impl_.value_.array_ = ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BrilligOutputs_Array>(arena, *from._impl_.value_.array_); + break; + } + + // @@protoc_insertion_point(copy_constructor:acvm.acir.circuit.BrilligOutputs) +} +inline PROTOBUF_NDEBUG_INLINE BrilligOutputs::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_{}, + _cached_size_{0}, + _oneof_case_{} {} + +inline void BrilligOutputs::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +BrilligOutputs::~BrilligOutputs() { + // @@protoc_insertion_point(destructor:acvm.acir.circuit.BrilligOutputs) + SharedDtor(*this); +} +inline void BrilligOutputs::SharedDtor(MessageLite& self) { + BrilligOutputs& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + if (this_.has_value()) { + this_.clear_value(); + } + this_._impl_.~Impl_(); +} + +void BrilligOutputs::clear_value() { +// @@protoc_insertion_point(one_of_clear_start:acvm.acir.circuit.BrilligOutputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + switch (value_case()) { + case kSimple: { + if (GetArena() == nullptr) { + delete _impl_.value_.simple_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.simple_); + } + break; + } + case kArray: { + if (GetArena() == nullptr) { + delete _impl_.value_.array_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.array_); + } + break; + } + case VALUE_NOT_SET: { + break; + } + } + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} + + +inline void* BrilligOutputs::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) BrilligOutputs(arena); +} +constexpr auto BrilligOutputs::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(BrilligOutputs), + alignof(BrilligOutputs)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull BrilligOutputs::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_BrilligOutputs_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &BrilligOutputs::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &BrilligOutputs::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &BrilligOutputs::ByteSizeLong, + &BrilligOutputs::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(BrilligOutputs, _impl_._cached_size_), + false, + }, + &BrilligOutputs::kDescriptorMethods, + &descriptor_table_acir_2fcircuit_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* BrilligOutputs::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 2, 2, 0, 2> BrilligOutputs::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 2, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligOutputs>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Witness simple = 1; + {PROTOBUF_FIELD_OFFSET(BrilligOutputs, _impl_.value_.simple_), _Internal::kOneofCaseOffset + 0, 0, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.circuit.BrilligOutputs.Array array = 2; + {PROTOBUF_FIELD_OFFSET(BrilligOutputs, _impl_.value_.array_), _Internal::kOneofCaseOffset + 0, 1, + (0 | ::_fl::kFcOneof | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::BrilligOutputs_Array>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void BrilligOutputs::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.circuit.BrilligOutputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + clear_value(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* BrilligOutputs::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const BrilligOutputs& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* BrilligOutputs::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const BrilligOutputs& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.circuit.BrilligOutputs) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + switch (this_.value_case()) { + case kSimple: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.value_.simple_, this_._impl_.value_.simple_->GetCachedSize(), target, + stream); + break; + } + case kArray: { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.value_.array_, this_._impl_.value_.array_->GetCachedSize(), target, + stream); + break; + } + default: + break; + } + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.circuit.BrilligOutputs) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t BrilligOutputs::ByteSizeLong(const MessageLite& base) { + const BrilligOutputs& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t BrilligOutputs::ByteSizeLong() const { + const BrilligOutputs& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.circuit.BrilligOutputs) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + switch (this_.value_case()) { + // .acvm.acir.native.Witness simple = 1; + case kSimple: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.simple_); + break; + } + // .acvm.acir.circuit.BrilligOutputs.Array array = 2; + case kArray: { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.value_.array_); + break; + } + case VALUE_NOT_SET: { + break; + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void BrilligOutputs::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.circuit.BrilligOutputs) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (const uint32_t oneof_from_case = from._impl_._oneof_case_[0]) { + const uint32_t oneof_to_case = _this->_impl_._oneof_case_[0]; + const bool oneof_needs_init = oneof_to_case != oneof_from_case; + if (oneof_needs_init) { + if (oneof_to_case != 0) { + _this->clear_value(); + } + _this->_impl_._oneof_case_[0] = oneof_from_case; + } + + switch (oneof_from_case) { + case kSimple: { + if (oneof_needs_init) { + _this->_impl_.value_.simple_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.value_.simple_); + } else { + _this->_impl_.value_.simple_->MergeFrom(from._internal_simple()); + } + break; + } + case kArray: { + if (oneof_needs_init) { + _this->_impl_.value_.array_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::circuit::BrilligOutputs_Array>(arena, *from._impl_.value_.array_); + } else { + _this->_impl_.value_.array_->MergeFrom(from._internal_array()); + } + break; + } + case VALUE_NOT_SET: + break; + } + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void BrilligOutputs::CopyFrom(const BrilligOutputs& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.circuit.BrilligOutputs) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void BrilligOutputs::InternalSwap(BrilligOutputs* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.value_, other->_impl_.value_); + swap(_impl_._oneof_case_[0], other->_impl_._oneof_case_[0]); +} + +::google::protobuf::Metadata BrilligOutputs::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace circuit +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_acir_2fcircuit_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/acvm-repo/acir/codegen/acir/circuit.pb.h b/acvm-repo/acir/codegen/acir/circuit.pb.h new file mode 100644 index 00000000000..9b3e586fb9a --- /dev/null +++ b/acvm-repo/acir/codegen/acir/circuit.pb.h @@ -0,0 +1,19351 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/circuit.proto +// Protobuf C++ Version: 5.29.3 + +#ifndef acir_2fcircuit_2eproto_2epb_2eh +#define acir_2fcircuit_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029003 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_bases.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "acir/native.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_acir_2fcircuit_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_acir_2fcircuit_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_acir_2fcircuit_2eproto; +namespace acvm { +namespace acir { +namespace circuit { +class AssertMessage; +struct AssertMessageDefaultTypeInternal; +extern AssertMessageDefaultTypeInternal _AssertMessage_default_instance_; +class AssertionPayload; +struct AssertionPayloadDefaultTypeInternal; +extern AssertionPayloadDefaultTypeInternal _AssertionPayload_default_instance_; +class BlackBoxFuncCall; +struct BlackBoxFuncCallDefaultTypeInternal; +extern BlackBoxFuncCallDefaultTypeInternal _BlackBoxFuncCall_default_instance_; +class BlackBoxFuncCall_AES128Encrypt; +struct BlackBoxFuncCall_AES128EncryptDefaultTypeInternal; +extern BlackBoxFuncCall_AES128EncryptDefaultTypeInternal _BlackBoxFuncCall_AES128Encrypt_default_instance_; +class BlackBoxFuncCall_AND; +struct BlackBoxFuncCall_ANDDefaultTypeInternal; +extern BlackBoxFuncCall_ANDDefaultTypeInternal _BlackBoxFuncCall_AND_default_instance_; +class BlackBoxFuncCall_BigIntAdd; +struct BlackBoxFuncCall_BigIntAddDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntAddDefaultTypeInternal _BlackBoxFuncCall_BigIntAdd_default_instance_; +class BlackBoxFuncCall_BigIntDiv; +struct BlackBoxFuncCall_BigIntDivDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntDivDefaultTypeInternal _BlackBoxFuncCall_BigIntDiv_default_instance_; +class BlackBoxFuncCall_BigIntFromLeBytes; +struct BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntFromLeBytesDefaultTypeInternal _BlackBoxFuncCall_BigIntFromLeBytes_default_instance_; +class BlackBoxFuncCall_BigIntMul; +struct BlackBoxFuncCall_BigIntMulDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntMulDefaultTypeInternal _BlackBoxFuncCall_BigIntMul_default_instance_; +class BlackBoxFuncCall_BigIntSub; +struct BlackBoxFuncCall_BigIntSubDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntSubDefaultTypeInternal _BlackBoxFuncCall_BigIntSub_default_instance_; +class BlackBoxFuncCall_BigIntToLeBytes; +struct BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal; +extern BlackBoxFuncCall_BigIntToLeBytesDefaultTypeInternal _BlackBoxFuncCall_BigIntToLeBytes_default_instance_; +class BlackBoxFuncCall_Blake2s; +struct BlackBoxFuncCall_Blake2sDefaultTypeInternal; +extern BlackBoxFuncCall_Blake2sDefaultTypeInternal _BlackBoxFuncCall_Blake2s_default_instance_; +class BlackBoxFuncCall_Blake3; +struct BlackBoxFuncCall_Blake3DefaultTypeInternal; +extern BlackBoxFuncCall_Blake3DefaultTypeInternal _BlackBoxFuncCall_Blake3_default_instance_; +class BlackBoxFuncCall_EcdsaSecp256k1; +struct BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal; +extern BlackBoxFuncCall_EcdsaSecp256k1DefaultTypeInternal _BlackBoxFuncCall_EcdsaSecp256k1_default_instance_; +class BlackBoxFuncCall_EcdsaSecp256r1; +struct BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal; +extern BlackBoxFuncCall_EcdsaSecp256r1DefaultTypeInternal _BlackBoxFuncCall_EcdsaSecp256r1_default_instance_; +class BlackBoxFuncCall_EmbeddedCurveAdd; +struct BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal; +extern BlackBoxFuncCall_EmbeddedCurveAddDefaultTypeInternal _BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_; +class BlackBoxFuncCall_Keccakf1600; +struct BlackBoxFuncCall_Keccakf1600DefaultTypeInternal; +extern BlackBoxFuncCall_Keccakf1600DefaultTypeInternal _BlackBoxFuncCall_Keccakf1600_default_instance_; +class BlackBoxFuncCall_MultiScalarMul; +struct BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal; +extern BlackBoxFuncCall_MultiScalarMulDefaultTypeInternal _BlackBoxFuncCall_MultiScalarMul_default_instance_; +class BlackBoxFuncCall_Poseidon2Permutation; +struct BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal; +extern BlackBoxFuncCall_Poseidon2PermutationDefaultTypeInternal _BlackBoxFuncCall_Poseidon2Permutation_default_instance_; +class BlackBoxFuncCall_RANGE; +struct BlackBoxFuncCall_RANGEDefaultTypeInternal; +extern BlackBoxFuncCall_RANGEDefaultTypeInternal _BlackBoxFuncCall_RANGE_default_instance_; +class BlackBoxFuncCall_RecursiveAggregation; +struct BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal; +extern BlackBoxFuncCall_RecursiveAggregationDefaultTypeInternal _BlackBoxFuncCall_RecursiveAggregation_default_instance_; +class BlackBoxFuncCall_Sha256Compression; +struct BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal; +extern BlackBoxFuncCall_Sha256CompressionDefaultTypeInternal _BlackBoxFuncCall_Sha256Compression_default_instance_; +class BlackBoxFuncCall_XOR; +struct BlackBoxFuncCall_XORDefaultTypeInternal; +extern BlackBoxFuncCall_XORDefaultTypeInternal _BlackBoxFuncCall_XOR_default_instance_; +class BlockType; +struct BlockTypeDefaultTypeInternal; +extern BlockTypeDefaultTypeInternal _BlockType_default_instance_; +class BlockType_CallData; +struct BlockType_CallDataDefaultTypeInternal; +extern BlockType_CallDataDefaultTypeInternal _BlockType_CallData_default_instance_; +class BlockType_Memory; +struct BlockType_MemoryDefaultTypeInternal; +extern BlockType_MemoryDefaultTypeInternal _BlockType_Memory_default_instance_; +class BlockType_ReturnData; +struct BlockType_ReturnDataDefaultTypeInternal; +extern BlockType_ReturnDataDefaultTypeInternal _BlockType_ReturnData_default_instance_; +class BrilligInputs; +struct BrilligInputsDefaultTypeInternal; +extern BrilligInputsDefaultTypeInternal _BrilligInputs_default_instance_; +class BrilligInputs_Array; +struct BrilligInputs_ArrayDefaultTypeInternal; +extern BrilligInputs_ArrayDefaultTypeInternal _BrilligInputs_Array_default_instance_; +class BrilligOutputs; +struct BrilligOutputsDefaultTypeInternal; +extern BrilligOutputsDefaultTypeInternal _BrilligOutputs_default_instance_; +class BrilligOutputs_Array; +struct BrilligOutputs_ArrayDefaultTypeInternal; +extern BrilligOutputs_ArrayDefaultTypeInternal _BrilligOutputs_Array_default_instance_; +class Circuit; +struct CircuitDefaultTypeInternal; +extern CircuitDefaultTypeInternal _Circuit_default_instance_; +class ConstantOrWitnessEnum; +struct ConstantOrWitnessEnumDefaultTypeInternal; +extern ConstantOrWitnessEnumDefaultTypeInternal _ConstantOrWitnessEnum_default_instance_; +class ExpressionOrMemory; +struct ExpressionOrMemoryDefaultTypeInternal; +extern ExpressionOrMemoryDefaultTypeInternal _ExpressionOrMemory_default_instance_; +class ExpressionWidth; +struct ExpressionWidthDefaultTypeInternal; +extern ExpressionWidthDefaultTypeInternal _ExpressionWidth_default_instance_; +class ExpressionWidth_Bounded; +struct ExpressionWidth_BoundedDefaultTypeInternal; +extern ExpressionWidth_BoundedDefaultTypeInternal _ExpressionWidth_Bounded_default_instance_; +class ExpressionWidth_Unbounded; +struct ExpressionWidth_UnboundedDefaultTypeInternal; +extern ExpressionWidth_UnboundedDefaultTypeInternal _ExpressionWidth_Unbounded_default_instance_; +class FunctionInput; +struct FunctionInputDefaultTypeInternal; +extern FunctionInputDefaultTypeInternal _FunctionInput_default_instance_; +class MemOp; +struct MemOpDefaultTypeInternal; +extern MemOpDefaultTypeInternal _MemOp_default_instance_; +class Opcode; +struct OpcodeDefaultTypeInternal; +extern OpcodeDefaultTypeInternal _Opcode_default_instance_; +class OpcodeLocation; +struct OpcodeLocationDefaultTypeInternal; +extern OpcodeLocationDefaultTypeInternal _OpcodeLocation_default_instance_; +class OpcodeLocation_BrilligLocation; +struct OpcodeLocation_BrilligLocationDefaultTypeInternal; +extern OpcodeLocation_BrilligLocationDefaultTypeInternal _OpcodeLocation_BrilligLocation_default_instance_; +class Opcode_BrilligCall; +struct Opcode_BrilligCallDefaultTypeInternal; +extern Opcode_BrilligCallDefaultTypeInternal _Opcode_BrilligCall_default_instance_; +class Opcode_Call; +struct Opcode_CallDefaultTypeInternal; +extern Opcode_CallDefaultTypeInternal _Opcode_Call_default_instance_; +class Opcode_MemoryInit; +struct Opcode_MemoryInitDefaultTypeInternal; +extern Opcode_MemoryInitDefaultTypeInternal _Opcode_MemoryInit_default_instance_; +class Opcode_MemoryOp; +struct Opcode_MemoryOpDefaultTypeInternal; +extern Opcode_MemoryOpDefaultTypeInternal _Opcode_MemoryOp_default_instance_; +} // namespace circuit +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace acvm { +namespace acir { +namespace circuit { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class OpcodeLocation_BrilligLocation final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.OpcodeLocation.BrilligLocation) */ { + public: + inline OpcodeLocation_BrilligLocation() : OpcodeLocation_BrilligLocation(nullptr) {} + ~OpcodeLocation_BrilligLocation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OpcodeLocation_BrilligLocation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OpcodeLocation_BrilligLocation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OpcodeLocation_BrilligLocation( + ::google::protobuf::internal::ConstantInitialized); + + inline OpcodeLocation_BrilligLocation(const OpcodeLocation_BrilligLocation& from) : OpcodeLocation_BrilligLocation(nullptr, from) {} + inline OpcodeLocation_BrilligLocation(OpcodeLocation_BrilligLocation&& from) noexcept + : OpcodeLocation_BrilligLocation(nullptr, std::move(from)) {} + inline OpcodeLocation_BrilligLocation& operator=(const OpcodeLocation_BrilligLocation& from) { + CopyFrom(from); + return *this; + } + inline OpcodeLocation_BrilligLocation& operator=(OpcodeLocation_BrilligLocation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OpcodeLocation_BrilligLocation& default_instance() { + return *internal_default_instance(); + } + static inline const OpcodeLocation_BrilligLocation* internal_default_instance() { + return reinterpret_cast( + &_OpcodeLocation_BrilligLocation_default_instance_); + } + static constexpr int kIndexInFileMessages = 5; + friend void swap(OpcodeLocation_BrilligLocation& a, OpcodeLocation_BrilligLocation& b) { a.Swap(&b); } + inline void Swap(OpcodeLocation_BrilligLocation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OpcodeLocation_BrilligLocation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OpcodeLocation_BrilligLocation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OpcodeLocation_BrilligLocation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OpcodeLocation_BrilligLocation& from) { OpcodeLocation_BrilligLocation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OpcodeLocation_BrilligLocation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.OpcodeLocation.BrilligLocation"; } + + protected: + explicit OpcodeLocation_BrilligLocation(::google::protobuf::Arena* arena); + OpcodeLocation_BrilligLocation(::google::protobuf::Arena* arena, const OpcodeLocation_BrilligLocation& from); + OpcodeLocation_BrilligLocation(::google::protobuf::Arena* arena, OpcodeLocation_BrilligLocation&& from) noexcept + : OpcodeLocation_BrilligLocation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kAcirIndexFieldNumber = 1, + kBrilligIndexFieldNumber = 2, + }; + // uint64 acir_index = 1; + void clear_acir_index() ; + ::uint64_t acir_index() const; + void set_acir_index(::uint64_t value); + + private: + ::uint64_t _internal_acir_index() const; + void _internal_set_acir_index(::uint64_t value); + + public: + // uint64 brillig_index = 2; + void clear_brillig_index() ; + ::uint64_t brillig_index() const; + void set_brillig_index(::uint64_t value); + + private: + ::uint64_t _internal_brillig_index() const; + void _internal_set_brillig_index(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.OpcodeLocation.BrilligLocation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OpcodeLocation_BrilligLocation& from_msg); + ::uint64_t acir_index_; + ::uint64_t brillig_index_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class ExpressionWidth_Unbounded final : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.ExpressionWidth.Unbounded) */ { + public: + inline ExpressionWidth_Unbounded() : ExpressionWidth_Unbounded(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ExpressionWidth_Unbounded* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ExpressionWidth_Unbounded)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ExpressionWidth_Unbounded( + ::google::protobuf::internal::ConstantInitialized); + + inline ExpressionWidth_Unbounded(const ExpressionWidth_Unbounded& from) : ExpressionWidth_Unbounded(nullptr, from) {} + inline ExpressionWidth_Unbounded(ExpressionWidth_Unbounded&& from) noexcept + : ExpressionWidth_Unbounded(nullptr, std::move(from)) {} + inline ExpressionWidth_Unbounded& operator=(const ExpressionWidth_Unbounded& from) { + CopyFrom(from); + return *this; + } + inline ExpressionWidth_Unbounded& operator=(ExpressionWidth_Unbounded&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ExpressionWidth_Unbounded& default_instance() { + return *internal_default_instance(); + } + static inline const ExpressionWidth_Unbounded* internal_default_instance() { + return reinterpret_cast( + &_ExpressionWidth_Unbounded_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(ExpressionWidth_Unbounded& a, ExpressionWidth_Unbounded& b) { a.Swap(&b); } + inline void Swap(ExpressionWidth_Unbounded* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ExpressionWidth_Unbounded* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ExpressionWidth_Unbounded* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const ExpressionWidth_Unbounded& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const ExpressionWidth_Unbounded& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.ExpressionWidth.Unbounded"; } + + protected: + explicit ExpressionWidth_Unbounded(::google::protobuf::Arena* arena); + ExpressionWidth_Unbounded(::google::protobuf::Arena* arena, const ExpressionWidth_Unbounded& from); + ExpressionWidth_Unbounded(::google::protobuf::Arena* arena, ExpressionWidth_Unbounded&& from) noexcept + : ExpressionWidth_Unbounded(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.ExpressionWidth.Unbounded) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ExpressionWidth_Unbounded& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class ExpressionWidth_Bounded final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.ExpressionWidth.Bounded) */ { + public: + inline ExpressionWidth_Bounded() : ExpressionWidth_Bounded(nullptr) {} + ~ExpressionWidth_Bounded() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ExpressionWidth_Bounded* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ExpressionWidth_Bounded)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ExpressionWidth_Bounded( + ::google::protobuf::internal::ConstantInitialized); + + inline ExpressionWidth_Bounded(const ExpressionWidth_Bounded& from) : ExpressionWidth_Bounded(nullptr, from) {} + inline ExpressionWidth_Bounded(ExpressionWidth_Bounded&& from) noexcept + : ExpressionWidth_Bounded(nullptr, std::move(from)) {} + inline ExpressionWidth_Bounded& operator=(const ExpressionWidth_Bounded& from) { + CopyFrom(from); + return *this; + } + inline ExpressionWidth_Bounded& operator=(ExpressionWidth_Bounded&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ExpressionWidth_Bounded& default_instance() { + return *internal_default_instance(); + } + static inline const ExpressionWidth_Bounded* internal_default_instance() { + return reinterpret_cast( + &_ExpressionWidth_Bounded_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(ExpressionWidth_Bounded& a, ExpressionWidth_Bounded& b) { a.Swap(&b); } + inline void Swap(ExpressionWidth_Bounded* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ExpressionWidth_Bounded* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ExpressionWidth_Bounded* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ExpressionWidth_Bounded& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ExpressionWidth_Bounded& from) { ExpressionWidth_Bounded::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ExpressionWidth_Bounded* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.ExpressionWidth.Bounded"; } + + protected: + explicit ExpressionWidth_Bounded(::google::protobuf::Arena* arena); + ExpressionWidth_Bounded(::google::protobuf::Arena* arena, const ExpressionWidth_Bounded& from); + ExpressionWidth_Bounded(::google::protobuf::Arena* arena, ExpressionWidth_Bounded&& from) noexcept + : ExpressionWidth_Bounded(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kWidthFieldNumber = 1, + }; + // uint64 width = 1; + void clear_width() ; + ::uint64_t width() const; + void set_width(::uint64_t value); + + private: + ::uint64_t _internal_width() const; + void _internal_set_width(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.ExpressionWidth.Bounded) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ExpressionWidth_Bounded& from_msg); + ::uint64_t width_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlockType_ReturnData final : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlockType.ReturnData) */ { + public: + inline BlockType_ReturnData() : BlockType_ReturnData(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlockType_ReturnData* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlockType_ReturnData)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlockType_ReturnData( + ::google::protobuf::internal::ConstantInitialized); + + inline BlockType_ReturnData(const BlockType_ReturnData& from) : BlockType_ReturnData(nullptr, from) {} + inline BlockType_ReturnData(BlockType_ReturnData&& from) noexcept + : BlockType_ReturnData(nullptr, std::move(from)) {} + inline BlockType_ReturnData& operator=(const BlockType_ReturnData& from) { + CopyFrom(from); + return *this; + } + inline BlockType_ReturnData& operator=(BlockType_ReturnData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlockType_ReturnData& default_instance() { + return *internal_default_instance(); + } + static inline const BlockType_ReturnData* internal_default_instance() { + return reinterpret_cast( + &_BlockType_ReturnData_default_instance_); + } + static constexpr int kIndexInFileMessages = 40; + friend void swap(BlockType_ReturnData& a, BlockType_ReturnData& b) { a.Swap(&b); } + inline void Swap(BlockType_ReturnData* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlockType_ReturnData* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlockType_ReturnData* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const BlockType_ReturnData& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const BlockType_ReturnData& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlockType.ReturnData"; } + + protected: + explicit BlockType_ReturnData(::google::protobuf::Arena* arena); + BlockType_ReturnData(::google::protobuf::Arena* arena, const BlockType_ReturnData& from); + BlockType_ReturnData(::google::protobuf::Arena* arena, BlockType_ReturnData&& from) noexcept + : BlockType_ReturnData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlockType.ReturnData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlockType_ReturnData& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlockType_Memory final : public ::google::protobuf::internal::ZeroFieldsBase +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlockType.Memory) */ { + public: + inline BlockType_Memory() : BlockType_Memory(nullptr) {} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlockType_Memory* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlockType_Memory)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlockType_Memory( + ::google::protobuf::internal::ConstantInitialized); + + inline BlockType_Memory(const BlockType_Memory& from) : BlockType_Memory(nullptr, from) {} + inline BlockType_Memory(BlockType_Memory&& from) noexcept + : BlockType_Memory(nullptr, std::move(from)) {} + inline BlockType_Memory& operator=(const BlockType_Memory& from) { + CopyFrom(from); + return *this; + } + inline BlockType_Memory& operator=(BlockType_Memory&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlockType_Memory& default_instance() { + return *internal_default_instance(); + } + static inline const BlockType_Memory* internal_default_instance() { + return reinterpret_cast( + &_BlockType_Memory_default_instance_); + } + static constexpr int kIndexInFileMessages = 38; + friend void swap(BlockType_Memory& a, BlockType_Memory& b) { a.Swap(&b); } + inline void Swap(BlockType_Memory* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlockType_Memory* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlockType_Memory* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::internal::ZeroFieldsBase::DefaultConstruct(arena); + } + using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom; + inline void CopyFrom(const BlockType_Memory& from) { + ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from); + } + using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom; + void MergeFrom(const BlockType_Memory& from) { + ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from); + } + + public: + bool IsInitialized() const { + return true; + } + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlockType.Memory"; } + + protected: + explicit BlockType_Memory(::google::protobuf::Arena* arena); + BlockType_Memory(::google::protobuf::Arena* arena, const BlockType_Memory& from); + BlockType_Memory(::google::protobuf::Arena* arena, BlockType_Memory&& from) noexcept + : BlockType_Memory(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlockType.Memory) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 0, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlockType_Memory& from_msg); + PROTOBUF_TSAN_DECLARE_MEMBER + }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlockType_CallData final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlockType.CallData) */ { + public: + inline BlockType_CallData() : BlockType_CallData(nullptr) {} + ~BlockType_CallData() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlockType_CallData* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlockType_CallData)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlockType_CallData( + ::google::protobuf::internal::ConstantInitialized); + + inline BlockType_CallData(const BlockType_CallData& from) : BlockType_CallData(nullptr, from) {} + inline BlockType_CallData(BlockType_CallData&& from) noexcept + : BlockType_CallData(nullptr, std::move(from)) {} + inline BlockType_CallData& operator=(const BlockType_CallData& from) { + CopyFrom(from); + return *this; + } + inline BlockType_CallData& operator=(BlockType_CallData&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlockType_CallData& default_instance() { + return *internal_default_instance(); + } + static inline const BlockType_CallData* internal_default_instance() { + return reinterpret_cast( + &_BlockType_CallData_default_instance_); + } + static constexpr int kIndexInFileMessages = 39; + friend void swap(BlockType_CallData& a, BlockType_CallData& b) { a.Swap(&b); } + inline void Swap(BlockType_CallData* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlockType_CallData* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlockType_CallData* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlockType_CallData& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlockType_CallData& from) { BlockType_CallData::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlockType_CallData* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlockType.CallData"; } + + protected: + explicit BlockType_CallData(::google::protobuf::Arena* arena); + BlockType_CallData(::google::protobuf::Arena* arena, const BlockType_CallData& from); + BlockType_CallData(::google::protobuf::Arena* arena, BlockType_CallData&& from) noexcept + : BlockType_CallData(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // uint32 value = 1; + void clear_value() ; + ::uint32_t value() const; + void set_value(::uint32_t value); + + private: + ::uint32_t _internal_value() const; + void _internal_set_value(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlockType.CallData) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlockType_CallData& from_msg); + ::uint32_t value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntSub final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) */ { + public: + inline BlackBoxFuncCall_BigIntSub() : BlackBoxFuncCall_BigIntSub(nullptr) {} + ~BlackBoxFuncCall_BigIntSub() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntSub* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntSub)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntSub( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntSub(const BlackBoxFuncCall_BigIntSub& from) : BlackBoxFuncCall_BigIntSub(nullptr, from) {} + inline BlackBoxFuncCall_BigIntSub(BlackBoxFuncCall_BigIntSub&& from) noexcept + : BlackBoxFuncCall_BigIntSub(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntSub& operator=(const BlackBoxFuncCall_BigIntSub& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntSub& operator=(BlackBoxFuncCall_BigIntSub&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntSub& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntSub* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntSub_default_instance_); + } + static constexpr int kIndexInFileMessages = 27; + friend void swap(BlackBoxFuncCall_BigIntSub& a, BlackBoxFuncCall_BigIntSub& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntSub* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntSub* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntSub* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntSub& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntSub& from) { BlackBoxFuncCall_BigIntSub::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntSub* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntSub"; } + + protected: + explicit BlackBoxFuncCall_BigIntSub(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntSub(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntSub& from); + BlackBoxFuncCall_BigIntSub(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntSub&& from) noexcept + : BlackBoxFuncCall_BigIntSub(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // uint32 lhs = 1; + void clear_lhs() ; + ::uint32_t lhs() const; + void set_lhs(::uint32_t value); + + private: + ::uint32_t _internal_lhs() const; + void _internal_set_lhs(::uint32_t value); + + public: + // uint32 rhs = 2; + void clear_rhs() ; + ::uint32_t rhs() const; + void set_rhs(::uint32_t value); + + private: + ::uint32_t _internal_rhs() const; + void _internal_set_rhs(::uint32_t value); + + public: + // uint32 output = 3; + void clear_output() ; + ::uint32_t output() const; + void set_output(::uint32_t value); + + private: + ::uint32_t _internal_output() const; + void _internal_set_output(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntSub& from_msg); + ::uint32_t lhs_; + ::uint32_t rhs_; + ::uint32_t output_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntMul final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) */ { + public: + inline BlackBoxFuncCall_BigIntMul() : BlackBoxFuncCall_BigIntMul(nullptr) {} + ~BlackBoxFuncCall_BigIntMul() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntMul* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntMul)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntMul( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntMul(const BlackBoxFuncCall_BigIntMul& from) : BlackBoxFuncCall_BigIntMul(nullptr, from) {} + inline BlackBoxFuncCall_BigIntMul(BlackBoxFuncCall_BigIntMul&& from) noexcept + : BlackBoxFuncCall_BigIntMul(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntMul& operator=(const BlackBoxFuncCall_BigIntMul& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntMul& operator=(BlackBoxFuncCall_BigIntMul&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntMul& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntMul* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntMul_default_instance_); + } + static constexpr int kIndexInFileMessages = 28; + friend void swap(BlackBoxFuncCall_BigIntMul& a, BlackBoxFuncCall_BigIntMul& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntMul* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntMul* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntMul* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntMul& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntMul& from) { BlackBoxFuncCall_BigIntMul::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntMul* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntMul"; } + + protected: + explicit BlackBoxFuncCall_BigIntMul(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntMul(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntMul& from); + BlackBoxFuncCall_BigIntMul(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntMul&& from) noexcept + : BlackBoxFuncCall_BigIntMul(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // uint32 lhs = 1; + void clear_lhs() ; + ::uint32_t lhs() const; + void set_lhs(::uint32_t value); + + private: + ::uint32_t _internal_lhs() const; + void _internal_set_lhs(::uint32_t value); + + public: + // uint32 rhs = 2; + void clear_rhs() ; + ::uint32_t rhs() const; + void set_rhs(::uint32_t value); + + private: + ::uint32_t _internal_rhs() const; + void _internal_set_rhs(::uint32_t value); + + public: + // uint32 output = 3; + void clear_output() ; + ::uint32_t output() const; + void set_output(::uint32_t value); + + private: + ::uint32_t _internal_output() const; + void _internal_set_output(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntMul& from_msg); + ::uint32_t lhs_; + ::uint32_t rhs_; + ::uint32_t output_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntDiv final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) */ { + public: + inline BlackBoxFuncCall_BigIntDiv() : BlackBoxFuncCall_BigIntDiv(nullptr) {} + ~BlackBoxFuncCall_BigIntDiv() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntDiv* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntDiv)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntDiv( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntDiv(const BlackBoxFuncCall_BigIntDiv& from) : BlackBoxFuncCall_BigIntDiv(nullptr, from) {} + inline BlackBoxFuncCall_BigIntDiv(BlackBoxFuncCall_BigIntDiv&& from) noexcept + : BlackBoxFuncCall_BigIntDiv(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntDiv& operator=(const BlackBoxFuncCall_BigIntDiv& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntDiv& operator=(BlackBoxFuncCall_BigIntDiv&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntDiv& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntDiv* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntDiv_default_instance_); + } + static constexpr int kIndexInFileMessages = 29; + friend void swap(BlackBoxFuncCall_BigIntDiv& a, BlackBoxFuncCall_BigIntDiv& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntDiv* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntDiv* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntDiv* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntDiv& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntDiv& from) { BlackBoxFuncCall_BigIntDiv::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntDiv* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv"; } + + protected: + explicit BlackBoxFuncCall_BigIntDiv(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntDiv(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntDiv& from); + BlackBoxFuncCall_BigIntDiv(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntDiv&& from) noexcept + : BlackBoxFuncCall_BigIntDiv(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // uint32 lhs = 1; + void clear_lhs() ; + ::uint32_t lhs() const; + void set_lhs(::uint32_t value); + + private: + ::uint32_t _internal_lhs() const; + void _internal_set_lhs(::uint32_t value); + + public: + // uint32 rhs = 2; + void clear_rhs() ; + ::uint32_t rhs() const; + void set_rhs(::uint32_t value); + + private: + ::uint32_t _internal_rhs() const; + void _internal_set_rhs(::uint32_t value); + + public: + // uint32 output = 3; + void clear_output() ; + ::uint32_t output() const; + void set_output(::uint32_t value); + + private: + ::uint32_t _internal_output() const; + void _internal_set_output(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntDiv& from_msg); + ::uint32_t lhs_; + ::uint32_t rhs_; + ::uint32_t output_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntAdd final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) */ { + public: + inline BlackBoxFuncCall_BigIntAdd() : BlackBoxFuncCall_BigIntAdd(nullptr) {} + ~BlackBoxFuncCall_BigIntAdd() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntAdd* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntAdd)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntAdd( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntAdd(const BlackBoxFuncCall_BigIntAdd& from) : BlackBoxFuncCall_BigIntAdd(nullptr, from) {} + inline BlackBoxFuncCall_BigIntAdd(BlackBoxFuncCall_BigIntAdd&& from) noexcept + : BlackBoxFuncCall_BigIntAdd(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntAdd& operator=(const BlackBoxFuncCall_BigIntAdd& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntAdd& operator=(BlackBoxFuncCall_BigIntAdd&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntAdd& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntAdd* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntAdd_default_instance_); + } + static constexpr int kIndexInFileMessages = 26; + friend void swap(BlackBoxFuncCall_BigIntAdd& a, BlackBoxFuncCall_BigIntAdd& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntAdd* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntAdd* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntAdd* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntAdd& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntAdd& from) { BlackBoxFuncCall_BigIntAdd::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntAdd* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd"; } + + protected: + explicit BlackBoxFuncCall_BigIntAdd(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntAdd(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntAdd& from); + BlackBoxFuncCall_BigIntAdd(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntAdd&& from) noexcept + : BlackBoxFuncCall_BigIntAdd(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // uint32 lhs = 1; + void clear_lhs() ; + ::uint32_t lhs() const; + void set_lhs(::uint32_t value); + + private: + ::uint32_t _internal_lhs() const; + void _internal_set_lhs(::uint32_t value); + + public: + // uint32 rhs = 2; + void clear_rhs() ; + ::uint32_t rhs() const; + void set_rhs(::uint32_t value); + + private: + ::uint32_t _internal_rhs() const; + void _internal_set_rhs(::uint32_t value); + + public: + // uint32 output = 3; + void clear_output() ; + ::uint32_t output() const; + void set_output(::uint32_t value); + + private: + ::uint32_t _internal_output() const; + void _internal_set_output(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntAdd& from_msg); + ::uint32_t lhs_; + ::uint32_t rhs_; + ::uint32_t output_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class OpcodeLocation final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.OpcodeLocation) */ { + public: + inline OpcodeLocation() : OpcodeLocation(nullptr) {} + ~OpcodeLocation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(OpcodeLocation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(OpcodeLocation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR OpcodeLocation( + ::google::protobuf::internal::ConstantInitialized); + + inline OpcodeLocation(const OpcodeLocation& from) : OpcodeLocation(nullptr, from) {} + inline OpcodeLocation(OpcodeLocation&& from) noexcept + : OpcodeLocation(nullptr, std::move(from)) {} + inline OpcodeLocation& operator=(const OpcodeLocation& from) { + CopyFrom(from); + return *this; + } + inline OpcodeLocation& operator=(OpcodeLocation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const OpcodeLocation& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kAcir = 1, + kBrillig = 2, + VALUE_NOT_SET = 0, + }; + static inline const OpcodeLocation* internal_default_instance() { + return reinterpret_cast( + &_OpcodeLocation_default_instance_); + } + static constexpr int kIndexInFileMessages = 6; + friend void swap(OpcodeLocation& a, OpcodeLocation& b) { a.Swap(&b); } + inline void Swap(OpcodeLocation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(OpcodeLocation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + OpcodeLocation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const OpcodeLocation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const OpcodeLocation& from) { OpcodeLocation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(OpcodeLocation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.OpcodeLocation"; } + + protected: + explicit OpcodeLocation(::google::protobuf::Arena* arena); + OpcodeLocation(::google::protobuf::Arena* arena, const OpcodeLocation& from); + OpcodeLocation(::google::protobuf::Arena* arena, OpcodeLocation&& from) noexcept + : OpcodeLocation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using BrilligLocation = OpcodeLocation_BrilligLocation; + + // accessors ------------------------------------------------------- + enum : int { + kAcirFieldNumber = 1, + kBrilligFieldNumber = 2, + }; + // uint64 acir = 1; + bool has_acir() const; + void clear_acir() ; + ::uint64_t acir() const; + void set_acir(::uint64_t value); + + private: + ::uint64_t _internal_acir() const; + void _internal_set_acir(::uint64_t value); + + public: + // .acvm.acir.circuit.OpcodeLocation.BrilligLocation brillig = 2; + bool has_brillig() const; + private: + bool _internal_has_brillig() const; + + public: + void clear_brillig() ; + const ::acvm::acir::circuit::OpcodeLocation_BrilligLocation& brillig() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* release_brillig(); + ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* mutable_brillig(); + void set_allocated_brillig(::acvm::acir::circuit::OpcodeLocation_BrilligLocation* value); + void unsafe_arena_set_allocated_brillig(::acvm::acir::circuit::OpcodeLocation_BrilligLocation* value); + ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* unsafe_arena_release_brillig(); + + private: + const ::acvm::acir::circuit::OpcodeLocation_BrilligLocation& _internal_brillig() const; + ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* _internal_mutable_brillig(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.OpcodeLocation) + private: + class _Internal; + void set_has_acir(); + void set_has_brillig(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const OpcodeLocation& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::uint64_t acir_; + ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* brillig_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class ExpressionWidth final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.ExpressionWidth) */ { + public: + inline ExpressionWidth() : ExpressionWidth(nullptr) {} + ~ExpressionWidth() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ExpressionWidth* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ExpressionWidth)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ExpressionWidth( + ::google::protobuf::internal::ConstantInitialized); + + inline ExpressionWidth(const ExpressionWidth& from) : ExpressionWidth(nullptr, from) {} + inline ExpressionWidth(ExpressionWidth&& from) noexcept + : ExpressionWidth(nullptr, std::move(from)) {} + inline ExpressionWidth& operator=(const ExpressionWidth& from) { + CopyFrom(from); + return *this; + } + inline ExpressionWidth& operator=(ExpressionWidth&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ExpressionWidth& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kUnbounded = 1, + kBounded = 2, + VALUE_NOT_SET = 0, + }; + static inline const ExpressionWidth* internal_default_instance() { + return reinterpret_cast( + &_ExpressionWidth_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(ExpressionWidth& a, ExpressionWidth& b) { a.Swap(&b); } + inline void Swap(ExpressionWidth* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ExpressionWidth* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ExpressionWidth* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ExpressionWidth& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ExpressionWidth& from) { ExpressionWidth::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ExpressionWidth* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.ExpressionWidth"; } + + protected: + explicit ExpressionWidth(::google::protobuf::Arena* arena); + ExpressionWidth(::google::protobuf::Arena* arena, const ExpressionWidth& from); + ExpressionWidth(::google::protobuf::Arena* arena, ExpressionWidth&& from) noexcept + : ExpressionWidth(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Unbounded = ExpressionWidth_Unbounded; + using Bounded = ExpressionWidth_Bounded; + + // accessors ------------------------------------------------------- + enum : int { + kUnboundedFieldNumber = 1, + kBoundedFieldNumber = 2, + }; + // .acvm.acir.circuit.ExpressionWidth.Unbounded unbounded = 1; + bool has_unbounded() const; + private: + bool _internal_has_unbounded() const; + + public: + void clear_unbounded() ; + const ::acvm::acir::circuit::ExpressionWidth_Unbounded& unbounded() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::ExpressionWidth_Unbounded* release_unbounded(); + ::acvm::acir::circuit::ExpressionWidth_Unbounded* mutable_unbounded(); + void set_allocated_unbounded(::acvm::acir::circuit::ExpressionWidth_Unbounded* value); + void unsafe_arena_set_allocated_unbounded(::acvm::acir::circuit::ExpressionWidth_Unbounded* value); + ::acvm::acir::circuit::ExpressionWidth_Unbounded* unsafe_arena_release_unbounded(); + + private: + const ::acvm::acir::circuit::ExpressionWidth_Unbounded& _internal_unbounded() const; + ::acvm::acir::circuit::ExpressionWidth_Unbounded* _internal_mutable_unbounded(); + + public: + // .acvm.acir.circuit.ExpressionWidth.Bounded bounded = 2; + bool has_bounded() const; + private: + bool _internal_has_bounded() const; + + public: + void clear_bounded() ; + const ::acvm::acir::circuit::ExpressionWidth_Bounded& bounded() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::ExpressionWidth_Bounded* release_bounded(); + ::acvm::acir::circuit::ExpressionWidth_Bounded* mutable_bounded(); + void set_allocated_bounded(::acvm::acir::circuit::ExpressionWidth_Bounded* value); + void unsafe_arena_set_allocated_bounded(::acvm::acir::circuit::ExpressionWidth_Bounded* value); + ::acvm::acir::circuit::ExpressionWidth_Bounded* unsafe_arena_release_bounded(); + + private: + const ::acvm::acir::circuit::ExpressionWidth_Bounded& _internal_bounded() const; + ::acvm::acir::circuit::ExpressionWidth_Bounded* _internal_mutable_bounded(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.ExpressionWidth) + private: + class _Internal; + void set_has_unbounded(); + void set_has_bounded(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ExpressionWidth& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::circuit::ExpressionWidth_Unbounded* unbounded_; + ::acvm::acir::circuit::ExpressionWidth_Bounded* bounded_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class ConstantOrWitnessEnum final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.ConstantOrWitnessEnum) */ { + public: + inline ConstantOrWitnessEnum() : ConstantOrWitnessEnum(nullptr) {} + ~ConstantOrWitnessEnum() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ConstantOrWitnessEnum* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ConstantOrWitnessEnum)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ConstantOrWitnessEnum( + ::google::protobuf::internal::ConstantInitialized); + + inline ConstantOrWitnessEnum(const ConstantOrWitnessEnum& from) : ConstantOrWitnessEnum(nullptr, from) {} + inline ConstantOrWitnessEnum(ConstantOrWitnessEnum&& from) noexcept + : ConstantOrWitnessEnum(nullptr, std::move(from)) {} + inline ConstantOrWitnessEnum& operator=(const ConstantOrWitnessEnum& from) { + CopyFrom(from); + return *this; + } + inline ConstantOrWitnessEnum& operator=(ConstantOrWitnessEnum&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ConstantOrWitnessEnum& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kConstant = 1, + kWitness = 2, + VALUE_NOT_SET = 0, + }; + static inline const ConstantOrWitnessEnum* internal_default_instance() { + return reinterpret_cast( + &_ConstantOrWitnessEnum_default_instance_); + } + static constexpr int kIndexInFileMessages = 36; + friend void swap(ConstantOrWitnessEnum& a, ConstantOrWitnessEnum& b) { a.Swap(&b); } + inline void Swap(ConstantOrWitnessEnum* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ConstantOrWitnessEnum* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ConstantOrWitnessEnum* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ConstantOrWitnessEnum& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ConstantOrWitnessEnum& from) { ConstantOrWitnessEnum::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ConstantOrWitnessEnum* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.ConstantOrWitnessEnum"; } + + protected: + explicit ConstantOrWitnessEnum(::google::protobuf::Arena* arena); + ConstantOrWitnessEnum(::google::protobuf::Arena* arena, const ConstantOrWitnessEnum& from); + ConstantOrWitnessEnum(::google::protobuf::Arena* arena, ConstantOrWitnessEnum&& from) noexcept + : ConstantOrWitnessEnum(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kConstantFieldNumber = 1, + kWitnessFieldNumber = 2, + }; + // .acvm.acir.native.Field constant = 1; + bool has_constant() const; + private: + bool _internal_has_constant() const; + + public: + void clear_constant() ; + const ::acvm::acir::native::Field& constant() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Field* release_constant(); + ::acvm::acir::native::Field* mutable_constant(); + void set_allocated_constant(::acvm::acir::native::Field* value); + void unsafe_arena_set_allocated_constant(::acvm::acir::native::Field* value); + ::acvm::acir::native::Field* unsafe_arena_release_constant(); + + private: + const ::acvm::acir::native::Field& _internal_constant() const; + ::acvm::acir::native::Field* _internal_mutable_constant(); + + public: + // .acvm.acir.native.Witness witness = 2; + bool has_witness() const; + private: + bool _internal_has_witness() const; + + public: + void clear_witness() ; + const ::acvm::acir::native::Witness& witness() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_witness(); + ::acvm::acir::native::Witness* mutable_witness(); + void set_allocated_witness(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_witness(); + + private: + const ::acvm::acir::native::Witness& _internal_witness() const; + ::acvm::acir::native::Witness* _internal_mutable_witness(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.ConstantOrWitnessEnum) + private: + class _Internal; + void set_has_constant(); + void set_has_witness(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ConstantOrWitnessEnum& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::native::Field* constant_; + ::acvm::acir::native::Witness* witness_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BrilligOutputs_Array final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BrilligOutputs.Array) */ { + public: + inline BrilligOutputs_Array() : BrilligOutputs_Array(nullptr) {} + ~BrilligOutputs_Array() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BrilligOutputs_Array* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BrilligOutputs_Array)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BrilligOutputs_Array( + ::google::protobuf::internal::ConstantInitialized); + + inline BrilligOutputs_Array(const BrilligOutputs_Array& from) : BrilligOutputs_Array(nullptr, from) {} + inline BrilligOutputs_Array(BrilligOutputs_Array&& from) noexcept + : BrilligOutputs_Array(nullptr, std::move(from)) {} + inline BrilligOutputs_Array& operator=(const BrilligOutputs_Array& from) { + CopyFrom(from); + return *this; + } + inline BrilligOutputs_Array& operator=(BrilligOutputs_Array&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BrilligOutputs_Array& default_instance() { + return *internal_default_instance(); + } + static inline const BrilligOutputs_Array* internal_default_instance() { + return reinterpret_cast( + &_BrilligOutputs_Array_default_instance_); + } + static constexpr int kIndexInFileMessages = 44; + friend void swap(BrilligOutputs_Array& a, BrilligOutputs_Array& b) { a.Swap(&b); } + inline void Swap(BrilligOutputs_Array* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BrilligOutputs_Array* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BrilligOutputs_Array* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BrilligOutputs_Array& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BrilligOutputs_Array& from) { BrilligOutputs_Array::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BrilligOutputs_Array* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BrilligOutputs.Array"; } + + protected: + explicit BrilligOutputs_Array(::google::protobuf::Arena* arena); + BrilligOutputs_Array(::google::protobuf::Arena* arena, const BrilligOutputs_Array& from); + BrilligOutputs_Array(::google::protobuf::Arena* arena, BrilligOutputs_Array&& from) noexcept + : BrilligOutputs_Array(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValuesFieldNumber = 1, + }; + // repeated .acvm.acir.native.Witness values = 1; + int values_size() const; + private: + int _internal_values_size() const; + + public: + void clear_values() ; + ::acvm::acir::native::Witness* mutable_values(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_values() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_values(); + public: + const ::acvm::acir::native::Witness& values(int index) const; + ::acvm::acir::native::Witness* add_values(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& values() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BrilligOutputs.Array) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BrilligOutputs_Array& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > values_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlockType final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlockType) */ { + public: + inline BlockType() : BlockType(nullptr) {} + ~BlockType() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlockType* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlockType)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlockType( + ::google::protobuf::internal::ConstantInitialized); + + inline BlockType(const BlockType& from) : BlockType(nullptr, from) {} + inline BlockType(BlockType&& from) noexcept + : BlockType(nullptr, std::move(from)) {} + inline BlockType& operator=(const BlockType& from) { + CopyFrom(from); + return *this; + } + inline BlockType& operator=(BlockType&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlockType& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kMemory = 1, + kCallData = 2, + kReturnData = 3, + VALUE_NOT_SET = 0, + }; + static inline const BlockType* internal_default_instance() { + return reinterpret_cast( + &_BlockType_default_instance_); + } + static constexpr int kIndexInFileMessages = 41; + friend void swap(BlockType& a, BlockType& b) { a.Swap(&b); } + inline void Swap(BlockType* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlockType* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlockType* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlockType& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlockType& from) { BlockType::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlockType* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlockType"; } + + protected: + explicit BlockType(::google::protobuf::Arena* arena); + BlockType(::google::protobuf::Arena* arena, const BlockType& from); + BlockType(::google::protobuf::Arena* arena, BlockType&& from) noexcept + : BlockType(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Memory = BlockType_Memory; + using CallData = BlockType_CallData; + using ReturnData = BlockType_ReturnData; + + // accessors ------------------------------------------------------- + enum : int { + kMemoryFieldNumber = 1, + kCallDataFieldNumber = 2, + kReturnDataFieldNumber = 3, + }; + // .acvm.acir.circuit.BlockType.Memory memory = 1; + bool has_memory() const; + private: + bool _internal_has_memory() const; + + public: + void clear_memory() ; + const ::acvm::acir::circuit::BlockType_Memory& memory() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlockType_Memory* release_memory(); + ::acvm::acir::circuit::BlockType_Memory* mutable_memory(); + void set_allocated_memory(::acvm::acir::circuit::BlockType_Memory* value); + void unsafe_arena_set_allocated_memory(::acvm::acir::circuit::BlockType_Memory* value); + ::acvm::acir::circuit::BlockType_Memory* unsafe_arena_release_memory(); + + private: + const ::acvm::acir::circuit::BlockType_Memory& _internal_memory() const; + ::acvm::acir::circuit::BlockType_Memory* _internal_mutable_memory(); + + public: + // .acvm.acir.circuit.BlockType.CallData call_data = 2; + bool has_call_data() const; + private: + bool _internal_has_call_data() const; + + public: + void clear_call_data() ; + const ::acvm::acir::circuit::BlockType_CallData& call_data() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlockType_CallData* release_call_data(); + ::acvm::acir::circuit::BlockType_CallData* mutable_call_data(); + void set_allocated_call_data(::acvm::acir::circuit::BlockType_CallData* value); + void unsafe_arena_set_allocated_call_data(::acvm::acir::circuit::BlockType_CallData* value); + ::acvm::acir::circuit::BlockType_CallData* unsafe_arena_release_call_data(); + + private: + const ::acvm::acir::circuit::BlockType_CallData& _internal_call_data() const; + ::acvm::acir::circuit::BlockType_CallData* _internal_mutable_call_data(); + + public: + // .acvm.acir.circuit.BlockType.ReturnData return_data = 3; + bool has_return_data() const; + private: + bool _internal_has_return_data() const; + + public: + void clear_return_data() ; + const ::acvm::acir::circuit::BlockType_ReturnData& return_data() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlockType_ReturnData* release_return_data(); + ::acvm::acir::circuit::BlockType_ReturnData* mutable_return_data(); + void set_allocated_return_data(::acvm::acir::circuit::BlockType_ReturnData* value); + void unsafe_arena_set_allocated_return_data(::acvm::acir::circuit::BlockType_ReturnData* value); + ::acvm::acir::circuit::BlockType_ReturnData* unsafe_arena_release_return_data(); + + private: + const ::acvm::acir::circuit::BlockType_ReturnData& _internal_return_data() const; + ::acvm::acir::circuit::BlockType_ReturnData* _internal_mutable_return_data(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlockType) + private: + class _Internal; + void set_has_memory(); + void set_has_call_data(); + void set_has_return_data(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlockType& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::circuit::BlockType_Memory* memory_; + ::acvm::acir::circuit::BlockType_CallData* call_data_; + ::acvm::acir::circuit::BlockType_ReturnData* return_data_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntToLeBytes final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) */ { + public: + inline BlackBoxFuncCall_BigIntToLeBytes() : BlackBoxFuncCall_BigIntToLeBytes(nullptr) {} + ~BlackBoxFuncCall_BigIntToLeBytes() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntToLeBytes* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntToLeBytes)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntToLeBytes( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntToLeBytes(const BlackBoxFuncCall_BigIntToLeBytes& from) : BlackBoxFuncCall_BigIntToLeBytes(nullptr, from) {} + inline BlackBoxFuncCall_BigIntToLeBytes(BlackBoxFuncCall_BigIntToLeBytes&& from) noexcept + : BlackBoxFuncCall_BigIntToLeBytes(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntToLeBytes& operator=(const BlackBoxFuncCall_BigIntToLeBytes& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntToLeBytes& operator=(BlackBoxFuncCall_BigIntToLeBytes&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntToLeBytes& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntToLeBytes* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntToLeBytes_default_instance_); + } + static constexpr int kIndexInFileMessages = 31; + friend void swap(BlackBoxFuncCall_BigIntToLeBytes& a, BlackBoxFuncCall_BigIntToLeBytes& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntToLeBytes* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntToLeBytes* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntToLeBytes* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntToLeBytes& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntToLeBytes& from) { BlackBoxFuncCall_BigIntToLeBytes::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntToLeBytes* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes"; } + + protected: + explicit BlackBoxFuncCall_BigIntToLeBytes(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntToLeBytes(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntToLeBytes& from); + BlackBoxFuncCall_BigIntToLeBytes(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntToLeBytes&& from) noexcept + : BlackBoxFuncCall_BigIntToLeBytes(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOutputsFieldNumber = 2, + kInputFieldNumber = 1, + }; + // repeated .acvm.acir.native.Witness outputs = 2; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // uint32 input = 1; + void clear_input() ; + ::uint32_t input() const; + void set_input(::uint32_t value); + + private: + ::uint32_t _internal_input() const; + void _internal_set_input(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntToLeBytes& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::uint32_t input_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Opcode_MemoryInit final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Opcode.MemoryInit) */ { + public: + inline Opcode_MemoryInit() : Opcode_MemoryInit(nullptr) {} + ~Opcode_MemoryInit() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Opcode_MemoryInit* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Opcode_MemoryInit)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Opcode_MemoryInit( + ::google::protobuf::internal::ConstantInitialized); + + inline Opcode_MemoryInit(const Opcode_MemoryInit& from) : Opcode_MemoryInit(nullptr, from) {} + inline Opcode_MemoryInit(Opcode_MemoryInit&& from) noexcept + : Opcode_MemoryInit(nullptr, std::move(from)) {} + inline Opcode_MemoryInit& operator=(const Opcode_MemoryInit& from) { + CopyFrom(from); + return *this; + } + inline Opcode_MemoryInit& operator=(Opcode_MemoryInit&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Opcode_MemoryInit& default_instance() { + return *internal_default_instance(); + } + static inline const Opcode_MemoryInit* internal_default_instance() { + return reinterpret_cast( + &_Opcode_MemoryInit_default_instance_); + } + static constexpr int kIndexInFileMessages = 10; + friend void swap(Opcode_MemoryInit& a, Opcode_MemoryInit& b) { a.Swap(&b); } + inline void Swap(Opcode_MemoryInit* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Opcode_MemoryInit* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Opcode_MemoryInit* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Opcode_MemoryInit& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Opcode_MemoryInit& from) { Opcode_MemoryInit::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Opcode_MemoryInit* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Opcode.MemoryInit"; } + + protected: + explicit Opcode_MemoryInit(::google::protobuf::Arena* arena); + Opcode_MemoryInit(::google::protobuf::Arena* arena, const Opcode_MemoryInit& from); + Opcode_MemoryInit(::google::protobuf::Arena* arena, Opcode_MemoryInit&& from) noexcept + : Opcode_MemoryInit(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInitFieldNumber = 2, + kBlockTypeFieldNumber = 3, + kBlockIdFieldNumber = 1, + }; + // repeated .acvm.acir.native.Witness init = 2; + int init_size() const; + private: + int _internal_init_size() const; + + public: + void clear_init() ; + ::acvm::acir::native::Witness* mutable_init(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_init(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_init() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_init(); + public: + const ::acvm::acir::native::Witness& init(int index) const; + ::acvm::acir::native::Witness* add_init(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& init() const; + // .acvm.acir.circuit.BlockType block_type = 3; + bool has_block_type() const; + void clear_block_type() ; + const ::acvm::acir::circuit::BlockType& block_type() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlockType* release_block_type(); + ::acvm::acir::circuit::BlockType* mutable_block_type(); + void set_allocated_block_type(::acvm::acir::circuit::BlockType* value); + void unsafe_arena_set_allocated_block_type(::acvm::acir::circuit::BlockType* value); + ::acvm::acir::circuit::BlockType* unsafe_arena_release_block_type(); + + private: + const ::acvm::acir::circuit::BlockType& _internal_block_type() const; + ::acvm::acir::circuit::BlockType* _internal_mutable_block_type(); + + public: + // uint32 block_id = 1; + void clear_block_id() ; + ::uint32_t block_id() const; + void set_block_id(::uint32_t value); + + private: + ::uint32_t _internal_block_id() const; + void _internal_set_block_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Opcode.MemoryInit) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Opcode_MemoryInit& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > init_; + ::acvm::acir::circuit::BlockType* block_type_; + ::uint32_t block_id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class FunctionInput final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.FunctionInput) */ { + public: + inline FunctionInput() : FunctionInput(nullptr) {} + ~FunctionInput() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(FunctionInput* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(FunctionInput)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR FunctionInput( + ::google::protobuf::internal::ConstantInitialized); + + inline FunctionInput(const FunctionInput& from) : FunctionInput(nullptr, from) {} + inline FunctionInput(FunctionInput&& from) noexcept + : FunctionInput(nullptr, std::move(from)) {} + inline FunctionInput& operator=(const FunctionInput& from) { + CopyFrom(from); + return *this; + } + inline FunctionInput& operator=(FunctionInput&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const FunctionInput& default_instance() { + return *internal_default_instance(); + } + static inline const FunctionInput* internal_default_instance() { + return reinterpret_cast( + &_FunctionInput_default_instance_); + } + static constexpr int kIndexInFileMessages = 35; + friend void swap(FunctionInput& a, FunctionInput& b) { a.Swap(&b); } + inline void Swap(FunctionInput* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(FunctionInput* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + FunctionInput* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const FunctionInput& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const FunctionInput& from) { FunctionInput::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(FunctionInput* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.FunctionInput"; } + + protected: + explicit FunctionInput(::google::protobuf::Arena* arena); + FunctionInput(::google::protobuf::Arena* arena, const FunctionInput& from); + FunctionInput(::google::protobuf::Arena* arena, FunctionInput&& from) noexcept + : FunctionInput(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputFieldNumber = 1, + kNumBitsFieldNumber = 2, + }; + // .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; + bool has_input() const; + void clear_input() ; + const ::acvm::acir::circuit::ConstantOrWitnessEnum& input() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::ConstantOrWitnessEnum* release_input(); + ::acvm::acir::circuit::ConstantOrWitnessEnum* mutable_input(); + void set_allocated_input(::acvm::acir::circuit::ConstantOrWitnessEnum* value); + void unsafe_arena_set_allocated_input(::acvm::acir::circuit::ConstantOrWitnessEnum* value); + ::acvm::acir::circuit::ConstantOrWitnessEnum* unsafe_arena_release_input(); + + private: + const ::acvm::acir::circuit::ConstantOrWitnessEnum& _internal_input() const; + ::acvm::acir::circuit::ConstantOrWitnessEnum* _internal_mutable_input(); + + public: + // uint32 num_bits = 2; + void clear_num_bits() ; + ::uint32_t num_bits() const; + void set_num_bits(::uint32_t value); + + private: + ::uint32_t _internal_num_bits() const; + void _internal_set_num_bits(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.FunctionInput) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const FunctionInput& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::ConstantOrWitnessEnum* input_; + ::uint32_t num_bits_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BrilligOutputs final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BrilligOutputs) */ { + public: + inline BrilligOutputs() : BrilligOutputs(nullptr) {} + ~BrilligOutputs() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BrilligOutputs* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BrilligOutputs)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BrilligOutputs( + ::google::protobuf::internal::ConstantInitialized); + + inline BrilligOutputs(const BrilligOutputs& from) : BrilligOutputs(nullptr, from) {} + inline BrilligOutputs(BrilligOutputs&& from) noexcept + : BrilligOutputs(nullptr, std::move(from)) {} + inline BrilligOutputs& operator=(const BrilligOutputs& from) { + CopyFrom(from); + return *this; + } + inline BrilligOutputs& operator=(BrilligOutputs&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BrilligOutputs& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kSimple = 1, + kArray = 2, + VALUE_NOT_SET = 0, + }; + static inline const BrilligOutputs* internal_default_instance() { + return reinterpret_cast( + &_BrilligOutputs_default_instance_); + } + static constexpr int kIndexInFileMessages = 45; + friend void swap(BrilligOutputs& a, BrilligOutputs& b) { a.Swap(&b); } + inline void Swap(BrilligOutputs* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BrilligOutputs* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BrilligOutputs* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BrilligOutputs& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BrilligOutputs& from) { BrilligOutputs::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BrilligOutputs* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BrilligOutputs"; } + + protected: + explicit BrilligOutputs(::google::protobuf::Arena* arena); + BrilligOutputs(::google::protobuf::Arena* arena, const BrilligOutputs& from); + BrilligOutputs(::google::protobuf::Arena* arena, BrilligOutputs&& from) noexcept + : BrilligOutputs(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Array = BrilligOutputs_Array; + + // accessors ------------------------------------------------------- + enum : int { + kSimpleFieldNumber = 1, + kArrayFieldNumber = 2, + }; + // .acvm.acir.native.Witness simple = 1; + bool has_simple() const; + private: + bool _internal_has_simple() const; + + public: + void clear_simple() ; + const ::acvm::acir::native::Witness& simple() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_simple(); + ::acvm::acir::native::Witness* mutable_simple(); + void set_allocated_simple(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_simple(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_simple(); + + private: + const ::acvm::acir::native::Witness& _internal_simple() const; + ::acvm::acir::native::Witness* _internal_mutable_simple(); + + public: + // .acvm.acir.circuit.BrilligOutputs.Array array = 2; + bool has_array() const; + private: + bool _internal_has_array() const; + + public: + void clear_array() ; + const ::acvm::acir::circuit::BrilligOutputs_Array& array() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BrilligOutputs_Array* release_array(); + ::acvm::acir::circuit::BrilligOutputs_Array* mutable_array(); + void set_allocated_array(::acvm::acir::circuit::BrilligOutputs_Array* value); + void unsafe_arena_set_allocated_array(::acvm::acir::circuit::BrilligOutputs_Array* value); + ::acvm::acir::circuit::BrilligOutputs_Array* unsafe_arena_release_array(); + + private: + const ::acvm::acir::circuit::BrilligOutputs_Array& _internal_array() const; + ::acvm::acir::circuit::BrilligOutputs_Array* _internal_mutable_array(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BrilligOutputs) + private: + class _Internal; + void set_has_simple(); + void set_has_array(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BrilligOutputs& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::native::Witness* simple_; + ::acvm::acir::circuit::BrilligOutputs_Array* array_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Opcode_Call final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Opcode.Call) */ { + public: + inline Opcode_Call() : Opcode_Call(nullptr) {} + ~Opcode_Call() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Opcode_Call* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Opcode_Call)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Opcode_Call( + ::google::protobuf::internal::ConstantInitialized); + + inline Opcode_Call(const Opcode_Call& from) : Opcode_Call(nullptr, from) {} + inline Opcode_Call(Opcode_Call&& from) noexcept + : Opcode_Call(nullptr, std::move(from)) {} + inline Opcode_Call& operator=(const Opcode_Call& from) { + CopyFrom(from); + return *this; + } + inline Opcode_Call& operator=(Opcode_Call&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Opcode_Call& default_instance() { + return *internal_default_instance(); + } + static inline const Opcode_Call* internal_default_instance() { + return reinterpret_cast( + &_Opcode_Call_default_instance_); + } + static constexpr int kIndexInFileMessages = 12; + friend void swap(Opcode_Call& a, Opcode_Call& b) { a.Swap(&b); } + inline void Swap(Opcode_Call* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Opcode_Call* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Opcode_Call* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Opcode_Call& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Opcode_Call& from) { Opcode_Call::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Opcode_Call* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Opcode.Call"; } + + protected: + explicit Opcode_Call(::google::protobuf::Arena* arena); + Opcode_Call(::google::protobuf::Arena* arena, const Opcode_Call& from); + Opcode_Call(::google::protobuf::Arena* arena, Opcode_Call&& from) noexcept + : Opcode_Call(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 2, + kOutputsFieldNumber = 3, + kPredicateFieldNumber = 4, + kIdFieldNumber = 1, + }; + // repeated .acvm.acir.native.Witness inputs = 2; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::native::Witness* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_inputs(); + public: + const ::acvm::acir::native::Witness& inputs(int index) const; + ::acvm::acir::native::Witness* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& inputs() const; + // repeated .acvm.acir.native.Witness outputs = 3; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // optional .acvm.acir.native.Expression predicate = 4; + bool has_predicate() const; + void clear_predicate() ; + const ::acvm::acir::native::Expression& predicate() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_predicate(); + ::acvm::acir::native::Expression* mutable_predicate(); + void set_allocated_predicate(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_predicate(); + + private: + const ::acvm::acir::native::Expression& _internal_predicate() const; + ::acvm::acir::native::Expression* _internal_mutable_predicate(); + + public: + // uint32 id = 1; + void clear_id() ; + ::uint32_t id() const; + void set_id(::uint32_t value); + + private: + ::uint32_t _internal_id() const; + void _internal_set_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Opcode.Call) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Opcode_Call& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::acvm::acir::native::Expression* predicate_; + ::uint32_t id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class MemOp final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.MemOp) */ { + public: + inline MemOp() : MemOp(nullptr) {} + ~MemOp() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(MemOp* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(MemOp)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR MemOp( + ::google::protobuf::internal::ConstantInitialized); + + inline MemOp(const MemOp& from) : MemOp(nullptr, from) {} + inline MemOp(MemOp&& from) noexcept + : MemOp(nullptr, std::move(from)) {} + inline MemOp& operator=(const MemOp& from) { + CopyFrom(from); + return *this; + } + inline MemOp& operator=(MemOp&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const MemOp& default_instance() { + return *internal_default_instance(); + } + static inline const MemOp* internal_default_instance() { + return reinterpret_cast( + &_MemOp_default_instance_); + } + static constexpr int kIndexInFileMessages = 37; + friend void swap(MemOp& a, MemOp& b) { a.Swap(&b); } + inline void Swap(MemOp* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(MemOp* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + MemOp* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const MemOp& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const MemOp& from) { MemOp::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(MemOp* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.MemOp"; } + + protected: + explicit MemOp(::google::protobuf::Arena* arena); + MemOp(::google::protobuf::Arena* arena, const MemOp& from); + MemOp(::google::protobuf::Arena* arena, MemOp&& from) noexcept + : MemOp(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOperationFieldNumber = 1, + kIndexFieldNumber = 2, + kValueFieldNumber = 3, + }; + // .acvm.acir.native.Expression operation = 1; + bool has_operation() const; + void clear_operation() ; + const ::acvm::acir::native::Expression& operation() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_operation(); + ::acvm::acir::native::Expression* mutable_operation(); + void set_allocated_operation(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_operation(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_operation(); + + private: + const ::acvm::acir::native::Expression& _internal_operation() const; + ::acvm::acir::native::Expression* _internal_mutable_operation(); + + public: + // .acvm.acir.native.Expression index = 2; + bool has_index() const; + void clear_index() ; + const ::acvm::acir::native::Expression& index() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_index(); + ::acvm::acir::native::Expression* mutable_index(); + void set_allocated_index(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_index(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_index(); + + private: + const ::acvm::acir::native::Expression& _internal_index() const; + ::acvm::acir::native::Expression* _internal_mutable_index(); + + public: + // .acvm.acir.native.Expression value = 3; + bool has_value() const; + void clear_value() ; + const ::acvm::acir::native::Expression& value() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_value(); + ::acvm::acir::native::Expression* mutable_value(); + void set_allocated_value(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_value(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_value(); + + private: + const ::acvm::acir::native::Expression& _internal_value() const; + ::acvm::acir::native::Expression* _internal_mutable_value(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.MemOp) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const MemOp& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::native::Expression* operation_; + ::acvm::acir::native::Expression* index_; + ::acvm::acir::native::Expression* value_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class ExpressionOrMemory final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.ExpressionOrMemory) */ { + public: + inline ExpressionOrMemory() : ExpressionOrMemory(nullptr) {} + ~ExpressionOrMemory() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(ExpressionOrMemory* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(ExpressionOrMemory)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR ExpressionOrMemory( + ::google::protobuf::internal::ConstantInitialized); + + inline ExpressionOrMemory(const ExpressionOrMemory& from) : ExpressionOrMemory(nullptr, from) {} + inline ExpressionOrMemory(ExpressionOrMemory&& from) noexcept + : ExpressionOrMemory(nullptr, std::move(from)) {} + inline ExpressionOrMemory& operator=(const ExpressionOrMemory& from) { + CopyFrom(from); + return *this; + } + inline ExpressionOrMemory& operator=(ExpressionOrMemory&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const ExpressionOrMemory& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kExpression = 1, + kMemory = 2, + VALUE_NOT_SET = 0, + }; + static inline const ExpressionOrMemory* internal_default_instance() { + return reinterpret_cast( + &_ExpressionOrMemory_default_instance_); + } + static constexpr int kIndexInFileMessages = 8; + friend void swap(ExpressionOrMemory& a, ExpressionOrMemory& b) { a.Swap(&b); } + inline void Swap(ExpressionOrMemory* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(ExpressionOrMemory* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + ExpressionOrMemory* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const ExpressionOrMemory& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const ExpressionOrMemory& from) { ExpressionOrMemory::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(ExpressionOrMemory* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.ExpressionOrMemory"; } + + protected: + explicit ExpressionOrMemory(::google::protobuf::Arena* arena); + ExpressionOrMemory(::google::protobuf::Arena* arena, const ExpressionOrMemory& from); + ExpressionOrMemory(::google::protobuf::Arena* arena, ExpressionOrMemory&& from) noexcept + : ExpressionOrMemory(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kExpressionFieldNumber = 1, + kMemoryFieldNumber = 2, + }; + // .acvm.acir.native.Expression expression = 1; + bool has_expression() const; + private: + bool _internal_has_expression() const; + + public: + void clear_expression() ; + const ::acvm::acir::native::Expression& expression() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_expression(); + ::acvm::acir::native::Expression* mutable_expression(); + void set_allocated_expression(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_expression(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_expression(); + + private: + const ::acvm::acir::native::Expression& _internal_expression() const; + ::acvm::acir::native::Expression* _internal_mutable_expression(); + + public: + // uint32 memory = 2; + bool has_memory() const; + void clear_memory() ; + ::uint32_t memory() const; + void set_memory(::uint32_t value); + + private: + ::uint32_t _internal_memory() const; + void _internal_set_memory(::uint32_t value); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.ExpressionOrMemory) + private: + class _Internal; + void set_has_expression(); + void set_has_memory(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const ExpressionOrMemory& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::native::Expression* expression_; + ::uint32_t memory_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BrilligInputs_Array final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BrilligInputs.Array) */ { + public: + inline BrilligInputs_Array() : BrilligInputs_Array(nullptr) {} + ~BrilligInputs_Array() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BrilligInputs_Array* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BrilligInputs_Array)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BrilligInputs_Array( + ::google::protobuf::internal::ConstantInitialized); + + inline BrilligInputs_Array(const BrilligInputs_Array& from) : BrilligInputs_Array(nullptr, from) {} + inline BrilligInputs_Array(BrilligInputs_Array&& from) noexcept + : BrilligInputs_Array(nullptr, std::move(from)) {} + inline BrilligInputs_Array& operator=(const BrilligInputs_Array& from) { + CopyFrom(from); + return *this; + } + inline BrilligInputs_Array& operator=(BrilligInputs_Array&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BrilligInputs_Array& default_instance() { + return *internal_default_instance(); + } + static inline const BrilligInputs_Array* internal_default_instance() { + return reinterpret_cast( + &_BrilligInputs_Array_default_instance_); + } + static constexpr int kIndexInFileMessages = 42; + friend void swap(BrilligInputs_Array& a, BrilligInputs_Array& b) { a.Swap(&b); } + inline void Swap(BrilligInputs_Array* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BrilligInputs_Array* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BrilligInputs_Array* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BrilligInputs_Array& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BrilligInputs_Array& from) { BrilligInputs_Array::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BrilligInputs_Array* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BrilligInputs.Array"; } + + protected: + explicit BrilligInputs_Array(::google::protobuf::Arena* arena); + BrilligInputs_Array(::google::protobuf::Arena* arena, const BrilligInputs_Array& from); + BrilligInputs_Array(::google::protobuf::Arena* arena, BrilligInputs_Array&& from) noexcept + : BrilligInputs_Array(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValuesFieldNumber = 2, + }; + // repeated .acvm.acir.native.Expression values = 2; + int values_size() const; + private: + int _internal_values_size() const; + + public: + void clear_values() ; + ::acvm::acir::native::Expression* mutable_values(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>* mutable_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>& _internal_values() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>* _internal_mutable_values(); + public: + const ::acvm::acir::native::Expression& values(int index) const; + ::acvm::acir::native::Expression* add_values(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>& values() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BrilligInputs.Array) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BrilligInputs_Array& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Expression > values_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_XOR final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.XOR) */ { + public: + inline BlackBoxFuncCall_XOR() : BlackBoxFuncCall_XOR(nullptr) {} + ~BlackBoxFuncCall_XOR() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_XOR* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_XOR)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_XOR( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_XOR(const BlackBoxFuncCall_XOR& from) : BlackBoxFuncCall_XOR(nullptr, from) {} + inline BlackBoxFuncCall_XOR(BlackBoxFuncCall_XOR&& from) noexcept + : BlackBoxFuncCall_XOR(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_XOR& operator=(const BlackBoxFuncCall_XOR& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_XOR& operator=(BlackBoxFuncCall_XOR&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_XOR& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_XOR* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_XOR_default_instance_); + } + static constexpr int kIndexInFileMessages = 16; + friend void swap(BlackBoxFuncCall_XOR& a, BlackBoxFuncCall_XOR& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_XOR* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_XOR* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_XOR* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_XOR& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_XOR& from) { BlackBoxFuncCall_XOR::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_XOR* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.XOR"; } + + protected: + explicit BlackBoxFuncCall_XOR(::google::protobuf::Arena* arena); + BlackBoxFuncCall_XOR(::google::protobuf::Arena* arena, const BlackBoxFuncCall_XOR& from); + BlackBoxFuncCall_XOR(::google::protobuf::Arena* arena, BlackBoxFuncCall_XOR&& from) noexcept + : BlackBoxFuncCall_XOR(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // .acvm.acir.circuit.FunctionInput lhs = 1; + bool has_lhs() const; + void clear_lhs() ; + const ::acvm::acir::circuit::FunctionInput& lhs() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_lhs(); + ::acvm::acir::circuit::FunctionInput* mutable_lhs(); + void set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_lhs(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_lhs() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_lhs(); + + public: + // .acvm.acir.circuit.FunctionInput rhs = 2; + bool has_rhs() const; + void clear_rhs() ; + const ::acvm::acir::circuit::FunctionInput& rhs() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_rhs(); + ::acvm::acir::circuit::FunctionInput* mutable_rhs(); + void set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_rhs(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_rhs() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_rhs(); + + public: + // .acvm.acir.native.Witness output = 3; + bool has_output() const; + void clear_output() ; + const ::acvm::acir::native::Witness& output() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_output(); + ::acvm::acir::native::Witness* mutable_output(); + void set_allocated_output(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_output(); + + private: + const ::acvm::acir::native::Witness& _internal_output() const; + ::acvm::acir::native::Witness* _internal_mutable_output(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.XOR) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_XOR& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::FunctionInput* lhs_; + ::acvm::acir::circuit::FunctionInput* rhs_; + ::acvm::acir::native::Witness* output_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_Sha256Compression final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) */ { + public: + inline BlackBoxFuncCall_Sha256Compression() : BlackBoxFuncCall_Sha256Compression(nullptr) {} + ~BlackBoxFuncCall_Sha256Compression() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_Sha256Compression* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_Sha256Compression)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_Sha256Compression( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_Sha256Compression(const BlackBoxFuncCall_Sha256Compression& from) : BlackBoxFuncCall_Sha256Compression(nullptr, from) {} + inline BlackBoxFuncCall_Sha256Compression(BlackBoxFuncCall_Sha256Compression&& from) noexcept + : BlackBoxFuncCall_Sha256Compression(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_Sha256Compression& operator=(const BlackBoxFuncCall_Sha256Compression& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_Sha256Compression& operator=(BlackBoxFuncCall_Sha256Compression&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_Sha256Compression& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_Sha256Compression* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_Sha256Compression_default_instance_); + } + static constexpr int kIndexInFileMessages = 33; + friend void swap(BlackBoxFuncCall_Sha256Compression& a, BlackBoxFuncCall_Sha256Compression& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_Sha256Compression* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_Sha256Compression* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_Sha256Compression* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_Sha256Compression& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_Sha256Compression& from) { BlackBoxFuncCall_Sha256Compression::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_Sha256Compression* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression"; } + + protected: + explicit BlackBoxFuncCall_Sha256Compression(::google::protobuf::Arena* arena); + BlackBoxFuncCall_Sha256Compression(::google::protobuf::Arena* arena, const BlackBoxFuncCall_Sha256Compression& from); + BlackBoxFuncCall_Sha256Compression(::google::protobuf::Arena* arena, BlackBoxFuncCall_Sha256Compression&& from) noexcept + : BlackBoxFuncCall_Sha256Compression(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kHashValuesFieldNumber = 2, + kOutputsFieldNumber = 3, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.circuit.FunctionInput hash_values = 2; + int hash_values_size() const; + private: + int _internal_hash_values_size() const; + + public: + void clear_hash_values() ; + ::acvm::acir::circuit::FunctionInput* mutable_hash_values(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_hash_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_hash_values() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_hash_values(); + public: + const ::acvm::acir::circuit::FunctionInput& hash_values(int index) const; + ::acvm::acir::circuit::FunctionInput* add_hash_values(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& hash_values() const; + // repeated .acvm.acir.native.Witness outputs = 3; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_Sha256Compression& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > hash_values_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_RecursiveAggregation final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) */ { + public: + inline BlackBoxFuncCall_RecursiveAggregation() : BlackBoxFuncCall_RecursiveAggregation(nullptr) {} + ~BlackBoxFuncCall_RecursiveAggregation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_RecursiveAggregation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_RecursiveAggregation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_RecursiveAggregation( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_RecursiveAggregation(const BlackBoxFuncCall_RecursiveAggregation& from) : BlackBoxFuncCall_RecursiveAggregation(nullptr, from) {} + inline BlackBoxFuncCall_RecursiveAggregation(BlackBoxFuncCall_RecursiveAggregation&& from) noexcept + : BlackBoxFuncCall_RecursiveAggregation(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_RecursiveAggregation& operator=(const BlackBoxFuncCall_RecursiveAggregation& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_RecursiveAggregation& operator=(BlackBoxFuncCall_RecursiveAggregation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_RecursiveAggregation& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_RecursiveAggregation* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_RecursiveAggregation_default_instance_); + } + static constexpr int kIndexInFileMessages = 25; + friend void swap(BlackBoxFuncCall_RecursiveAggregation& a, BlackBoxFuncCall_RecursiveAggregation& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_RecursiveAggregation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_RecursiveAggregation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_RecursiveAggregation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_RecursiveAggregation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_RecursiveAggregation& from) { BlackBoxFuncCall_RecursiveAggregation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_RecursiveAggregation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation"; } + + protected: + explicit BlackBoxFuncCall_RecursiveAggregation(::google::protobuf::Arena* arena); + BlackBoxFuncCall_RecursiveAggregation(::google::protobuf::Arena* arena, const BlackBoxFuncCall_RecursiveAggregation& from); + BlackBoxFuncCall_RecursiveAggregation(::google::protobuf::Arena* arena, BlackBoxFuncCall_RecursiveAggregation&& from) noexcept + : BlackBoxFuncCall_RecursiveAggregation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kVerificationKeyFieldNumber = 1, + kProofFieldNumber = 2, + kPublicInputsFieldNumber = 3, + kKeyHashFieldNumber = 4, + kProofTypeFieldNumber = 5, + }; + // repeated .acvm.acir.circuit.FunctionInput verification_key = 1; + int verification_key_size() const; + private: + int _internal_verification_key_size() const; + + public: + void clear_verification_key() ; + ::acvm::acir::circuit::FunctionInput* mutable_verification_key(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_verification_key(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_verification_key() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_verification_key(); + public: + const ::acvm::acir::circuit::FunctionInput& verification_key(int index) const; + ::acvm::acir::circuit::FunctionInput* add_verification_key(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& verification_key() const; + // repeated .acvm.acir.circuit.FunctionInput proof = 2; + int proof_size() const; + private: + int _internal_proof_size() const; + + public: + void clear_proof() ; + ::acvm::acir::circuit::FunctionInput* mutable_proof(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_proof(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_proof() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_proof(); + public: + const ::acvm::acir::circuit::FunctionInput& proof(int index) const; + ::acvm::acir::circuit::FunctionInput* add_proof(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& proof() const; + // repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; + int public_inputs_size() const; + private: + int _internal_public_inputs_size() const; + + public: + void clear_public_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_public_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_public_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_public_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_public_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& public_inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_public_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& public_inputs() const; + // .acvm.acir.circuit.FunctionInput key_hash = 4; + bool has_key_hash() const; + void clear_key_hash() ; + const ::acvm::acir::circuit::FunctionInput& key_hash() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_key_hash(); + ::acvm::acir::circuit::FunctionInput* mutable_key_hash(); + void set_allocated_key_hash(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_key_hash(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_key_hash(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_key_hash() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_key_hash(); + + public: + // uint32 proof_type = 5; + void clear_proof_type() ; + ::uint32_t proof_type() const; + void set_proof_type(::uint32_t value); + + private: + ::uint32_t _internal_proof_type() const; + void _internal_set_proof_type(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_RecursiveAggregation& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > verification_key_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > proof_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > public_inputs_; + ::acvm::acir::circuit::FunctionInput* key_hash_; + ::uint32_t proof_type_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_RANGE final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.RANGE) */ { + public: + inline BlackBoxFuncCall_RANGE() : BlackBoxFuncCall_RANGE(nullptr) {} + ~BlackBoxFuncCall_RANGE() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_RANGE* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_RANGE)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_RANGE( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_RANGE(const BlackBoxFuncCall_RANGE& from) : BlackBoxFuncCall_RANGE(nullptr, from) {} + inline BlackBoxFuncCall_RANGE(BlackBoxFuncCall_RANGE&& from) noexcept + : BlackBoxFuncCall_RANGE(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_RANGE& operator=(const BlackBoxFuncCall_RANGE& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_RANGE& operator=(BlackBoxFuncCall_RANGE&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_RANGE& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_RANGE* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_RANGE_default_instance_); + } + static constexpr int kIndexInFileMessages = 17; + friend void swap(BlackBoxFuncCall_RANGE& a, BlackBoxFuncCall_RANGE& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_RANGE* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_RANGE* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_RANGE* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_RANGE& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_RANGE& from) { BlackBoxFuncCall_RANGE::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_RANGE* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.RANGE"; } + + protected: + explicit BlackBoxFuncCall_RANGE(::google::protobuf::Arena* arena); + BlackBoxFuncCall_RANGE(::google::protobuf::Arena* arena, const BlackBoxFuncCall_RANGE& from); + BlackBoxFuncCall_RANGE(::google::protobuf::Arena* arena, BlackBoxFuncCall_RANGE&& from) noexcept + : BlackBoxFuncCall_RANGE(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputFieldNumber = 1, + }; + // .acvm.acir.circuit.FunctionInput input = 1; + bool has_input() const; + void clear_input() ; + const ::acvm::acir::circuit::FunctionInput& input() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_input(); + ::acvm::acir::circuit::FunctionInput* mutable_input(); + void set_allocated_input(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_input(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_input(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_input() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_input(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.RANGE) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_RANGE& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::FunctionInput* input_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_Poseidon2Permutation final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) */ { + public: + inline BlackBoxFuncCall_Poseidon2Permutation() : BlackBoxFuncCall_Poseidon2Permutation(nullptr) {} + ~BlackBoxFuncCall_Poseidon2Permutation() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_Poseidon2Permutation* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_Poseidon2Permutation)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_Poseidon2Permutation( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_Poseidon2Permutation(const BlackBoxFuncCall_Poseidon2Permutation& from) : BlackBoxFuncCall_Poseidon2Permutation(nullptr, from) {} + inline BlackBoxFuncCall_Poseidon2Permutation(BlackBoxFuncCall_Poseidon2Permutation&& from) noexcept + : BlackBoxFuncCall_Poseidon2Permutation(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_Poseidon2Permutation& operator=(const BlackBoxFuncCall_Poseidon2Permutation& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_Poseidon2Permutation& operator=(BlackBoxFuncCall_Poseidon2Permutation&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_Poseidon2Permutation& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_Poseidon2Permutation* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_Poseidon2Permutation_default_instance_); + } + static constexpr int kIndexInFileMessages = 32; + friend void swap(BlackBoxFuncCall_Poseidon2Permutation& a, BlackBoxFuncCall_Poseidon2Permutation& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_Poseidon2Permutation* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_Poseidon2Permutation* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_Poseidon2Permutation* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_Poseidon2Permutation& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_Poseidon2Permutation& from) { BlackBoxFuncCall_Poseidon2Permutation::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_Poseidon2Permutation* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation"; } + + protected: + explicit BlackBoxFuncCall_Poseidon2Permutation(::google::protobuf::Arena* arena); + BlackBoxFuncCall_Poseidon2Permutation(::google::protobuf::Arena* arena, const BlackBoxFuncCall_Poseidon2Permutation& from); + BlackBoxFuncCall_Poseidon2Permutation(::google::protobuf::Arena* arena, BlackBoxFuncCall_Poseidon2Permutation&& from) noexcept + : BlackBoxFuncCall_Poseidon2Permutation(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kOutputsFieldNumber = 2, + kLenFieldNumber = 3, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.native.Witness outputs = 2; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // uint32 len = 3; + void clear_len() ; + ::uint32_t len() const; + void set_len(::uint32_t value); + + private: + ::uint32_t _internal_len() const; + void _internal_set_len(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_Poseidon2Permutation& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::uint32_t len_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_MultiScalarMul final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) */ { + public: + inline BlackBoxFuncCall_MultiScalarMul() : BlackBoxFuncCall_MultiScalarMul(nullptr) {} + ~BlackBoxFuncCall_MultiScalarMul() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_MultiScalarMul* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_MultiScalarMul)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_MultiScalarMul( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_MultiScalarMul(const BlackBoxFuncCall_MultiScalarMul& from) : BlackBoxFuncCall_MultiScalarMul(nullptr, from) {} + inline BlackBoxFuncCall_MultiScalarMul(BlackBoxFuncCall_MultiScalarMul&& from) noexcept + : BlackBoxFuncCall_MultiScalarMul(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_MultiScalarMul& operator=(const BlackBoxFuncCall_MultiScalarMul& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_MultiScalarMul& operator=(BlackBoxFuncCall_MultiScalarMul&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_MultiScalarMul& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_MultiScalarMul* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_MultiScalarMul_default_instance_); + } + static constexpr int kIndexInFileMessages = 22; + friend void swap(BlackBoxFuncCall_MultiScalarMul& a, BlackBoxFuncCall_MultiScalarMul& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_MultiScalarMul* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_MultiScalarMul* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_MultiScalarMul* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_MultiScalarMul& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_MultiScalarMul& from) { BlackBoxFuncCall_MultiScalarMul::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_MultiScalarMul* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul"; } + + protected: + explicit BlackBoxFuncCall_MultiScalarMul(::google::protobuf::Arena* arena); + BlackBoxFuncCall_MultiScalarMul(::google::protobuf::Arena* arena, const BlackBoxFuncCall_MultiScalarMul& from); + BlackBoxFuncCall_MultiScalarMul(::google::protobuf::Arena* arena, BlackBoxFuncCall_MultiScalarMul&& from) noexcept + : BlackBoxFuncCall_MultiScalarMul(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPointsFieldNumber = 1, + kScalarsFieldNumber = 2, + kOutputsFieldNumber = 3, + }; + // repeated .acvm.acir.circuit.FunctionInput points = 1; + int points_size() const; + private: + int _internal_points_size() const; + + public: + void clear_points() ; + ::acvm::acir::circuit::FunctionInput* mutable_points(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_points(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_points() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_points(); + public: + const ::acvm::acir::circuit::FunctionInput& points(int index) const; + ::acvm::acir::circuit::FunctionInput* add_points(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& points() const; + // repeated .acvm.acir.circuit.FunctionInput scalars = 2; + int scalars_size() const; + private: + int _internal_scalars_size() const; + + public: + void clear_scalars() ; + ::acvm::acir::circuit::FunctionInput* mutable_scalars(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_scalars(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_scalars() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_scalars(); + public: + const ::acvm::acir::circuit::FunctionInput& scalars(int index) const; + ::acvm::acir::circuit::FunctionInput* add_scalars(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& scalars() const; + // repeated .acvm.acir.native.Witness outputs = 3; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_MultiScalarMul& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > points_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > scalars_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_Keccakf1600 final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) */ { + public: + inline BlackBoxFuncCall_Keccakf1600() : BlackBoxFuncCall_Keccakf1600(nullptr) {} + ~BlackBoxFuncCall_Keccakf1600() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_Keccakf1600* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_Keccakf1600)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_Keccakf1600( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_Keccakf1600(const BlackBoxFuncCall_Keccakf1600& from) : BlackBoxFuncCall_Keccakf1600(nullptr, from) {} + inline BlackBoxFuncCall_Keccakf1600(BlackBoxFuncCall_Keccakf1600&& from) noexcept + : BlackBoxFuncCall_Keccakf1600(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_Keccakf1600& operator=(const BlackBoxFuncCall_Keccakf1600& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_Keccakf1600& operator=(BlackBoxFuncCall_Keccakf1600&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_Keccakf1600& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_Keccakf1600* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_Keccakf1600_default_instance_); + } + static constexpr int kIndexInFileMessages = 24; + friend void swap(BlackBoxFuncCall_Keccakf1600& a, BlackBoxFuncCall_Keccakf1600& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_Keccakf1600* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_Keccakf1600* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_Keccakf1600* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_Keccakf1600& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_Keccakf1600& from) { BlackBoxFuncCall_Keccakf1600::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_Keccakf1600* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600"; } + + protected: + explicit BlackBoxFuncCall_Keccakf1600(::google::protobuf::Arena* arena); + BlackBoxFuncCall_Keccakf1600(::google::protobuf::Arena* arena, const BlackBoxFuncCall_Keccakf1600& from); + BlackBoxFuncCall_Keccakf1600(::google::protobuf::Arena* arena, BlackBoxFuncCall_Keccakf1600&& from) noexcept + : BlackBoxFuncCall_Keccakf1600(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kOutputsFieldNumber = 2, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.native.Witness outputs = 2; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_Keccakf1600& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_EmbeddedCurveAdd final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) */ { + public: + inline BlackBoxFuncCall_EmbeddedCurveAdd() : BlackBoxFuncCall_EmbeddedCurveAdd(nullptr) {} + ~BlackBoxFuncCall_EmbeddedCurveAdd() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_EmbeddedCurveAdd* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_EmbeddedCurveAdd)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_EmbeddedCurveAdd( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_EmbeddedCurveAdd(const BlackBoxFuncCall_EmbeddedCurveAdd& from) : BlackBoxFuncCall_EmbeddedCurveAdd(nullptr, from) {} + inline BlackBoxFuncCall_EmbeddedCurveAdd(BlackBoxFuncCall_EmbeddedCurveAdd&& from) noexcept + : BlackBoxFuncCall_EmbeddedCurveAdd(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_EmbeddedCurveAdd& operator=(const BlackBoxFuncCall_EmbeddedCurveAdd& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_EmbeddedCurveAdd& operator=(BlackBoxFuncCall_EmbeddedCurveAdd&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_EmbeddedCurveAdd& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_EmbeddedCurveAdd* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_); + } + static constexpr int kIndexInFileMessages = 23; + friend void swap(BlackBoxFuncCall_EmbeddedCurveAdd& a, BlackBoxFuncCall_EmbeddedCurveAdd& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_EmbeddedCurveAdd* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_EmbeddedCurveAdd* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_EmbeddedCurveAdd* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_EmbeddedCurveAdd& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_EmbeddedCurveAdd& from) { BlackBoxFuncCall_EmbeddedCurveAdd::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_EmbeddedCurveAdd* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd"; } + + protected: + explicit BlackBoxFuncCall_EmbeddedCurveAdd(::google::protobuf::Arena* arena); + BlackBoxFuncCall_EmbeddedCurveAdd(::google::protobuf::Arena* arena, const BlackBoxFuncCall_EmbeddedCurveAdd& from); + BlackBoxFuncCall_EmbeddedCurveAdd(::google::protobuf::Arena* arena, BlackBoxFuncCall_EmbeddedCurveAdd&& from) noexcept + : BlackBoxFuncCall_EmbeddedCurveAdd(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInput1FieldNumber = 1, + kInput2FieldNumber = 2, + kOutputsFieldNumber = 3, + }; + // repeated .acvm.acir.circuit.FunctionInput input1 = 1; + int input1_size() const; + private: + int _internal_input1_size() const; + + public: + void clear_input1() ; + ::acvm::acir::circuit::FunctionInput* mutable_input1(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_input1(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_input1() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_input1(); + public: + const ::acvm::acir::circuit::FunctionInput& input1(int index) const; + ::acvm::acir::circuit::FunctionInput* add_input1(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& input1() const; + // repeated .acvm.acir.circuit.FunctionInput input2 = 2; + int input2_size() const; + private: + int _internal_input2_size() const; + + public: + void clear_input2() ; + ::acvm::acir::circuit::FunctionInput* mutable_input2(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_input2(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_input2() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_input2(); + public: + const ::acvm::acir::circuit::FunctionInput& input2(int index) const; + ::acvm::acir::circuit::FunctionInput* add_input2(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& input2() const; + // repeated .acvm.acir.native.Witness outputs = 3; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_EmbeddedCurveAdd& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > input1_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > input2_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_EcdsaSecp256r1 final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) */ { + public: + inline BlackBoxFuncCall_EcdsaSecp256r1() : BlackBoxFuncCall_EcdsaSecp256r1(nullptr) {} + ~BlackBoxFuncCall_EcdsaSecp256r1() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_EcdsaSecp256r1* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_EcdsaSecp256r1)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256r1( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_EcdsaSecp256r1(const BlackBoxFuncCall_EcdsaSecp256r1& from) : BlackBoxFuncCall_EcdsaSecp256r1(nullptr, from) {} + inline BlackBoxFuncCall_EcdsaSecp256r1(BlackBoxFuncCall_EcdsaSecp256r1&& from) noexcept + : BlackBoxFuncCall_EcdsaSecp256r1(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_EcdsaSecp256r1& operator=(const BlackBoxFuncCall_EcdsaSecp256r1& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_EcdsaSecp256r1& operator=(BlackBoxFuncCall_EcdsaSecp256r1&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_EcdsaSecp256r1& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_EcdsaSecp256r1* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_EcdsaSecp256r1_default_instance_); + } + static constexpr int kIndexInFileMessages = 21; + friend void swap(BlackBoxFuncCall_EcdsaSecp256r1& a, BlackBoxFuncCall_EcdsaSecp256r1& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_EcdsaSecp256r1* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_EcdsaSecp256r1* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_EcdsaSecp256r1* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_EcdsaSecp256r1& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_EcdsaSecp256r1& from) { BlackBoxFuncCall_EcdsaSecp256r1::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_EcdsaSecp256r1* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1"; } + + protected: + explicit BlackBoxFuncCall_EcdsaSecp256r1(::google::protobuf::Arena* arena); + BlackBoxFuncCall_EcdsaSecp256r1(::google::protobuf::Arena* arena, const BlackBoxFuncCall_EcdsaSecp256r1& from); + BlackBoxFuncCall_EcdsaSecp256r1(::google::protobuf::Arena* arena, BlackBoxFuncCall_EcdsaSecp256r1&& from) noexcept + : BlackBoxFuncCall_EcdsaSecp256r1(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPublicKeyXFieldNumber = 1, + kPublicKeyYFieldNumber = 2, + kSignatureFieldNumber = 3, + kHashedMessageFieldNumber = 4, + kOutputFieldNumber = 5, + }; + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + int public_key_x_size() const; + private: + int _internal_public_key_x_size() const; + + public: + void clear_public_key_x() ; + ::acvm::acir::circuit::FunctionInput* mutable_public_key_x(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_public_key_x(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_public_key_x() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_public_key_x(); + public: + const ::acvm::acir::circuit::FunctionInput& public_key_x(int index) const; + ::acvm::acir::circuit::FunctionInput* add_public_key_x(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& public_key_x() const; + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + int public_key_y_size() const; + private: + int _internal_public_key_y_size() const; + + public: + void clear_public_key_y() ; + ::acvm::acir::circuit::FunctionInput* mutable_public_key_y(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_public_key_y(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_public_key_y() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_public_key_y(); + public: + const ::acvm::acir::circuit::FunctionInput& public_key_y(int index) const; + ::acvm::acir::circuit::FunctionInput* add_public_key_y(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& public_key_y() const; + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + int signature_size() const; + private: + int _internal_signature_size() const; + + public: + void clear_signature() ; + ::acvm::acir::circuit::FunctionInput* mutable_signature(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_signature(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_signature() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_signature(); + public: + const ::acvm::acir::circuit::FunctionInput& signature(int index) const; + ::acvm::acir::circuit::FunctionInput* add_signature(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& signature() const; + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + int hashed_message_size() const; + private: + int _internal_hashed_message_size() const; + + public: + void clear_hashed_message() ; + ::acvm::acir::circuit::FunctionInput* mutable_hashed_message(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_hashed_message(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_hashed_message() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_hashed_message(); + public: + const ::acvm::acir::circuit::FunctionInput& hashed_message(int index) const; + ::acvm::acir::circuit::FunctionInput* add_hashed_message(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& hashed_message() const; + // .acvm.acir.native.Witness output = 5; + bool has_output() const; + void clear_output() ; + const ::acvm::acir::native::Witness& output() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_output(); + ::acvm::acir::native::Witness* mutable_output(); + void set_allocated_output(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_output(); + + private: + const ::acvm::acir::native::Witness& _internal_output() const; + ::acvm::acir::native::Witness* _internal_mutable_output(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 5, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_EcdsaSecp256r1& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > public_key_x_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > public_key_y_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > signature_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > hashed_message_; + ::acvm::acir::native::Witness* output_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_EcdsaSecp256k1 final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) */ { + public: + inline BlackBoxFuncCall_EcdsaSecp256k1() : BlackBoxFuncCall_EcdsaSecp256k1(nullptr) {} + ~BlackBoxFuncCall_EcdsaSecp256k1() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_EcdsaSecp256k1* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_EcdsaSecp256k1)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_EcdsaSecp256k1( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_EcdsaSecp256k1(const BlackBoxFuncCall_EcdsaSecp256k1& from) : BlackBoxFuncCall_EcdsaSecp256k1(nullptr, from) {} + inline BlackBoxFuncCall_EcdsaSecp256k1(BlackBoxFuncCall_EcdsaSecp256k1&& from) noexcept + : BlackBoxFuncCall_EcdsaSecp256k1(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_EcdsaSecp256k1& operator=(const BlackBoxFuncCall_EcdsaSecp256k1& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_EcdsaSecp256k1& operator=(BlackBoxFuncCall_EcdsaSecp256k1&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_EcdsaSecp256k1& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_EcdsaSecp256k1* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_EcdsaSecp256k1_default_instance_); + } + static constexpr int kIndexInFileMessages = 20; + friend void swap(BlackBoxFuncCall_EcdsaSecp256k1& a, BlackBoxFuncCall_EcdsaSecp256k1& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_EcdsaSecp256k1* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_EcdsaSecp256k1* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_EcdsaSecp256k1* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_EcdsaSecp256k1& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_EcdsaSecp256k1& from) { BlackBoxFuncCall_EcdsaSecp256k1::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_EcdsaSecp256k1* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1"; } + + protected: + explicit BlackBoxFuncCall_EcdsaSecp256k1(::google::protobuf::Arena* arena); + BlackBoxFuncCall_EcdsaSecp256k1(::google::protobuf::Arena* arena, const BlackBoxFuncCall_EcdsaSecp256k1& from); + BlackBoxFuncCall_EcdsaSecp256k1(::google::protobuf::Arena* arena, BlackBoxFuncCall_EcdsaSecp256k1&& from) noexcept + : BlackBoxFuncCall_EcdsaSecp256k1(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPublicKeyXFieldNumber = 1, + kPublicKeyYFieldNumber = 2, + kSignatureFieldNumber = 3, + kHashedMessageFieldNumber = 4, + kOutputFieldNumber = 5, + }; + // repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; + int public_key_x_size() const; + private: + int _internal_public_key_x_size() const; + + public: + void clear_public_key_x() ; + ::acvm::acir::circuit::FunctionInput* mutable_public_key_x(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_public_key_x(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_public_key_x() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_public_key_x(); + public: + const ::acvm::acir::circuit::FunctionInput& public_key_x(int index) const; + ::acvm::acir::circuit::FunctionInput* add_public_key_x(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& public_key_x() const; + // repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; + int public_key_y_size() const; + private: + int _internal_public_key_y_size() const; + + public: + void clear_public_key_y() ; + ::acvm::acir::circuit::FunctionInput* mutable_public_key_y(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_public_key_y(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_public_key_y() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_public_key_y(); + public: + const ::acvm::acir::circuit::FunctionInput& public_key_y(int index) const; + ::acvm::acir::circuit::FunctionInput* add_public_key_y(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& public_key_y() const; + // repeated .acvm.acir.circuit.FunctionInput signature = 3; + int signature_size() const; + private: + int _internal_signature_size() const; + + public: + void clear_signature() ; + ::acvm::acir::circuit::FunctionInput* mutable_signature(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_signature(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_signature() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_signature(); + public: + const ::acvm::acir::circuit::FunctionInput& signature(int index) const; + ::acvm::acir::circuit::FunctionInput* add_signature(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& signature() const; + // repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; + int hashed_message_size() const; + private: + int _internal_hashed_message_size() const; + + public: + void clear_hashed_message() ; + ::acvm::acir::circuit::FunctionInput* mutable_hashed_message(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_hashed_message(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_hashed_message() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_hashed_message(); + public: + const ::acvm::acir::circuit::FunctionInput& hashed_message(int index) const; + ::acvm::acir::circuit::FunctionInput* add_hashed_message(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& hashed_message() const; + // .acvm.acir.native.Witness output = 5; + bool has_output() const; + void clear_output() ; + const ::acvm::acir::native::Witness& output() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_output(); + ::acvm::acir::native::Witness* mutable_output(); + void set_allocated_output(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_output(); + + private: + const ::acvm::acir::native::Witness& _internal_output() const; + ::acvm::acir::native::Witness* _internal_mutable_output(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 5, 5, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_EcdsaSecp256k1& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > public_key_x_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > public_key_y_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > signature_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > hashed_message_; + ::acvm::acir::native::Witness* output_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_Blake3 final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.Blake3) */ { + public: + inline BlackBoxFuncCall_Blake3() : BlackBoxFuncCall_Blake3(nullptr) {} + ~BlackBoxFuncCall_Blake3() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_Blake3* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_Blake3)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake3( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_Blake3(const BlackBoxFuncCall_Blake3& from) : BlackBoxFuncCall_Blake3(nullptr, from) {} + inline BlackBoxFuncCall_Blake3(BlackBoxFuncCall_Blake3&& from) noexcept + : BlackBoxFuncCall_Blake3(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_Blake3& operator=(const BlackBoxFuncCall_Blake3& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_Blake3& operator=(BlackBoxFuncCall_Blake3&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_Blake3& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_Blake3* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_Blake3_default_instance_); + } + static constexpr int kIndexInFileMessages = 19; + friend void swap(BlackBoxFuncCall_Blake3& a, BlackBoxFuncCall_Blake3& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_Blake3* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_Blake3* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_Blake3* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_Blake3& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_Blake3& from) { BlackBoxFuncCall_Blake3::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_Blake3* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.Blake3"; } + + protected: + explicit BlackBoxFuncCall_Blake3(::google::protobuf::Arena* arena); + BlackBoxFuncCall_Blake3(::google::protobuf::Arena* arena, const BlackBoxFuncCall_Blake3& from); + BlackBoxFuncCall_Blake3(::google::protobuf::Arena* arena, BlackBoxFuncCall_Blake3&& from) noexcept + : BlackBoxFuncCall_Blake3(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kOutputsFieldNumber = 2, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.native.Witness outputs = 2; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.Blake3) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_Blake3& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_Blake2s final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) */ { + public: + inline BlackBoxFuncCall_Blake2s() : BlackBoxFuncCall_Blake2s(nullptr) {} + ~BlackBoxFuncCall_Blake2s() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_Blake2s* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_Blake2s)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_Blake2s( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_Blake2s(const BlackBoxFuncCall_Blake2s& from) : BlackBoxFuncCall_Blake2s(nullptr, from) {} + inline BlackBoxFuncCall_Blake2s(BlackBoxFuncCall_Blake2s&& from) noexcept + : BlackBoxFuncCall_Blake2s(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_Blake2s& operator=(const BlackBoxFuncCall_Blake2s& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_Blake2s& operator=(BlackBoxFuncCall_Blake2s&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_Blake2s& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_Blake2s* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_Blake2s_default_instance_); + } + static constexpr int kIndexInFileMessages = 18; + friend void swap(BlackBoxFuncCall_Blake2s& a, BlackBoxFuncCall_Blake2s& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_Blake2s* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_Blake2s* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_Blake2s* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_Blake2s& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_Blake2s& from) { BlackBoxFuncCall_Blake2s::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_Blake2s* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.Blake2s"; } + + protected: + explicit BlackBoxFuncCall_Blake2s(::google::protobuf::Arena* arena); + BlackBoxFuncCall_Blake2s(::google::protobuf::Arena* arena, const BlackBoxFuncCall_Blake2s& from); + BlackBoxFuncCall_Blake2s(::google::protobuf::Arena* arena, BlackBoxFuncCall_Blake2s&& from) noexcept + : BlackBoxFuncCall_Blake2s(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kOutputsFieldNumber = 2, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.native.Witness outputs = 2; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.Blake2s) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_Blake2s& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_BigIntFromLeBytes final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) */ { + public: + inline BlackBoxFuncCall_BigIntFromLeBytes() : BlackBoxFuncCall_BigIntFromLeBytes(nullptr) {} + ~BlackBoxFuncCall_BigIntFromLeBytes() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_BigIntFromLeBytes* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_BigIntFromLeBytes)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_BigIntFromLeBytes( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_BigIntFromLeBytes(const BlackBoxFuncCall_BigIntFromLeBytes& from) : BlackBoxFuncCall_BigIntFromLeBytes(nullptr, from) {} + inline BlackBoxFuncCall_BigIntFromLeBytes(BlackBoxFuncCall_BigIntFromLeBytes&& from) noexcept + : BlackBoxFuncCall_BigIntFromLeBytes(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_BigIntFromLeBytes& operator=(const BlackBoxFuncCall_BigIntFromLeBytes& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_BigIntFromLeBytes& operator=(BlackBoxFuncCall_BigIntFromLeBytes&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_BigIntFromLeBytes& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_BigIntFromLeBytes* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_BigIntFromLeBytes_default_instance_); + } + static constexpr int kIndexInFileMessages = 30; + friend void swap(BlackBoxFuncCall_BigIntFromLeBytes& a, BlackBoxFuncCall_BigIntFromLeBytes& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_BigIntFromLeBytes* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_BigIntFromLeBytes* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_BigIntFromLeBytes* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_BigIntFromLeBytes& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_BigIntFromLeBytes& from) { BlackBoxFuncCall_BigIntFromLeBytes::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_BigIntFromLeBytes* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes"; } + + protected: + explicit BlackBoxFuncCall_BigIntFromLeBytes(::google::protobuf::Arena* arena); + BlackBoxFuncCall_BigIntFromLeBytes(::google::protobuf::Arena* arena, const BlackBoxFuncCall_BigIntFromLeBytes& from); + BlackBoxFuncCall_BigIntFromLeBytes(::google::protobuf::Arena* arena, BlackBoxFuncCall_BigIntFromLeBytes&& from) noexcept + : BlackBoxFuncCall_BigIntFromLeBytes(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kModulusFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // bytes modulus = 2; + void clear_modulus() ; + const std::string& modulus() const; + template + void set_modulus(Arg_&& arg, Args_... args); + std::string* mutable_modulus(); + PROTOBUF_NODISCARD std::string* release_modulus(); + void set_allocated_modulus(std::string* value); + + private: + const std::string& _internal_modulus() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_modulus( + const std::string& value); + std::string* _internal_mutable_modulus(); + + public: + // uint32 output = 3; + void clear_output() ; + ::uint32_t output() const; + void set_output(::uint32_t value); + + private: + ::uint32_t _internal_output() const; + void _internal_set_output(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_BigIntFromLeBytes& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::internal::ArenaStringPtr modulus_; + ::uint32_t output_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_AND final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.AND) */ { + public: + inline BlackBoxFuncCall_AND() : BlackBoxFuncCall_AND(nullptr) {} + ~BlackBoxFuncCall_AND() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_AND* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_AND)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_AND( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_AND(const BlackBoxFuncCall_AND& from) : BlackBoxFuncCall_AND(nullptr, from) {} + inline BlackBoxFuncCall_AND(BlackBoxFuncCall_AND&& from) noexcept + : BlackBoxFuncCall_AND(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_AND& operator=(const BlackBoxFuncCall_AND& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_AND& operator=(BlackBoxFuncCall_AND&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_AND& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_AND* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_AND_default_instance_); + } + static constexpr int kIndexInFileMessages = 15; + friend void swap(BlackBoxFuncCall_AND& a, BlackBoxFuncCall_AND& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_AND* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_AND* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_AND* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_AND& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_AND& from) { BlackBoxFuncCall_AND::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_AND* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.AND"; } + + protected: + explicit BlackBoxFuncCall_AND(::google::protobuf::Arena* arena); + BlackBoxFuncCall_AND(::google::protobuf::Arena* arena, const BlackBoxFuncCall_AND& from); + BlackBoxFuncCall_AND(::google::protobuf::Arena* arena, BlackBoxFuncCall_AND&& from) noexcept + : BlackBoxFuncCall_AND(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLhsFieldNumber = 1, + kRhsFieldNumber = 2, + kOutputFieldNumber = 3, + }; + // .acvm.acir.circuit.FunctionInput lhs = 1; + bool has_lhs() const; + void clear_lhs() ; + const ::acvm::acir::circuit::FunctionInput& lhs() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_lhs(); + ::acvm::acir::circuit::FunctionInput* mutable_lhs(); + void set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_lhs(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_lhs() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_lhs(); + + public: + // .acvm.acir.circuit.FunctionInput rhs = 2; + bool has_rhs() const; + void clear_rhs() ; + const ::acvm::acir::circuit::FunctionInput& rhs() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::FunctionInput* release_rhs(); + ::acvm::acir::circuit::FunctionInput* mutable_rhs(); + void set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value); + void unsafe_arena_set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value); + ::acvm::acir::circuit::FunctionInput* unsafe_arena_release_rhs(); + + private: + const ::acvm::acir::circuit::FunctionInput& _internal_rhs() const; + ::acvm::acir::circuit::FunctionInput* _internal_mutable_rhs(); + + public: + // .acvm.acir.native.Witness output = 3; + bool has_output() const; + void clear_output() ; + const ::acvm::acir::native::Witness& output() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_output(); + ::acvm::acir::native::Witness* mutable_output(); + void set_allocated_output(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_output(); + + private: + const ::acvm::acir::native::Witness& _internal_output() const; + ::acvm::acir::native::Witness* _internal_mutable_output(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.AND) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_AND& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::FunctionInput* lhs_; + ::acvm::acir::circuit::FunctionInput* rhs_; + ::acvm::acir::native::Witness* output_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall_AES128Encrypt final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) */ { + public: + inline BlackBoxFuncCall_AES128Encrypt() : BlackBoxFuncCall_AES128Encrypt(nullptr) {} + ~BlackBoxFuncCall_AES128Encrypt() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall_AES128Encrypt* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall_AES128Encrypt)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall_AES128Encrypt( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall_AES128Encrypt(const BlackBoxFuncCall_AES128Encrypt& from) : BlackBoxFuncCall_AES128Encrypt(nullptr, from) {} + inline BlackBoxFuncCall_AES128Encrypt(BlackBoxFuncCall_AES128Encrypt&& from) noexcept + : BlackBoxFuncCall_AES128Encrypt(nullptr, std::move(from)) {} + inline BlackBoxFuncCall_AES128Encrypt& operator=(const BlackBoxFuncCall_AES128Encrypt& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall_AES128Encrypt& operator=(BlackBoxFuncCall_AES128Encrypt&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall_AES128Encrypt& default_instance() { + return *internal_default_instance(); + } + static inline const BlackBoxFuncCall_AES128Encrypt* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_AES128Encrypt_default_instance_); + } + static constexpr int kIndexInFileMessages = 14; + friend void swap(BlackBoxFuncCall_AES128Encrypt& a, BlackBoxFuncCall_AES128Encrypt& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall_AES128Encrypt* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall_AES128Encrypt* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall_AES128Encrypt* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall_AES128Encrypt& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall_AES128Encrypt& from) { BlackBoxFuncCall_AES128Encrypt::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall_AES128Encrypt* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt"; } + + protected: + explicit BlackBoxFuncCall_AES128Encrypt(::google::protobuf::Arena* arena); + BlackBoxFuncCall_AES128Encrypt(::google::protobuf::Arena* arena, const BlackBoxFuncCall_AES128Encrypt& from); + BlackBoxFuncCall_AES128Encrypt(::google::protobuf::Arena* arena, BlackBoxFuncCall_AES128Encrypt&& from) noexcept + : BlackBoxFuncCall_AES128Encrypt(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 1, + kIvFieldNumber = 2, + kKeyFieldNumber = 3, + kOutputsFieldNumber = 4, + }; + // repeated .acvm.acir.circuit.FunctionInput inputs = 1; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::FunctionInput* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::FunctionInput& inputs(int index) const; + ::acvm::acir::circuit::FunctionInput* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& inputs() const; + // repeated .acvm.acir.circuit.FunctionInput iv = 2; + int iv_size() const; + private: + int _internal_iv_size() const; + + public: + void clear_iv() ; + ::acvm::acir::circuit::FunctionInput* mutable_iv(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_iv(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_iv() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_iv(); + public: + const ::acvm::acir::circuit::FunctionInput& iv(int index) const; + ::acvm::acir::circuit::FunctionInput* add_iv(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& iv() const; + // repeated .acvm.acir.circuit.FunctionInput key = 3; + int key_size() const; + private: + int _internal_key_size() const; + + public: + void clear_key() ; + ::acvm::acir::circuit::FunctionInput* mutable_key(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* mutable_key(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& _internal_key() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* _internal_mutable_key(); + public: + const ::acvm::acir::circuit::FunctionInput& key(int index) const; + ::acvm::acir::circuit::FunctionInput* add_key(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& key() const; + // repeated .acvm.acir.native.Witness outputs = 4; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::native::Witness* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_outputs(); + public: + const ::acvm::acir::native::Witness& outputs(int index) const; + ::acvm::acir::native::Witness* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& outputs() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 4, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall_AES128Encrypt& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > iv_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::FunctionInput > key_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > outputs_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Opcode_MemoryOp final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Opcode.MemoryOp) */ { + public: + inline Opcode_MemoryOp() : Opcode_MemoryOp(nullptr) {} + ~Opcode_MemoryOp() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Opcode_MemoryOp* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Opcode_MemoryOp)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Opcode_MemoryOp( + ::google::protobuf::internal::ConstantInitialized); + + inline Opcode_MemoryOp(const Opcode_MemoryOp& from) : Opcode_MemoryOp(nullptr, from) {} + inline Opcode_MemoryOp(Opcode_MemoryOp&& from) noexcept + : Opcode_MemoryOp(nullptr, std::move(from)) {} + inline Opcode_MemoryOp& operator=(const Opcode_MemoryOp& from) { + CopyFrom(from); + return *this; + } + inline Opcode_MemoryOp& operator=(Opcode_MemoryOp&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Opcode_MemoryOp& default_instance() { + return *internal_default_instance(); + } + static inline const Opcode_MemoryOp* internal_default_instance() { + return reinterpret_cast( + &_Opcode_MemoryOp_default_instance_); + } + static constexpr int kIndexInFileMessages = 9; + friend void swap(Opcode_MemoryOp& a, Opcode_MemoryOp& b) { a.Swap(&b); } + inline void Swap(Opcode_MemoryOp* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Opcode_MemoryOp* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Opcode_MemoryOp* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Opcode_MemoryOp& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Opcode_MemoryOp& from) { Opcode_MemoryOp::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Opcode_MemoryOp* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Opcode.MemoryOp"; } + + protected: + explicit Opcode_MemoryOp(::google::protobuf::Arena* arena); + Opcode_MemoryOp(::google::protobuf::Arena* arena, const Opcode_MemoryOp& from); + Opcode_MemoryOp(::google::protobuf::Arena* arena, Opcode_MemoryOp&& from) noexcept + : Opcode_MemoryOp(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOpFieldNumber = 2, + kPredicateFieldNumber = 3, + kBlockIdFieldNumber = 1, + }; + // .acvm.acir.circuit.MemOp op = 2; + bool has_op() const; + void clear_op() ; + const ::acvm::acir::circuit::MemOp& op() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::MemOp* release_op(); + ::acvm::acir::circuit::MemOp* mutable_op(); + void set_allocated_op(::acvm::acir::circuit::MemOp* value); + void unsafe_arena_set_allocated_op(::acvm::acir::circuit::MemOp* value); + ::acvm::acir::circuit::MemOp* unsafe_arena_release_op(); + + private: + const ::acvm::acir::circuit::MemOp& _internal_op() const; + ::acvm::acir::circuit::MemOp* _internal_mutable_op(); + + public: + // optional .acvm.acir.native.Expression predicate = 3; + bool has_predicate() const; + void clear_predicate() ; + const ::acvm::acir::native::Expression& predicate() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_predicate(); + ::acvm::acir::native::Expression* mutable_predicate(); + void set_allocated_predicate(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_predicate(); + + private: + const ::acvm::acir::native::Expression& _internal_predicate() const; + ::acvm::acir::native::Expression* _internal_mutable_predicate(); + + public: + // uint32 block_id = 1; + void clear_block_id() ; + ::uint32_t block_id() const; + void set_block_id(::uint32_t value); + + private: + ::uint32_t _internal_block_id() const; + void _internal_set_block_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Opcode.MemoryOp) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Opcode_MemoryOp& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::MemOp* op_; + ::acvm::acir::native::Expression* predicate_; + ::uint32_t block_id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BrilligInputs final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BrilligInputs) */ { + public: + inline BrilligInputs() : BrilligInputs(nullptr) {} + ~BrilligInputs() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BrilligInputs* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BrilligInputs)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BrilligInputs( + ::google::protobuf::internal::ConstantInitialized); + + inline BrilligInputs(const BrilligInputs& from) : BrilligInputs(nullptr, from) {} + inline BrilligInputs(BrilligInputs&& from) noexcept + : BrilligInputs(nullptr, std::move(from)) {} + inline BrilligInputs& operator=(const BrilligInputs& from) { + CopyFrom(from); + return *this; + } + inline BrilligInputs& operator=(BrilligInputs&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BrilligInputs& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kSingle = 1, + kArray = 2, + kMemoryArray = 3, + VALUE_NOT_SET = 0, + }; + static inline const BrilligInputs* internal_default_instance() { + return reinterpret_cast( + &_BrilligInputs_default_instance_); + } + static constexpr int kIndexInFileMessages = 43; + friend void swap(BrilligInputs& a, BrilligInputs& b) { a.Swap(&b); } + inline void Swap(BrilligInputs* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BrilligInputs* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BrilligInputs* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BrilligInputs& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BrilligInputs& from) { BrilligInputs::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BrilligInputs* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BrilligInputs"; } + + protected: + explicit BrilligInputs(::google::protobuf::Arena* arena); + BrilligInputs(::google::protobuf::Arena* arena, const BrilligInputs& from); + BrilligInputs(::google::protobuf::Arena* arena, BrilligInputs&& from) noexcept + : BrilligInputs(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using Array = BrilligInputs_Array; + + // accessors ------------------------------------------------------- + enum : int { + kSingleFieldNumber = 1, + kArrayFieldNumber = 2, + kMemoryArrayFieldNumber = 3, + }; + // .acvm.acir.native.Expression single = 1; + bool has_single() const; + private: + bool _internal_has_single() const; + + public: + void clear_single() ; + const ::acvm::acir::native::Expression& single() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_single(); + ::acvm::acir::native::Expression* mutable_single(); + void set_allocated_single(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_single(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_single(); + + private: + const ::acvm::acir::native::Expression& _internal_single() const; + ::acvm::acir::native::Expression* _internal_mutable_single(); + + public: + // .acvm.acir.circuit.BrilligInputs.Array array = 2; + bool has_array() const; + private: + bool _internal_has_array() const; + + public: + void clear_array() ; + const ::acvm::acir::circuit::BrilligInputs_Array& array() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BrilligInputs_Array* release_array(); + ::acvm::acir::circuit::BrilligInputs_Array* mutable_array(); + void set_allocated_array(::acvm::acir::circuit::BrilligInputs_Array* value); + void unsafe_arena_set_allocated_array(::acvm::acir::circuit::BrilligInputs_Array* value); + ::acvm::acir::circuit::BrilligInputs_Array* unsafe_arena_release_array(); + + private: + const ::acvm::acir::circuit::BrilligInputs_Array& _internal_array() const; + ::acvm::acir::circuit::BrilligInputs_Array* _internal_mutable_array(); + + public: + // uint32 memory_array = 3; + bool has_memory_array() const; + void clear_memory_array() ; + ::uint32_t memory_array() const; + void set_memory_array(::uint32_t value); + + private: + ::uint32_t _internal_memory_array() const; + void _internal_set_memory_array(::uint32_t value); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BrilligInputs) + private: + class _Internal; + void set_has_single(); + void set_has_array(); + void set_has_memory_array(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 3, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BrilligInputs& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::native::Expression* single_; + ::acvm::acir::circuit::BrilligInputs_Array* array_; + ::uint32_t memory_array_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class BlackBoxFuncCall final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.BlackBoxFuncCall) */ { + public: + inline BlackBoxFuncCall() : BlackBoxFuncCall(nullptr) {} + ~BlackBoxFuncCall() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(BlackBoxFuncCall* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(BlackBoxFuncCall)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR BlackBoxFuncCall( + ::google::protobuf::internal::ConstantInitialized); + + inline BlackBoxFuncCall(const BlackBoxFuncCall& from) : BlackBoxFuncCall(nullptr, from) {} + inline BlackBoxFuncCall(BlackBoxFuncCall&& from) noexcept + : BlackBoxFuncCall(nullptr, std::move(from)) {} + inline BlackBoxFuncCall& operator=(const BlackBoxFuncCall& from) { + CopyFrom(from); + return *this; + } + inline BlackBoxFuncCall& operator=(BlackBoxFuncCall&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const BlackBoxFuncCall& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kAes128Encrypt = 1, + kAnd = 2, + kXor = 3, + kRange = 4, + kBlake2S = 5, + kBlake3 = 6, + kEcdsaSecp256K1 = 7, + kEcdsaSecp256R1 = 8, + kMultiScalarMul = 9, + kEmbeddedCurveAdd = 10, + kKeccakF1600 = 11, + kRecursiveAggregation = 12, + kBigIntAdd = 13, + kBigIntSub = 14, + kBigIntMul = 15, + kBigIntDiv = 16, + kBigIntFromLeBytes = 17, + kBigIntToLeBytes = 18, + kPoseidon2Permutation = 19, + kSha256Compression = 20, + VALUE_NOT_SET = 0, + }; + static inline const BlackBoxFuncCall* internal_default_instance() { + return reinterpret_cast( + &_BlackBoxFuncCall_default_instance_); + } + static constexpr int kIndexInFileMessages = 34; + friend void swap(BlackBoxFuncCall& a, BlackBoxFuncCall& b) { a.Swap(&b); } + inline void Swap(BlackBoxFuncCall* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(BlackBoxFuncCall* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + BlackBoxFuncCall* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const BlackBoxFuncCall& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const BlackBoxFuncCall& from) { BlackBoxFuncCall::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(BlackBoxFuncCall* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.BlackBoxFuncCall"; } + + protected: + explicit BlackBoxFuncCall(::google::protobuf::Arena* arena); + BlackBoxFuncCall(::google::protobuf::Arena* arena, const BlackBoxFuncCall& from); + BlackBoxFuncCall(::google::protobuf::Arena* arena, BlackBoxFuncCall&& from) noexcept + : BlackBoxFuncCall(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using AES128Encrypt = BlackBoxFuncCall_AES128Encrypt; + using AND = BlackBoxFuncCall_AND; + using XOR = BlackBoxFuncCall_XOR; + using RANGE = BlackBoxFuncCall_RANGE; + using Blake2s = BlackBoxFuncCall_Blake2s; + using Blake3 = BlackBoxFuncCall_Blake3; + using EcdsaSecp256k1 = BlackBoxFuncCall_EcdsaSecp256k1; + using EcdsaSecp256r1 = BlackBoxFuncCall_EcdsaSecp256r1; + using MultiScalarMul = BlackBoxFuncCall_MultiScalarMul; + using EmbeddedCurveAdd = BlackBoxFuncCall_EmbeddedCurveAdd; + using Keccakf1600 = BlackBoxFuncCall_Keccakf1600; + using RecursiveAggregation = BlackBoxFuncCall_RecursiveAggregation; + using BigIntAdd = BlackBoxFuncCall_BigIntAdd; + using BigIntSub = BlackBoxFuncCall_BigIntSub; + using BigIntMul = BlackBoxFuncCall_BigIntMul; + using BigIntDiv = BlackBoxFuncCall_BigIntDiv; + using BigIntFromLeBytes = BlackBoxFuncCall_BigIntFromLeBytes; + using BigIntToLeBytes = BlackBoxFuncCall_BigIntToLeBytes; + using Poseidon2Permutation = BlackBoxFuncCall_Poseidon2Permutation; + using Sha256Compression = BlackBoxFuncCall_Sha256Compression; + + // accessors ------------------------------------------------------- + enum : int { + kAes128EncryptFieldNumber = 1, + kAndFieldNumber = 2, + kXorFieldNumber = 3, + kRangeFieldNumber = 4, + kBlake2SFieldNumber = 5, + kBlake3FieldNumber = 6, + kEcdsaSecp256K1FieldNumber = 7, + kEcdsaSecp256R1FieldNumber = 8, + kMultiScalarMulFieldNumber = 9, + kEmbeddedCurveAddFieldNumber = 10, + kKeccakF1600FieldNumber = 11, + kRecursiveAggregationFieldNumber = 12, + kBigIntAddFieldNumber = 13, + kBigIntSubFieldNumber = 14, + kBigIntMulFieldNumber = 15, + kBigIntDivFieldNumber = 16, + kBigIntFromLeBytesFieldNumber = 17, + kBigIntToLeBytesFieldNumber = 18, + kPoseidon2PermutationFieldNumber = 19, + kSha256CompressionFieldNumber = 20, + }; + // .acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt aes128_encrypt = 1; + bool has_aes128_encrypt() const; + private: + bool _internal_has_aes128_encrypt() const; + + public: + void clear_aes128_encrypt() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt& aes128_encrypt() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* release_aes128_encrypt(); + ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* mutable_aes128_encrypt(); + void set_allocated_aes128_encrypt(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* value); + void unsafe_arena_set_allocated_aes128_encrypt(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* value); + ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* unsafe_arena_release_aes128_encrypt(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt& _internal_aes128_encrypt() const; + ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* _internal_mutable_aes128_encrypt(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.AND and = 2; + bool has_and_() const; + private: + bool _internal_has_and_() const; + + public: + void clear_and_() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_AND& and_() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_AND* release_and_(); + ::acvm::acir::circuit::BlackBoxFuncCall_AND* mutable_and_(); + void set_allocated_and_(::acvm::acir::circuit::BlackBoxFuncCall_AND* value); + void unsafe_arena_set_allocated_and_(::acvm::acir::circuit::BlackBoxFuncCall_AND* value); + ::acvm::acir::circuit::BlackBoxFuncCall_AND* unsafe_arena_release_and_(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_AND& _internal_and_() const; + ::acvm::acir::circuit::BlackBoxFuncCall_AND* _internal_mutable_and_(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.XOR xor = 3; + bool has_xor_() const; + private: + bool _internal_has_xor_() const; + + public: + void clear_xor_() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_XOR& xor_() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_XOR* release_xor_(); + ::acvm::acir::circuit::BlackBoxFuncCall_XOR* mutable_xor_(); + void set_allocated_xor_(::acvm::acir::circuit::BlackBoxFuncCall_XOR* value); + void unsafe_arena_set_allocated_xor_(::acvm::acir::circuit::BlackBoxFuncCall_XOR* value); + ::acvm::acir::circuit::BlackBoxFuncCall_XOR* unsafe_arena_release_xor_(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_XOR& _internal_xor_() const; + ::acvm::acir::circuit::BlackBoxFuncCall_XOR* _internal_mutable_xor_(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.RANGE range = 4; + bool has_range() const; + private: + bool _internal_has_range() const; + + public: + void clear_range() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_RANGE& range() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* release_range(); + ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* mutable_range(); + void set_allocated_range(::acvm::acir::circuit::BlackBoxFuncCall_RANGE* value); + void unsafe_arena_set_allocated_range(::acvm::acir::circuit::BlackBoxFuncCall_RANGE* value); + ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* unsafe_arena_release_range(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_RANGE& _internal_range() const; + ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* _internal_mutable_range(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.Blake2s blake2s = 5; + bool has_blake2s() const; + private: + bool _internal_has_blake2s() const; + + public: + void clear_blake2s() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s& blake2s() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* release_blake2s(); + ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* mutable_blake2s(); + void set_allocated_blake2s(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* value); + void unsafe_arena_set_allocated_blake2s(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* value); + ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* unsafe_arena_release_blake2s(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s& _internal_blake2s() const; + ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* _internal_mutable_blake2s(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.Blake3 blake3 = 6; + bool has_blake3() const; + private: + bool _internal_has_blake3() const; + + public: + void clear_blake3() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_Blake3& blake3() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* release_blake3(); + ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* mutable_blake3(); + void set_allocated_blake3(::acvm::acir::circuit::BlackBoxFuncCall_Blake3* value); + void unsafe_arena_set_allocated_blake3(::acvm::acir::circuit::BlackBoxFuncCall_Blake3* value); + ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* unsafe_arena_release_blake3(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_Blake3& _internal_blake3() const; + ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* _internal_mutable_blake3(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1 ecdsa_secp256k1 = 7; + bool has_ecdsa_secp256k1() const; + private: + bool _internal_has_ecdsa_secp256k1() const; + + public: + void clear_ecdsa_secp256k1() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1& ecdsa_secp256k1() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* release_ecdsa_secp256k1(); + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* mutable_ecdsa_secp256k1(); + void set_allocated_ecdsa_secp256k1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* value); + void unsafe_arena_set_allocated_ecdsa_secp256k1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* value); + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* unsafe_arena_release_ecdsa_secp256k1(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1& _internal_ecdsa_secp256k1() const; + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* _internal_mutable_ecdsa_secp256k1(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1 ecdsa_secp256r1 = 8; + bool has_ecdsa_secp256r1() const; + private: + bool _internal_has_ecdsa_secp256r1() const; + + public: + void clear_ecdsa_secp256r1() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1& ecdsa_secp256r1() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* release_ecdsa_secp256r1(); + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* mutable_ecdsa_secp256r1(); + void set_allocated_ecdsa_secp256r1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* value); + void unsafe_arena_set_allocated_ecdsa_secp256r1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* value); + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* unsafe_arena_release_ecdsa_secp256r1(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1& _internal_ecdsa_secp256r1() const; + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* _internal_mutable_ecdsa_secp256r1(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul multi_scalar_mul = 9; + bool has_multi_scalar_mul() const; + private: + bool _internal_has_multi_scalar_mul() const; + + public: + void clear_multi_scalar_mul() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul& multi_scalar_mul() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* release_multi_scalar_mul(); + ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* mutable_multi_scalar_mul(); + void set_allocated_multi_scalar_mul(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* value); + void unsafe_arena_set_allocated_multi_scalar_mul(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* value); + ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* unsafe_arena_release_multi_scalar_mul(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul& _internal_multi_scalar_mul() const; + ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* _internal_mutable_multi_scalar_mul(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd embedded_curve_add = 10; + bool has_embedded_curve_add() const; + private: + bool _internal_has_embedded_curve_add() const; + + public: + void clear_embedded_curve_add() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd& embedded_curve_add() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* release_embedded_curve_add(); + ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* mutable_embedded_curve_add(); + void set_allocated_embedded_curve_add(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* value); + void unsafe_arena_set_allocated_embedded_curve_add(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* value); + ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* unsafe_arena_release_embedded_curve_add(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd& _internal_embedded_curve_add() const; + ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* _internal_mutable_embedded_curve_add(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600 keccak_f1600 = 11; + bool has_keccak_f1600() const; + private: + bool _internal_has_keccak_f1600() const; + + public: + void clear_keccak_f1600() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600& keccak_f1600() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* release_keccak_f1600(); + ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* mutable_keccak_f1600(); + void set_allocated_keccak_f1600(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* value); + void unsafe_arena_set_allocated_keccak_f1600(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* value); + ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* unsafe_arena_release_keccak_f1600(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600& _internal_keccak_f1600() const; + ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* _internal_mutable_keccak_f1600(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation recursive_aggregation = 12; + bool has_recursive_aggregation() const; + private: + bool _internal_has_recursive_aggregation() const; + + public: + void clear_recursive_aggregation() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation& recursive_aggregation() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* release_recursive_aggregation(); + ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* mutable_recursive_aggregation(); + void set_allocated_recursive_aggregation(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* value); + void unsafe_arena_set_allocated_recursive_aggregation(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* value); + ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* unsafe_arena_release_recursive_aggregation(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation& _internal_recursive_aggregation() const; + ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* _internal_mutable_recursive_aggregation(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd big_int_add = 13; + bool has_big_int_add() const; + private: + bool _internal_has_big_int_add() const; + + public: + void clear_big_int_add() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd& big_int_add() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* release_big_int_add(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* mutable_big_int_add(); + void set_allocated_big_int_add(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* value); + void unsafe_arena_set_allocated_big_int_add(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* unsafe_arena_release_big_int_add(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd& _internal_big_int_add() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* _internal_mutable_big_int_add(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntSub big_int_sub = 14; + bool has_big_int_sub() const; + private: + bool _internal_has_big_int_sub() const; + + public: + void clear_big_int_sub() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub& big_int_sub() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* release_big_int_sub(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* mutable_big_int_sub(); + void set_allocated_big_int_sub(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* value); + void unsafe_arena_set_allocated_big_int_sub(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* unsafe_arena_release_big_int_sub(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub& _internal_big_int_sub() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* _internal_mutable_big_int_sub(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntMul big_int_mul = 15; + bool has_big_int_mul() const; + private: + bool _internal_has_big_int_mul() const; + + public: + void clear_big_int_mul() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul& big_int_mul() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* release_big_int_mul(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* mutable_big_int_mul(); + void set_allocated_big_int_mul(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* value); + void unsafe_arena_set_allocated_big_int_mul(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* unsafe_arena_release_big_int_mul(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul& _internal_big_int_mul() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* _internal_mutable_big_int_mul(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv big_int_div = 16; + bool has_big_int_div() const; + private: + bool _internal_has_big_int_div() const; + + public: + void clear_big_int_div() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv& big_int_div() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* release_big_int_div(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* mutable_big_int_div(); + void set_allocated_big_int_div(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* value); + void unsafe_arena_set_allocated_big_int_div(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* unsafe_arena_release_big_int_div(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv& _internal_big_int_div() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* _internal_mutable_big_int_div(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes big_int_from_le_bytes = 17; + bool has_big_int_from_le_bytes() const; + private: + bool _internal_has_big_int_from_le_bytes() const; + + public: + void clear_big_int_from_le_bytes() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes& big_int_from_le_bytes() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* release_big_int_from_le_bytes(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* mutable_big_int_from_le_bytes(); + void set_allocated_big_int_from_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* value); + void unsafe_arena_set_allocated_big_int_from_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* unsafe_arena_release_big_int_from_le_bytes(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes& _internal_big_int_from_le_bytes() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* _internal_mutable_big_int_from_le_bytes(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes big_int_to_le_bytes = 18; + bool has_big_int_to_le_bytes() const; + private: + bool _internal_has_big_int_to_le_bytes() const; + + public: + void clear_big_int_to_le_bytes() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes& big_int_to_le_bytes() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* release_big_int_to_le_bytes(); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* mutable_big_int_to_le_bytes(); + void set_allocated_big_int_to_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* value); + void unsafe_arena_set_allocated_big_int_to_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* value); + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* unsafe_arena_release_big_int_to_le_bytes(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes& _internal_big_int_to_le_bytes() const; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* _internal_mutable_big_int_to_le_bytes(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation poseidon2_permutation = 19; + bool has_poseidon2_permutation() const; + private: + bool _internal_has_poseidon2_permutation() const; + + public: + void clear_poseidon2_permutation() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation& poseidon2_permutation() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* release_poseidon2_permutation(); + ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* mutable_poseidon2_permutation(); + void set_allocated_poseidon2_permutation(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* value); + void unsafe_arena_set_allocated_poseidon2_permutation(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* value); + ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* unsafe_arena_release_poseidon2_permutation(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation& _internal_poseidon2_permutation() const; + ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* _internal_mutable_poseidon2_permutation(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression sha256_compression = 20; + bool has_sha256_compression() const; + private: + bool _internal_has_sha256_compression() const; + + public: + void clear_sha256_compression() ; + const ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression& sha256_compression() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* release_sha256_compression(); + ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* mutable_sha256_compression(); + void set_allocated_sha256_compression(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* value); + void unsafe_arena_set_allocated_sha256_compression(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* value); + ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* unsafe_arena_release_sha256_compression(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression& _internal_sha256_compression() const; + ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* _internal_mutable_sha256_compression(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.BlackBoxFuncCall) + private: + class _Internal; + void set_has_aes128_encrypt(); + void set_has_and_(); + void set_has_xor_(); + void set_has_range(); + void set_has_blake2s(); + void set_has_blake3(); + void set_has_ecdsa_secp256k1(); + void set_has_ecdsa_secp256r1(); + void set_has_multi_scalar_mul(); + void set_has_embedded_curve_add(); + void set_has_keccak_f1600(); + void set_has_recursive_aggregation(); + void set_has_big_int_add(); + void set_has_big_int_sub(); + void set_has_big_int_mul(); + void set_has_big_int_div(); + void set_has_big_int_from_le_bytes(); + void set_has_big_int_to_le_bytes(); + void set_has_poseidon2_permutation(); + void set_has_sha256_compression(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 20, 20, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const BlackBoxFuncCall& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* aes128_encrypt_; + ::acvm::acir::circuit::BlackBoxFuncCall_AND* and__; + ::acvm::acir::circuit::BlackBoxFuncCall_XOR* xor__; + ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* range_; + ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* blake2s_; + ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* blake3_; + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* ecdsa_secp256k1_; + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* ecdsa_secp256r1_; + ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* multi_scalar_mul_; + ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* embedded_curve_add_; + ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* keccak_f1600_; + ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* recursive_aggregation_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* big_int_add_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* big_int_sub_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* big_int_mul_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* big_int_div_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* big_int_from_le_bytes_; + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* big_int_to_le_bytes_; + ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* poseidon2_permutation_; + ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* sha256_compression_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class AssertionPayload final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.AssertionPayload) */ { + public: + inline AssertionPayload() : AssertionPayload(nullptr) {} + ~AssertionPayload() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AssertionPayload* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AssertionPayload)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AssertionPayload( + ::google::protobuf::internal::ConstantInitialized); + + inline AssertionPayload(const AssertionPayload& from) : AssertionPayload(nullptr, from) {} + inline AssertionPayload(AssertionPayload&& from) noexcept + : AssertionPayload(nullptr, std::move(from)) {} + inline AssertionPayload& operator=(const AssertionPayload& from) { + CopyFrom(from); + return *this; + } + inline AssertionPayload& operator=(AssertionPayload&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AssertionPayload& default_instance() { + return *internal_default_instance(); + } + static inline const AssertionPayload* internal_default_instance() { + return reinterpret_cast( + &_AssertionPayload_default_instance_); + } + static constexpr int kIndexInFileMessages = 7; + friend void swap(AssertionPayload& a, AssertionPayload& b) { a.Swap(&b); } + inline void Swap(AssertionPayload* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AssertionPayload* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AssertionPayload* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AssertionPayload& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AssertionPayload& from) { AssertionPayload::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AssertionPayload* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.AssertionPayload"; } + + protected: + explicit AssertionPayload(::google::protobuf::Arena* arena); + AssertionPayload(::google::protobuf::Arena* arena, const AssertionPayload& from); + AssertionPayload(::google::protobuf::Arena* arena, AssertionPayload&& from) noexcept + : AssertionPayload(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kPayloadFieldNumber = 2, + kErrorSelectorFieldNumber = 1, + }; + // repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; + int payload_size() const; + private: + int _internal_payload_size() const; + + public: + void clear_payload() ; + ::acvm::acir::circuit::ExpressionOrMemory* mutable_payload(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>* mutable_payload(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>& _internal_payload() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>* _internal_mutable_payload(); + public: + const ::acvm::acir::circuit::ExpressionOrMemory& payload(int index) const; + ::acvm::acir::circuit::ExpressionOrMemory* add_payload(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>& payload() const; + // uint64 error_selector = 1; + void clear_error_selector() ; + ::uint64_t error_selector() const; + void set_error_selector(::uint64_t value); + + private: + ::uint64_t _internal_error_selector() const; + void _internal_set_error_selector(::uint64_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.AssertionPayload) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AssertionPayload& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::ExpressionOrMemory > payload_; + ::uint64_t error_selector_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Opcode_BrilligCall final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Opcode.BrilligCall) */ { + public: + inline Opcode_BrilligCall() : Opcode_BrilligCall(nullptr) {} + ~Opcode_BrilligCall() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Opcode_BrilligCall* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Opcode_BrilligCall)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Opcode_BrilligCall( + ::google::protobuf::internal::ConstantInitialized); + + inline Opcode_BrilligCall(const Opcode_BrilligCall& from) : Opcode_BrilligCall(nullptr, from) {} + inline Opcode_BrilligCall(Opcode_BrilligCall&& from) noexcept + : Opcode_BrilligCall(nullptr, std::move(from)) {} + inline Opcode_BrilligCall& operator=(const Opcode_BrilligCall& from) { + CopyFrom(from); + return *this; + } + inline Opcode_BrilligCall& operator=(Opcode_BrilligCall&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Opcode_BrilligCall& default_instance() { + return *internal_default_instance(); + } + static inline const Opcode_BrilligCall* internal_default_instance() { + return reinterpret_cast( + &_Opcode_BrilligCall_default_instance_); + } + static constexpr int kIndexInFileMessages = 11; + friend void swap(Opcode_BrilligCall& a, Opcode_BrilligCall& b) { a.Swap(&b); } + inline void Swap(Opcode_BrilligCall* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Opcode_BrilligCall* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Opcode_BrilligCall* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Opcode_BrilligCall& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Opcode_BrilligCall& from) { Opcode_BrilligCall::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Opcode_BrilligCall* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Opcode.BrilligCall"; } + + protected: + explicit Opcode_BrilligCall(::google::protobuf::Arena* arena); + Opcode_BrilligCall(::google::protobuf::Arena* arena, const Opcode_BrilligCall& from); + Opcode_BrilligCall(::google::protobuf::Arena* arena, Opcode_BrilligCall&& from) noexcept + : Opcode_BrilligCall(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kInputsFieldNumber = 2, + kOutputsFieldNumber = 3, + kPredicateFieldNumber = 4, + kIdFieldNumber = 1, + }; + // repeated .acvm.acir.circuit.BrilligInputs inputs = 2; + int inputs_size() const; + private: + int _internal_inputs_size() const; + + public: + void clear_inputs() ; + ::acvm::acir::circuit::BrilligInputs* mutable_inputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>* mutable_inputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>& _internal_inputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>* _internal_mutable_inputs(); + public: + const ::acvm::acir::circuit::BrilligInputs& inputs(int index) const; + ::acvm::acir::circuit::BrilligInputs* add_inputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>& inputs() const; + // repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; + int outputs_size() const; + private: + int _internal_outputs_size() const; + + public: + void clear_outputs() ; + ::acvm::acir::circuit::BrilligOutputs* mutable_outputs(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>* mutable_outputs(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>& _internal_outputs() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>* _internal_mutable_outputs(); + public: + const ::acvm::acir::circuit::BrilligOutputs& outputs(int index) const; + ::acvm::acir::circuit::BrilligOutputs* add_outputs(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>& outputs() const; + // optional .acvm.acir.native.Expression predicate = 4; + bool has_predicate() const; + void clear_predicate() ; + const ::acvm::acir::native::Expression& predicate() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_predicate(); + ::acvm::acir::native::Expression* mutable_predicate(); + void set_allocated_predicate(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_predicate(); + + private: + const ::acvm::acir::native::Expression& _internal_predicate() const; + ::acvm::acir::native::Expression* _internal_mutable_predicate(); + + public: + // uint32 id = 1; + void clear_id() ; + ::uint32_t id() const; + void set_id(::uint32_t value); + + private: + ::uint32_t _internal_id() const; + void _internal_set_id(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Opcode.BrilligCall) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 4, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Opcode_BrilligCall& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::BrilligInputs > inputs_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::BrilligOutputs > outputs_; + ::acvm::acir::native::Expression* predicate_; + ::uint32_t id_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class AssertMessage final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.AssertMessage) */ { + public: + inline AssertMessage() : AssertMessage(nullptr) {} + ~AssertMessage() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(AssertMessage* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(AssertMessage)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR AssertMessage( + ::google::protobuf::internal::ConstantInitialized); + + inline AssertMessage(const AssertMessage& from) : AssertMessage(nullptr, from) {} + inline AssertMessage(AssertMessage&& from) noexcept + : AssertMessage(nullptr, std::move(from)) {} + inline AssertMessage& operator=(const AssertMessage& from) { + CopyFrom(from); + return *this; + } + inline AssertMessage& operator=(AssertMessage&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const AssertMessage& default_instance() { + return *internal_default_instance(); + } + static inline const AssertMessage* internal_default_instance() { + return reinterpret_cast( + &_AssertMessage_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(AssertMessage& a, AssertMessage& b) { a.Swap(&b); } + inline void Swap(AssertMessage* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(AssertMessage* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + AssertMessage* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const AssertMessage& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const AssertMessage& from) { AssertMessage::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(AssertMessage* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.AssertMessage"; } + + protected: + explicit AssertMessage(::google::protobuf::Arena* arena); + AssertMessage(::google::protobuf::Arena* arena, const AssertMessage& from); + AssertMessage(::google::protobuf::Arena* arena, AssertMessage&& from) noexcept + : AssertMessage(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kLocationFieldNumber = 1, + kPayloadFieldNumber = 2, + }; + // .acvm.acir.circuit.OpcodeLocation location = 1; + bool has_location() const; + void clear_location() ; + const ::acvm::acir::circuit::OpcodeLocation& location() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::OpcodeLocation* release_location(); + ::acvm::acir::circuit::OpcodeLocation* mutable_location(); + void set_allocated_location(::acvm::acir::circuit::OpcodeLocation* value); + void unsafe_arena_set_allocated_location(::acvm::acir::circuit::OpcodeLocation* value); + ::acvm::acir::circuit::OpcodeLocation* unsafe_arena_release_location(); + + private: + const ::acvm::acir::circuit::OpcodeLocation& _internal_location() const; + ::acvm::acir::circuit::OpcodeLocation* _internal_mutable_location(); + + public: + // .acvm.acir.circuit.AssertionPayload payload = 2; + bool has_payload() const; + void clear_payload() ; + const ::acvm::acir::circuit::AssertionPayload& payload() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::AssertionPayload* release_payload(); + ::acvm::acir::circuit::AssertionPayload* mutable_payload(); + void set_allocated_payload(::acvm::acir::circuit::AssertionPayload* value); + void unsafe_arena_set_allocated_payload(::acvm::acir::circuit::AssertionPayload* value); + ::acvm::acir::circuit::AssertionPayload* unsafe_arena_release_payload(); + + private: + const ::acvm::acir::circuit::AssertionPayload& _internal_payload() const; + ::acvm::acir::circuit::AssertionPayload* _internal_mutable_payload(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.AssertMessage) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const AssertMessage& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::circuit::OpcodeLocation* location_; + ::acvm::acir::circuit::AssertionPayload* payload_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Opcode final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Opcode) */ { + public: + inline Opcode() : Opcode(nullptr) {} + ~Opcode() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Opcode* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Opcode)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Opcode( + ::google::protobuf::internal::ConstantInitialized); + + inline Opcode(const Opcode& from) : Opcode(nullptr, from) {} + inline Opcode(Opcode&& from) noexcept + : Opcode(nullptr, std::move(from)) {} + inline Opcode& operator=(const Opcode& from) { + CopyFrom(from); + return *this; + } + inline Opcode& operator=(Opcode&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Opcode& default_instance() { + return *internal_default_instance(); + } + enum ValueCase { + kAssertZero = 1, + kBlackboxFuncCall = 2, + kMemoryOp = 3, + kMemoryInit = 4, + kBrilligCall = 5, + kCall = 6, + VALUE_NOT_SET = 0, + }; + static inline const Opcode* internal_default_instance() { + return reinterpret_cast( + &_Opcode_default_instance_); + } + static constexpr int kIndexInFileMessages = 13; + friend void swap(Opcode& a, Opcode& b) { a.Swap(&b); } + inline void Swap(Opcode* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Opcode* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Opcode* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Opcode& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Opcode& from) { Opcode::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Opcode* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Opcode"; } + + protected: + explicit Opcode(::google::protobuf::Arena* arena); + Opcode(::google::protobuf::Arena* arena, const Opcode& from); + Opcode(::google::protobuf::Arena* arena, Opcode&& from) noexcept + : Opcode(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using MemoryOp = Opcode_MemoryOp; + using MemoryInit = Opcode_MemoryInit; + using BrilligCall = Opcode_BrilligCall; + using Call = Opcode_Call; + + // accessors ------------------------------------------------------- + enum : int { + kAssertZeroFieldNumber = 1, + kBlackboxFuncCallFieldNumber = 2, + kMemoryOpFieldNumber = 3, + kMemoryInitFieldNumber = 4, + kBrilligCallFieldNumber = 5, + kCallFieldNumber = 6, + }; + // .acvm.acir.native.Expression assert_zero = 1; + bool has_assert_zero() const; + private: + bool _internal_has_assert_zero() const; + + public: + void clear_assert_zero() ; + const ::acvm::acir::native::Expression& assert_zero() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Expression* release_assert_zero(); + ::acvm::acir::native::Expression* mutable_assert_zero(); + void set_allocated_assert_zero(::acvm::acir::native::Expression* value); + void unsafe_arena_set_allocated_assert_zero(::acvm::acir::native::Expression* value); + ::acvm::acir::native::Expression* unsafe_arena_release_assert_zero(); + + private: + const ::acvm::acir::native::Expression& _internal_assert_zero() const; + ::acvm::acir::native::Expression* _internal_mutable_assert_zero(); + + public: + // .acvm.acir.circuit.BlackBoxFuncCall blackbox_func_call = 2; + bool has_blackbox_func_call() const; + private: + bool _internal_has_blackbox_func_call() const; + + public: + void clear_blackbox_func_call() ; + const ::acvm::acir::circuit::BlackBoxFuncCall& blackbox_func_call() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::BlackBoxFuncCall* release_blackbox_func_call(); + ::acvm::acir::circuit::BlackBoxFuncCall* mutable_blackbox_func_call(); + void set_allocated_blackbox_func_call(::acvm::acir::circuit::BlackBoxFuncCall* value); + void unsafe_arena_set_allocated_blackbox_func_call(::acvm::acir::circuit::BlackBoxFuncCall* value); + ::acvm::acir::circuit::BlackBoxFuncCall* unsafe_arena_release_blackbox_func_call(); + + private: + const ::acvm::acir::circuit::BlackBoxFuncCall& _internal_blackbox_func_call() const; + ::acvm::acir::circuit::BlackBoxFuncCall* _internal_mutable_blackbox_func_call(); + + public: + // .acvm.acir.circuit.Opcode.MemoryOp memory_op = 3; + bool has_memory_op() const; + private: + bool _internal_has_memory_op() const; + + public: + void clear_memory_op() ; + const ::acvm::acir::circuit::Opcode_MemoryOp& memory_op() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::Opcode_MemoryOp* release_memory_op(); + ::acvm::acir::circuit::Opcode_MemoryOp* mutable_memory_op(); + void set_allocated_memory_op(::acvm::acir::circuit::Opcode_MemoryOp* value); + void unsafe_arena_set_allocated_memory_op(::acvm::acir::circuit::Opcode_MemoryOp* value); + ::acvm::acir::circuit::Opcode_MemoryOp* unsafe_arena_release_memory_op(); + + private: + const ::acvm::acir::circuit::Opcode_MemoryOp& _internal_memory_op() const; + ::acvm::acir::circuit::Opcode_MemoryOp* _internal_mutable_memory_op(); + + public: + // .acvm.acir.circuit.Opcode.MemoryInit memory_init = 4; + bool has_memory_init() const; + private: + bool _internal_has_memory_init() const; + + public: + void clear_memory_init() ; + const ::acvm::acir::circuit::Opcode_MemoryInit& memory_init() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::Opcode_MemoryInit* release_memory_init(); + ::acvm::acir::circuit::Opcode_MemoryInit* mutable_memory_init(); + void set_allocated_memory_init(::acvm::acir::circuit::Opcode_MemoryInit* value); + void unsafe_arena_set_allocated_memory_init(::acvm::acir::circuit::Opcode_MemoryInit* value); + ::acvm::acir::circuit::Opcode_MemoryInit* unsafe_arena_release_memory_init(); + + private: + const ::acvm::acir::circuit::Opcode_MemoryInit& _internal_memory_init() const; + ::acvm::acir::circuit::Opcode_MemoryInit* _internal_mutable_memory_init(); + + public: + // .acvm.acir.circuit.Opcode.BrilligCall brillig_call = 5; + bool has_brillig_call() const; + private: + bool _internal_has_brillig_call() const; + + public: + void clear_brillig_call() ; + const ::acvm::acir::circuit::Opcode_BrilligCall& brillig_call() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::Opcode_BrilligCall* release_brillig_call(); + ::acvm::acir::circuit::Opcode_BrilligCall* mutable_brillig_call(); + void set_allocated_brillig_call(::acvm::acir::circuit::Opcode_BrilligCall* value); + void unsafe_arena_set_allocated_brillig_call(::acvm::acir::circuit::Opcode_BrilligCall* value); + ::acvm::acir::circuit::Opcode_BrilligCall* unsafe_arena_release_brillig_call(); + + private: + const ::acvm::acir::circuit::Opcode_BrilligCall& _internal_brillig_call() const; + ::acvm::acir::circuit::Opcode_BrilligCall* _internal_mutable_brillig_call(); + + public: + // .acvm.acir.circuit.Opcode.Call call = 6; + bool has_call() const; + private: + bool _internal_has_call() const; + + public: + void clear_call() ; + const ::acvm::acir::circuit::Opcode_Call& call() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::Opcode_Call* release_call(); + ::acvm::acir::circuit::Opcode_Call* mutable_call(); + void set_allocated_call(::acvm::acir::circuit::Opcode_Call* value); + void unsafe_arena_set_allocated_call(::acvm::acir::circuit::Opcode_Call* value); + ::acvm::acir::circuit::Opcode_Call* unsafe_arena_release_call(); + + private: + const ::acvm::acir::circuit::Opcode_Call& _internal_call() const; + ::acvm::acir::circuit::Opcode_Call* _internal_mutable_call(); + + public: + void clear_value(); + ValueCase value_case() const; + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Opcode) + private: + class _Internal; + void set_has_assert_zero(); + void set_has_blackbox_func_call(); + void set_has_memory_op(); + void set_has_memory_init(); + void set_has_brillig_call(); + void set_has_call(); + inline bool has_value() const; + inline void clear_has_value(); + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 6, 6, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Opcode& from_msg); + union ValueUnion { + constexpr ValueUnion() : _constinit_{} {} + ::google::protobuf::internal::ConstantInitialized _constinit_; + ::acvm::acir::native::Expression* assert_zero_; + ::acvm::acir::circuit::BlackBoxFuncCall* blackbox_func_call_; + ::acvm::acir::circuit::Opcode_MemoryOp* memory_op_; + ::acvm::acir::circuit::Opcode_MemoryInit* memory_init_; + ::acvm::acir::circuit::Opcode_BrilligCall* brillig_call_; + ::acvm::acir::circuit::Opcode_Call* call_; + } value_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::uint32_t _oneof_case_[1]; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; +// ------------------------------------------------------------------- + +class Circuit final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.circuit.Circuit) */ { + public: + inline Circuit() : Circuit(nullptr) {} + ~Circuit() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Circuit* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Circuit)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Circuit( + ::google::protobuf::internal::ConstantInitialized); + + inline Circuit(const Circuit& from) : Circuit(nullptr, from) {} + inline Circuit(Circuit&& from) noexcept + : Circuit(nullptr, std::move(from)) {} + inline Circuit& operator=(const Circuit& from) { + CopyFrom(from); + return *this; + } + inline Circuit& operator=(Circuit&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Circuit& default_instance() { + return *internal_default_instance(); + } + static inline const Circuit* internal_default_instance() { + return reinterpret_cast( + &_Circuit_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Circuit& a, Circuit& b) { a.Swap(&b); } + inline void Swap(Circuit* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Circuit* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Circuit* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Circuit& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Circuit& from) { Circuit::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Circuit* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.circuit.Circuit"; } + + protected: + explicit Circuit(::google::protobuf::Arena* arena); + Circuit(::google::protobuf::Arena* arena, const Circuit& from); + Circuit(::google::protobuf::Arena* arena, Circuit&& from) noexcept + : Circuit(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kOpcodesFieldNumber = 2, + kPrivateParametersFieldNumber = 4, + kPublicParametersFieldNumber = 5, + kReturnValuesFieldNumber = 6, + kAssertMessagesFieldNumber = 7, + kExpressionWidthFieldNumber = 3, + kCurrentWitnessIndexFieldNumber = 1, + }; + // repeated .acvm.acir.circuit.Opcode opcodes = 2; + int opcodes_size() const; + private: + int _internal_opcodes_size() const; + + public: + void clear_opcodes() ; + ::acvm::acir::circuit::Opcode* mutable_opcodes(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>* mutable_opcodes(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>& _internal_opcodes() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>* _internal_mutable_opcodes(); + public: + const ::acvm::acir::circuit::Opcode& opcodes(int index) const; + ::acvm::acir::circuit::Opcode* add_opcodes(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>& opcodes() const; + // repeated .acvm.acir.native.Witness private_parameters = 4; + int private_parameters_size() const; + private: + int _internal_private_parameters_size() const; + + public: + void clear_private_parameters() ; + ::acvm::acir::native::Witness* mutable_private_parameters(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_private_parameters(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_private_parameters() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_private_parameters(); + public: + const ::acvm::acir::native::Witness& private_parameters(int index) const; + ::acvm::acir::native::Witness* add_private_parameters(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& private_parameters() const; + // repeated .acvm.acir.native.Witness public_parameters = 5; + int public_parameters_size() const; + private: + int _internal_public_parameters_size() const; + + public: + void clear_public_parameters() ; + ::acvm::acir::native::Witness* mutable_public_parameters(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_public_parameters(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_public_parameters() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_public_parameters(); + public: + const ::acvm::acir::native::Witness& public_parameters(int index) const; + ::acvm::acir::native::Witness* add_public_parameters(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& public_parameters() const; + // repeated .acvm.acir.native.Witness return_values = 6; + int return_values_size() const; + private: + int _internal_return_values_size() const; + + public: + void clear_return_values() ; + ::acvm::acir::native::Witness* mutable_return_values(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* mutable_return_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& _internal_return_values() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* _internal_mutable_return_values(); + public: + const ::acvm::acir::native::Witness& return_values(int index) const; + ::acvm::acir::native::Witness* add_return_values(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& return_values() const; + // repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; + int assert_messages_size() const; + private: + int _internal_assert_messages_size() const; + + public: + void clear_assert_messages() ; + ::acvm::acir::circuit::AssertMessage* mutable_assert_messages(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>* mutable_assert_messages(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>& _internal_assert_messages() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>* _internal_mutable_assert_messages(); + public: + const ::acvm::acir::circuit::AssertMessage& assert_messages(int index) const; + ::acvm::acir::circuit::AssertMessage* add_assert_messages(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>& assert_messages() const; + // .acvm.acir.circuit.ExpressionWidth expression_width = 3; + bool has_expression_width() const; + void clear_expression_width() ; + const ::acvm::acir::circuit::ExpressionWidth& expression_width() const; + PROTOBUF_NODISCARD ::acvm::acir::circuit::ExpressionWidth* release_expression_width(); + ::acvm::acir::circuit::ExpressionWidth* mutable_expression_width(); + void set_allocated_expression_width(::acvm::acir::circuit::ExpressionWidth* value); + void unsafe_arena_set_allocated_expression_width(::acvm::acir::circuit::ExpressionWidth* value); + ::acvm::acir::circuit::ExpressionWidth* unsafe_arena_release_expression_width(); + + private: + const ::acvm::acir::circuit::ExpressionWidth& _internal_expression_width() const; + ::acvm::acir::circuit::ExpressionWidth* _internal_mutable_expression_width(); + + public: + // uint32 current_witness_index = 1; + void clear_current_witness_index() ; + ::uint32_t current_witness_index() const; + void set_current_witness_index(::uint32_t value); + + private: + ::uint32_t _internal_current_witness_index() const; + void _internal_set_current_witness_index(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.circuit.Circuit) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 3, 7, 6, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Circuit& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::Opcode > opcodes_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > private_parameters_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > public_parameters_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Witness > return_values_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::AssertMessage > assert_messages_; + ::acvm::acir::circuit::ExpressionWidth* expression_width_; + ::uint32_t current_witness_index_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fcircuit_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Circuit + +// uint32 current_witness_index = 1; +inline void Circuit::clear_current_witness_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.current_witness_index_ = 0u; +} +inline ::uint32_t Circuit::current_witness_index() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.current_witness_index) + return _internal_current_witness_index(); +} +inline void Circuit::set_current_witness_index(::uint32_t value) { + _internal_set_current_witness_index(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.Circuit.current_witness_index) +} +inline ::uint32_t Circuit::_internal_current_witness_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.current_witness_index_; +} +inline void Circuit::_internal_set_current_witness_index(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.current_witness_index_ = value; +} + +// repeated .acvm.acir.circuit.Opcode opcodes = 2; +inline int Circuit::_internal_opcodes_size() const { + return _internal_opcodes().size(); +} +inline int Circuit::opcodes_size() const { + return _internal_opcodes_size(); +} +inline void Circuit::clear_opcodes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.opcodes_.Clear(); +} +inline ::acvm::acir::circuit::Opcode* Circuit::mutable_opcodes(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.opcodes) + return _internal_mutable_opcodes()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>* Circuit::mutable_opcodes() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Circuit.opcodes) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_opcodes(); +} +inline const ::acvm::acir::circuit::Opcode& Circuit::opcodes(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.opcodes) + return _internal_opcodes().Get(index); +} +inline ::acvm::acir::circuit::Opcode* Circuit::add_opcodes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::Opcode* _add = _internal_mutable_opcodes()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Circuit.opcodes) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>& Circuit::opcodes() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Circuit.opcodes) + return _internal_opcodes(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>& +Circuit::_internal_opcodes() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.opcodes_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Opcode>* +Circuit::_internal_mutable_opcodes() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.opcodes_; +} + +// .acvm.acir.circuit.ExpressionWidth expression_width = 3; +inline bool Circuit::has_expression_width() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.expression_width_ != nullptr); + return value; +} +inline void Circuit::clear_expression_width() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expression_width_ != nullptr) _impl_.expression_width_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::ExpressionWidth& Circuit::_internal_expression_width() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::ExpressionWidth* p = _impl_.expression_width_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_ExpressionWidth_default_instance_); +} +inline const ::acvm::acir::circuit::ExpressionWidth& Circuit::expression_width() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.expression_width) + return _internal_expression_width(); +} +inline void Circuit::unsafe_arena_set_allocated_expression_width(::acvm::acir::circuit::ExpressionWidth* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.expression_width_); + } + _impl_.expression_width_ = reinterpret_cast<::acvm::acir::circuit::ExpressionWidth*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Circuit.expression_width) +} +inline ::acvm::acir::circuit::ExpressionWidth* Circuit::release_expression_width() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::ExpressionWidth* released = _impl_.expression_width_; + _impl_.expression_width_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::ExpressionWidth* Circuit::unsafe_arena_release_expression_width() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Circuit.expression_width) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::ExpressionWidth* temp = _impl_.expression_width_; + _impl_.expression_width_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::ExpressionWidth* Circuit::_internal_mutable_expression_width() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.expression_width_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::ExpressionWidth>(GetArena()); + _impl_.expression_width_ = reinterpret_cast<::acvm::acir::circuit::ExpressionWidth*>(p); + } + return _impl_.expression_width_; +} +inline ::acvm::acir::circuit::ExpressionWidth* Circuit::mutable_expression_width() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::ExpressionWidth* _msg = _internal_mutable_expression_width(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.expression_width) + return _msg; +} +inline void Circuit::set_allocated_expression_width(::acvm::acir::circuit::ExpressionWidth* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.expression_width_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.expression_width_ = reinterpret_cast<::acvm::acir::circuit::ExpressionWidth*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Circuit.expression_width) +} + +// repeated .acvm.acir.native.Witness private_parameters = 4; +inline int Circuit::_internal_private_parameters_size() const { + return _internal_private_parameters().size(); +} +inline int Circuit::private_parameters_size() const { + return _internal_private_parameters_size(); +} +inline ::acvm::acir::native::Witness* Circuit::mutable_private_parameters(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.private_parameters) + return _internal_mutable_private_parameters()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Circuit::mutable_private_parameters() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Circuit.private_parameters) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_private_parameters(); +} +inline const ::acvm::acir::native::Witness& Circuit::private_parameters(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.private_parameters) + return _internal_private_parameters().Get(index); +} +inline ::acvm::acir::native::Witness* Circuit::add_private_parameters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_private_parameters()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Circuit.private_parameters) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Circuit::private_parameters() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Circuit.private_parameters) + return _internal_private_parameters(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Circuit::_internal_private_parameters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.private_parameters_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Circuit::_internal_mutable_private_parameters() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.private_parameters_; +} + +// repeated .acvm.acir.native.Witness public_parameters = 5; +inline int Circuit::_internal_public_parameters_size() const { + return _internal_public_parameters().size(); +} +inline int Circuit::public_parameters_size() const { + return _internal_public_parameters_size(); +} +inline ::acvm::acir::native::Witness* Circuit::mutable_public_parameters(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.public_parameters) + return _internal_mutable_public_parameters()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Circuit::mutable_public_parameters() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Circuit.public_parameters) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_parameters(); +} +inline const ::acvm::acir::native::Witness& Circuit::public_parameters(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.public_parameters) + return _internal_public_parameters().Get(index); +} +inline ::acvm::acir::native::Witness* Circuit::add_public_parameters() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_public_parameters()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Circuit.public_parameters) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Circuit::public_parameters() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Circuit.public_parameters) + return _internal_public_parameters(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Circuit::_internal_public_parameters() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_parameters_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Circuit::_internal_mutable_public_parameters() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_parameters_; +} + +// repeated .acvm.acir.native.Witness return_values = 6; +inline int Circuit::_internal_return_values_size() const { + return _internal_return_values().size(); +} +inline int Circuit::return_values_size() const { + return _internal_return_values_size(); +} +inline ::acvm::acir::native::Witness* Circuit::mutable_return_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.return_values) + return _internal_mutable_return_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Circuit::mutable_return_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Circuit.return_values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_return_values(); +} +inline const ::acvm::acir::native::Witness& Circuit::return_values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.return_values) + return _internal_return_values().Get(index); +} +inline ::acvm::acir::native::Witness* Circuit::add_return_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_return_values()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Circuit.return_values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Circuit::return_values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Circuit.return_values) + return _internal_return_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Circuit::_internal_return_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.return_values_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Circuit::_internal_mutable_return_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.return_values_; +} + +// repeated .acvm.acir.circuit.AssertMessage assert_messages = 7; +inline int Circuit::_internal_assert_messages_size() const { + return _internal_assert_messages().size(); +} +inline int Circuit::assert_messages_size() const { + return _internal_assert_messages_size(); +} +inline void Circuit::clear_assert_messages() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.assert_messages_.Clear(); +} +inline ::acvm::acir::circuit::AssertMessage* Circuit::mutable_assert_messages(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Circuit.assert_messages) + return _internal_mutable_assert_messages()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>* Circuit::mutable_assert_messages() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Circuit.assert_messages) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_assert_messages(); +} +inline const ::acvm::acir::circuit::AssertMessage& Circuit::assert_messages(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Circuit.assert_messages) + return _internal_assert_messages().Get(index); +} +inline ::acvm::acir::circuit::AssertMessage* Circuit::add_assert_messages() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::AssertMessage* _add = _internal_mutable_assert_messages()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Circuit.assert_messages) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>& Circuit::assert_messages() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Circuit.assert_messages) + return _internal_assert_messages(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>& +Circuit::_internal_assert_messages() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.assert_messages_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::AssertMessage>* +Circuit::_internal_mutable_assert_messages() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.assert_messages_; +} + +// ------------------------------------------------------------------- + +// ExpressionWidth_Unbounded + +// ------------------------------------------------------------------- + +// ExpressionWidth_Bounded + +// uint64 width = 1; +inline void ExpressionWidth_Bounded::clear_width() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.width_ = ::uint64_t{0u}; +} +inline ::uint64_t ExpressionWidth_Bounded::width() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ExpressionWidth.Bounded.width) + return _internal_width(); +} +inline void ExpressionWidth_Bounded::set_width(::uint64_t value) { + _internal_set_width(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.ExpressionWidth.Bounded.width) +} +inline ::uint64_t ExpressionWidth_Bounded::_internal_width() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.width_; +} +inline void ExpressionWidth_Bounded::_internal_set_width(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.width_ = value; +} + +// ------------------------------------------------------------------- + +// ExpressionWidth + +// .acvm.acir.circuit.ExpressionWidth.Unbounded unbounded = 1; +inline bool ExpressionWidth::has_unbounded() const { + return value_case() == kUnbounded; +} +inline bool ExpressionWidth::_internal_has_unbounded() const { + return value_case() == kUnbounded; +} +inline void ExpressionWidth::set_has_unbounded() { + _impl_._oneof_case_[0] = kUnbounded; +} +inline void ExpressionWidth::clear_unbounded() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kUnbounded) { + if (GetArena() == nullptr) { + delete _impl_.value_.unbounded_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.unbounded_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::ExpressionWidth_Unbounded* ExpressionWidth::release_unbounded() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.ExpressionWidth.unbounded) + if (value_case() == kUnbounded) { + clear_has_value(); + auto* temp = _impl_.value_.unbounded_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.unbounded_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::ExpressionWidth_Unbounded& ExpressionWidth::_internal_unbounded() const { + return value_case() == kUnbounded ? *_impl_.value_.unbounded_ : reinterpret_cast<::acvm::acir::circuit::ExpressionWidth_Unbounded&>(::acvm::acir::circuit::_ExpressionWidth_Unbounded_default_instance_); +} +inline const ::acvm::acir::circuit::ExpressionWidth_Unbounded& ExpressionWidth::unbounded() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ExpressionWidth.unbounded) + return _internal_unbounded(); +} +inline ::acvm::acir::circuit::ExpressionWidth_Unbounded* ExpressionWidth::unsafe_arena_release_unbounded() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.ExpressionWidth.unbounded) + if (value_case() == kUnbounded) { + clear_has_value(); + auto* temp = _impl_.value_.unbounded_; + _impl_.value_.unbounded_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ExpressionWidth::unsafe_arena_set_allocated_unbounded(::acvm::acir::circuit::ExpressionWidth_Unbounded* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_unbounded(); + _impl_.value_.unbounded_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.ExpressionWidth.unbounded) +} +inline ::acvm::acir::circuit::ExpressionWidth_Unbounded* ExpressionWidth::_internal_mutable_unbounded() { + if (value_case() != kUnbounded) { + clear_value(); + set_has_unbounded(); + _impl_.value_.unbounded_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::ExpressionWidth_Unbounded>(GetArena()); + } + return _impl_.value_.unbounded_; +} +inline ::acvm::acir::circuit::ExpressionWidth_Unbounded* ExpressionWidth::mutable_unbounded() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::ExpressionWidth_Unbounded* _msg = _internal_mutable_unbounded(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.ExpressionWidth.unbounded) + return _msg; +} + +// .acvm.acir.circuit.ExpressionWidth.Bounded bounded = 2; +inline bool ExpressionWidth::has_bounded() const { + return value_case() == kBounded; +} +inline bool ExpressionWidth::_internal_has_bounded() const { + return value_case() == kBounded; +} +inline void ExpressionWidth::set_has_bounded() { + _impl_._oneof_case_[0] = kBounded; +} +inline void ExpressionWidth::clear_bounded() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBounded) { + if (GetArena() == nullptr) { + delete _impl_.value_.bounded_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.bounded_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::ExpressionWidth_Bounded* ExpressionWidth::release_bounded() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.ExpressionWidth.bounded) + if (value_case() == kBounded) { + clear_has_value(); + auto* temp = _impl_.value_.bounded_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.bounded_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::ExpressionWidth_Bounded& ExpressionWidth::_internal_bounded() const { + return value_case() == kBounded ? *_impl_.value_.bounded_ : reinterpret_cast<::acvm::acir::circuit::ExpressionWidth_Bounded&>(::acvm::acir::circuit::_ExpressionWidth_Bounded_default_instance_); +} +inline const ::acvm::acir::circuit::ExpressionWidth_Bounded& ExpressionWidth::bounded() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ExpressionWidth.bounded) + return _internal_bounded(); +} +inline ::acvm::acir::circuit::ExpressionWidth_Bounded* ExpressionWidth::unsafe_arena_release_bounded() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.ExpressionWidth.bounded) + if (value_case() == kBounded) { + clear_has_value(); + auto* temp = _impl_.value_.bounded_; + _impl_.value_.bounded_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ExpressionWidth::unsafe_arena_set_allocated_bounded(::acvm::acir::circuit::ExpressionWidth_Bounded* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_bounded(); + _impl_.value_.bounded_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.ExpressionWidth.bounded) +} +inline ::acvm::acir::circuit::ExpressionWidth_Bounded* ExpressionWidth::_internal_mutable_bounded() { + if (value_case() != kBounded) { + clear_value(); + set_has_bounded(); + _impl_.value_.bounded_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::ExpressionWidth_Bounded>(GetArena()); + } + return _impl_.value_.bounded_; +} +inline ::acvm::acir::circuit::ExpressionWidth_Bounded* ExpressionWidth::mutable_bounded() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::ExpressionWidth_Bounded* _msg = _internal_mutable_bounded(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.ExpressionWidth.bounded) + return _msg; +} + +inline bool ExpressionWidth::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void ExpressionWidth::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline ExpressionWidth::ValueCase ExpressionWidth::value_case() const { + return ExpressionWidth::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// AssertMessage + +// .acvm.acir.circuit.OpcodeLocation location = 1; +inline bool AssertMessage::has_location() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.location_ != nullptr); + return value; +} +inline void AssertMessage::clear_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_ != nullptr) _impl_.location_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::OpcodeLocation& AssertMessage::_internal_location() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::OpcodeLocation* p = _impl_.location_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_OpcodeLocation_default_instance_); +} +inline const ::acvm::acir::circuit::OpcodeLocation& AssertMessage::location() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.AssertMessage.location) + return _internal_location(); +} +inline void AssertMessage::unsafe_arena_set_allocated_location(::acvm::acir::circuit::OpcodeLocation* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.location_); + } + _impl_.location_ = reinterpret_cast<::acvm::acir::circuit::OpcodeLocation*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.AssertMessage.location) +} +inline ::acvm::acir::circuit::OpcodeLocation* AssertMessage::release_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::OpcodeLocation* released = _impl_.location_; + _impl_.location_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::OpcodeLocation* AssertMessage::unsafe_arena_release_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.AssertMessage.location) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::OpcodeLocation* temp = _impl_.location_; + _impl_.location_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::OpcodeLocation* AssertMessage::_internal_mutable_location() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.location_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::OpcodeLocation>(GetArena()); + _impl_.location_ = reinterpret_cast<::acvm::acir::circuit::OpcodeLocation*>(p); + } + return _impl_.location_; +} +inline ::acvm::acir::circuit::OpcodeLocation* AssertMessage::mutable_location() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::OpcodeLocation* _msg = _internal_mutable_location(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.AssertMessage.location) + return _msg; +} +inline void AssertMessage::set_allocated_location(::acvm::acir::circuit::OpcodeLocation* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.location_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.location_ = reinterpret_cast<::acvm::acir::circuit::OpcodeLocation*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.AssertMessage.location) +} + +// .acvm.acir.circuit.AssertionPayload payload = 2; +inline bool AssertMessage::has_payload() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.payload_ != nullptr); + return value; +} +inline void AssertMessage::clear_payload() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.payload_ != nullptr) _impl_.payload_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::acvm::acir::circuit::AssertionPayload& AssertMessage::_internal_payload() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::AssertionPayload* p = _impl_.payload_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_AssertionPayload_default_instance_); +} +inline const ::acvm::acir::circuit::AssertionPayload& AssertMessage::payload() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.AssertMessage.payload) + return _internal_payload(); +} +inline void AssertMessage::unsafe_arena_set_allocated_payload(::acvm::acir::circuit::AssertionPayload* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.payload_); + } + _impl_.payload_ = reinterpret_cast<::acvm::acir::circuit::AssertionPayload*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.AssertMessage.payload) +} +inline ::acvm::acir::circuit::AssertionPayload* AssertMessage::release_payload() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::AssertionPayload* released = _impl_.payload_; + _impl_.payload_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::AssertionPayload* AssertMessage::unsafe_arena_release_payload() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.AssertMessage.payload) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::AssertionPayload* temp = _impl_.payload_; + _impl_.payload_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::AssertionPayload* AssertMessage::_internal_mutable_payload() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.payload_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::AssertionPayload>(GetArena()); + _impl_.payload_ = reinterpret_cast<::acvm::acir::circuit::AssertionPayload*>(p); + } + return _impl_.payload_; +} +inline ::acvm::acir::circuit::AssertionPayload* AssertMessage::mutable_payload() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::circuit::AssertionPayload* _msg = _internal_mutable_payload(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.AssertMessage.payload) + return _msg; +} +inline void AssertMessage::set_allocated_payload(::acvm::acir::circuit::AssertionPayload* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.payload_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.payload_ = reinterpret_cast<::acvm::acir::circuit::AssertionPayload*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.AssertMessage.payload) +} + +// ------------------------------------------------------------------- + +// OpcodeLocation_BrilligLocation + +// uint64 acir_index = 1; +inline void OpcodeLocation_BrilligLocation::clear_acir_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.acir_index_ = ::uint64_t{0u}; +} +inline ::uint64_t OpcodeLocation_BrilligLocation::acir_index() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.OpcodeLocation.BrilligLocation.acir_index) + return _internal_acir_index(); +} +inline void OpcodeLocation_BrilligLocation::set_acir_index(::uint64_t value) { + _internal_set_acir_index(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.OpcodeLocation.BrilligLocation.acir_index) +} +inline ::uint64_t OpcodeLocation_BrilligLocation::_internal_acir_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.acir_index_; +} +inline void OpcodeLocation_BrilligLocation::_internal_set_acir_index(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.acir_index_ = value; +} + +// uint64 brillig_index = 2; +inline void OpcodeLocation_BrilligLocation::clear_brillig_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.brillig_index_ = ::uint64_t{0u}; +} +inline ::uint64_t OpcodeLocation_BrilligLocation::brillig_index() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.OpcodeLocation.BrilligLocation.brillig_index) + return _internal_brillig_index(); +} +inline void OpcodeLocation_BrilligLocation::set_brillig_index(::uint64_t value) { + _internal_set_brillig_index(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.OpcodeLocation.BrilligLocation.brillig_index) +} +inline ::uint64_t OpcodeLocation_BrilligLocation::_internal_brillig_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.brillig_index_; +} +inline void OpcodeLocation_BrilligLocation::_internal_set_brillig_index(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.brillig_index_ = value; +} + +// ------------------------------------------------------------------- + +// OpcodeLocation + +// uint64 acir = 1; +inline bool OpcodeLocation::has_acir() const { + return value_case() == kAcir; +} +inline void OpcodeLocation::set_has_acir() { + _impl_._oneof_case_[0] = kAcir; +} +inline void OpcodeLocation::clear_acir() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kAcir) { + _impl_.value_.acir_ = ::uint64_t{0u}; + clear_has_value(); + } +} +inline ::uint64_t OpcodeLocation::acir() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.OpcodeLocation.acir) + return _internal_acir(); +} +inline void OpcodeLocation::set_acir(::uint64_t value) { + if (value_case() != kAcir) { + clear_value(); + set_has_acir(); + } + _impl_.value_.acir_ = value; + // @@protoc_insertion_point(field_set:acvm.acir.circuit.OpcodeLocation.acir) +} +inline ::uint64_t OpcodeLocation::_internal_acir() const { + if (value_case() == kAcir) { + return _impl_.value_.acir_; + } + return ::uint64_t{0u}; +} + +// .acvm.acir.circuit.OpcodeLocation.BrilligLocation brillig = 2; +inline bool OpcodeLocation::has_brillig() const { + return value_case() == kBrillig; +} +inline bool OpcodeLocation::_internal_has_brillig() const { + return value_case() == kBrillig; +} +inline void OpcodeLocation::set_has_brillig() { + _impl_._oneof_case_[0] = kBrillig; +} +inline void OpcodeLocation::clear_brillig() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBrillig) { + if (GetArena() == nullptr) { + delete _impl_.value_.brillig_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.brillig_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* OpcodeLocation::release_brillig() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.OpcodeLocation.brillig) + if (value_case() == kBrillig) { + clear_has_value(); + auto* temp = _impl_.value_.brillig_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.brillig_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::OpcodeLocation_BrilligLocation& OpcodeLocation::_internal_brillig() const { + return value_case() == kBrillig ? *_impl_.value_.brillig_ : reinterpret_cast<::acvm::acir::circuit::OpcodeLocation_BrilligLocation&>(::acvm::acir::circuit::_OpcodeLocation_BrilligLocation_default_instance_); +} +inline const ::acvm::acir::circuit::OpcodeLocation_BrilligLocation& OpcodeLocation::brillig() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.OpcodeLocation.brillig) + return _internal_brillig(); +} +inline ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* OpcodeLocation::unsafe_arena_release_brillig() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.OpcodeLocation.brillig) + if (value_case() == kBrillig) { + clear_has_value(); + auto* temp = _impl_.value_.brillig_; + _impl_.value_.brillig_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void OpcodeLocation::unsafe_arena_set_allocated_brillig(::acvm::acir::circuit::OpcodeLocation_BrilligLocation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_brillig(); + _impl_.value_.brillig_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.OpcodeLocation.brillig) +} +inline ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* OpcodeLocation::_internal_mutable_brillig() { + if (value_case() != kBrillig) { + clear_value(); + set_has_brillig(); + _impl_.value_.brillig_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::OpcodeLocation_BrilligLocation>(GetArena()); + } + return _impl_.value_.brillig_; +} +inline ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* OpcodeLocation::mutable_brillig() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::OpcodeLocation_BrilligLocation* _msg = _internal_mutable_brillig(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.OpcodeLocation.brillig) + return _msg; +} + +inline bool OpcodeLocation::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void OpcodeLocation::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline OpcodeLocation::ValueCase OpcodeLocation::value_case() const { + return OpcodeLocation::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// AssertionPayload + +// uint64 error_selector = 1; +inline void AssertionPayload::clear_error_selector() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.error_selector_ = ::uint64_t{0u}; +} +inline ::uint64_t AssertionPayload::error_selector() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.AssertionPayload.error_selector) + return _internal_error_selector(); +} +inline void AssertionPayload::set_error_selector(::uint64_t value) { + _internal_set_error_selector(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.AssertionPayload.error_selector) +} +inline ::uint64_t AssertionPayload::_internal_error_selector() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.error_selector_; +} +inline void AssertionPayload::_internal_set_error_selector(::uint64_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.error_selector_ = value; +} + +// repeated .acvm.acir.circuit.ExpressionOrMemory payload = 2; +inline int AssertionPayload::_internal_payload_size() const { + return _internal_payload().size(); +} +inline int AssertionPayload::payload_size() const { + return _internal_payload_size(); +} +inline void AssertionPayload::clear_payload() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.payload_.Clear(); +} +inline ::acvm::acir::circuit::ExpressionOrMemory* AssertionPayload::mutable_payload(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.AssertionPayload.payload) + return _internal_mutable_payload()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>* AssertionPayload::mutable_payload() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.AssertionPayload.payload) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_payload(); +} +inline const ::acvm::acir::circuit::ExpressionOrMemory& AssertionPayload::payload(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.AssertionPayload.payload) + return _internal_payload().Get(index); +} +inline ::acvm::acir::circuit::ExpressionOrMemory* AssertionPayload::add_payload() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::ExpressionOrMemory* _add = _internal_mutable_payload()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.AssertionPayload.payload) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>& AssertionPayload::payload() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.AssertionPayload.payload) + return _internal_payload(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>& +AssertionPayload::_internal_payload() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.payload_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::ExpressionOrMemory>* +AssertionPayload::_internal_mutable_payload() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.payload_; +} + +// ------------------------------------------------------------------- + +// ExpressionOrMemory + +// .acvm.acir.native.Expression expression = 1; +inline bool ExpressionOrMemory::has_expression() const { + return value_case() == kExpression; +} +inline bool ExpressionOrMemory::_internal_has_expression() const { + return value_case() == kExpression; +} +inline void ExpressionOrMemory::set_has_expression() { + _impl_._oneof_case_[0] = kExpression; +} +inline ::acvm::acir::native::Expression* ExpressionOrMemory::release_expression() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.ExpressionOrMemory.expression) + if (value_case() == kExpression) { + clear_has_value(); + auto* temp = _impl_.value_.expression_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.expression_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Expression& ExpressionOrMemory::_internal_expression() const { + return value_case() == kExpression ? *_impl_.value_.expression_ : reinterpret_cast<::acvm::acir::native::Expression&>(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& ExpressionOrMemory::expression() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ExpressionOrMemory.expression) + return _internal_expression(); +} +inline ::acvm::acir::native::Expression* ExpressionOrMemory::unsafe_arena_release_expression() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.ExpressionOrMemory.expression) + if (value_case() == kExpression) { + clear_has_value(); + auto* temp = _impl_.value_.expression_; + _impl_.value_.expression_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ExpressionOrMemory::unsafe_arena_set_allocated_expression(::acvm::acir::native::Expression* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_expression(); + _impl_.value_.expression_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.ExpressionOrMemory.expression) +} +inline ::acvm::acir::native::Expression* ExpressionOrMemory::_internal_mutable_expression() { + if (value_case() != kExpression) { + clear_value(); + set_has_expression(); + _impl_.value_.expression_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + } + return _impl_.value_.expression_; +} +inline ::acvm::acir::native::Expression* ExpressionOrMemory::mutable_expression() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Expression* _msg = _internal_mutable_expression(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.ExpressionOrMemory.expression) + return _msg; +} + +// uint32 memory = 2; +inline bool ExpressionOrMemory::has_memory() const { + return value_case() == kMemory; +} +inline void ExpressionOrMemory::set_has_memory() { + _impl_._oneof_case_[0] = kMemory; +} +inline void ExpressionOrMemory::clear_memory() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMemory) { + _impl_.value_.memory_ = 0u; + clear_has_value(); + } +} +inline ::uint32_t ExpressionOrMemory::memory() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ExpressionOrMemory.memory) + return _internal_memory(); +} +inline void ExpressionOrMemory::set_memory(::uint32_t value) { + if (value_case() != kMemory) { + clear_value(); + set_has_memory(); + } + _impl_.value_.memory_ = value; + // @@protoc_insertion_point(field_set:acvm.acir.circuit.ExpressionOrMemory.memory) +} +inline ::uint32_t ExpressionOrMemory::_internal_memory() const { + if (value_case() == kMemory) { + return _impl_.value_.memory_; + } + return 0u; +} + +inline bool ExpressionOrMemory::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void ExpressionOrMemory::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline ExpressionOrMemory::ValueCase ExpressionOrMemory::value_case() const { + return ExpressionOrMemory::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// Opcode_MemoryOp + +// uint32 block_id = 1; +inline void Opcode_MemoryOp::clear_block_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.block_id_ = 0u; +} +inline ::uint32_t Opcode_MemoryOp::block_id() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryOp.block_id) + return _internal_block_id(); +} +inline void Opcode_MemoryOp::set_block_id(::uint32_t value) { + _internal_set_block_id(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.Opcode.MemoryOp.block_id) +} +inline ::uint32_t Opcode_MemoryOp::_internal_block_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.block_id_; +} +inline void Opcode_MemoryOp::_internal_set_block_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.block_id_ = value; +} + +// .acvm.acir.circuit.MemOp op = 2; +inline bool Opcode_MemoryOp::has_op() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.op_ != nullptr); + return value; +} +inline void Opcode_MemoryOp::clear_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.op_ != nullptr) _impl_.op_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::MemOp& Opcode_MemoryOp::_internal_op() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::MemOp* p = _impl_.op_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_MemOp_default_instance_); +} +inline const ::acvm::acir::circuit::MemOp& Opcode_MemoryOp::op() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryOp.op) + return _internal_op(); +} +inline void Opcode_MemoryOp::unsafe_arena_set_allocated_op(::acvm::acir::circuit::MemOp* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.op_); + } + _impl_.op_ = reinterpret_cast<::acvm::acir::circuit::MemOp*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.MemoryOp.op) +} +inline ::acvm::acir::circuit::MemOp* Opcode_MemoryOp::release_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::MemOp* released = _impl_.op_; + _impl_.op_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::MemOp* Opcode_MemoryOp::unsafe_arena_release_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.MemoryOp.op) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::MemOp* temp = _impl_.op_; + _impl_.op_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::MemOp* Opcode_MemoryOp::_internal_mutable_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.op_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::MemOp>(GetArena()); + _impl_.op_ = reinterpret_cast<::acvm::acir::circuit::MemOp*>(p); + } + return _impl_.op_; +} +inline ::acvm::acir::circuit::MemOp* Opcode_MemoryOp::mutable_op() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::MemOp* _msg = _internal_mutable_op(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.MemoryOp.op) + return _msg; +} +inline void Opcode_MemoryOp::set_allocated_op(::acvm::acir::circuit::MemOp* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.op_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.op_ = reinterpret_cast<::acvm::acir::circuit::MemOp*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.MemoryOp.op) +} + +// optional .acvm.acir.native.Expression predicate = 3; +inline bool Opcode_MemoryOp::has_predicate() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.predicate_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& Opcode_MemoryOp::_internal_predicate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.predicate_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& Opcode_MemoryOp::predicate() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryOp.predicate) + return _internal_predicate(); +} +inline void Opcode_MemoryOp::unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.MemoryOp.predicate) +} +inline ::acvm::acir::native::Expression* Opcode_MemoryOp::release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Expression* released = _impl_.predicate_; + _impl_.predicate_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* Opcode_MemoryOp::unsafe_arena_release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.MemoryOp.predicate) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Expression* temp = _impl_.predicate_; + _impl_.predicate_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* Opcode_MemoryOp::_internal_mutable_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.predicate_; +} +inline ::acvm::acir::native::Expression* Opcode_MemoryOp::mutable_predicate() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_predicate(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.MemoryOp.predicate) + return _msg; +} +inline void Opcode_MemoryOp::set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.MemoryOp.predicate) +} + +// ------------------------------------------------------------------- + +// Opcode_MemoryInit + +// uint32 block_id = 1; +inline void Opcode_MemoryInit::clear_block_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.block_id_ = 0u; +} +inline ::uint32_t Opcode_MemoryInit::block_id() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryInit.block_id) + return _internal_block_id(); +} +inline void Opcode_MemoryInit::set_block_id(::uint32_t value) { + _internal_set_block_id(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.Opcode.MemoryInit.block_id) +} +inline ::uint32_t Opcode_MemoryInit::_internal_block_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.block_id_; +} +inline void Opcode_MemoryInit::_internal_set_block_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.block_id_ = value; +} + +// repeated .acvm.acir.native.Witness init = 2; +inline int Opcode_MemoryInit::_internal_init_size() const { + return _internal_init().size(); +} +inline int Opcode_MemoryInit::init_size() const { + return _internal_init_size(); +} +inline ::acvm::acir::native::Witness* Opcode_MemoryInit::mutable_init(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.MemoryInit.init) + return _internal_mutable_init()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Opcode_MemoryInit::mutable_init() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Opcode.MemoryInit.init) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_init(); +} +inline const ::acvm::acir::native::Witness& Opcode_MemoryInit::init(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryInit.init) + return _internal_init().Get(index); +} +inline ::acvm::acir::native::Witness* Opcode_MemoryInit::add_init() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_init()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Opcode.MemoryInit.init) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Opcode_MemoryInit::init() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Opcode.MemoryInit.init) + return _internal_init(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Opcode_MemoryInit::_internal_init() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.init_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Opcode_MemoryInit::_internal_mutable_init() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.init_; +} + +// .acvm.acir.circuit.BlockType block_type = 3; +inline bool Opcode_MemoryInit::has_block_type() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.block_type_ != nullptr); + return value; +} +inline void Opcode_MemoryInit::clear_block_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.block_type_ != nullptr) _impl_.block_type_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::BlockType& Opcode_MemoryInit::_internal_block_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::BlockType* p = _impl_.block_type_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_BlockType_default_instance_); +} +inline const ::acvm::acir::circuit::BlockType& Opcode_MemoryInit::block_type() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.MemoryInit.block_type) + return _internal_block_type(); +} +inline void Opcode_MemoryInit::unsafe_arena_set_allocated_block_type(::acvm::acir::circuit::BlockType* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.block_type_); + } + _impl_.block_type_ = reinterpret_cast<::acvm::acir::circuit::BlockType*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.MemoryInit.block_type) +} +inline ::acvm::acir::circuit::BlockType* Opcode_MemoryInit::release_block_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::BlockType* released = _impl_.block_type_; + _impl_.block_type_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::BlockType* Opcode_MemoryInit::unsafe_arena_release_block_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.MemoryInit.block_type) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::BlockType* temp = _impl_.block_type_; + _impl_.block_type_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::BlockType* Opcode_MemoryInit::_internal_mutable_block_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.block_type_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlockType>(GetArena()); + _impl_.block_type_ = reinterpret_cast<::acvm::acir::circuit::BlockType*>(p); + } + return _impl_.block_type_; +} +inline ::acvm::acir::circuit::BlockType* Opcode_MemoryInit::mutable_block_type() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::BlockType* _msg = _internal_mutable_block_type(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.MemoryInit.block_type) + return _msg; +} +inline void Opcode_MemoryInit::set_allocated_block_type(::acvm::acir::circuit::BlockType* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.block_type_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.block_type_ = reinterpret_cast<::acvm::acir::circuit::BlockType*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.MemoryInit.block_type) +} + +// ------------------------------------------------------------------- + +// Opcode_BrilligCall + +// uint32 id = 1; +inline void Opcode_BrilligCall::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_ = 0u; +} +inline ::uint32_t Opcode_BrilligCall::id() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.BrilligCall.id) + return _internal_id(); +} +inline void Opcode_BrilligCall::set_id(::uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.Opcode.BrilligCall.id) +} +inline ::uint32_t Opcode_BrilligCall::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_; +} +inline void Opcode_BrilligCall::_internal_set_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_ = value; +} + +// repeated .acvm.acir.circuit.BrilligInputs inputs = 2; +inline int Opcode_BrilligCall::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int Opcode_BrilligCall::inputs_size() const { + return _internal_inputs_size(); +} +inline void Opcode_BrilligCall::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::BrilligInputs* Opcode_BrilligCall::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.BrilligCall.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>* Opcode_BrilligCall::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Opcode.BrilligCall.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::BrilligInputs& Opcode_BrilligCall::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.BrilligCall.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::BrilligInputs* Opcode_BrilligCall::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::BrilligInputs* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Opcode.BrilligCall.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>& Opcode_BrilligCall::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Opcode.BrilligCall.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>& +Opcode_BrilligCall::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligInputs>* +Opcode_BrilligCall::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.circuit.BrilligOutputs outputs = 3; +inline int Opcode_BrilligCall::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int Opcode_BrilligCall::outputs_size() const { + return _internal_outputs_size(); +} +inline void Opcode_BrilligCall::clear_outputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.outputs_.Clear(); +} +inline ::acvm::acir::circuit::BrilligOutputs* Opcode_BrilligCall::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.BrilligCall.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>* Opcode_BrilligCall::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Opcode.BrilligCall.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::circuit::BrilligOutputs& Opcode_BrilligCall::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.BrilligCall.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::circuit::BrilligOutputs* Opcode_BrilligCall::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::BrilligOutputs* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Opcode.BrilligCall.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>& Opcode_BrilligCall::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Opcode.BrilligCall.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>& +Opcode_BrilligCall::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::BrilligOutputs>* +Opcode_BrilligCall::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// optional .acvm.acir.native.Expression predicate = 4; +inline bool Opcode_BrilligCall::has_predicate() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.predicate_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& Opcode_BrilligCall::_internal_predicate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.predicate_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& Opcode_BrilligCall::predicate() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.BrilligCall.predicate) + return _internal_predicate(); +} +inline void Opcode_BrilligCall::unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.BrilligCall.predicate) +} +inline ::acvm::acir::native::Expression* Opcode_BrilligCall::release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* released = _impl_.predicate_; + _impl_.predicate_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* Opcode_BrilligCall::unsafe_arena_release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.BrilligCall.predicate) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* temp = _impl_.predicate_; + _impl_.predicate_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* Opcode_BrilligCall::_internal_mutable_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.predicate_; +} +inline ::acvm::acir::native::Expression* Opcode_BrilligCall::mutable_predicate() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_predicate(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.BrilligCall.predicate) + return _msg; +} +inline void Opcode_BrilligCall::set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.BrilligCall.predicate) +} + +// ------------------------------------------------------------------- + +// Opcode_Call + +// uint32 id = 1; +inline void Opcode_Call::clear_id() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_ = 0u; +} +inline ::uint32_t Opcode_Call::id() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.Call.id) + return _internal_id(); +} +inline void Opcode_Call::set_id(::uint32_t value) { + _internal_set_id(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.Opcode.Call.id) +} +inline ::uint32_t Opcode_Call::_internal_id() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.id_; +} +inline void Opcode_Call::_internal_set_id(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.id_ = value; +} + +// repeated .acvm.acir.native.Witness inputs = 2; +inline int Opcode_Call::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int Opcode_Call::inputs_size() const { + return _internal_inputs_size(); +} +inline ::acvm::acir::native::Witness* Opcode_Call::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.Call.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Opcode_Call::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Opcode.Call.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::native::Witness& Opcode_Call::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.Call.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::native::Witness* Opcode_Call::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Opcode.Call.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Opcode_Call::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Opcode.Call.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Opcode_Call::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Opcode_Call::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.native.Witness outputs = 3; +inline int Opcode_Call::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int Opcode_Call::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* Opcode_Call::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.Call.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* Opcode_Call::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.Opcode.Call.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& Opcode_Call::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.Call.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* Opcode_Call::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.Opcode.Call.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& Opcode_Call::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.Opcode.Call.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +Opcode_Call::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +Opcode_Call::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// optional .acvm.acir.native.Expression predicate = 4; +inline bool Opcode_Call::has_predicate() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.predicate_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& Opcode_Call::_internal_predicate() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.predicate_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& Opcode_Call::predicate() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.Call.predicate) + return _internal_predicate(); +} +inline void Opcode_Call::unsafe_arena_set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.Call.predicate) +} +inline ::acvm::acir::native::Expression* Opcode_Call::release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* released = _impl_.predicate_; + _impl_.predicate_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* Opcode_Call::unsafe_arena_release_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.Call.predicate) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* temp = _impl_.predicate_; + _impl_.predicate_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* Opcode_Call::_internal_mutable_predicate() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.predicate_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.predicate_; +} +inline ::acvm::acir::native::Expression* Opcode_Call::mutable_predicate() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_predicate(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.Call.predicate) + return _msg; +} +inline void Opcode_Call::set_allocated_predicate(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.predicate_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.predicate_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.Opcode.Call.predicate) +} + +// ------------------------------------------------------------------- + +// Opcode + +// .acvm.acir.native.Expression assert_zero = 1; +inline bool Opcode::has_assert_zero() const { + return value_case() == kAssertZero; +} +inline bool Opcode::_internal_has_assert_zero() const { + return value_case() == kAssertZero; +} +inline void Opcode::set_has_assert_zero() { + _impl_._oneof_case_[0] = kAssertZero; +} +inline ::acvm::acir::native::Expression* Opcode::release_assert_zero() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.assert_zero) + if (value_case() == kAssertZero) { + clear_has_value(); + auto* temp = _impl_.value_.assert_zero_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.assert_zero_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Expression& Opcode::_internal_assert_zero() const { + return value_case() == kAssertZero ? *_impl_.value_.assert_zero_ : reinterpret_cast<::acvm::acir::native::Expression&>(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& Opcode::assert_zero() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.assert_zero) + return _internal_assert_zero(); +} +inline ::acvm::acir::native::Expression* Opcode::unsafe_arena_release_assert_zero() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.assert_zero) + if (value_case() == kAssertZero) { + clear_has_value(); + auto* temp = _impl_.value_.assert_zero_; + _impl_.value_.assert_zero_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_assert_zero(::acvm::acir::native::Expression* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_assert_zero(); + _impl_.value_.assert_zero_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.assert_zero) +} +inline ::acvm::acir::native::Expression* Opcode::_internal_mutable_assert_zero() { + if (value_case() != kAssertZero) { + clear_value(); + set_has_assert_zero(); + _impl_.value_.assert_zero_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + } + return _impl_.value_.assert_zero_; +} +inline ::acvm::acir::native::Expression* Opcode::mutable_assert_zero() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Expression* _msg = _internal_mutable_assert_zero(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.assert_zero) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall blackbox_func_call = 2; +inline bool Opcode::has_blackbox_func_call() const { + return value_case() == kBlackboxFuncCall; +} +inline bool Opcode::_internal_has_blackbox_func_call() const { + return value_case() == kBlackboxFuncCall; +} +inline void Opcode::set_has_blackbox_func_call() { + _impl_._oneof_case_[0] = kBlackboxFuncCall; +} +inline void Opcode::clear_blackbox_func_call() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBlackboxFuncCall) { + if (GetArena() == nullptr) { + delete _impl_.value_.blackbox_func_call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blackbox_func_call_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall* Opcode::release_blackbox_func_call() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.blackbox_func_call) + if (value_case() == kBlackboxFuncCall) { + clear_has_value(); + auto* temp = _impl_.value_.blackbox_func_call_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.blackbox_func_call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall& Opcode::_internal_blackbox_func_call() const { + return value_case() == kBlackboxFuncCall ? *_impl_.value_.blackbox_func_call_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall&>(::acvm::acir::circuit::_BlackBoxFuncCall_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall& Opcode::blackbox_func_call() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.blackbox_func_call) + return _internal_blackbox_func_call(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall* Opcode::unsafe_arena_release_blackbox_func_call() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.blackbox_func_call) + if (value_case() == kBlackboxFuncCall) { + clear_has_value(); + auto* temp = _impl_.value_.blackbox_func_call_; + _impl_.value_.blackbox_func_call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_blackbox_func_call(::acvm::acir::circuit::BlackBoxFuncCall* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_blackbox_func_call(); + _impl_.value_.blackbox_func_call_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.blackbox_func_call) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall* Opcode::_internal_mutable_blackbox_func_call() { + if (value_case() != kBlackboxFuncCall) { + clear_value(); + set_has_blackbox_func_call(); + _impl_.value_.blackbox_func_call_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall>(GetArena()); + } + return _impl_.value_.blackbox_func_call_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall* Opcode::mutable_blackbox_func_call() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall* _msg = _internal_mutable_blackbox_func_call(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.blackbox_func_call) + return _msg; +} + +// .acvm.acir.circuit.Opcode.MemoryOp memory_op = 3; +inline bool Opcode::has_memory_op() const { + return value_case() == kMemoryOp; +} +inline bool Opcode::_internal_has_memory_op() const { + return value_case() == kMemoryOp; +} +inline void Opcode::set_has_memory_op() { + _impl_._oneof_case_[0] = kMemoryOp; +} +inline void Opcode::clear_memory_op() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMemoryOp) { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_op_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_op_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::Opcode_MemoryOp* Opcode::release_memory_op() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.memory_op) + if (value_case() == kMemoryOp) { + clear_has_value(); + auto* temp = _impl_.value_.memory_op_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.memory_op_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::Opcode_MemoryOp& Opcode::_internal_memory_op() const { + return value_case() == kMemoryOp ? *_impl_.value_.memory_op_ : reinterpret_cast<::acvm::acir::circuit::Opcode_MemoryOp&>(::acvm::acir::circuit::_Opcode_MemoryOp_default_instance_); +} +inline const ::acvm::acir::circuit::Opcode_MemoryOp& Opcode::memory_op() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.memory_op) + return _internal_memory_op(); +} +inline ::acvm::acir::circuit::Opcode_MemoryOp* Opcode::unsafe_arena_release_memory_op() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.memory_op) + if (value_case() == kMemoryOp) { + clear_has_value(); + auto* temp = _impl_.value_.memory_op_; + _impl_.value_.memory_op_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_memory_op(::acvm::acir::circuit::Opcode_MemoryOp* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_memory_op(); + _impl_.value_.memory_op_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.memory_op) +} +inline ::acvm::acir::circuit::Opcode_MemoryOp* Opcode::_internal_mutable_memory_op() { + if (value_case() != kMemoryOp) { + clear_value(); + set_has_memory_op(); + _impl_.value_.memory_op_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::Opcode_MemoryOp>(GetArena()); + } + return _impl_.value_.memory_op_; +} +inline ::acvm::acir::circuit::Opcode_MemoryOp* Opcode::mutable_memory_op() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::Opcode_MemoryOp* _msg = _internal_mutable_memory_op(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.memory_op) + return _msg; +} + +// .acvm.acir.circuit.Opcode.MemoryInit memory_init = 4; +inline bool Opcode::has_memory_init() const { + return value_case() == kMemoryInit; +} +inline bool Opcode::_internal_has_memory_init() const { + return value_case() == kMemoryInit; +} +inline void Opcode::set_has_memory_init() { + _impl_._oneof_case_[0] = kMemoryInit; +} +inline void Opcode::clear_memory_init() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMemoryInit) { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_init_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_init_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::Opcode_MemoryInit* Opcode::release_memory_init() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.memory_init) + if (value_case() == kMemoryInit) { + clear_has_value(); + auto* temp = _impl_.value_.memory_init_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.memory_init_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::Opcode_MemoryInit& Opcode::_internal_memory_init() const { + return value_case() == kMemoryInit ? *_impl_.value_.memory_init_ : reinterpret_cast<::acvm::acir::circuit::Opcode_MemoryInit&>(::acvm::acir::circuit::_Opcode_MemoryInit_default_instance_); +} +inline const ::acvm::acir::circuit::Opcode_MemoryInit& Opcode::memory_init() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.memory_init) + return _internal_memory_init(); +} +inline ::acvm::acir::circuit::Opcode_MemoryInit* Opcode::unsafe_arena_release_memory_init() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.memory_init) + if (value_case() == kMemoryInit) { + clear_has_value(); + auto* temp = _impl_.value_.memory_init_; + _impl_.value_.memory_init_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_memory_init(::acvm::acir::circuit::Opcode_MemoryInit* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_memory_init(); + _impl_.value_.memory_init_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.memory_init) +} +inline ::acvm::acir::circuit::Opcode_MemoryInit* Opcode::_internal_mutable_memory_init() { + if (value_case() != kMemoryInit) { + clear_value(); + set_has_memory_init(); + _impl_.value_.memory_init_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::Opcode_MemoryInit>(GetArena()); + } + return _impl_.value_.memory_init_; +} +inline ::acvm::acir::circuit::Opcode_MemoryInit* Opcode::mutable_memory_init() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::Opcode_MemoryInit* _msg = _internal_mutable_memory_init(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.memory_init) + return _msg; +} + +// .acvm.acir.circuit.Opcode.BrilligCall brillig_call = 5; +inline bool Opcode::has_brillig_call() const { + return value_case() == kBrilligCall; +} +inline bool Opcode::_internal_has_brillig_call() const { + return value_case() == kBrilligCall; +} +inline void Opcode::set_has_brillig_call() { + _impl_._oneof_case_[0] = kBrilligCall; +} +inline void Opcode::clear_brillig_call() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBrilligCall) { + if (GetArena() == nullptr) { + delete _impl_.value_.brillig_call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.brillig_call_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::Opcode_BrilligCall* Opcode::release_brillig_call() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.brillig_call) + if (value_case() == kBrilligCall) { + clear_has_value(); + auto* temp = _impl_.value_.brillig_call_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.brillig_call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::Opcode_BrilligCall& Opcode::_internal_brillig_call() const { + return value_case() == kBrilligCall ? *_impl_.value_.brillig_call_ : reinterpret_cast<::acvm::acir::circuit::Opcode_BrilligCall&>(::acvm::acir::circuit::_Opcode_BrilligCall_default_instance_); +} +inline const ::acvm::acir::circuit::Opcode_BrilligCall& Opcode::brillig_call() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.brillig_call) + return _internal_brillig_call(); +} +inline ::acvm::acir::circuit::Opcode_BrilligCall* Opcode::unsafe_arena_release_brillig_call() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.brillig_call) + if (value_case() == kBrilligCall) { + clear_has_value(); + auto* temp = _impl_.value_.brillig_call_; + _impl_.value_.brillig_call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_brillig_call(::acvm::acir::circuit::Opcode_BrilligCall* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_brillig_call(); + _impl_.value_.brillig_call_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.brillig_call) +} +inline ::acvm::acir::circuit::Opcode_BrilligCall* Opcode::_internal_mutable_brillig_call() { + if (value_case() != kBrilligCall) { + clear_value(); + set_has_brillig_call(); + _impl_.value_.brillig_call_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::Opcode_BrilligCall>(GetArena()); + } + return _impl_.value_.brillig_call_; +} +inline ::acvm::acir::circuit::Opcode_BrilligCall* Opcode::mutable_brillig_call() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::Opcode_BrilligCall* _msg = _internal_mutable_brillig_call(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.brillig_call) + return _msg; +} + +// .acvm.acir.circuit.Opcode.Call call = 6; +inline bool Opcode::has_call() const { + return value_case() == kCall; +} +inline bool Opcode::_internal_has_call() const { + return value_case() == kCall; +} +inline void Opcode::set_has_call() { + _impl_._oneof_case_[0] = kCall; +} +inline void Opcode::clear_call() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kCall) { + if (GetArena() == nullptr) { + delete _impl_.value_.call_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.call_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::Opcode_Call* Opcode::release_call() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.Opcode.call) + if (value_case() == kCall) { + clear_has_value(); + auto* temp = _impl_.value_.call_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::Opcode_Call& Opcode::_internal_call() const { + return value_case() == kCall ? *_impl_.value_.call_ : reinterpret_cast<::acvm::acir::circuit::Opcode_Call&>(::acvm::acir::circuit::_Opcode_Call_default_instance_); +} +inline const ::acvm::acir::circuit::Opcode_Call& Opcode::call() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.Opcode.call) + return _internal_call(); +} +inline ::acvm::acir::circuit::Opcode_Call* Opcode::unsafe_arena_release_call() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.Opcode.call) + if (value_case() == kCall) { + clear_has_value(); + auto* temp = _impl_.value_.call_; + _impl_.value_.call_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void Opcode::unsafe_arena_set_allocated_call(::acvm::acir::circuit::Opcode_Call* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_call(); + _impl_.value_.call_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.Opcode.call) +} +inline ::acvm::acir::circuit::Opcode_Call* Opcode::_internal_mutable_call() { + if (value_case() != kCall) { + clear_value(); + set_has_call(); + _impl_.value_.call_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::Opcode_Call>(GetArena()); + } + return _impl_.value_.call_; +} +inline ::acvm::acir::circuit::Opcode_Call* Opcode::mutable_call() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::Opcode_Call* _msg = _internal_mutable_call(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.Opcode.call) + return _msg; +} + +inline bool Opcode::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void Opcode::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline Opcode::ValueCase Opcode::value_case() const { + return Opcode::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_AES128Encrypt + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_AES128Encrypt::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_AES128Encrypt::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_AES128Encrypt::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_AES128Encrypt::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AES128Encrypt::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_AES128Encrypt::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_AES128Encrypt::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_AES128Encrypt::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.circuit.FunctionInput iv = 2; +inline int BlackBoxFuncCall_AES128Encrypt::_internal_iv_size() const { + return _internal_iv().size(); +} +inline int BlackBoxFuncCall_AES128Encrypt::iv_size() const { + return _internal_iv_size(); +} +inline void BlackBoxFuncCall_AES128Encrypt::clear_iv() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.iv_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::mutable_iv(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.iv) + return _internal_mutable_iv()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_AES128Encrypt::mutable_iv() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.iv) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_iv(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AES128Encrypt::iv(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.iv) + return _internal_iv().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::add_iv() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_iv()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.iv) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_AES128Encrypt::iv() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.iv) + return _internal_iv(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_AES128Encrypt::_internal_iv() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.iv_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_AES128Encrypt::_internal_mutable_iv() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.iv_; +} + +// repeated .acvm.acir.circuit.FunctionInput key = 3; +inline int BlackBoxFuncCall_AES128Encrypt::_internal_key_size() const { + return _internal_key().size(); +} +inline int BlackBoxFuncCall_AES128Encrypt::key_size() const { + return _internal_key_size(); +} +inline void BlackBoxFuncCall_AES128Encrypt::clear_key() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.key_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::mutable_key(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.key) + return _internal_mutable_key()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_AES128Encrypt::mutable_key() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.key) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_key(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AES128Encrypt::key(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.key) + return _internal_key().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AES128Encrypt::add_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_key()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.key) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_AES128Encrypt::key() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.key) + return _internal_key(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_AES128Encrypt::_internal_key() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.key_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_AES128Encrypt::_internal_mutable_key() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.key_; +} + +// repeated .acvm.acir.native.Witness outputs = 4; +inline int BlackBoxFuncCall_AES128Encrypt::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_AES128Encrypt::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AES128Encrypt::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_AES128Encrypt::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_AES128Encrypt::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AES128Encrypt::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_AES128Encrypt::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_AES128Encrypt::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_AES128Encrypt::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_AND + +// .acvm.acir.circuit.FunctionInput lhs = 1; +inline bool BlackBoxFuncCall_AND::has_lhs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.lhs_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_AND::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.lhs_ != nullptr) _impl_.lhs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AND::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.lhs_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AND::lhs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AND.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_AND::unsafe_arena_set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lhs_); + } + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.lhs) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::release_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.lhs_; + _impl_.lhs_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::unsafe_arena_release_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.AND.lhs) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.lhs_; + _impl_.lhs_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::_internal_mutable_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.lhs_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.lhs_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::mutable_lhs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_lhs(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AND.lhs) + return _msg; +} +inline void BlackBoxFuncCall_AND::set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.lhs_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.lhs) +} + +// .acvm.acir.circuit.FunctionInput rhs = 2; +inline bool BlackBoxFuncCall_AND::has_rhs() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.rhs_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_AND::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rhs_ != nullptr) _impl_.rhs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AND::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.rhs_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_AND::rhs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AND.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_AND::unsafe_arena_set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rhs_); + } + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.rhs) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::release_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.rhs_; + _impl_.rhs_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::unsafe_arena_release_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.AND.rhs) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.rhs_; + _impl_.rhs_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::_internal_mutable_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rhs_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.rhs_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_AND::mutable_rhs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_rhs(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AND.rhs) + return _msg; +} +inline void BlackBoxFuncCall_AND::set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.rhs_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.rhs) +} + +// .acvm.acir.native.Witness output = 3; +inline bool BlackBoxFuncCall_AND::has_output() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_AND::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.output_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_AND::output() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.AND.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_AND::unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.output) +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AND::release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* released = _impl_.output_; + _impl_.output_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AND::unsafe_arena_release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.AND.output) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* temp = _impl_.output_; + _impl_.output_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AND::_internal_mutable_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.output_; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_AND::mutable_output() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_output(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.AND.output) + return _msg; +} +inline void BlackBoxFuncCall_AND::set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.AND.output) +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_XOR + +// .acvm.acir.circuit.FunctionInput lhs = 1; +inline bool BlackBoxFuncCall_XOR::has_lhs() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.lhs_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_XOR::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.lhs_ != nullptr) _impl_.lhs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_XOR::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.lhs_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_XOR::lhs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.XOR.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_XOR::unsafe_arena_set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.lhs_); + } + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.lhs) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::release_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.lhs_; + _impl_.lhs_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::unsafe_arena_release_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.XOR.lhs) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.lhs_; + _impl_.lhs_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::_internal_mutable_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.lhs_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.lhs_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::mutable_lhs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_lhs(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.XOR.lhs) + return _msg; +} +inline void BlackBoxFuncCall_XOR::set_allocated_lhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.lhs_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.lhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.lhs) +} + +// .acvm.acir.circuit.FunctionInput rhs = 2; +inline bool BlackBoxFuncCall_XOR::has_rhs() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.rhs_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_XOR::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rhs_ != nullptr) _impl_.rhs_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_XOR::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.rhs_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_XOR::rhs() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.XOR.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_XOR::unsafe_arena_set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.rhs_); + } + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.rhs) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::release_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.rhs_; + _impl_.rhs_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::unsafe_arena_release_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.XOR.rhs) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.rhs_; + _impl_.rhs_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::_internal_mutable_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.rhs_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.rhs_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_XOR::mutable_rhs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_rhs(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.XOR.rhs) + return _msg; +} +inline void BlackBoxFuncCall_XOR::set_allocated_rhs(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.rhs_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.rhs_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.rhs) +} + +// .acvm.acir.native.Witness output = 3; +inline bool BlackBoxFuncCall_XOR::has_output() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_XOR::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.output_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_XOR::output() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.XOR.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_XOR::unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.output) +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_XOR::release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* released = _impl_.output_; + _impl_.output_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_XOR::unsafe_arena_release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.XOR.output) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* temp = _impl_.output_; + _impl_.output_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_XOR::_internal_mutable_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.output_; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_XOR::mutable_output() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_output(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.XOR.output) + return _msg; +} +inline void BlackBoxFuncCall_XOR::set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.XOR.output) +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_RANGE + +// .acvm.acir.circuit.FunctionInput input = 1; +inline bool BlackBoxFuncCall_RANGE::has_input() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.input_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_RANGE::clear_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.input_ != nullptr) _impl_.input_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RANGE::_internal_input() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.input_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RANGE::input() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RANGE.input) + return _internal_input(); +} +inline void BlackBoxFuncCall_RANGE::unsafe_arena_set_allocated_input(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.input_); + } + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.RANGE.input) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RANGE::release_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.input_; + _impl_.input_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RANGE::unsafe_arena_release_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.RANGE.input) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.input_; + _impl_.input_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RANGE::_internal_mutable_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.input_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.input_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RANGE::mutable_input() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_input(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.RANGE.input) + return _msg; +} +inline void BlackBoxFuncCall_RANGE::set_allocated_input(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.input_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.RANGE.input) +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_Blake2s + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_Blake2s::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_Blake2s::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_Blake2s::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Blake2s::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Blake2s::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Blake2s::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Blake2s::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Blake2s::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Blake2s::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Blake2s::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.native.Witness outputs = 2; +inline int BlackBoxFuncCall_Blake2s::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_Blake2s::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Blake2s::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_Blake2s::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_Blake2s::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Blake2s::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_Blake2s::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Blake2s.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_Blake2s::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_Blake2s::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_Blake3 + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_Blake3::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_Blake3::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_Blake3::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Blake3::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Blake3.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Blake3::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Blake3.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Blake3::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Blake3.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Blake3::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Blake3.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Blake3::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Blake3.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Blake3::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Blake3::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.native.Witness outputs = 2; +inline int BlackBoxFuncCall_Blake3::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_Blake3::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Blake3::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Blake3.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_Blake3::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Blake3.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_Blake3::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Blake3.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Blake3::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Blake3.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_Blake3::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Blake3.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_Blake3::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_Blake3::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_EcdsaSecp256k1 + +// repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; +inline int BlackBoxFuncCall_EcdsaSecp256k1::_internal_public_key_x_size() const { + return _internal_public_key_x().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256k1::public_key_x_size() const { + return _internal_public_key_x_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::clear_public_key_x() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_key_x_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::mutable_public_key_x(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_x) + return _internal_mutable_public_key_x()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256k1::mutable_public_key_x() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_x) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_key_x(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256k1::public_key_x(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_x) + return _internal_public_key_x().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::add_public_key_x() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_public_key_x()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_x) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256k1::public_key_x() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_x) + return _internal_public_key_x(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256k1::_internal_public_key_x() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_key_x_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256k1::_internal_mutable_public_key_x() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_key_x_; +} + +// repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; +inline int BlackBoxFuncCall_EcdsaSecp256k1::_internal_public_key_y_size() const { + return _internal_public_key_y().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256k1::public_key_y_size() const { + return _internal_public_key_y_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::clear_public_key_y() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_key_y_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::mutable_public_key_y(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_y) + return _internal_mutable_public_key_y()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256k1::mutable_public_key_y() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_y) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_key_y(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256k1::public_key_y(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_y) + return _internal_public_key_y().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::add_public_key_y() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_public_key_y()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_y) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256k1::public_key_y() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.public_key_y) + return _internal_public_key_y(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256k1::_internal_public_key_y() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_key_y_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256k1::_internal_mutable_public_key_y() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_key_y_; +} + +// repeated .acvm.acir.circuit.FunctionInput signature = 3; +inline int BlackBoxFuncCall_EcdsaSecp256k1::_internal_signature_size() const { + return _internal_signature().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256k1::signature_size() const { + return _internal_signature_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::clear_signature() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.signature_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::mutable_signature(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.signature) + return _internal_mutable_signature()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256k1::mutable_signature() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.signature) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_signature(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256k1::signature(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.signature) + return _internal_signature().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::add_signature() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_signature()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.signature) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256k1::signature() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.signature) + return _internal_signature(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256k1::_internal_signature() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.signature_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256k1::_internal_mutable_signature() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.signature_; +} + +// repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; +inline int BlackBoxFuncCall_EcdsaSecp256k1::_internal_hashed_message_size() const { + return _internal_hashed_message().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256k1::hashed_message_size() const { + return _internal_hashed_message_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::clear_hashed_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hashed_message_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::mutable_hashed_message(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.hashed_message) + return _internal_mutable_hashed_message()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256k1::mutable_hashed_message() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.hashed_message) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_hashed_message(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256k1::hashed_message(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.hashed_message) + return _internal_hashed_message().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256k1::add_hashed_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_hashed_message()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.hashed_message) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256k1::hashed_message() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.hashed_message) + return _internal_hashed_message(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256k1::_internal_hashed_message() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hashed_message_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256k1::_internal_mutable_hashed_message() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.hashed_message_; +} + +// .acvm.acir.native.Witness output = 5; +inline bool BlackBoxFuncCall_EcdsaSecp256k1::has_output() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_EcdsaSecp256k1::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.output_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_EcdsaSecp256k1::output() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.output) +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256k1::release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* released = _impl_.output_; + _impl_.output_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256k1::unsafe_arena_release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.output) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* temp = _impl_.output_; + _impl_.output_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256k1::_internal_mutable_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.output_; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256k1::mutable_output() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_output(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.output) + return _msg; +} +inline void BlackBoxFuncCall_EcdsaSecp256k1::set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1.output) +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_EcdsaSecp256r1 + +// repeated .acvm.acir.circuit.FunctionInput public_key_x = 1; +inline int BlackBoxFuncCall_EcdsaSecp256r1::_internal_public_key_x_size() const { + return _internal_public_key_x().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256r1::public_key_x_size() const { + return _internal_public_key_x_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::clear_public_key_x() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_key_x_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::mutable_public_key_x(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_x) + return _internal_mutable_public_key_x()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256r1::mutable_public_key_x() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_x) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_key_x(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256r1::public_key_x(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_x) + return _internal_public_key_x().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::add_public_key_x() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_public_key_x()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_x) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256r1::public_key_x() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_x) + return _internal_public_key_x(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256r1::_internal_public_key_x() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_key_x_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256r1::_internal_mutable_public_key_x() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_key_x_; +} + +// repeated .acvm.acir.circuit.FunctionInput public_key_y = 2; +inline int BlackBoxFuncCall_EcdsaSecp256r1::_internal_public_key_y_size() const { + return _internal_public_key_y().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256r1::public_key_y_size() const { + return _internal_public_key_y_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::clear_public_key_y() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_key_y_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::mutable_public_key_y(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_y) + return _internal_mutable_public_key_y()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256r1::mutable_public_key_y() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_y) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_key_y(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256r1::public_key_y(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_y) + return _internal_public_key_y().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::add_public_key_y() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_public_key_y()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_y) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256r1::public_key_y() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.public_key_y) + return _internal_public_key_y(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256r1::_internal_public_key_y() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_key_y_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256r1::_internal_mutable_public_key_y() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_key_y_; +} + +// repeated .acvm.acir.circuit.FunctionInput signature = 3; +inline int BlackBoxFuncCall_EcdsaSecp256r1::_internal_signature_size() const { + return _internal_signature().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256r1::signature_size() const { + return _internal_signature_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::clear_signature() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.signature_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::mutable_signature(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.signature) + return _internal_mutable_signature()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256r1::mutable_signature() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.signature) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_signature(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256r1::signature(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.signature) + return _internal_signature().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::add_signature() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_signature()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.signature) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256r1::signature() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.signature) + return _internal_signature(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256r1::_internal_signature() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.signature_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256r1::_internal_mutable_signature() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.signature_; +} + +// repeated .acvm.acir.circuit.FunctionInput hashed_message = 4; +inline int BlackBoxFuncCall_EcdsaSecp256r1::_internal_hashed_message_size() const { + return _internal_hashed_message().size(); +} +inline int BlackBoxFuncCall_EcdsaSecp256r1::hashed_message_size() const { + return _internal_hashed_message_size(); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::clear_hashed_message() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hashed_message_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::mutable_hashed_message(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.hashed_message) + return _internal_mutable_hashed_message()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EcdsaSecp256r1::mutable_hashed_message() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.hashed_message) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_hashed_message(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EcdsaSecp256r1::hashed_message(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.hashed_message) + return _internal_hashed_message().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EcdsaSecp256r1::add_hashed_message() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_hashed_message()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.hashed_message) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EcdsaSecp256r1::hashed_message() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.hashed_message) + return _internal_hashed_message(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EcdsaSecp256r1::_internal_hashed_message() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hashed_message_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EcdsaSecp256r1::_internal_mutable_hashed_message() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.hashed_message_; +} + +// .acvm.acir.native.Witness output = 5; +inline bool BlackBoxFuncCall_EcdsaSecp256r1::has_output() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.output_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_EcdsaSecp256r1::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.output_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_EcdsaSecp256r1::output() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::unsafe_arena_set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.output) +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256r1::release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* released = _impl_.output_; + _impl_.output_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256r1::unsafe_arena_release_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.output) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* temp = _impl_.output_; + _impl_.output_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256r1::_internal_mutable_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.output_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.output_; +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EcdsaSecp256r1::mutable_output() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_output(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.output) + return _msg; +} +inline void BlackBoxFuncCall_EcdsaSecp256r1::set_allocated_output(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.output_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.output_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1.output) +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_MultiScalarMul + +// repeated .acvm.acir.circuit.FunctionInput points = 1; +inline int BlackBoxFuncCall_MultiScalarMul::_internal_points_size() const { + return _internal_points().size(); +} +inline int BlackBoxFuncCall_MultiScalarMul::points_size() const { + return _internal_points_size(); +} +inline void BlackBoxFuncCall_MultiScalarMul::clear_points() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.points_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_MultiScalarMul::mutable_points(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.points) + return _internal_mutable_points()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_MultiScalarMul::mutable_points() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.points) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_points(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_MultiScalarMul::points(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.points) + return _internal_points().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_MultiScalarMul::add_points() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_points()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.points) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_MultiScalarMul::points() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.points) + return _internal_points(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_MultiScalarMul::_internal_points() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.points_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_MultiScalarMul::_internal_mutable_points() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.points_; +} + +// repeated .acvm.acir.circuit.FunctionInput scalars = 2; +inline int BlackBoxFuncCall_MultiScalarMul::_internal_scalars_size() const { + return _internal_scalars().size(); +} +inline int BlackBoxFuncCall_MultiScalarMul::scalars_size() const { + return _internal_scalars_size(); +} +inline void BlackBoxFuncCall_MultiScalarMul::clear_scalars() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.scalars_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_MultiScalarMul::mutable_scalars(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.scalars) + return _internal_mutable_scalars()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_MultiScalarMul::mutable_scalars() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.scalars) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_scalars(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_MultiScalarMul::scalars(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.scalars) + return _internal_scalars().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_MultiScalarMul::add_scalars() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_scalars()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.scalars) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_MultiScalarMul::scalars() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.scalars) + return _internal_scalars(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_MultiScalarMul::_internal_scalars() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.scalars_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_MultiScalarMul::_internal_mutable_scalars() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.scalars_; +} + +// repeated .acvm.acir.native.Witness outputs = 3; +inline int BlackBoxFuncCall_MultiScalarMul::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_MultiScalarMul::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_MultiScalarMul::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_MultiScalarMul::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_MultiScalarMul::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_MultiScalarMul::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_MultiScalarMul::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_MultiScalarMul::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_MultiScalarMul::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_EmbeddedCurveAdd + +// repeated .acvm.acir.circuit.FunctionInput input1 = 1; +inline int BlackBoxFuncCall_EmbeddedCurveAdd::_internal_input1_size() const { + return _internal_input1().size(); +} +inline int BlackBoxFuncCall_EmbeddedCurveAdd::input1_size() const { + return _internal_input1_size(); +} +inline void BlackBoxFuncCall_EmbeddedCurveAdd::clear_input1() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.input1_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_input1(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input1) + return _internal_mutable_input1()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_input1() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input1) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_input1(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EmbeddedCurveAdd::input1(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input1) + return _internal_input1().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EmbeddedCurveAdd::add_input1() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_input1()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input1) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EmbeddedCurveAdd::input1() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input1) + return _internal_input1(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_input1() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.input1_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_mutable_input1() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.input1_; +} + +// repeated .acvm.acir.circuit.FunctionInput input2 = 2; +inline int BlackBoxFuncCall_EmbeddedCurveAdd::_internal_input2_size() const { + return _internal_input2().size(); +} +inline int BlackBoxFuncCall_EmbeddedCurveAdd::input2_size() const { + return _internal_input2_size(); +} +inline void BlackBoxFuncCall_EmbeddedCurveAdd::clear_input2() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.input2_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_input2(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input2) + return _internal_mutable_input2()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_input2() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input2) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_input2(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_EmbeddedCurveAdd::input2(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input2) + return _internal_input2().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_EmbeddedCurveAdd::add_input2() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_input2()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input2) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_EmbeddedCurveAdd::input2() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.input2) + return _internal_input2(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_input2() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.input2_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_mutable_input2() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.input2_; +} + +// repeated .acvm.acir.native.Witness outputs = 3; +inline int BlackBoxFuncCall_EmbeddedCurveAdd::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_EmbeddedCurveAdd::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_EmbeddedCurveAdd::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_EmbeddedCurveAdd::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_EmbeddedCurveAdd::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_EmbeddedCurveAdd::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_EmbeddedCurveAdd::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_Keccakf1600 + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_Keccakf1600::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_Keccakf1600::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_Keccakf1600::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Keccakf1600::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Keccakf1600::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Keccakf1600::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Keccakf1600::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Keccakf1600::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Keccakf1600::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Keccakf1600::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.native.Witness outputs = 2; +inline int BlackBoxFuncCall_Keccakf1600::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_Keccakf1600::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Keccakf1600::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_Keccakf1600::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_Keccakf1600::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Keccakf1600::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_Keccakf1600::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_Keccakf1600::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_Keccakf1600::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_RecursiveAggregation + +// repeated .acvm.acir.circuit.FunctionInput verification_key = 1; +inline int BlackBoxFuncCall_RecursiveAggregation::_internal_verification_key_size() const { + return _internal_verification_key().size(); +} +inline int BlackBoxFuncCall_RecursiveAggregation::verification_key_size() const { + return _internal_verification_key_size(); +} +inline void BlackBoxFuncCall_RecursiveAggregation::clear_verification_key() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.verification_key_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::mutable_verification_key(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.verification_key) + return _internal_mutable_verification_key()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_RecursiveAggregation::mutable_verification_key() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.verification_key) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_verification_key(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RecursiveAggregation::verification_key(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.verification_key) + return _internal_verification_key().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::add_verification_key() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_verification_key()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.verification_key) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_RecursiveAggregation::verification_key() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.verification_key) + return _internal_verification_key(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_RecursiveAggregation::_internal_verification_key() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.verification_key_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_RecursiveAggregation::_internal_mutable_verification_key() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.verification_key_; +} + +// repeated .acvm.acir.circuit.FunctionInput proof = 2; +inline int BlackBoxFuncCall_RecursiveAggregation::_internal_proof_size() const { + return _internal_proof().size(); +} +inline int BlackBoxFuncCall_RecursiveAggregation::proof_size() const { + return _internal_proof_size(); +} +inline void BlackBoxFuncCall_RecursiveAggregation::clear_proof() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.proof_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::mutable_proof(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof) + return _internal_mutable_proof()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_RecursiveAggregation::mutable_proof() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_proof(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RecursiveAggregation::proof(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof) + return _internal_proof().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::add_proof() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_proof()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_RecursiveAggregation::proof() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof) + return _internal_proof(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_RecursiveAggregation::_internal_proof() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.proof_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_RecursiveAggregation::_internal_mutable_proof() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.proof_; +} + +// repeated .acvm.acir.circuit.FunctionInput public_inputs = 3; +inline int BlackBoxFuncCall_RecursiveAggregation::_internal_public_inputs_size() const { + return _internal_public_inputs().size(); +} +inline int BlackBoxFuncCall_RecursiveAggregation::public_inputs_size() const { + return _internal_public_inputs_size(); +} +inline void BlackBoxFuncCall_RecursiveAggregation::clear_public_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.public_inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::mutable_public_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.public_inputs) + return _internal_mutable_public_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_RecursiveAggregation::mutable_public_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.public_inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_public_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RecursiveAggregation::public_inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.public_inputs) + return _internal_public_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::add_public_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_public_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.public_inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_RecursiveAggregation::public_inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.public_inputs) + return _internal_public_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_RecursiveAggregation::_internal_public_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.public_inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_RecursiveAggregation::_internal_mutable_public_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.public_inputs_; +} + +// .acvm.acir.circuit.FunctionInput key_hash = 4; +inline bool BlackBoxFuncCall_RecursiveAggregation::has_key_hash() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.key_hash_ != nullptr); + return value; +} +inline void BlackBoxFuncCall_RecursiveAggregation::clear_key_hash() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.key_hash_ != nullptr) _impl_.key_hash_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RecursiveAggregation::_internal_key_hash() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::FunctionInput* p = _impl_.key_hash_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_FunctionInput_default_instance_); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_RecursiveAggregation::key_hash() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.key_hash) + return _internal_key_hash(); +} +inline void BlackBoxFuncCall_RecursiveAggregation::unsafe_arena_set_allocated_key_hash(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.key_hash_); + } + _impl_.key_hash_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.key_hash) +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::release_key_hash() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* released = _impl_.key_hash_; + _impl_.key_hash_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::unsafe_arena_release_key_hash() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.key_hash) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::FunctionInput* temp = _impl_.key_hash_; + _impl_.key_hash_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::_internal_mutable_key_hash() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.key_hash_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::FunctionInput>(GetArena()); + _impl_.key_hash_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(p); + } + return _impl_.key_hash_; +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_RecursiveAggregation::mutable_key_hash() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::FunctionInput* _msg = _internal_mutable_key_hash(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.key_hash) + return _msg; +} +inline void BlackBoxFuncCall_RecursiveAggregation::set_allocated_key_hash(::acvm::acir::circuit::FunctionInput* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.key_hash_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.key_hash_ = reinterpret_cast<::acvm::acir::circuit::FunctionInput*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.key_hash) +} + +// uint32 proof_type = 5; +inline void BlackBoxFuncCall_RecursiveAggregation::clear_proof_type() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.proof_type_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_RecursiveAggregation::proof_type() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof_type) + return _internal_proof_type(); +} +inline void BlackBoxFuncCall_RecursiveAggregation::set_proof_type(::uint32_t value) { + _internal_set_proof_type(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation.proof_type) +} +inline ::uint32_t BlackBoxFuncCall_RecursiveAggregation::_internal_proof_type() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.proof_type_; +} +inline void BlackBoxFuncCall_RecursiveAggregation::_internal_set_proof_type(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.proof_type_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntAdd + +// uint32 lhs = 1; +inline void BlackBoxFuncCall_BigIntAdd::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::lhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_BigIntAdd::set_lhs(::uint32_t value) { + _internal_set_lhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.lhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lhs_; +} +inline void BlackBoxFuncCall_BigIntAdd::_internal_set_lhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = value; +} + +// uint32 rhs = 2; +inline void BlackBoxFuncCall_BigIntAdd::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::rhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_BigIntAdd::set_rhs(::uint32_t value) { + _internal_set_rhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.rhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rhs_; +} +inline void BlackBoxFuncCall_BigIntAdd::_internal_set_rhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = value; +} + +// uint32 output = 3; +inline void BlackBoxFuncCall_BigIntAdd::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::output() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_BigIntAdd::set_output(::uint32_t value) { + _internal_set_output(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd.output) +} +inline ::uint32_t BlackBoxFuncCall_BigIntAdd::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.output_; +} +inline void BlackBoxFuncCall_BigIntAdd::_internal_set_output(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntSub + +// uint32 lhs = 1; +inline void BlackBoxFuncCall_BigIntSub::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::lhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_BigIntSub::set_lhs(::uint32_t value) { + _internal_set_lhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.lhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lhs_; +} +inline void BlackBoxFuncCall_BigIntSub::_internal_set_lhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = value; +} + +// uint32 rhs = 2; +inline void BlackBoxFuncCall_BigIntSub::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::rhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_BigIntSub::set_rhs(::uint32_t value) { + _internal_set_rhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.rhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rhs_; +} +inline void BlackBoxFuncCall_BigIntSub::_internal_set_rhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = value; +} + +// uint32 output = 3; +inline void BlackBoxFuncCall_BigIntSub::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::output() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_BigIntSub::set_output(::uint32_t value) { + _internal_set_output(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntSub.output) +} +inline ::uint32_t BlackBoxFuncCall_BigIntSub::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.output_; +} +inline void BlackBoxFuncCall_BigIntSub::_internal_set_output(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntMul + +// uint32 lhs = 1; +inline void BlackBoxFuncCall_BigIntMul::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::lhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_BigIntMul::set_lhs(::uint32_t value) { + _internal_set_lhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.lhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lhs_; +} +inline void BlackBoxFuncCall_BigIntMul::_internal_set_lhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = value; +} + +// uint32 rhs = 2; +inline void BlackBoxFuncCall_BigIntMul::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::rhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_BigIntMul::set_rhs(::uint32_t value) { + _internal_set_rhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.rhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rhs_; +} +inline void BlackBoxFuncCall_BigIntMul::_internal_set_rhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = value; +} + +// uint32 output = 3; +inline void BlackBoxFuncCall_BigIntMul::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::output() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_BigIntMul::set_output(::uint32_t value) { + _internal_set_output(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntMul.output) +} +inline ::uint32_t BlackBoxFuncCall_BigIntMul::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.output_; +} +inline void BlackBoxFuncCall_BigIntMul::_internal_set_output(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntDiv + +// uint32 lhs = 1; +inline void BlackBoxFuncCall_BigIntDiv::clear_lhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::lhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.lhs) + return _internal_lhs(); +} +inline void BlackBoxFuncCall_BigIntDiv::set_lhs(::uint32_t value) { + _internal_set_lhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.lhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::_internal_lhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.lhs_; +} +inline void BlackBoxFuncCall_BigIntDiv::_internal_set_lhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.lhs_ = value; +} + +// uint32 rhs = 2; +inline void BlackBoxFuncCall_BigIntDiv::clear_rhs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::rhs() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.rhs) + return _internal_rhs(); +} +inline void BlackBoxFuncCall_BigIntDiv::set_rhs(::uint32_t value) { + _internal_set_rhs(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.rhs) +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::_internal_rhs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.rhs_; +} +inline void BlackBoxFuncCall_BigIntDiv::_internal_set_rhs(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.rhs_ = value; +} + +// uint32 output = 3; +inline void BlackBoxFuncCall_BigIntDiv::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::output() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_BigIntDiv::set_output(::uint32_t value) { + _internal_set_output(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv.output) +} +inline ::uint32_t BlackBoxFuncCall_BigIntDiv::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.output_; +} +inline void BlackBoxFuncCall_BigIntDiv::_internal_set_output(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntFromLeBytes + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_BigIntFromLeBytes::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_BigIntFromLeBytes::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_BigIntFromLeBytes::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_BigIntFromLeBytes::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_BigIntFromLeBytes::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_BigIntFromLeBytes::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_BigIntFromLeBytes::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_BigIntFromLeBytes::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_BigIntFromLeBytes::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// bytes modulus = 2; +inline void BlackBoxFuncCall_BigIntFromLeBytes::clear_modulus() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.modulus_.ClearToEmpty(); +} +inline const std::string& BlackBoxFuncCall_BigIntFromLeBytes::modulus() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.modulus) + return _internal_modulus(); +} +template +inline PROTOBUF_ALWAYS_INLINE void BlackBoxFuncCall_BigIntFromLeBytes::set_modulus(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.modulus_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.modulus) +} +inline std::string* BlackBoxFuncCall_BigIntFromLeBytes::mutable_modulus() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_modulus(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.modulus) + return _s; +} +inline const std::string& BlackBoxFuncCall_BigIntFromLeBytes::_internal_modulus() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.modulus_.Get(); +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::_internal_set_modulus(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.modulus_.Set(value, GetArena()); +} +inline std::string* BlackBoxFuncCall_BigIntFromLeBytes::_internal_mutable_modulus() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.modulus_.Mutable( GetArena()); +} +inline std::string* BlackBoxFuncCall_BigIntFromLeBytes::release_modulus() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.modulus) + return _impl_.modulus_.Release(); +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::set_allocated_modulus(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.modulus_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.modulus_.IsDefault()) { + _impl_.modulus_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.modulus) +} + +// uint32 output = 3; +inline void BlackBoxFuncCall_BigIntFromLeBytes::clear_output() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntFromLeBytes::output() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.output) + return _internal_output(); +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::set_output(::uint32_t value) { + _internal_set_output(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes.output) +} +inline ::uint32_t BlackBoxFuncCall_BigIntFromLeBytes::_internal_output() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.output_; +} +inline void BlackBoxFuncCall_BigIntFromLeBytes::_internal_set_output(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.output_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_BigIntToLeBytes + +// uint32 input = 1; +inline void BlackBoxFuncCall_BigIntToLeBytes::clear_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.input_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_BigIntToLeBytes::input() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.input) + return _internal_input(); +} +inline void BlackBoxFuncCall_BigIntToLeBytes::set_input(::uint32_t value) { + _internal_set_input(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.input) +} +inline ::uint32_t BlackBoxFuncCall_BigIntToLeBytes::_internal_input() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.input_; +} +inline void BlackBoxFuncCall_BigIntToLeBytes::_internal_set_input(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.input_ = value; +} + +// repeated .acvm.acir.native.Witness outputs = 2; +inline int BlackBoxFuncCall_BigIntToLeBytes::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_BigIntToLeBytes::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_BigIntToLeBytes::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_BigIntToLeBytes::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_BigIntToLeBytes::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_BigIntToLeBytes::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_BigIntToLeBytes::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_BigIntToLeBytes::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_BigIntToLeBytes::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_Poseidon2Permutation + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_Poseidon2Permutation::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_Poseidon2Permutation::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_Poseidon2Permutation::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Poseidon2Permutation::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Poseidon2Permutation::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Poseidon2Permutation::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Poseidon2Permutation::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Poseidon2Permutation::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Poseidon2Permutation::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Poseidon2Permutation::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.native.Witness outputs = 2; +inline int BlackBoxFuncCall_Poseidon2Permutation::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_Poseidon2Permutation::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Poseidon2Permutation::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_Poseidon2Permutation::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_Poseidon2Permutation::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Poseidon2Permutation::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_Poseidon2Permutation::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_Poseidon2Permutation::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_Poseidon2Permutation::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// uint32 len = 3; +inline void BlackBoxFuncCall_Poseidon2Permutation::clear_len() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.len_ = 0u; +} +inline ::uint32_t BlackBoxFuncCall_Poseidon2Permutation::len() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.len) + return _internal_len(); +} +inline void BlackBoxFuncCall_Poseidon2Permutation::set_len(::uint32_t value) { + _internal_set_len(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation.len) +} +inline ::uint32_t BlackBoxFuncCall_Poseidon2Permutation::_internal_len() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.len_; +} +inline void BlackBoxFuncCall_Poseidon2Permutation::_internal_set_len(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.len_ = value; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall_Sha256Compression + +// repeated .acvm.acir.circuit.FunctionInput inputs = 1; +inline int BlackBoxFuncCall_Sha256Compression::_internal_inputs_size() const { + return _internal_inputs().size(); +} +inline int BlackBoxFuncCall_Sha256Compression::inputs_size() const { + return _internal_inputs_size(); +} +inline void BlackBoxFuncCall_Sha256Compression::clear_inputs() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.inputs_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Sha256Compression::mutable_inputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.inputs) + return _internal_mutable_inputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Sha256Compression::mutable_inputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.inputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_inputs(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Sha256Compression::inputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.inputs) + return _internal_inputs().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Sha256Compression::add_inputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_inputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.inputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Sha256Compression::inputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.inputs) + return _internal_inputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Sha256Compression::_internal_inputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.inputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Sha256Compression::_internal_mutable_inputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.inputs_; +} + +// repeated .acvm.acir.circuit.FunctionInput hash_values = 2; +inline int BlackBoxFuncCall_Sha256Compression::_internal_hash_values_size() const { + return _internal_hash_values().size(); +} +inline int BlackBoxFuncCall_Sha256Compression::hash_values_size() const { + return _internal_hash_values_size(); +} +inline void BlackBoxFuncCall_Sha256Compression::clear_hash_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.hash_values_.Clear(); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Sha256Compression::mutable_hash_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.hash_values) + return _internal_mutable_hash_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* BlackBoxFuncCall_Sha256Compression::mutable_hash_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.hash_values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_hash_values(); +} +inline const ::acvm::acir::circuit::FunctionInput& BlackBoxFuncCall_Sha256Compression::hash_values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.hash_values) + return _internal_hash_values().Get(index); +} +inline ::acvm::acir::circuit::FunctionInput* BlackBoxFuncCall_Sha256Compression::add_hash_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::FunctionInput* _add = _internal_mutable_hash_values()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.hash_values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& BlackBoxFuncCall_Sha256Compression::hash_values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.hash_values) + return _internal_hash_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>& +BlackBoxFuncCall_Sha256Compression::_internal_hash_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.hash_values_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::FunctionInput>* +BlackBoxFuncCall_Sha256Compression::_internal_mutable_hash_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.hash_values_; +} + +// repeated .acvm.acir.native.Witness outputs = 3; +inline int BlackBoxFuncCall_Sha256Compression::_internal_outputs_size() const { + return _internal_outputs().size(); +} +inline int BlackBoxFuncCall_Sha256Compression::outputs_size() const { + return _internal_outputs_size(); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Sha256Compression::mutable_outputs(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.outputs) + return _internal_mutable_outputs()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BlackBoxFuncCall_Sha256Compression::mutable_outputs() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.outputs) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_outputs(); +} +inline const ::acvm::acir::native::Witness& BlackBoxFuncCall_Sha256Compression::outputs(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.outputs) + return _internal_outputs().Get(index); +} +inline ::acvm::acir::native::Witness* BlackBoxFuncCall_Sha256Compression::add_outputs() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_outputs()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.outputs) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BlackBoxFuncCall_Sha256Compression::outputs() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression.outputs) + return _internal_outputs(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BlackBoxFuncCall_Sha256Compression::_internal_outputs() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.outputs_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BlackBoxFuncCall_Sha256Compression::_internal_mutable_outputs() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.outputs_; +} + +// ------------------------------------------------------------------- + +// BlackBoxFuncCall + +// .acvm.acir.circuit.BlackBoxFuncCall.AES128Encrypt aes128_encrypt = 1; +inline bool BlackBoxFuncCall::has_aes128_encrypt() const { + return value_case() == kAes128Encrypt; +} +inline bool BlackBoxFuncCall::_internal_has_aes128_encrypt() const { + return value_case() == kAes128Encrypt; +} +inline void BlackBoxFuncCall::set_has_aes128_encrypt() { + _impl_._oneof_case_[0] = kAes128Encrypt; +} +inline void BlackBoxFuncCall::clear_aes128_encrypt() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kAes128Encrypt) { + if (GetArena() == nullptr) { + delete _impl_.value_.aes128_encrypt_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.aes128_encrypt_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* BlackBoxFuncCall::release_aes128_encrypt() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) + if (value_case() == kAes128Encrypt) { + clear_has_value(); + auto* temp = _impl_.value_.aes128_encrypt_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.aes128_encrypt_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt& BlackBoxFuncCall::_internal_aes128_encrypt() const { + return value_case() == kAes128Encrypt ? *_impl_.value_.aes128_encrypt_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt&>(::acvm::acir::circuit::_BlackBoxFuncCall_AES128Encrypt_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt& BlackBoxFuncCall::aes128_encrypt() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) + return _internal_aes128_encrypt(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* BlackBoxFuncCall::unsafe_arena_release_aes128_encrypt() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) + if (value_case() == kAes128Encrypt) { + clear_has_value(); + auto* temp = _impl_.value_.aes128_encrypt_; + _impl_.value_.aes128_encrypt_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_aes128_encrypt(::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_aes128_encrypt(); + _impl_.value_.aes128_encrypt_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* BlackBoxFuncCall::_internal_mutable_aes128_encrypt() { + if (value_case() != kAes128Encrypt) { + clear_value(); + set_has_aes128_encrypt(); + _impl_.value_.aes128_encrypt_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt>(GetArena()); + } + return _impl_.value_.aes128_encrypt_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* BlackBoxFuncCall::mutable_aes128_encrypt() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_AES128Encrypt* _msg = _internal_mutable_aes128_encrypt(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.aes128_encrypt) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.AND and = 2; +inline bool BlackBoxFuncCall::has_and_() const { + return value_case() == kAnd; +} +inline bool BlackBoxFuncCall::_internal_has_and_() const { + return value_case() == kAnd; +} +inline void BlackBoxFuncCall::set_has_and_() { + _impl_._oneof_case_[0] = kAnd; +} +inline void BlackBoxFuncCall::clear_and_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kAnd) { + if (GetArena() == nullptr) { + delete _impl_.value_.and__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.and__); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AND* BlackBoxFuncCall::release_and_() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.and) + if (value_case() == kAnd) { + clear_has_value(); + auto* temp = _impl_.value_.and__; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.and__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_AND& BlackBoxFuncCall::_internal_and_() const { + return value_case() == kAnd ? *_impl_.value_.and__ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_AND&>(::acvm::acir::circuit::_BlackBoxFuncCall_AND_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_AND& BlackBoxFuncCall::and_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.and) + return _internal_and_(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AND* BlackBoxFuncCall::unsafe_arena_release_and_() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.and) + if (value_case() == kAnd) { + clear_has_value(); + auto* temp = _impl_.value_.and__; + _impl_.value_.and__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_and_(::acvm::acir::circuit::BlackBoxFuncCall_AND* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_and_(); + _impl_.value_.and__ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.and) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AND* BlackBoxFuncCall::_internal_mutable_and_() { + if (value_case() != kAnd) { + clear_value(); + set_has_and_(); + _impl_.value_.and__ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_AND>(GetArena()); + } + return _impl_.value_.and__; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_AND* BlackBoxFuncCall::mutable_and_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_AND* _msg = _internal_mutable_and_(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.and) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.XOR xor = 3; +inline bool BlackBoxFuncCall::has_xor_() const { + return value_case() == kXor; +} +inline bool BlackBoxFuncCall::_internal_has_xor_() const { + return value_case() == kXor; +} +inline void BlackBoxFuncCall::set_has_xor_() { + _impl_._oneof_case_[0] = kXor; +} +inline void BlackBoxFuncCall::clear_xor_() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kXor) { + if (GetArena() == nullptr) { + delete _impl_.value_.xor__; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.xor__); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_XOR* BlackBoxFuncCall::release_xor_() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.xor) + if (value_case() == kXor) { + clear_has_value(); + auto* temp = _impl_.value_.xor__; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.xor__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_XOR& BlackBoxFuncCall::_internal_xor_() const { + return value_case() == kXor ? *_impl_.value_.xor__ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_XOR&>(::acvm::acir::circuit::_BlackBoxFuncCall_XOR_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_XOR& BlackBoxFuncCall::xor_() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.xor) + return _internal_xor_(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_XOR* BlackBoxFuncCall::unsafe_arena_release_xor_() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.xor) + if (value_case() == kXor) { + clear_has_value(); + auto* temp = _impl_.value_.xor__; + _impl_.value_.xor__ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_xor_(::acvm::acir::circuit::BlackBoxFuncCall_XOR* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_xor_(); + _impl_.value_.xor__ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.xor) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_XOR* BlackBoxFuncCall::_internal_mutable_xor_() { + if (value_case() != kXor) { + clear_value(); + set_has_xor_(); + _impl_.value_.xor__ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_XOR>(GetArena()); + } + return _impl_.value_.xor__; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_XOR* BlackBoxFuncCall::mutable_xor_() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_XOR* _msg = _internal_mutable_xor_(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.xor) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.RANGE range = 4; +inline bool BlackBoxFuncCall::has_range() const { + return value_case() == kRange; +} +inline bool BlackBoxFuncCall::_internal_has_range() const { + return value_case() == kRange; +} +inline void BlackBoxFuncCall::set_has_range() { + _impl_._oneof_case_[0] = kRange; +} +inline void BlackBoxFuncCall::clear_range() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kRange) { + if (GetArena() == nullptr) { + delete _impl_.value_.range_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.range_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* BlackBoxFuncCall::release_range() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.range) + if (value_case() == kRange) { + clear_has_value(); + auto* temp = _impl_.value_.range_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.range_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_RANGE& BlackBoxFuncCall::_internal_range() const { + return value_case() == kRange ? *_impl_.value_.range_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_RANGE&>(::acvm::acir::circuit::_BlackBoxFuncCall_RANGE_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_RANGE& BlackBoxFuncCall::range() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.range) + return _internal_range(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* BlackBoxFuncCall::unsafe_arena_release_range() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.range) + if (value_case() == kRange) { + clear_has_value(); + auto* temp = _impl_.value_.range_; + _impl_.value_.range_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_range(::acvm::acir::circuit::BlackBoxFuncCall_RANGE* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_range(); + _impl_.value_.range_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.range) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* BlackBoxFuncCall::_internal_mutable_range() { + if (value_case() != kRange) { + clear_value(); + set_has_range(); + _impl_.value_.range_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RANGE>(GetArena()); + } + return _impl_.value_.range_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* BlackBoxFuncCall::mutable_range() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_RANGE* _msg = _internal_mutable_range(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.range) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.Blake2s blake2s = 5; +inline bool BlackBoxFuncCall::has_blake2s() const { + return value_case() == kBlake2S; +} +inline bool BlackBoxFuncCall::_internal_has_blake2s() const { + return value_case() == kBlake2S; +} +inline void BlackBoxFuncCall::set_has_blake2s() { + _impl_._oneof_case_[0] = kBlake2S; +} +inline void BlackBoxFuncCall::clear_blake2s() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBlake2S) { + if (GetArena() == nullptr) { + delete _impl_.value_.blake2s_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blake2s_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* BlackBoxFuncCall::release_blake2s() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.blake2s) + if (value_case() == kBlake2S) { + clear_has_value(); + auto* temp = _impl_.value_.blake2s_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.blake2s_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s& BlackBoxFuncCall::_internal_blake2s() const { + return value_case() == kBlake2S ? *_impl_.value_.blake2s_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s&>(::acvm::acir::circuit::_BlackBoxFuncCall_Blake2s_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s& BlackBoxFuncCall::blake2s() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.blake2s) + return _internal_blake2s(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* BlackBoxFuncCall::unsafe_arena_release_blake2s() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.blake2s) + if (value_case() == kBlake2S) { + clear_has_value(); + auto* temp = _impl_.value_.blake2s_; + _impl_.value_.blake2s_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_blake2s(::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_blake2s(); + _impl_.value_.blake2s_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.blake2s) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* BlackBoxFuncCall::_internal_mutable_blake2s() { + if (value_case() != kBlake2S) { + clear_value(); + set_has_blake2s(); + _impl_.value_.blake2s_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake2s>(GetArena()); + } + return _impl_.value_.blake2s_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* BlackBoxFuncCall::mutable_blake2s() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_Blake2s* _msg = _internal_mutable_blake2s(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.blake2s) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.Blake3 blake3 = 6; +inline bool BlackBoxFuncCall::has_blake3() const { + return value_case() == kBlake3; +} +inline bool BlackBoxFuncCall::_internal_has_blake3() const { + return value_case() == kBlake3; +} +inline void BlackBoxFuncCall::set_has_blake3() { + _impl_._oneof_case_[0] = kBlake3; +} +inline void BlackBoxFuncCall::clear_blake3() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBlake3) { + if (GetArena() == nullptr) { + delete _impl_.value_.blake3_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.blake3_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* BlackBoxFuncCall::release_blake3() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.blake3) + if (value_case() == kBlake3) { + clear_has_value(); + auto* temp = _impl_.value_.blake3_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.blake3_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Blake3& BlackBoxFuncCall::_internal_blake3() const { + return value_case() == kBlake3 ? *_impl_.value_.blake3_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_Blake3&>(::acvm::acir::circuit::_BlackBoxFuncCall_Blake3_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Blake3& BlackBoxFuncCall::blake3() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.blake3) + return _internal_blake3(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* BlackBoxFuncCall::unsafe_arena_release_blake3() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.blake3) + if (value_case() == kBlake3) { + clear_has_value(); + auto* temp = _impl_.value_.blake3_; + _impl_.value_.blake3_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_blake3(::acvm::acir::circuit::BlackBoxFuncCall_Blake3* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_blake3(); + _impl_.value_.blake3_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.blake3) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* BlackBoxFuncCall::_internal_mutable_blake3() { + if (value_case() != kBlake3) { + clear_value(); + set_has_blake3(); + _impl_.value_.blake3_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Blake3>(GetArena()); + } + return _impl_.value_.blake3_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* BlackBoxFuncCall::mutable_blake3() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_Blake3* _msg = _internal_mutable_blake3(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.blake3) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256k1 ecdsa_secp256k1 = 7; +inline bool BlackBoxFuncCall::has_ecdsa_secp256k1() const { + return value_case() == kEcdsaSecp256K1; +} +inline bool BlackBoxFuncCall::_internal_has_ecdsa_secp256k1() const { + return value_case() == kEcdsaSecp256K1; +} +inline void BlackBoxFuncCall::set_has_ecdsa_secp256k1() { + _impl_._oneof_case_[0] = kEcdsaSecp256K1; +} +inline void BlackBoxFuncCall::clear_ecdsa_secp256k1() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kEcdsaSecp256K1) { + if (GetArena() == nullptr) { + delete _impl_.value_.ecdsa_secp256k1_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.ecdsa_secp256k1_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* BlackBoxFuncCall::release_ecdsa_secp256k1() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) + if (value_case() == kEcdsaSecp256K1) { + clear_has_value(); + auto* temp = _impl_.value_.ecdsa_secp256k1_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.ecdsa_secp256k1_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1& BlackBoxFuncCall::_internal_ecdsa_secp256k1() const { + return value_case() == kEcdsaSecp256K1 ? *_impl_.value_.ecdsa_secp256k1_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1&>(::acvm::acir::circuit::_BlackBoxFuncCall_EcdsaSecp256k1_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1& BlackBoxFuncCall::ecdsa_secp256k1() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) + return _internal_ecdsa_secp256k1(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* BlackBoxFuncCall::unsafe_arena_release_ecdsa_secp256k1() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) + if (value_case() == kEcdsaSecp256K1) { + clear_has_value(); + auto* temp = _impl_.value_.ecdsa_secp256k1_; + _impl_.value_.ecdsa_secp256k1_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_ecdsa_secp256k1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_ecdsa_secp256k1(); + _impl_.value_.ecdsa_secp256k1_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* BlackBoxFuncCall::_internal_mutable_ecdsa_secp256k1() { + if (value_case() != kEcdsaSecp256K1) { + clear_value(); + set_has_ecdsa_secp256k1(); + _impl_.value_.ecdsa_secp256k1_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1>(GetArena()); + } + return _impl_.value_.ecdsa_secp256k1_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* BlackBoxFuncCall::mutable_ecdsa_secp256k1() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256k1* _msg = _internal_mutable_ecdsa_secp256k1(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256k1) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.EcdsaSecp256r1 ecdsa_secp256r1 = 8; +inline bool BlackBoxFuncCall::has_ecdsa_secp256r1() const { + return value_case() == kEcdsaSecp256R1; +} +inline bool BlackBoxFuncCall::_internal_has_ecdsa_secp256r1() const { + return value_case() == kEcdsaSecp256R1; +} +inline void BlackBoxFuncCall::set_has_ecdsa_secp256r1() { + _impl_._oneof_case_[0] = kEcdsaSecp256R1; +} +inline void BlackBoxFuncCall::clear_ecdsa_secp256r1() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kEcdsaSecp256R1) { + if (GetArena() == nullptr) { + delete _impl_.value_.ecdsa_secp256r1_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.ecdsa_secp256r1_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* BlackBoxFuncCall::release_ecdsa_secp256r1() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) + if (value_case() == kEcdsaSecp256R1) { + clear_has_value(); + auto* temp = _impl_.value_.ecdsa_secp256r1_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.ecdsa_secp256r1_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1& BlackBoxFuncCall::_internal_ecdsa_secp256r1() const { + return value_case() == kEcdsaSecp256R1 ? *_impl_.value_.ecdsa_secp256r1_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1&>(::acvm::acir::circuit::_BlackBoxFuncCall_EcdsaSecp256r1_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1& BlackBoxFuncCall::ecdsa_secp256r1() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) + return _internal_ecdsa_secp256r1(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* BlackBoxFuncCall::unsafe_arena_release_ecdsa_secp256r1() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) + if (value_case() == kEcdsaSecp256R1) { + clear_has_value(); + auto* temp = _impl_.value_.ecdsa_secp256r1_; + _impl_.value_.ecdsa_secp256r1_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_ecdsa_secp256r1(::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_ecdsa_secp256r1(); + _impl_.value_.ecdsa_secp256r1_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* BlackBoxFuncCall::_internal_mutable_ecdsa_secp256r1() { + if (value_case() != kEcdsaSecp256R1) { + clear_value(); + set_has_ecdsa_secp256r1(); + _impl_.value_.ecdsa_secp256r1_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1>(GetArena()); + } + return _impl_.value_.ecdsa_secp256r1_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* BlackBoxFuncCall::mutable_ecdsa_secp256r1() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_EcdsaSecp256r1* _msg = _internal_mutable_ecdsa_secp256r1(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.ecdsa_secp256r1) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.MultiScalarMul multi_scalar_mul = 9; +inline bool BlackBoxFuncCall::has_multi_scalar_mul() const { + return value_case() == kMultiScalarMul; +} +inline bool BlackBoxFuncCall::_internal_has_multi_scalar_mul() const { + return value_case() == kMultiScalarMul; +} +inline void BlackBoxFuncCall::set_has_multi_scalar_mul() { + _impl_._oneof_case_[0] = kMultiScalarMul; +} +inline void BlackBoxFuncCall::clear_multi_scalar_mul() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMultiScalarMul) { + if (GetArena() == nullptr) { + delete _impl_.value_.multi_scalar_mul_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.multi_scalar_mul_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* BlackBoxFuncCall::release_multi_scalar_mul() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) + if (value_case() == kMultiScalarMul) { + clear_has_value(); + auto* temp = _impl_.value_.multi_scalar_mul_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.multi_scalar_mul_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul& BlackBoxFuncCall::_internal_multi_scalar_mul() const { + return value_case() == kMultiScalarMul ? *_impl_.value_.multi_scalar_mul_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul&>(::acvm::acir::circuit::_BlackBoxFuncCall_MultiScalarMul_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul& BlackBoxFuncCall::multi_scalar_mul() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) + return _internal_multi_scalar_mul(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* BlackBoxFuncCall::unsafe_arena_release_multi_scalar_mul() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) + if (value_case() == kMultiScalarMul) { + clear_has_value(); + auto* temp = _impl_.value_.multi_scalar_mul_; + _impl_.value_.multi_scalar_mul_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_multi_scalar_mul(::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_multi_scalar_mul(); + _impl_.value_.multi_scalar_mul_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* BlackBoxFuncCall::_internal_mutable_multi_scalar_mul() { + if (value_case() != kMultiScalarMul) { + clear_value(); + set_has_multi_scalar_mul(); + _impl_.value_.multi_scalar_mul_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul>(GetArena()); + } + return _impl_.value_.multi_scalar_mul_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* BlackBoxFuncCall::mutable_multi_scalar_mul() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_MultiScalarMul* _msg = _internal_mutable_multi_scalar_mul(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.multi_scalar_mul) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.EmbeddedCurveAdd embedded_curve_add = 10; +inline bool BlackBoxFuncCall::has_embedded_curve_add() const { + return value_case() == kEmbeddedCurveAdd; +} +inline bool BlackBoxFuncCall::_internal_has_embedded_curve_add() const { + return value_case() == kEmbeddedCurveAdd; +} +inline void BlackBoxFuncCall::set_has_embedded_curve_add() { + _impl_._oneof_case_[0] = kEmbeddedCurveAdd; +} +inline void BlackBoxFuncCall::clear_embedded_curve_add() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kEmbeddedCurveAdd) { + if (GetArena() == nullptr) { + delete _impl_.value_.embedded_curve_add_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.embedded_curve_add_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* BlackBoxFuncCall::release_embedded_curve_add() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) + if (value_case() == kEmbeddedCurveAdd) { + clear_has_value(); + auto* temp = _impl_.value_.embedded_curve_add_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.embedded_curve_add_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd& BlackBoxFuncCall::_internal_embedded_curve_add() const { + return value_case() == kEmbeddedCurveAdd ? *_impl_.value_.embedded_curve_add_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd&>(::acvm::acir::circuit::_BlackBoxFuncCall_EmbeddedCurveAdd_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd& BlackBoxFuncCall::embedded_curve_add() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) + return _internal_embedded_curve_add(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* BlackBoxFuncCall::unsafe_arena_release_embedded_curve_add() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) + if (value_case() == kEmbeddedCurveAdd) { + clear_has_value(); + auto* temp = _impl_.value_.embedded_curve_add_; + _impl_.value_.embedded_curve_add_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_embedded_curve_add(::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_embedded_curve_add(); + _impl_.value_.embedded_curve_add_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* BlackBoxFuncCall::_internal_mutable_embedded_curve_add() { + if (value_case() != kEmbeddedCurveAdd) { + clear_value(); + set_has_embedded_curve_add(); + _impl_.value_.embedded_curve_add_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd>(GetArena()); + } + return _impl_.value_.embedded_curve_add_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* BlackBoxFuncCall::mutable_embedded_curve_add() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_EmbeddedCurveAdd* _msg = _internal_mutable_embedded_curve_add(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.embedded_curve_add) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.Keccakf1600 keccak_f1600 = 11; +inline bool BlackBoxFuncCall::has_keccak_f1600() const { + return value_case() == kKeccakF1600; +} +inline bool BlackBoxFuncCall::_internal_has_keccak_f1600() const { + return value_case() == kKeccakF1600; +} +inline void BlackBoxFuncCall::set_has_keccak_f1600() { + _impl_._oneof_case_[0] = kKeccakF1600; +} +inline void BlackBoxFuncCall::clear_keccak_f1600() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kKeccakF1600) { + if (GetArena() == nullptr) { + delete _impl_.value_.keccak_f1600_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.keccak_f1600_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* BlackBoxFuncCall::release_keccak_f1600() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) + if (value_case() == kKeccakF1600) { + clear_has_value(); + auto* temp = _impl_.value_.keccak_f1600_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.keccak_f1600_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600& BlackBoxFuncCall::_internal_keccak_f1600() const { + return value_case() == kKeccakF1600 ? *_impl_.value_.keccak_f1600_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600&>(::acvm::acir::circuit::_BlackBoxFuncCall_Keccakf1600_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600& BlackBoxFuncCall::keccak_f1600() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) + return _internal_keccak_f1600(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* BlackBoxFuncCall::unsafe_arena_release_keccak_f1600() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) + if (value_case() == kKeccakF1600) { + clear_has_value(); + auto* temp = _impl_.value_.keccak_f1600_; + _impl_.value_.keccak_f1600_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_keccak_f1600(::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_keccak_f1600(); + _impl_.value_.keccak_f1600_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* BlackBoxFuncCall::_internal_mutable_keccak_f1600() { + if (value_case() != kKeccakF1600) { + clear_value(); + set_has_keccak_f1600(); + _impl_.value_.keccak_f1600_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600>(GetArena()); + } + return _impl_.value_.keccak_f1600_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* BlackBoxFuncCall::mutable_keccak_f1600() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_Keccakf1600* _msg = _internal_mutable_keccak_f1600(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.keccak_f1600) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.RecursiveAggregation recursive_aggregation = 12; +inline bool BlackBoxFuncCall::has_recursive_aggregation() const { + return value_case() == kRecursiveAggregation; +} +inline bool BlackBoxFuncCall::_internal_has_recursive_aggregation() const { + return value_case() == kRecursiveAggregation; +} +inline void BlackBoxFuncCall::set_has_recursive_aggregation() { + _impl_._oneof_case_[0] = kRecursiveAggregation; +} +inline void BlackBoxFuncCall::clear_recursive_aggregation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kRecursiveAggregation) { + if (GetArena() == nullptr) { + delete _impl_.value_.recursive_aggregation_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.recursive_aggregation_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* BlackBoxFuncCall::release_recursive_aggregation() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) + if (value_case() == kRecursiveAggregation) { + clear_has_value(); + auto* temp = _impl_.value_.recursive_aggregation_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.recursive_aggregation_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation& BlackBoxFuncCall::_internal_recursive_aggregation() const { + return value_case() == kRecursiveAggregation ? *_impl_.value_.recursive_aggregation_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation&>(::acvm::acir::circuit::_BlackBoxFuncCall_RecursiveAggregation_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation& BlackBoxFuncCall::recursive_aggregation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) + return _internal_recursive_aggregation(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* BlackBoxFuncCall::unsafe_arena_release_recursive_aggregation() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) + if (value_case() == kRecursiveAggregation) { + clear_has_value(); + auto* temp = _impl_.value_.recursive_aggregation_; + _impl_.value_.recursive_aggregation_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_recursive_aggregation(::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_recursive_aggregation(); + _impl_.value_.recursive_aggregation_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* BlackBoxFuncCall::_internal_mutable_recursive_aggregation() { + if (value_case() != kRecursiveAggregation) { + clear_value(); + set_has_recursive_aggregation(); + _impl_.value_.recursive_aggregation_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation>(GetArena()); + } + return _impl_.value_.recursive_aggregation_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* BlackBoxFuncCall::mutable_recursive_aggregation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_RecursiveAggregation* _msg = _internal_mutable_recursive_aggregation(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.recursive_aggregation) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntAdd big_int_add = 13; +inline bool BlackBoxFuncCall::has_big_int_add() const { + return value_case() == kBigIntAdd; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_add() const { + return value_case() == kBigIntAdd; +} +inline void BlackBoxFuncCall::set_has_big_int_add() { + _impl_._oneof_case_[0] = kBigIntAdd; +} +inline void BlackBoxFuncCall::clear_big_int_add() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntAdd) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_add_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_add_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* BlackBoxFuncCall::release_big_int_add() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) + if (value_case() == kBigIntAdd) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_add_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_add_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd& BlackBoxFuncCall::_internal_big_int_add() const { + return value_case() == kBigIntAdd ? *_impl_.value_.big_int_add_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntAdd_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd& BlackBoxFuncCall::big_int_add() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) + return _internal_big_int_add(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* BlackBoxFuncCall::unsafe_arena_release_big_int_add() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) + if (value_case() == kBigIntAdd) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_add_; + _impl_.value_.big_int_add_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_add(::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_add(); + _impl_.value_.big_int_add_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* BlackBoxFuncCall::_internal_mutable_big_int_add() { + if (value_case() != kBigIntAdd) { + clear_value(); + set_has_big_int_add(); + _impl_.value_.big_int_add_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd>(GetArena()); + } + return _impl_.value_.big_int_add_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* BlackBoxFuncCall::mutable_big_int_add() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntAdd* _msg = _internal_mutable_big_int_add(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_add) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntSub big_int_sub = 14; +inline bool BlackBoxFuncCall::has_big_int_sub() const { + return value_case() == kBigIntSub; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_sub() const { + return value_case() == kBigIntSub; +} +inline void BlackBoxFuncCall::set_has_big_int_sub() { + _impl_._oneof_case_[0] = kBigIntSub; +} +inline void BlackBoxFuncCall::clear_big_int_sub() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntSub) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_sub_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_sub_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* BlackBoxFuncCall::release_big_int_sub() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) + if (value_case() == kBigIntSub) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_sub_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_sub_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub& BlackBoxFuncCall::_internal_big_int_sub() const { + return value_case() == kBigIntSub ? *_impl_.value_.big_int_sub_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntSub_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub& BlackBoxFuncCall::big_int_sub() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) + return _internal_big_int_sub(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* BlackBoxFuncCall::unsafe_arena_release_big_int_sub() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) + if (value_case() == kBigIntSub) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_sub_; + _impl_.value_.big_int_sub_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_sub(::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_sub(); + _impl_.value_.big_int_sub_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* BlackBoxFuncCall::_internal_mutable_big_int_sub() { + if (value_case() != kBigIntSub) { + clear_value(); + set_has_big_int_sub(); + _impl_.value_.big_int_sub_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub>(GetArena()); + } + return _impl_.value_.big_int_sub_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* BlackBoxFuncCall::mutable_big_int_sub() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntSub* _msg = _internal_mutable_big_int_sub(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_sub) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntMul big_int_mul = 15; +inline bool BlackBoxFuncCall::has_big_int_mul() const { + return value_case() == kBigIntMul; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_mul() const { + return value_case() == kBigIntMul; +} +inline void BlackBoxFuncCall::set_has_big_int_mul() { + _impl_._oneof_case_[0] = kBigIntMul; +} +inline void BlackBoxFuncCall::clear_big_int_mul() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntMul) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_mul_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_mul_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* BlackBoxFuncCall::release_big_int_mul() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) + if (value_case() == kBigIntMul) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_mul_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_mul_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul& BlackBoxFuncCall::_internal_big_int_mul() const { + return value_case() == kBigIntMul ? *_impl_.value_.big_int_mul_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntMul_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul& BlackBoxFuncCall::big_int_mul() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) + return _internal_big_int_mul(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* BlackBoxFuncCall::unsafe_arena_release_big_int_mul() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) + if (value_case() == kBigIntMul) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_mul_; + _impl_.value_.big_int_mul_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_mul(::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_mul(); + _impl_.value_.big_int_mul_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* BlackBoxFuncCall::_internal_mutable_big_int_mul() { + if (value_case() != kBigIntMul) { + clear_value(); + set_has_big_int_mul(); + _impl_.value_.big_int_mul_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul>(GetArena()); + } + return _impl_.value_.big_int_mul_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* BlackBoxFuncCall::mutable_big_int_mul() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntMul* _msg = _internal_mutable_big_int_mul(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_mul) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntDiv big_int_div = 16; +inline bool BlackBoxFuncCall::has_big_int_div() const { + return value_case() == kBigIntDiv; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_div() const { + return value_case() == kBigIntDiv; +} +inline void BlackBoxFuncCall::set_has_big_int_div() { + _impl_._oneof_case_[0] = kBigIntDiv; +} +inline void BlackBoxFuncCall::clear_big_int_div() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntDiv) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_div_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_div_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* BlackBoxFuncCall::release_big_int_div() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) + if (value_case() == kBigIntDiv) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_div_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_div_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv& BlackBoxFuncCall::_internal_big_int_div() const { + return value_case() == kBigIntDiv ? *_impl_.value_.big_int_div_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntDiv_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv& BlackBoxFuncCall::big_int_div() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) + return _internal_big_int_div(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* BlackBoxFuncCall::unsafe_arena_release_big_int_div() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) + if (value_case() == kBigIntDiv) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_div_; + _impl_.value_.big_int_div_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_div(::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_div(); + _impl_.value_.big_int_div_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* BlackBoxFuncCall::_internal_mutable_big_int_div() { + if (value_case() != kBigIntDiv) { + clear_value(); + set_has_big_int_div(); + _impl_.value_.big_int_div_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv>(GetArena()); + } + return _impl_.value_.big_int_div_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* BlackBoxFuncCall::mutable_big_int_div() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntDiv* _msg = _internal_mutable_big_int_div(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_div) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntFromLeBytes big_int_from_le_bytes = 17; +inline bool BlackBoxFuncCall::has_big_int_from_le_bytes() const { + return value_case() == kBigIntFromLeBytes; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_from_le_bytes() const { + return value_case() == kBigIntFromLeBytes; +} +inline void BlackBoxFuncCall::set_has_big_int_from_le_bytes() { + _impl_._oneof_case_[0] = kBigIntFromLeBytes; +} +inline void BlackBoxFuncCall::clear_big_int_from_le_bytes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntFromLeBytes) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_from_le_bytes_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_from_le_bytes_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* BlackBoxFuncCall::release_big_int_from_le_bytes() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) + if (value_case() == kBigIntFromLeBytes) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_from_le_bytes_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_from_le_bytes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes& BlackBoxFuncCall::_internal_big_int_from_le_bytes() const { + return value_case() == kBigIntFromLeBytes ? *_impl_.value_.big_int_from_le_bytes_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntFromLeBytes_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes& BlackBoxFuncCall::big_int_from_le_bytes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) + return _internal_big_int_from_le_bytes(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* BlackBoxFuncCall::unsafe_arena_release_big_int_from_le_bytes() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) + if (value_case() == kBigIntFromLeBytes) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_from_le_bytes_; + _impl_.value_.big_int_from_le_bytes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_from_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_from_le_bytes(); + _impl_.value_.big_int_from_le_bytes_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* BlackBoxFuncCall::_internal_mutable_big_int_from_le_bytes() { + if (value_case() != kBigIntFromLeBytes) { + clear_value(); + set_has_big_int_from_le_bytes(); + _impl_.value_.big_int_from_le_bytes_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes>(GetArena()); + } + return _impl_.value_.big_int_from_le_bytes_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* BlackBoxFuncCall::mutable_big_int_from_le_bytes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntFromLeBytes* _msg = _internal_mutable_big_int_from_le_bytes(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_from_le_bytes) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.BigIntToLeBytes big_int_to_le_bytes = 18; +inline bool BlackBoxFuncCall::has_big_int_to_le_bytes() const { + return value_case() == kBigIntToLeBytes; +} +inline bool BlackBoxFuncCall::_internal_has_big_int_to_le_bytes() const { + return value_case() == kBigIntToLeBytes; +} +inline void BlackBoxFuncCall::set_has_big_int_to_le_bytes() { + _impl_._oneof_case_[0] = kBigIntToLeBytes; +} +inline void BlackBoxFuncCall::clear_big_int_to_le_bytes() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kBigIntToLeBytes) { + if (GetArena() == nullptr) { + delete _impl_.value_.big_int_to_le_bytes_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.big_int_to_le_bytes_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* BlackBoxFuncCall::release_big_int_to_le_bytes() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) + if (value_case() == kBigIntToLeBytes) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_to_le_bytes_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.big_int_to_le_bytes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes& BlackBoxFuncCall::_internal_big_int_to_le_bytes() const { + return value_case() == kBigIntToLeBytes ? *_impl_.value_.big_int_to_le_bytes_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes&>(::acvm::acir::circuit::_BlackBoxFuncCall_BigIntToLeBytes_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes& BlackBoxFuncCall::big_int_to_le_bytes() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) + return _internal_big_int_to_le_bytes(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* BlackBoxFuncCall::unsafe_arena_release_big_int_to_le_bytes() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) + if (value_case() == kBigIntToLeBytes) { + clear_has_value(); + auto* temp = _impl_.value_.big_int_to_le_bytes_; + _impl_.value_.big_int_to_le_bytes_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_big_int_to_le_bytes(::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_big_int_to_le_bytes(); + _impl_.value_.big_int_to_le_bytes_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* BlackBoxFuncCall::_internal_mutable_big_int_to_le_bytes() { + if (value_case() != kBigIntToLeBytes) { + clear_value(); + set_has_big_int_to_le_bytes(); + _impl_.value_.big_int_to_le_bytes_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes>(GetArena()); + } + return _impl_.value_.big_int_to_le_bytes_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* BlackBoxFuncCall::mutable_big_int_to_le_bytes() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_BigIntToLeBytes* _msg = _internal_mutable_big_int_to_le_bytes(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.big_int_to_le_bytes) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.Poseidon2Permutation poseidon2_permutation = 19; +inline bool BlackBoxFuncCall::has_poseidon2_permutation() const { + return value_case() == kPoseidon2Permutation; +} +inline bool BlackBoxFuncCall::_internal_has_poseidon2_permutation() const { + return value_case() == kPoseidon2Permutation; +} +inline void BlackBoxFuncCall::set_has_poseidon2_permutation() { + _impl_._oneof_case_[0] = kPoseidon2Permutation; +} +inline void BlackBoxFuncCall::clear_poseidon2_permutation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kPoseidon2Permutation) { + if (GetArena() == nullptr) { + delete _impl_.value_.poseidon2_permutation_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.poseidon2_permutation_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* BlackBoxFuncCall::release_poseidon2_permutation() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) + if (value_case() == kPoseidon2Permutation) { + clear_has_value(); + auto* temp = _impl_.value_.poseidon2_permutation_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.poseidon2_permutation_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation& BlackBoxFuncCall::_internal_poseidon2_permutation() const { + return value_case() == kPoseidon2Permutation ? *_impl_.value_.poseidon2_permutation_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation&>(::acvm::acir::circuit::_BlackBoxFuncCall_Poseidon2Permutation_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation& BlackBoxFuncCall::poseidon2_permutation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) + return _internal_poseidon2_permutation(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* BlackBoxFuncCall::unsafe_arena_release_poseidon2_permutation() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) + if (value_case() == kPoseidon2Permutation) { + clear_has_value(); + auto* temp = _impl_.value_.poseidon2_permutation_; + _impl_.value_.poseidon2_permutation_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_poseidon2_permutation(::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_poseidon2_permutation(); + _impl_.value_.poseidon2_permutation_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* BlackBoxFuncCall::_internal_mutable_poseidon2_permutation() { + if (value_case() != kPoseidon2Permutation) { + clear_value(); + set_has_poseidon2_permutation(); + _impl_.value_.poseidon2_permutation_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation>(GetArena()); + } + return _impl_.value_.poseidon2_permutation_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* BlackBoxFuncCall::mutable_poseidon2_permutation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_Poseidon2Permutation* _msg = _internal_mutable_poseidon2_permutation(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.poseidon2_permutation) + return _msg; +} + +// .acvm.acir.circuit.BlackBoxFuncCall.Sha256Compression sha256_compression = 20; +inline bool BlackBoxFuncCall::has_sha256_compression() const { + return value_case() == kSha256Compression; +} +inline bool BlackBoxFuncCall::_internal_has_sha256_compression() const { + return value_case() == kSha256Compression; +} +inline void BlackBoxFuncCall::set_has_sha256_compression() { + _impl_._oneof_case_[0] = kSha256Compression; +} +inline void BlackBoxFuncCall::clear_sha256_compression() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kSha256Compression) { + if (GetArena() == nullptr) { + delete _impl_.value_.sha256_compression_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.sha256_compression_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* BlackBoxFuncCall::release_sha256_compression() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) + if (value_case() == kSha256Compression) { + clear_has_value(); + auto* temp = _impl_.value_.sha256_compression_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.sha256_compression_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression& BlackBoxFuncCall::_internal_sha256_compression() const { + return value_case() == kSha256Compression ? *_impl_.value_.sha256_compression_ : reinterpret_cast<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression&>(::acvm::acir::circuit::_BlackBoxFuncCall_Sha256Compression_default_instance_); +} +inline const ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression& BlackBoxFuncCall::sha256_compression() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) + return _internal_sha256_compression(); +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* BlackBoxFuncCall::unsafe_arena_release_sha256_compression() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) + if (value_case() == kSha256Compression) { + clear_has_value(); + auto* temp = _impl_.value_.sha256_compression_; + _impl_.value_.sha256_compression_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlackBoxFuncCall::unsafe_arena_set_allocated_sha256_compression(::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_sha256_compression(); + _impl_.value_.sha256_compression_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* BlackBoxFuncCall::_internal_mutable_sha256_compression() { + if (value_case() != kSha256Compression) { + clear_value(); + set_has_sha256_compression(); + _impl_.value_.sha256_compression_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression>(GetArena()); + } + return _impl_.value_.sha256_compression_; +} +inline ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* BlackBoxFuncCall::mutable_sha256_compression() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlackBoxFuncCall_Sha256Compression* _msg = _internal_mutable_sha256_compression(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlackBoxFuncCall.sha256_compression) + return _msg; +} + +inline bool BlackBoxFuncCall::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void BlackBoxFuncCall::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline BlackBoxFuncCall::ValueCase BlackBoxFuncCall::value_case() const { + return BlackBoxFuncCall::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// FunctionInput + +// .acvm.acir.circuit.ConstantOrWitnessEnum input = 1; +inline bool FunctionInput::has_input() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.input_ != nullptr); + return value; +} +inline void FunctionInput::clear_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.input_ != nullptr) _impl_.input_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::circuit::ConstantOrWitnessEnum& FunctionInput::_internal_input() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::circuit::ConstantOrWitnessEnum* p = _impl_.input_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::circuit::_ConstantOrWitnessEnum_default_instance_); +} +inline const ::acvm::acir::circuit::ConstantOrWitnessEnum& FunctionInput::input() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.FunctionInput.input) + return _internal_input(); +} +inline void FunctionInput::unsafe_arena_set_allocated_input(::acvm::acir::circuit::ConstantOrWitnessEnum* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.input_); + } + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::ConstantOrWitnessEnum*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.FunctionInput.input) +} +inline ::acvm::acir::circuit::ConstantOrWitnessEnum* FunctionInput::release_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::ConstantOrWitnessEnum* released = _impl_.input_; + _impl_.input_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::circuit::ConstantOrWitnessEnum* FunctionInput::unsafe_arena_release_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.FunctionInput.input) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::circuit::ConstantOrWitnessEnum* temp = _impl_.input_; + _impl_.input_ = nullptr; + return temp; +} +inline ::acvm::acir::circuit::ConstantOrWitnessEnum* FunctionInput::_internal_mutable_input() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.input_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::ConstantOrWitnessEnum>(GetArena()); + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::ConstantOrWitnessEnum*>(p); + } + return _impl_.input_; +} +inline ::acvm::acir::circuit::ConstantOrWitnessEnum* FunctionInput::mutable_input() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::circuit::ConstantOrWitnessEnum* _msg = _internal_mutable_input(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.FunctionInput.input) + return _msg; +} +inline void FunctionInput::set_allocated_input(::acvm::acir::circuit::ConstantOrWitnessEnum* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.input_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.input_ = reinterpret_cast<::acvm::acir::circuit::ConstantOrWitnessEnum*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.FunctionInput.input) +} + +// uint32 num_bits = 2; +inline void FunctionInput::clear_num_bits() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_bits_ = 0u; +} +inline ::uint32_t FunctionInput::num_bits() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.FunctionInput.num_bits) + return _internal_num_bits(); +} +inline void FunctionInput::set_num_bits(::uint32_t value) { + _internal_set_num_bits(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.FunctionInput.num_bits) +} +inline ::uint32_t FunctionInput::_internal_num_bits() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.num_bits_; +} +inline void FunctionInput::_internal_set_num_bits(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.num_bits_ = value; +} + +// ------------------------------------------------------------------- + +// ConstantOrWitnessEnum + +// .acvm.acir.native.Field constant = 1; +inline bool ConstantOrWitnessEnum::has_constant() const { + return value_case() == kConstant; +} +inline bool ConstantOrWitnessEnum::_internal_has_constant() const { + return value_case() == kConstant; +} +inline void ConstantOrWitnessEnum::set_has_constant() { + _impl_._oneof_case_[0] = kConstant; +} +inline ::acvm::acir::native::Field* ConstantOrWitnessEnum::release_constant() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.ConstantOrWitnessEnum.constant) + if (value_case() == kConstant) { + clear_has_value(); + auto* temp = _impl_.value_.constant_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.constant_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Field& ConstantOrWitnessEnum::_internal_constant() const { + return value_case() == kConstant ? *_impl_.value_.constant_ : reinterpret_cast<::acvm::acir::native::Field&>(::acvm::acir::native::_Field_default_instance_); +} +inline const ::acvm::acir::native::Field& ConstantOrWitnessEnum::constant() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ConstantOrWitnessEnum.constant) + return _internal_constant(); +} +inline ::acvm::acir::native::Field* ConstantOrWitnessEnum::unsafe_arena_release_constant() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.ConstantOrWitnessEnum.constant) + if (value_case() == kConstant) { + clear_has_value(); + auto* temp = _impl_.value_.constant_; + _impl_.value_.constant_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ConstantOrWitnessEnum::unsafe_arena_set_allocated_constant(::acvm::acir::native::Field* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_constant(); + _impl_.value_.constant_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.ConstantOrWitnessEnum.constant) +} +inline ::acvm::acir::native::Field* ConstantOrWitnessEnum::_internal_mutable_constant() { + if (value_case() != kConstant) { + clear_value(); + set_has_constant(); + _impl_.value_.constant_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Field>(GetArena()); + } + return _impl_.value_.constant_; +} +inline ::acvm::acir::native::Field* ConstantOrWitnessEnum::mutable_constant() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Field* _msg = _internal_mutable_constant(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.ConstantOrWitnessEnum.constant) + return _msg; +} + +// .acvm.acir.native.Witness witness = 2; +inline bool ConstantOrWitnessEnum::has_witness() const { + return value_case() == kWitness; +} +inline bool ConstantOrWitnessEnum::_internal_has_witness() const { + return value_case() == kWitness; +} +inline void ConstantOrWitnessEnum::set_has_witness() { + _impl_._oneof_case_[0] = kWitness; +} +inline ::acvm::acir::native::Witness* ConstantOrWitnessEnum::release_witness() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.ConstantOrWitnessEnum.witness) + if (value_case() == kWitness) { + clear_has_value(); + auto* temp = _impl_.value_.witness_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.witness_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Witness& ConstantOrWitnessEnum::_internal_witness() const { + return value_case() == kWitness ? *_impl_.value_.witness_ : reinterpret_cast<::acvm::acir::native::Witness&>(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& ConstantOrWitnessEnum::witness() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.ConstantOrWitnessEnum.witness) + return _internal_witness(); +} +inline ::acvm::acir::native::Witness* ConstantOrWitnessEnum::unsafe_arena_release_witness() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.ConstantOrWitnessEnum.witness) + if (value_case() == kWitness) { + clear_has_value(); + auto* temp = _impl_.value_.witness_; + _impl_.value_.witness_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void ConstantOrWitnessEnum::unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_witness(); + _impl_.value_.witness_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.ConstantOrWitnessEnum.witness) +} +inline ::acvm::acir::native::Witness* ConstantOrWitnessEnum::_internal_mutable_witness() { + if (value_case() != kWitness) { + clear_value(); + set_has_witness(); + _impl_.value_.witness_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + } + return _impl_.value_.witness_; +} +inline ::acvm::acir::native::Witness* ConstantOrWitnessEnum::mutable_witness() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Witness* _msg = _internal_mutable_witness(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.ConstantOrWitnessEnum.witness) + return _msg; +} + +inline bool ConstantOrWitnessEnum::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void ConstantOrWitnessEnum::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline ConstantOrWitnessEnum::ValueCase ConstantOrWitnessEnum::value_case() const { + return ConstantOrWitnessEnum::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// MemOp + +// .acvm.acir.native.Expression operation = 1; +inline bool MemOp::has_operation() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.operation_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& MemOp::_internal_operation() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.operation_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& MemOp::operation() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.MemOp.operation) + return _internal_operation(); +} +inline void MemOp::unsafe_arena_set_allocated_operation(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.operation_); + } + _impl_.operation_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.MemOp.operation) +} +inline ::acvm::acir::native::Expression* MemOp::release_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* released = _impl_.operation_; + _impl_.operation_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* MemOp::unsafe_arena_release_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.MemOp.operation) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Expression* temp = _impl_.operation_; + _impl_.operation_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* MemOp::_internal_mutable_operation() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.operation_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.operation_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.operation_; +} +inline ::acvm::acir::native::Expression* MemOp::mutable_operation() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_operation(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.MemOp.operation) + return _msg; +} +inline void MemOp::set_allocated_operation(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.operation_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.operation_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.MemOp.operation) +} + +// .acvm.acir.native.Expression index = 2; +inline bool MemOp::has_index() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.index_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& MemOp::_internal_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.index_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& MemOp::index() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.MemOp.index) + return _internal_index(); +} +inline void MemOp::unsafe_arena_set_allocated_index(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.index_); + } + _impl_.index_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.MemOp.index) +} +inline ::acvm::acir::native::Expression* MemOp::release_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Expression* released = _impl_.index_; + _impl_.index_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* MemOp::unsafe_arena_release_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.MemOp.index) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Expression* temp = _impl_.index_; + _impl_.index_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* MemOp::_internal_mutable_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.index_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.index_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.index_; +} +inline ::acvm::acir::native::Expression* MemOp::mutable_index() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_index(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.MemOp.index) + return _msg; +} +inline void MemOp::set_allocated_index(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.index_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.index_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.MemOp.index) +} + +// .acvm.acir.native.Expression value = 3; +inline bool MemOp::has_value() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Expression& MemOp::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Expression* p = _impl_.value_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& MemOp::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.MemOp.value) + return _internal_value(); +} +inline void MemOp::unsafe_arena_set_allocated_value(::acvm::acir::native::Expression* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + _impl_.value_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.MemOp.value) +} +inline ::acvm::acir::native::Expression* MemOp::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Expression* released = _impl_.value_; + _impl_.value_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Expression* MemOp::unsafe_arena_release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.circuit.MemOp.value) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Expression* temp = _impl_.value_; + _impl_.value_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Expression* MemOp::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.value_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + _impl_.value_ = reinterpret_cast<::acvm::acir::native::Expression*>(p); + } + return _impl_.value_; +} +inline ::acvm::acir::native::Expression* MemOp::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::acvm::acir::native::Expression* _msg = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.MemOp.value) + return _msg; +} +inline void MemOp::set_allocated_value(::acvm::acir::native::Expression* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.value_ = reinterpret_cast<::acvm::acir::native::Expression*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.circuit.MemOp.value) +} + +// ------------------------------------------------------------------- + +// BlockType_Memory + +// ------------------------------------------------------------------- + +// BlockType_CallData + +// uint32 value = 1; +inline void BlockType_CallData::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = 0u; +} +inline ::uint32_t BlockType_CallData::value() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlockType.CallData.value) + return _internal_value(); +} +inline void BlockType_CallData::set_value(::uint32_t value) { + _internal_set_value(value); + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BlockType.CallData.value) +} +inline ::uint32_t BlockType_CallData::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_; +} +inline void BlockType_CallData::_internal_set_value(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_ = value; +} + +// ------------------------------------------------------------------- + +// BlockType_ReturnData + +// ------------------------------------------------------------------- + +// BlockType + +// .acvm.acir.circuit.BlockType.Memory memory = 1; +inline bool BlockType::has_memory() const { + return value_case() == kMemory; +} +inline bool BlockType::_internal_has_memory() const { + return value_case() == kMemory; +} +inline void BlockType::set_has_memory() { + _impl_._oneof_case_[0] = kMemory; +} +inline void BlockType::clear_memory() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMemory) { + if (GetArena() == nullptr) { + delete _impl_.value_.memory_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.memory_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlockType_Memory* BlockType::release_memory() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlockType.memory) + if (value_case() == kMemory) { + clear_has_value(); + auto* temp = _impl_.value_.memory_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.memory_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlockType_Memory& BlockType::_internal_memory() const { + return value_case() == kMemory ? *_impl_.value_.memory_ : reinterpret_cast<::acvm::acir::circuit::BlockType_Memory&>(::acvm::acir::circuit::_BlockType_Memory_default_instance_); +} +inline const ::acvm::acir::circuit::BlockType_Memory& BlockType::memory() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlockType.memory) + return _internal_memory(); +} +inline ::acvm::acir::circuit::BlockType_Memory* BlockType::unsafe_arena_release_memory() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlockType.memory) + if (value_case() == kMemory) { + clear_has_value(); + auto* temp = _impl_.value_.memory_; + _impl_.value_.memory_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlockType::unsafe_arena_set_allocated_memory(::acvm::acir::circuit::BlockType_Memory* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_memory(); + _impl_.value_.memory_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlockType.memory) +} +inline ::acvm::acir::circuit::BlockType_Memory* BlockType::_internal_mutable_memory() { + if (value_case() != kMemory) { + clear_value(); + set_has_memory(); + _impl_.value_.memory_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlockType_Memory>(GetArena()); + } + return _impl_.value_.memory_; +} +inline ::acvm::acir::circuit::BlockType_Memory* BlockType::mutable_memory() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlockType_Memory* _msg = _internal_mutable_memory(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlockType.memory) + return _msg; +} + +// .acvm.acir.circuit.BlockType.CallData call_data = 2; +inline bool BlockType::has_call_data() const { + return value_case() == kCallData; +} +inline bool BlockType::_internal_has_call_data() const { + return value_case() == kCallData; +} +inline void BlockType::set_has_call_data() { + _impl_._oneof_case_[0] = kCallData; +} +inline void BlockType::clear_call_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kCallData) { + if (GetArena() == nullptr) { + delete _impl_.value_.call_data_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.call_data_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlockType_CallData* BlockType::release_call_data() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlockType.call_data) + if (value_case() == kCallData) { + clear_has_value(); + auto* temp = _impl_.value_.call_data_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.call_data_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlockType_CallData& BlockType::_internal_call_data() const { + return value_case() == kCallData ? *_impl_.value_.call_data_ : reinterpret_cast<::acvm::acir::circuit::BlockType_CallData&>(::acvm::acir::circuit::_BlockType_CallData_default_instance_); +} +inline const ::acvm::acir::circuit::BlockType_CallData& BlockType::call_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlockType.call_data) + return _internal_call_data(); +} +inline ::acvm::acir::circuit::BlockType_CallData* BlockType::unsafe_arena_release_call_data() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlockType.call_data) + if (value_case() == kCallData) { + clear_has_value(); + auto* temp = _impl_.value_.call_data_; + _impl_.value_.call_data_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlockType::unsafe_arena_set_allocated_call_data(::acvm::acir::circuit::BlockType_CallData* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_call_data(); + _impl_.value_.call_data_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlockType.call_data) +} +inline ::acvm::acir::circuit::BlockType_CallData* BlockType::_internal_mutable_call_data() { + if (value_case() != kCallData) { + clear_value(); + set_has_call_data(); + _impl_.value_.call_data_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlockType_CallData>(GetArena()); + } + return _impl_.value_.call_data_; +} +inline ::acvm::acir::circuit::BlockType_CallData* BlockType::mutable_call_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlockType_CallData* _msg = _internal_mutable_call_data(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlockType.call_data) + return _msg; +} + +// .acvm.acir.circuit.BlockType.ReturnData return_data = 3; +inline bool BlockType::has_return_data() const { + return value_case() == kReturnData; +} +inline bool BlockType::_internal_has_return_data() const { + return value_case() == kReturnData; +} +inline void BlockType::set_has_return_data() { + _impl_._oneof_case_[0] = kReturnData; +} +inline void BlockType::clear_return_data() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kReturnData) { + if (GetArena() == nullptr) { + delete _impl_.value_.return_data_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.return_data_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BlockType_ReturnData* BlockType::release_return_data() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BlockType.return_data) + if (value_case() == kReturnData) { + clear_has_value(); + auto* temp = _impl_.value_.return_data_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.return_data_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BlockType_ReturnData& BlockType::_internal_return_data() const { + return value_case() == kReturnData ? *_impl_.value_.return_data_ : reinterpret_cast<::acvm::acir::circuit::BlockType_ReturnData&>(::acvm::acir::circuit::_BlockType_ReturnData_default_instance_); +} +inline const ::acvm::acir::circuit::BlockType_ReturnData& BlockType::return_data() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BlockType.return_data) + return _internal_return_data(); +} +inline ::acvm::acir::circuit::BlockType_ReturnData* BlockType::unsafe_arena_release_return_data() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BlockType.return_data) + if (value_case() == kReturnData) { + clear_has_value(); + auto* temp = _impl_.value_.return_data_; + _impl_.value_.return_data_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BlockType::unsafe_arena_set_allocated_return_data(::acvm::acir::circuit::BlockType_ReturnData* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_return_data(); + _impl_.value_.return_data_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BlockType.return_data) +} +inline ::acvm::acir::circuit::BlockType_ReturnData* BlockType::_internal_mutable_return_data() { + if (value_case() != kReturnData) { + clear_value(); + set_has_return_data(); + _impl_.value_.return_data_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BlockType_ReturnData>(GetArena()); + } + return _impl_.value_.return_data_; +} +inline ::acvm::acir::circuit::BlockType_ReturnData* BlockType::mutable_return_data() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BlockType_ReturnData* _msg = _internal_mutable_return_data(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BlockType.return_data) + return _msg; +} + +inline bool BlockType::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void BlockType::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline BlockType::ValueCase BlockType::value_case() const { + return BlockType::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// BrilligInputs_Array + +// repeated .acvm.acir.native.Expression values = 2; +inline int BrilligInputs_Array::_internal_values_size() const { + return _internal_values().size(); +} +inline int BrilligInputs_Array::values_size() const { + return _internal_values_size(); +} +inline ::acvm::acir::native::Expression* BrilligInputs_Array::mutable_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligInputs.Array.values) + return _internal_mutable_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>* BrilligInputs_Array::mutable_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BrilligInputs.Array.values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_values(); +} +inline const ::acvm::acir::native::Expression& BrilligInputs_Array::values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligInputs.Array.values) + return _internal_values().Get(index); +} +inline ::acvm::acir::native::Expression* BrilligInputs_Array::add_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Expression* _add = _internal_mutable_values()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BrilligInputs.Array.values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>& BrilligInputs_Array::values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BrilligInputs.Array.values) + return _internal_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>& +BrilligInputs_Array::_internal_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.values_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression>* +BrilligInputs_Array::_internal_mutable_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.values_; +} + +// ------------------------------------------------------------------- + +// BrilligInputs + +// .acvm.acir.native.Expression single = 1; +inline bool BrilligInputs::has_single() const { + return value_case() == kSingle; +} +inline bool BrilligInputs::_internal_has_single() const { + return value_case() == kSingle; +} +inline void BrilligInputs::set_has_single() { + _impl_._oneof_case_[0] = kSingle; +} +inline ::acvm::acir::native::Expression* BrilligInputs::release_single() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BrilligInputs.single) + if (value_case() == kSingle) { + clear_has_value(); + auto* temp = _impl_.value_.single_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.single_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Expression& BrilligInputs::_internal_single() const { + return value_case() == kSingle ? *_impl_.value_.single_ : reinterpret_cast<::acvm::acir::native::Expression&>(::acvm::acir::native::_Expression_default_instance_); +} +inline const ::acvm::acir::native::Expression& BrilligInputs::single() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligInputs.single) + return _internal_single(); +} +inline ::acvm::acir::native::Expression* BrilligInputs::unsafe_arena_release_single() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BrilligInputs.single) + if (value_case() == kSingle) { + clear_has_value(); + auto* temp = _impl_.value_.single_; + _impl_.value_.single_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BrilligInputs::unsafe_arena_set_allocated_single(::acvm::acir::native::Expression* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_single(); + _impl_.value_.single_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BrilligInputs.single) +} +inline ::acvm::acir::native::Expression* BrilligInputs::_internal_mutable_single() { + if (value_case() != kSingle) { + clear_value(); + set_has_single(); + _impl_.value_.single_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Expression>(GetArena()); + } + return _impl_.value_.single_; +} +inline ::acvm::acir::native::Expression* BrilligInputs::mutable_single() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Expression* _msg = _internal_mutable_single(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligInputs.single) + return _msg; +} + +// .acvm.acir.circuit.BrilligInputs.Array array = 2; +inline bool BrilligInputs::has_array() const { + return value_case() == kArray; +} +inline bool BrilligInputs::_internal_has_array() const { + return value_case() == kArray; +} +inline void BrilligInputs::set_has_array() { + _impl_._oneof_case_[0] = kArray; +} +inline void BrilligInputs::clear_array() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kArray) { + if (GetArena() == nullptr) { + delete _impl_.value_.array_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.array_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BrilligInputs_Array* BrilligInputs::release_array() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BrilligInputs.array) + if (value_case() == kArray) { + clear_has_value(); + auto* temp = _impl_.value_.array_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.array_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BrilligInputs_Array& BrilligInputs::_internal_array() const { + return value_case() == kArray ? *_impl_.value_.array_ : reinterpret_cast<::acvm::acir::circuit::BrilligInputs_Array&>(::acvm::acir::circuit::_BrilligInputs_Array_default_instance_); +} +inline const ::acvm::acir::circuit::BrilligInputs_Array& BrilligInputs::array() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligInputs.array) + return _internal_array(); +} +inline ::acvm::acir::circuit::BrilligInputs_Array* BrilligInputs::unsafe_arena_release_array() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BrilligInputs.array) + if (value_case() == kArray) { + clear_has_value(); + auto* temp = _impl_.value_.array_; + _impl_.value_.array_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BrilligInputs::unsafe_arena_set_allocated_array(::acvm::acir::circuit::BrilligInputs_Array* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_array(); + _impl_.value_.array_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BrilligInputs.array) +} +inline ::acvm::acir::circuit::BrilligInputs_Array* BrilligInputs::_internal_mutable_array() { + if (value_case() != kArray) { + clear_value(); + set_has_array(); + _impl_.value_.array_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BrilligInputs_Array>(GetArena()); + } + return _impl_.value_.array_; +} +inline ::acvm::acir::circuit::BrilligInputs_Array* BrilligInputs::mutable_array() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BrilligInputs_Array* _msg = _internal_mutable_array(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligInputs.array) + return _msg; +} + +// uint32 memory_array = 3; +inline bool BrilligInputs::has_memory_array() const { + return value_case() == kMemoryArray; +} +inline void BrilligInputs::set_has_memory_array() { + _impl_._oneof_case_[0] = kMemoryArray; +} +inline void BrilligInputs::clear_memory_array() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kMemoryArray) { + _impl_.value_.memory_array_ = 0u; + clear_has_value(); + } +} +inline ::uint32_t BrilligInputs::memory_array() const { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligInputs.memory_array) + return _internal_memory_array(); +} +inline void BrilligInputs::set_memory_array(::uint32_t value) { + if (value_case() != kMemoryArray) { + clear_value(); + set_has_memory_array(); + } + _impl_.value_.memory_array_ = value; + // @@protoc_insertion_point(field_set:acvm.acir.circuit.BrilligInputs.memory_array) +} +inline ::uint32_t BrilligInputs::_internal_memory_array() const { + if (value_case() == kMemoryArray) { + return _impl_.value_.memory_array_; + } + return 0u; +} + +inline bool BrilligInputs::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void BrilligInputs::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline BrilligInputs::ValueCase BrilligInputs::value_case() const { + return BrilligInputs::ValueCase(_impl_._oneof_case_[0]); +} +// ------------------------------------------------------------------- + +// BrilligOutputs_Array + +// repeated .acvm.acir.native.Witness values = 1; +inline int BrilligOutputs_Array::_internal_values_size() const { + return _internal_values().size(); +} +inline int BrilligOutputs_Array::values_size() const { + return _internal_values_size(); +} +inline ::acvm::acir::native::Witness* BrilligOutputs_Array::mutable_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligOutputs.Array.values) + return _internal_mutable_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* BrilligOutputs_Array::mutable_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.circuit.BrilligOutputs.Array.values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_values(); +} +inline const ::acvm::acir::native::Witness& BrilligOutputs_Array::values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligOutputs.Array.values) + return _internal_values().Get(index); +} +inline ::acvm::acir::native::Witness* BrilligOutputs_Array::add_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Witness* _add = _internal_mutable_values()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.circuit.BrilligOutputs.Array.values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& BrilligOutputs_Array::values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.circuit.BrilligOutputs.Array.values) + return _internal_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>& +BrilligOutputs_Array::_internal_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.values_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Witness>* +BrilligOutputs_Array::_internal_mutable_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.values_; +} + +// ------------------------------------------------------------------- + +// BrilligOutputs + +// .acvm.acir.native.Witness simple = 1; +inline bool BrilligOutputs::has_simple() const { + return value_case() == kSimple; +} +inline bool BrilligOutputs::_internal_has_simple() const { + return value_case() == kSimple; +} +inline void BrilligOutputs::set_has_simple() { + _impl_._oneof_case_[0] = kSimple; +} +inline ::acvm::acir::native::Witness* BrilligOutputs::release_simple() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BrilligOutputs.simple) + if (value_case() == kSimple) { + clear_has_value(); + auto* temp = _impl_.value_.simple_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.simple_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::native::Witness& BrilligOutputs::_internal_simple() const { + return value_case() == kSimple ? *_impl_.value_.simple_ : reinterpret_cast<::acvm::acir::native::Witness&>(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& BrilligOutputs::simple() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligOutputs.simple) + return _internal_simple(); +} +inline ::acvm::acir::native::Witness* BrilligOutputs::unsafe_arena_release_simple() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BrilligOutputs.simple) + if (value_case() == kSimple) { + clear_has_value(); + auto* temp = _impl_.value_.simple_; + _impl_.value_.simple_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BrilligOutputs::unsafe_arena_set_allocated_simple(::acvm::acir::native::Witness* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_simple(); + _impl_.value_.simple_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BrilligOutputs.simple) +} +inline ::acvm::acir::native::Witness* BrilligOutputs::_internal_mutable_simple() { + if (value_case() != kSimple) { + clear_value(); + set_has_simple(); + _impl_.value_.simple_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + } + return _impl_.value_.simple_; +} +inline ::acvm::acir::native::Witness* BrilligOutputs::mutable_simple() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::native::Witness* _msg = _internal_mutable_simple(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligOutputs.simple) + return _msg; +} + +// .acvm.acir.circuit.BrilligOutputs.Array array = 2; +inline bool BrilligOutputs::has_array() const { + return value_case() == kArray; +} +inline bool BrilligOutputs::_internal_has_array() const { + return value_case() == kArray; +} +inline void BrilligOutputs::set_has_array() { + _impl_._oneof_case_[0] = kArray; +} +inline void BrilligOutputs::clear_array() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (value_case() == kArray) { + if (GetArena() == nullptr) { + delete _impl_.value_.array_; + } else if (::google::protobuf::internal::DebugHardenClearOneofMessageOnArena()) { + ::google::protobuf::internal::MaybePoisonAfterClear(_impl_.value_.array_); + } + clear_has_value(); + } +} +inline ::acvm::acir::circuit::BrilligOutputs_Array* BrilligOutputs::release_array() { + // @@protoc_insertion_point(field_release:acvm.acir.circuit.BrilligOutputs.array) + if (value_case() == kArray) { + clear_has_value(); + auto* temp = _impl_.value_.array_; + if (GetArena() != nullptr) { + temp = ::google::protobuf::internal::DuplicateIfNonNull(temp); + } + _impl_.value_.array_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline const ::acvm::acir::circuit::BrilligOutputs_Array& BrilligOutputs::_internal_array() const { + return value_case() == kArray ? *_impl_.value_.array_ : reinterpret_cast<::acvm::acir::circuit::BrilligOutputs_Array&>(::acvm::acir::circuit::_BrilligOutputs_Array_default_instance_); +} +inline const ::acvm::acir::circuit::BrilligOutputs_Array& BrilligOutputs::array() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.circuit.BrilligOutputs.array) + return _internal_array(); +} +inline ::acvm::acir::circuit::BrilligOutputs_Array* BrilligOutputs::unsafe_arena_release_array() { + // @@protoc_insertion_point(field_unsafe_arena_release:acvm.acir.circuit.BrilligOutputs.array) + if (value_case() == kArray) { + clear_has_value(); + auto* temp = _impl_.value_.array_; + _impl_.value_.array_ = nullptr; + return temp; + } else { + return nullptr; + } +} +inline void BrilligOutputs::unsafe_arena_set_allocated_array(::acvm::acir::circuit::BrilligOutputs_Array* value) { + // We rely on the oneof clear method to free the earlier contents + // of this oneof. We can directly use the pointer we're given to + // set the new value. + clear_value(); + if (value) { + set_has_array(); + _impl_.value_.array_ = value; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.circuit.BrilligOutputs.array) +} +inline ::acvm::acir::circuit::BrilligOutputs_Array* BrilligOutputs::_internal_mutable_array() { + if (value_case() != kArray) { + clear_value(); + set_has_array(); + _impl_.value_.array_ = + ::google::protobuf::Message::DefaultConstruct<::acvm::acir::circuit::BrilligOutputs_Array>(GetArena()); + } + return _impl_.value_.array_; +} +inline ::acvm::acir::circuit::BrilligOutputs_Array* BrilligOutputs::mutable_array() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::acvm::acir::circuit::BrilligOutputs_Array* _msg = _internal_mutable_array(); + // @@protoc_insertion_point(field_mutable:acvm.acir.circuit.BrilligOutputs.array) + return _msg; +} + +inline bool BrilligOutputs::has_value() const { + return value_case() != VALUE_NOT_SET; +} +inline void BrilligOutputs::clear_has_value() { + _impl_._oneof_case_[0] = VALUE_NOT_SET; +} +inline BrilligOutputs::ValueCase BrilligOutputs::value_case() const { + return BrilligOutputs::ValueCase(_impl_._oneof_case_[0]); +} +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace circuit +} // namespace acir +} // namespace acvm + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // acir_2fcircuit_2eproto_2epb_2eh diff --git a/acvm-repo/acir/codegen/acir/native.pb.cc b/acvm-repo/acir/codegen/acir/native.pb.cc new file mode 100644 index 00000000000..3d5dff7f9b0 --- /dev/null +++ b/acvm-repo/acir/codegen/acir/native.pb.cc @@ -0,0 +1,1701 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/native.proto +// Protobuf C++ Version: 5.29.3 + +#include "acir/native.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace acvm { +namespace acir { +namespace native { + +inline constexpr Witness::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : index_{0u}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Witness::Witness(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct WitnessDefaultTypeInternal { + PROTOBUF_CONSTEXPR WitnessDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WitnessDefaultTypeInternal() {} + union { + Witness _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WitnessDefaultTypeInternal _Witness_default_instance_; + +inline constexpr Field::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : value_( + &::google::protobuf::internal::fixed_address_empty_string, + ::_pbi::ConstantInitialized()), + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Field::Field(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct FieldDefaultTypeInternal { + PROTOBUF_CONSTEXPR FieldDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~FieldDefaultTypeInternal() {} + union { + Field _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 FieldDefaultTypeInternal _Field_default_instance_; + +inline constexpr Expression_MulTerm::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + q_m_{nullptr}, + witness_left_{nullptr}, + witness_right_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Expression_MulTerm::Expression_MulTerm(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Expression_MulTermDefaultTypeInternal { + PROTOBUF_CONSTEXPR Expression_MulTermDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Expression_MulTermDefaultTypeInternal() {} + union { + Expression_MulTerm _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Expression_MulTermDefaultTypeInternal _Expression_MulTerm_default_instance_; + +inline constexpr Expression_LinearCombination::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + q_l_{nullptr}, + witness_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Expression_LinearCombination::Expression_LinearCombination(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct Expression_LinearCombinationDefaultTypeInternal { + PROTOBUF_CONSTEXPR Expression_LinearCombinationDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~Expression_LinearCombinationDefaultTypeInternal() {} + union { + Expression_LinearCombination _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 Expression_LinearCombinationDefaultTypeInternal _Expression_LinearCombination_default_instance_; + +inline constexpr Expression::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + mul_terms_{}, + linear_combinations_{}, + q_c_{nullptr} {} + +template +PROTOBUF_CONSTEXPR Expression::Expression(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ExpressionDefaultTypeInternal { + PROTOBUF_CONSTEXPR ExpressionDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ExpressionDefaultTypeInternal() {} + union { + Expression _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExpressionDefaultTypeInternal _Expression_default_instance_; +} // namespace native +} // namespace acir +} // namespace acvm +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_acir_2fnative_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_acir_2fnative_2eproto = nullptr; +const ::uint32_t + TableStruct_acir_2fnative_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Field, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Field, _impl_.value_), + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Witness, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Witness, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_MulTerm, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_MulTerm, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_MulTerm, _impl_.q_m_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_MulTerm, _impl_.witness_left_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_MulTerm, _impl_.witness_right_), + 0, + 1, + 2, + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_LinearCombination, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_LinearCombination, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_LinearCombination, _impl_.q_l_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression_LinearCombination, _impl_.witness_), + 0, + 1, + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression, _impl_.mul_terms_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression, _impl_.linear_combinations_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::native::Expression, _impl_.q_c_), + ~0u, + ~0u, + 0, +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::acvm::acir::native::Field)}, + {9, -1, -1, sizeof(::acvm::acir::native::Witness)}, + {18, 29, -1, sizeof(::acvm::acir::native::Expression_MulTerm)}, + {32, 42, -1, sizeof(::acvm::acir::native::Expression_LinearCombination)}, + {44, 55, -1, sizeof(::acvm::acir::native::Expression)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::acvm::acir::native::_Field_default_instance_._instance, + &::acvm::acir::native::_Witness_default_instance_._instance, + &::acvm::acir::native::_Expression_MulTerm_default_instance_._instance, + &::acvm::acir::native::_Expression_LinearCombination_default_instance_._instance, + &::acvm::acir::native::_Expression_default_instance_._instance, +}; +const char descriptor_table_protodef_acir_2fnative_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\021acir/native.proto\022\020acvm.acir.native\"\026\n" + "\005Field\022\r\n\005value\030\001 \001(\014\"\030\n\007Witness\022\r\n\005inde" + "x\030\001 \001(\r\"\264\003\n\nExpression\0227\n\tmul_terms\030\001 \003(" + "\0132$.acvm.acir.native.Expression.MulTerm\022" + "K\n\023linear_combinations\030\002 \003(\0132..acvm.acir" + ".native.Expression.LinearCombination\022$\n\003" + "q_c\030\003 \001(\0132\027.acvm.acir.native.Field\032\222\001\n\007M" + "ulTerm\022$\n\003q_m\030\001 \001(\0132\027.acvm.acir.native.F" + "ield\022/\n\014witness_left\030\002 \001(\0132\031.acvm.acir.n" + "ative.Witness\0220\n\rwitness_right\030\003 \001(\0132\031.a" + "cvm.acir.native.Witness\032e\n\021LinearCombina" + "tion\022$\n\003q_l\030\001 \001(\0132\027.acvm.acir.native.Fie" + "ld\022*\n\007witness\030\002 \001(\0132\031.acvm.acir.native.W" + "itnessb\006proto3" +}; +static ::absl::once_flag descriptor_table_acir_2fnative_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_acir_2fnative_2eproto = { + false, + false, + 534, + descriptor_table_protodef_acir_2fnative_2eproto, + "acir/native.proto", + &descriptor_table_acir_2fnative_2eproto_once, + nullptr, + 0, + 5, + schemas, + file_default_instances, + TableStruct_acir_2fnative_2eproto::offsets, + file_level_enum_descriptors_acir_2fnative_2eproto, + file_level_service_descriptors_acir_2fnative_2eproto, +}; +namespace acvm { +namespace acir { +namespace native { +// =================================================================== + +class Field::_Internal { + public: +}; + +Field::Field(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.native.Field) +} +inline PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::native::Field& from_msg) + : value_(arena, from.value_), + _cached_size_{0} {} + +Field::Field( + ::google::protobuf::Arena* arena, + const Field& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Field* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.native.Field) +} +inline PROTOBUF_NDEBUG_INLINE Field::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : value_(arena), + _cached_size_{0} {} + +inline void Field::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Field::~Field() { + // @@protoc_insertion_point(destructor:acvm.acir.native.Field) + SharedDtor(*this); +} +inline void Field::SharedDtor(MessageLite& self) { + Field& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.value_.Destroy(); + this_._impl_.~Impl_(); +} + +inline void* Field::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Field(arena); +} +constexpr auto Field::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::CopyInit(sizeof(Field), + alignof(Field)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Field::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Field_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Field::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Field::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Field::ByteSizeLong, + &Field::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Field, _impl_._cached_size_), + false, + }, + &Field::kDescriptorMethods, + &descriptor_table_acir_2fnative_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Field::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Field::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::native::Field>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // bytes value = 1; + {::_pbi::TcParser::FastBS1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Field, _impl_.value_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // bytes value = 1; + {PROTOBUF_FIELD_OFFSET(Field, _impl_.value_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kBytes | ::_fl::kRepAString)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void Field::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.native.Field) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.value_.ClearToEmpty(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Field::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Field& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Field::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Field& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.native.Field) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // bytes value = 1; + if (!this_._internal_value().empty()) { + const std::string& _s = this_._internal_value(); + target = stream->WriteBytesMaybeAliased(1, _s, target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.native.Field) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Field::ByteSizeLong(const MessageLite& base) { + const Field& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Field::ByteSizeLong() const { + const Field& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.native.Field) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // bytes value = 1; + if (!this_._internal_value().empty()) { + total_size += 1 + ::google::protobuf::internal::WireFormatLite::BytesSize( + this_._internal_value()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Field::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.native.Field) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (!from._internal_value().empty()) { + _this->_internal_set_value(from._internal_value()); + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Field::CopyFrom(const Field& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.native.Field) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Field::InternalSwap(Field* PROTOBUF_RESTRICT other) { + using std::swap; + auto* arena = GetArena(); + ABSL_DCHECK_EQ(arena, other->GetArena()); + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.value_, &other->_impl_.value_, arena); +} + +::google::protobuf::Metadata Field::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Witness::_Internal { + public: +}; + +Witness::Witness(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.native.Witness) +} +Witness::Witness( + ::google::protobuf::Arena* arena, const Witness& from) + : Witness(arena) { + MergeFrom(from); +} +inline PROTOBUF_NDEBUG_INLINE Witness::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Witness::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.index_ = {}; +} +Witness::~Witness() { + // @@protoc_insertion_point(destructor:acvm.acir.native.Witness) + SharedDtor(*this); +} +inline void Witness::SharedDtor(MessageLite& self) { + Witness& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Witness::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Witness(arena); +} +constexpr auto Witness::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Witness), + alignof(Witness)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Witness::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Witness_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Witness::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Witness::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Witness::ByteSizeLong, + &Witness::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Witness, _impl_._cached_size_), + false, + }, + &Witness::kDescriptorMethods, + &descriptor_table_acir_2fnative_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Witness::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 0, 0, 2> Witness::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 0, // num_aux_entries + offsetof(decltype(_table_), field_names), // no aux_entries + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // uint32 index = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(Witness, _impl_.index_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(Witness, _impl_.index_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 index = 1; + {PROTOBUF_FIELD_OFFSET(Witness, _impl_.index_), 0, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + }}, + // no aux_entries + {{ + }}, +}; + +PROTOBUF_NOINLINE void Witness::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.native.Witness) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.index_ = 0u; + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Witness::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Witness& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Witness::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Witness& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.native.Witness) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 index = 1; + if (this_._internal_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_index(), target); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.native.Witness) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Witness::ByteSizeLong(const MessageLite& base) { + const Witness& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Witness::ByteSizeLong() const { + const Witness& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.native.Witness) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + { + // uint32 index = 1; + if (this_._internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_index()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Witness::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.native.Witness) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + if (from._internal_index() != 0) { + _this->_impl_.index_ = from._impl_.index_; + } + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Witness::CopyFrom(const Witness& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.native.Witness) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Witness::InternalSwap(Witness* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_.index_, other->_impl_.index_); +} + +::google::protobuf::Metadata Witness::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Expression_MulTerm::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_._has_bits_); +}; + +Expression_MulTerm::Expression_MulTerm(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.native.Expression.MulTerm) +} +inline PROTOBUF_NDEBUG_INLINE Expression_MulTerm::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::native::Expression_MulTerm& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Expression_MulTerm::Expression_MulTerm( + ::google::protobuf::Arena* arena, + const Expression_MulTerm& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Expression_MulTerm* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.q_m_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>( + arena, *from._impl_.q_m_) + : nullptr; + _impl_.witness_left_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.witness_left_) + : nullptr; + _impl_.witness_right_ = (cached_has_bits & 0x00000004u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.witness_right_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.native.Expression.MulTerm) +} +inline PROTOBUF_NDEBUG_INLINE Expression_MulTerm::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Expression_MulTerm::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, q_m_), + 0, + offsetof(Impl_, witness_right_) - + offsetof(Impl_, q_m_) + + sizeof(Impl_::witness_right_)); +} +Expression_MulTerm::~Expression_MulTerm() { + // @@protoc_insertion_point(destructor:acvm.acir.native.Expression.MulTerm) + SharedDtor(*this); +} +inline void Expression_MulTerm::SharedDtor(MessageLite& self) { + Expression_MulTerm& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.q_m_; + delete this_._impl_.witness_left_; + delete this_._impl_.witness_right_; + this_._impl_.~Impl_(); +} + +inline void* Expression_MulTerm::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Expression_MulTerm(arena); +} +constexpr auto Expression_MulTerm::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Expression_MulTerm), + alignof(Expression_MulTerm)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Expression_MulTerm::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Expression_MulTerm_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Expression_MulTerm::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Expression_MulTerm::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Expression_MulTerm::ByteSizeLong, + &Expression_MulTerm::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_._cached_size_), + false, + }, + &Expression_MulTerm::kDescriptorMethods, + &descriptor_table_acir_2fnative_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Expression_MulTerm::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> Expression_MulTerm::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::native::Expression_MulTerm>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // .acvm.acir.native.Field q_m = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.q_m_)}}, + // .acvm.acir.native.Witness witness_left = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.witness_left_)}}, + // .acvm.acir.native.Witness witness_right = 3; + {::_pbi::TcParser::FastMtS1, + {26, 2, 2, PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.witness_right_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Field q_m = 1; + {PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.q_m_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness witness_left = 2; + {PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.witness_left_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness witness_right = 3; + {PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.witness_right_), _Internal::kHasBitsOffset + 2, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Field>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Expression_MulTerm::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.native.Expression.MulTerm) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.q_m_ != nullptr); + _impl_.q_m_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.witness_left_ != nullptr); + _impl_.witness_left_->Clear(); + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(_impl_.witness_right_ != nullptr); + _impl_.witness_right_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Expression_MulTerm::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Expression_MulTerm& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Expression_MulTerm::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Expression_MulTerm& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.native.Expression.MulTerm) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Field q_m = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.q_m_, this_._impl_.q_m_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Witness witness_left = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.witness_left_, this_._impl_.witness_left_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Witness witness_right = 3; + if (cached_has_bits & 0x00000004u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.witness_right_, this_._impl_.witness_right_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.native.Expression.MulTerm) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Expression_MulTerm::ByteSizeLong(const MessageLite& base) { + const Expression_MulTerm& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Expression_MulTerm::ByteSizeLong() const { + const Expression_MulTerm& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.native.Expression.MulTerm) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + // .acvm.acir.native.Field q_m = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.q_m_); + } + // .acvm.acir.native.Witness witness_left = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.witness_left_); + } + // .acvm.acir.native.Witness witness_right = 3; + if (cached_has_bits & 0x00000004u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.witness_right_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Expression_MulTerm::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.native.Expression.MulTerm) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000007u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.q_m_ != nullptr); + if (_this->_impl_.q_m_ == nullptr) { + _this->_impl_.q_m_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.q_m_); + } else { + _this->_impl_.q_m_->MergeFrom(*from._impl_.q_m_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.witness_left_ != nullptr); + if (_this->_impl_.witness_left_ == nullptr) { + _this->_impl_.witness_left_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.witness_left_); + } else { + _this->_impl_.witness_left_->MergeFrom(*from._impl_.witness_left_); + } + } + if (cached_has_bits & 0x00000004u) { + ABSL_DCHECK(from._impl_.witness_right_ != nullptr); + if (_this->_impl_.witness_right_ == nullptr) { + _this->_impl_.witness_right_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.witness_right_); + } else { + _this->_impl_.witness_right_->MergeFrom(*from._impl_.witness_right_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Expression_MulTerm::CopyFrom(const Expression_MulTerm& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.native.Expression.MulTerm) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Expression_MulTerm::InternalSwap(Expression_MulTerm* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.witness_right_) + + sizeof(Expression_MulTerm::_impl_.witness_right_) + - PROTOBUF_FIELD_OFFSET(Expression_MulTerm, _impl_.q_m_)>( + reinterpret_cast(&_impl_.q_m_), + reinterpret_cast(&other->_impl_.q_m_)); +} + +::google::protobuf::Metadata Expression_MulTerm::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Expression_LinearCombination::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_._has_bits_); +}; + +Expression_LinearCombination::Expression_LinearCombination(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.native.Expression.LinearCombination) +} +inline PROTOBUF_NDEBUG_INLINE Expression_LinearCombination::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::native::Expression_LinearCombination& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +Expression_LinearCombination::Expression_LinearCombination( + ::google::protobuf::Arena* arena, + const Expression_LinearCombination& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Expression_LinearCombination* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.q_l_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>( + arena, *from._impl_.q_l_) + : nullptr; + _impl_.witness_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.witness_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.native.Expression.LinearCombination) +} +inline PROTOBUF_NDEBUG_INLINE Expression_LinearCombination::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void Expression_LinearCombination::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, q_l_), + 0, + offsetof(Impl_, witness_) - + offsetof(Impl_, q_l_) + + sizeof(Impl_::witness_)); +} +Expression_LinearCombination::~Expression_LinearCombination() { + // @@protoc_insertion_point(destructor:acvm.acir.native.Expression.LinearCombination) + SharedDtor(*this); +} +inline void Expression_LinearCombination::SharedDtor(MessageLite& self) { + Expression_LinearCombination& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.q_l_; + delete this_._impl_.witness_; + this_._impl_.~Impl_(); +} + +inline void* Expression_LinearCombination::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Expression_LinearCombination(arena); +} +constexpr auto Expression_LinearCombination::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(Expression_LinearCombination), + alignof(Expression_LinearCombination)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Expression_LinearCombination::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Expression_LinearCombination_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Expression_LinearCombination::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Expression_LinearCombination::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Expression_LinearCombination::ByteSizeLong, + &Expression_LinearCombination::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_._cached_size_), + false, + }, + &Expression_LinearCombination::kDescriptorMethods, + &descriptor_table_acir_2fnative_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Expression_LinearCombination::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> Expression_LinearCombination::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::native::Expression_LinearCombination>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .acvm.acir.native.Witness witness = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.witness_)}}, + // .acvm.acir.native.Field q_l = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.q_l_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Field q_l = 1; + {PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.q_l_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Witness witness = 2; + {PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.witness_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Field>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Expression_LinearCombination::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.native.Expression.LinearCombination) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.q_l_ != nullptr); + _impl_.q_l_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.witness_ != nullptr); + _impl_.witness_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Expression_LinearCombination::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Expression_LinearCombination& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Expression_LinearCombination::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Expression_LinearCombination& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.native.Expression.LinearCombination) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Field q_l = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.q_l_, this_._impl_.q_l_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Witness witness = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.witness_, this_._impl_.witness_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.native.Expression.LinearCombination) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Expression_LinearCombination::ByteSizeLong(const MessageLite& base) { + const Expression_LinearCombination& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Expression_LinearCombination::ByteSizeLong() const { + const Expression_LinearCombination& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.native.Expression.LinearCombination) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .acvm.acir.native.Field q_l = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.q_l_); + } + // .acvm.acir.native.Witness witness = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.witness_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Expression_LinearCombination::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.native.Expression.LinearCombination) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.q_l_ != nullptr); + if (_this->_impl_.q_l_ == nullptr) { + _this->_impl_.q_l_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.q_l_); + } else { + _this->_impl_.q_l_->MergeFrom(*from._impl_.q_l_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.witness_ != nullptr); + if (_this->_impl_.witness_ == nullptr) { + _this->_impl_.witness_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.witness_); + } else { + _this->_impl_.witness_->MergeFrom(*from._impl_.witness_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Expression_LinearCombination::CopyFrom(const Expression_LinearCombination& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.native.Expression.LinearCombination) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Expression_LinearCombination::InternalSwap(Expression_LinearCombination* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.witness_) + + sizeof(Expression_LinearCombination::_impl_.witness_) + - PROTOBUF_FIELD_OFFSET(Expression_LinearCombination, _impl_.q_l_)>( + reinterpret_cast(&_impl_.q_l_), + reinterpret_cast(&other->_impl_.q_l_)); +} + +::google::protobuf::Metadata Expression_LinearCombination::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class Expression::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(Expression, _impl_._has_bits_); +}; + +Expression::Expression(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.native.Expression) +} +inline PROTOBUF_NDEBUG_INLINE Expression::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::native::Expression& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0}, + mul_terms_{visibility, arena, from.mul_terms_}, + linear_combinations_{visibility, arena, from.linear_combinations_} {} + +Expression::Expression( + ::google::protobuf::Arena* arena, + const Expression& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Expression* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.q_c_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>( + arena, *from._impl_.q_c_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.native.Expression) +} +inline PROTOBUF_NDEBUG_INLINE Expression::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0}, + mul_terms_{visibility, arena}, + linear_combinations_{visibility, arena} {} + +inline void Expression::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + _impl_.q_c_ = {}; +} +Expression::~Expression() { + // @@protoc_insertion_point(destructor:acvm.acir.native.Expression) + SharedDtor(*this); +} +inline void Expression::SharedDtor(MessageLite& self) { + Expression& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.q_c_; + this_._impl_.~Impl_(); +} + +inline void* Expression::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Expression(arena); +} +constexpr auto Expression::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Expression, _impl_.mul_terms_) + + decltype(Expression::_impl_.mul_terms_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + PROTOBUF_FIELD_OFFSET(Expression, _impl_.linear_combinations_) + + decltype(Expression::_impl_.linear_combinations_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Expression), alignof(Expression), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Expression::PlacementNew_, + sizeof(Expression), + alignof(Expression)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Expression::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Expression_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Expression::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Expression::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Expression::ByteSizeLong, + &Expression::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Expression, _impl_._cached_size_), + false, + }, + &Expression::kDescriptorMethods, + &descriptor_table_acir_2fnative_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Expression::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<2, 3, 3, 0, 2> Expression::_table_ = { + { + PROTOBUF_FIELD_OFFSET(Expression, _impl_._has_bits_), + 0, // no _extensions_ + 3, 24, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967288, // skipmap + offsetof(decltype(_table_), field_entries), + 3, // num_field_entries + 3, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::native::Expression>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + {::_pbi::TcParser::MiniParse, {}}, + // repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Expression, _impl_.mul_terms_)}}, + // repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; + {::_pbi::TcParser::FastMtR1, + {18, 63, 1, PROTOBUF_FIELD_OFFSET(Expression, _impl_.linear_combinations_)}}, + // .acvm.acir.native.Field q_c = 3; + {::_pbi::TcParser::FastMtS1, + {26, 0, 2, PROTOBUF_FIELD_OFFSET(Expression, _impl_.q_c_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; + {PROTOBUF_FIELD_OFFSET(Expression, _impl_.mul_terms_), -1, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; + {PROTOBUF_FIELD_OFFSET(Expression, _impl_.linear_combinations_), -1, 1, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Field q_c = 3; + {PROTOBUF_FIELD_OFFSET(Expression, _impl_.q_c_), _Internal::kHasBitsOffset + 0, 2, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression_MulTerm>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Expression_LinearCombination>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Field>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Expression::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.native.Expression) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.mul_terms_.Clear(); + _impl_.linear_combinations_.Clear(); + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.q_c_ != nullptr); + _impl_.q_c_->Clear(); + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Expression::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Expression& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Expression::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Expression& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.native.Expression) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_mul_terms_size()); + i < n; i++) { + const auto& repfield = this_._internal_mul_terms().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + // repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; + for (unsigned i = 0, n = static_cast( + this_._internal_linear_combinations_size()); + i < n; i++) { + const auto& repfield = this_._internal_linear_combinations().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, repfield, repfield.GetCachedSize(), + target, stream); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Field q_c = 3; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 3, *this_._impl_.q_c_, this_._impl_.q_c_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.native.Expression) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Expression::ByteSizeLong(const MessageLite& base) { + const Expression& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Expression::ByteSizeLong() const { + const Expression& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.native.Expression) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; + { + total_size += 1UL * this_._internal_mul_terms_size(); + for (const auto& msg : this_._internal_mul_terms()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + // repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; + { + total_size += 1UL * this_._internal_linear_combinations_size(); + for (const auto& msg : this_._internal_linear_combinations()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + { + // .acvm.acir.native.Field q_c = 3; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.q_c_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Expression::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.native.Expression) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_mul_terms()->MergeFrom( + from._internal_mul_terms()); + _this->_internal_mutable_linear_combinations()->MergeFrom( + from._internal_linear_combinations()); + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.q_c_ != nullptr); + if (_this->_impl_.q_c_ == nullptr) { + _this->_impl_.q_c_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.q_c_); + } else { + _this->_impl_.q_c_->MergeFrom(*from._impl_.q_c_); + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Expression::CopyFrom(const Expression& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.native.Expression) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Expression::InternalSwap(Expression* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + _impl_.mul_terms_.InternalSwap(&other->_impl_.mul_terms_); + _impl_.linear_combinations_.InternalSwap(&other->_impl_.linear_combinations_); + swap(_impl_.q_c_, other->_impl_.q_c_); +} + +::google::protobuf::Metadata Expression::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace native +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_acir_2fnative_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/acvm-repo/acir/codegen/acir/native.pb.h b/acvm-repo/acir/codegen/acir/native.pb.h new file mode 100644 index 00000000000..4fd16beaec6 --- /dev/null +++ b/acvm-repo/acir/codegen/acir/native.pb.h @@ -0,0 +1,1943 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/native.proto +// Protobuf C++ Version: 5.29.3 + +#ifndef acir_2fnative_2eproto_2epb_2eh +#define acir_2fnative_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029003 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_acir_2fnative_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_acir_2fnative_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_acir_2fnative_2eproto; +namespace acvm { +namespace acir { +namespace native { +class Expression; +struct ExpressionDefaultTypeInternal; +extern ExpressionDefaultTypeInternal _Expression_default_instance_; +class Expression_LinearCombination; +struct Expression_LinearCombinationDefaultTypeInternal; +extern Expression_LinearCombinationDefaultTypeInternal _Expression_LinearCombination_default_instance_; +class Expression_MulTerm; +struct Expression_MulTermDefaultTypeInternal; +extern Expression_MulTermDefaultTypeInternal _Expression_MulTerm_default_instance_; +class Field; +struct FieldDefaultTypeInternal; +extern FieldDefaultTypeInternal _Field_default_instance_; +class Witness; +struct WitnessDefaultTypeInternal; +extern WitnessDefaultTypeInternal _Witness_default_instance_; +} // namespace native +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace acvm { +namespace acir { +namespace native { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Witness final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.native.Witness) */ { + public: + inline Witness() : Witness(nullptr) {} + ~Witness() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Witness* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Witness)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Witness( + ::google::protobuf::internal::ConstantInitialized); + + inline Witness(const Witness& from) : Witness(nullptr, from) {} + inline Witness(Witness&& from) noexcept + : Witness(nullptr, std::move(from)) {} + inline Witness& operator=(const Witness& from) { + CopyFrom(from); + return *this; + } + inline Witness& operator=(Witness&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Witness& default_instance() { + return *internal_default_instance(); + } + static inline const Witness* internal_default_instance() { + return reinterpret_cast( + &_Witness_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(Witness& a, Witness& b) { a.Swap(&b); } + inline void Swap(Witness* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Witness* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Witness* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Witness& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Witness& from) { Witness::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Witness* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.native.Witness"; } + + protected: + explicit Witness(::google::protobuf::Arena* arena); + Witness(::google::protobuf::Arena* arena, const Witness& from); + Witness(::google::protobuf::Arena* arena, Witness&& from) noexcept + : Witness(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kIndexFieldNumber = 1, + }; + // uint32 index = 1; + void clear_index() ; + ::uint32_t index() const; + void set_index(::uint32_t value); + + private: + ::uint32_t _internal_index() const; + void _internal_set_index(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.native.Witness) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Witness& from_msg); + ::uint32_t index_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fnative_2eproto; +}; +// ------------------------------------------------------------------- + +class Field final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.native.Field) */ { + public: + inline Field() : Field(nullptr) {} + ~Field() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Field* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Field)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Field( + ::google::protobuf::internal::ConstantInitialized); + + inline Field(const Field& from) : Field(nullptr, from) {} + inline Field(Field&& from) noexcept + : Field(nullptr, std::move(from)) {} + inline Field& operator=(const Field& from) { + CopyFrom(from); + return *this; + } + inline Field& operator=(Field&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Field& default_instance() { + return *internal_default_instance(); + } + static inline const Field* internal_default_instance() { + return reinterpret_cast( + &_Field_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Field& a, Field& b) { a.Swap(&b); } + inline void Swap(Field* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Field* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Field* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Field& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Field& from) { Field::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Field* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.native.Field"; } + + protected: + explicit Field(::google::protobuf::Arena* arena); + Field(::google::protobuf::Arena* arena, const Field& from); + Field(::google::protobuf::Arena* arena, Field&& from) noexcept + : Field(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kValueFieldNumber = 1, + }; + // bytes value = 1; + void clear_value() ; + const std::string& value() const; + template + void set_value(Arg_&& arg, Args_... args); + std::string* mutable_value(); + PROTOBUF_NODISCARD std::string* release_value(); + void set_allocated_value(std::string* value); + + private: + const std::string& _internal_value() const; + inline PROTOBUF_ALWAYS_INLINE void _internal_set_value( + const std::string& value); + std::string* _internal_mutable_value(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.native.Field) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 0, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Field& from_msg); + ::google::protobuf::internal::ArenaStringPtr value_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fnative_2eproto; +}; +// ------------------------------------------------------------------- + +class Expression_MulTerm final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.native.Expression.MulTerm) */ { + public: + inline Expression_MulTerm() : Expression_MulTerm(nullptr) {} + ~Expression_MulTerm() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Expression_MulTerm* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Expression_MulTerm)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Expression_MulTerm( + ::google::protobuf::internal::ConstantInitialized); + + inline Expression_MulTerm(const Expression_MulTerm& from) : Expression_MulTerm(nullptr, from) {} + inline Expression_MulTerm(Expression_MulTerm&& from) noexcept + : Expression_MulTerm(nullptr, std::move(from)) {} + inline Expression_MulTerm& operator=(const Expression_MulTerm& from) { + CopyFrom(from); + return *this; + } + inline Expression_MulTerm& operator=(Expression_MulTerm&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Expression_MulTerm& default_instance() { + return *internal_default_instance(); + } + static inline const Expression_MulTerm* internal_default_instance() { + return reinterpret_cast( + &_Expression_MulTerm_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(Expression_MulTerm& a, Expression_MulTerm& b) { a.Swap(&b); } + inline void Swap(Expression_MulTerm* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Expression_MulTerm* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Expression_MulTerm* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Expression_MulTerm& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Expression_MulTerm& from) { Expression_MulTerm::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Expression_MulTerm* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.native.Expression.MulTerm"; } + + protected: + explicit Expression_MulTerm(::google::protobuf::Arena* arena); + Expression_MulTerm(::google::protobuf::Arena* arena, const Expression_MulTerm& from); + Expression_MulTerm(::google::protobuf::Arena* arena, Expression_MulTerm&& from) noexcept + : Expression_MulTerm(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kQMFieldNumber = 1, + kWitnessLeftFieldNumber = 2, + kWitnessRightFieldNumber = 3, + }; + // .acvm.acir.native.Field q_m = 1; + bool has_q_m() const; + void clear_q_m() ; + const ::acvm::acir::native::Field& q_m() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Field* release_q_m(); + ::acvm::acir::native::Field* mutable_q_m(); + void set_allocated_q_m(::acvm::acir::native::Field* value); + void unsafe_arena_set_allocated_q_m(::acvm::acir::native::Field* value); + ::acvm::acir::native::Field* unsafe_arena_release_q_m(); + + private: + const ::acvm::acir::native::Field& _internal_q_m() const; + ::acvm::acir::native::Field* _internal_mutable_q_m(); + + public: + // .acvm.acir.native.Witness witness_left = 2; + bool has_witness_left() const; + void clear_witness_left() ; + const ::acvm::acir::native::Witness& witness_left() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_witness_left(); + ::acvm::acir::native::Witness* mutable_witness_left(); + void set_allocated_witness_left(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_witness_left(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_witness_left(); + + private: + const ::acvm::acir::native::Witness& _internal_witness_left() const; + ::acvm::acir::native::Witness* _internal_mutable_witness_left(); + + public: + // .acvm.acir.native.Witness witness_right = 3; + bool has_witness_right() const; + void clear_witness_right() ; + const ::acvm::acir::native::Witness& witness_right() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_witness_right(); + ::acvm::acir::native::Witness* mutable_witness_right(); + void set_allocated_witness_right(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_witness_right(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_witness_right(); + + private: + const ::acvm::acir::native::Witness& _internal_witness_right() const; + ::acvm::acir::native::Witness* _internal_mutable_witness_right(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.native.Expression.MulTerm) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Expression_MulTerm& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::native::Field* q_m_; + ::acvm::acir::native::Witness* witness_left_; + ::acvm::acir::native::Witness* witness_right_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fnative_2eproto; +}; +// ------------------------------------------------------------------- + +class Expression_LinearCombination final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.native.Expression.LinearCombination) */ { + public: + inline Expression_LinearCombination() : Expression_LinearCombination(nullptr) {} + ~Expression_LinearCombination() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Expression_LinearCombination* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Expression_LinearCombination)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Expression_LinearCombination( + ::google::protobuf::internal::ConstantInitialized); + + inline Expression_LinearCombination(const Expression_LinearCombination& from) : Expression_LinearCombination(nullptr, from) {} + inline Expression_LinearCombination(Expression_LinearCombination&& from) noexcept + : Expression_LinearCombination(nullptr, std::move(from)) {} + inline Expression_LinearCombination& operator=(const Expression_LinearCombination& from) { + CopyFrom(from); + return *this; + } + inline Expression_LinearCombination& operator=(Expression_LinearCombination&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Expression_LinearCombination& default_instance() { + return *internal_default_instance(); + } + static inline const Expression_LinearCombination* internal_default_instance() { + return reinterpret_cast( + &_Expression_LinearCombination_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(Expression_LinearCombination& a, Expression_LinearCombination& b) { a.Swap(&b); } + inline void Swap(Expression_LinearCombination* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Expression_LinearCombination* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Expression_LinearCombination* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Expression_LinearCombination& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Expression_LinearCombination& from) { Expression_LinearCombination::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Expression_LinearCombination* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.native.Expression.LinearCombination"; } + + protected: + explicit Expression_LinearCombination(::google::protobuf::Arena* arena); + Expression_LinearCombination(::google::protobuf::Arena* arena, const Expression_LinearCombination& from); + Expression_LinearCombination(::google::protobuf::Arena* arena, Expression_LinearCombination&& from) noexcept + : Expression_LinearCombination(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kQLFieldNumber = 1, + kWitnessFieldNumber = 2, + }; + // .acvm.acir.native.Field q_l = 1; + bool has_q_l() const; + void clear_q_l() ; + const ::acvm::acir::native::Field& q_l() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Field* release_q_l(); + ::acvm::acir::native::Field* mutable_q_l(); + void set_allocated_q_l(::acvm::acir::native::Field* value); + void unsafe_arena_set_allocated_q_l(::acvm::acir::native::Field* value); + ::acvm::acir::native::Field* unsafe_arena_release_q_l(); + + private: + const ::acvm::acir::native::Field& _internal_q_l() const; + ::acvm::acir::native::Field* _internal_mutable_q_l(); + + public: + // .acvm.acir.native.Witness witness = 2; + bool has_witness() const; + void clear_witness() ; + const ::acvm::acir::native::Witness& witness() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_witness(); + ::acvm::acir::native::Witness* mutable_witness(); + void set_allocated_witness(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_witness(); + + private: + const ::acvm::acir::native::Witness& _internal_witness() const; + ::acvm::acir::native::Witness* _internal_mutable_witness(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.native.Expression.LinearCombination) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Expression_LinearCombination& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::native::Field* q_l_; + ::acvm::acir::native::Witness* witness_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fnative_2eproto; +}; +// ------------------------------------------------------------------- + +class Expression final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.native.Expression) */ { + public: + inline Expression() : Expression(nullptr) {} + ~Expression() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Expression* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Expression)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Expression( + ::google::protobuf::internal::ConstantInitialized); + + inline Expression(const Expression& from) : Expression(nullptr, from) {} + inline Expression(Expression&& from) noexcept + : Expression(nullptr, std::move(from)) {} + inline Expression& operator=(const Expression& from) { + CopyFrom(from); + return *this; + } + inline Expression& operator=(Expression&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Expression& default_instance() { + return *internal_default_instance(); + } + static inline const Expression* internal_default_instance() { + return reinterpret_cast( + &_Expression_default_instance_); + } + static constexpr int kIndexInFileMessages = 4; + friend void swap(Expression& a, Expression& b) { a.Swap(&b); } + inline void Swap(Expression* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Expression* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Expression* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Expression& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Expression& from) { Expression::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Expression* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.native.Expression"; } + + protected: + explicit Expression(::google::protobuf::Arena* arena); + Expression(::google::protobuf::Arena* arena, const Expression& from); + Expression(::google::protobuf::Arena* arena, Expression&& from) noexcept + : Expression(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using MulTerm = Expression_MulTerm; + using LinearCombination = Expression_LinearCombination; + + // accessors ------------------------------------------------------- + enum : int { + kMulTermsFieldNumber = 1, + kLinearCombinationsFieldNumber = 2, + kQCFieldNumber = 3, + }; + // repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; + int mul_terms_size() const; + private: + int _internal_mul_terms_size() const; + + public: + void clear_mul_terms() ; + ::acvm::acir::native::Expression_MulTerm* mutable_mul_terms(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>* mutable_mul_terms(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>& _internal_mul_terms() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>* _internal_mutable_mul_terms(); + public: + const ::acvm::acir::native::Expression_MulTerm& mul_terms(int index) const; + ::acvm::acir::native::Expression_MulTerm* add_mul_terms(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>& mul_terms() const; + // repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; + int linear_combinations_size() const; + private: + int _internal_linear_combinations_size() const; + + public: + void clear_linear_combinations() ; + ::acvm::acir::native::Expression_LinearCombination* mutable_linear_combinations(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>* mutable_linear_combinations(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>& _internal_linear_combinations() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>* _internal_mutable_linear_combinations(); + public: + const ::acvm::acir::native::Expression_LinearCombination& linear_combinations(int index) const; + ::acvm::acir::native::Expression_LinearCombination* add_linear_combinations(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>& linear_combinations() const; + // .acvm.acir.native.Field q_c = 3; + bool has_q_c() const; + void clear_q_c() ; + const ::acvm::acir::native::Field& q_c() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Field* release_q_c(); + ::acvm::acir::native::Field* mutable_q_c(); + void set_allocated_q_c(::acvm::acir::native::Field* value); + void unsafe_arena_set_allocated_q_c(::acvm::acir::native::Field* value); + ::acvm::acir::native::Field* unsafe_arena_release_q_c(); + + private: + const ::acvm::acir::native::Field& _internal_q_c() const; + ::acvm::acir::native::Field* _internal_mutable_q_c(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.native.Expression) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 2, 3, 3, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Expression& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Expression_MulTerm > mul_terms_; + ::google::protobuf::RepeatedPtrField< ::acvm::acir::native::Expression_LinearCombination > linear_combinations_; + ::acvm::acir::native::Field* q_c_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fnative_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Field + +// bytes value = 1; +inline void Field::clear_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.ClearToEmpty(); +} +inline const std::string& Field::value() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Field.value) + return _internal_value(); +} +template +inline PROTOBUF_ALWAYS_INLINE void Field::set_value(Arg_&& arg, + Args_... args) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.SetBytes(static_cast(arg), args..., GetArena()); + // @@protoc_insertion_point(field_set:acvm.acir.native.Field.value) +} +inline std::string* Field::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND { + std::string* _s = _internal_mutable_value(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Field.value) + return _s; +} +inline const std::string& Field::_internal_value() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.value_.Get(); +} +inline void Field::_internal_set_value(const std::string& value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.Set(value, GetArena()); +} +inline std::string* Field::_internal_mutable_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + return _impl_.value_.Mutable( GetArena()); +} +inline std::string* Field::release_value() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Field.value) + return _impl_.value_.Release(); +} +inline void Field::set_allocated_value(std::string* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.value_.SetAllocated(value, GetArena()); + if (::google::protobuf::internal::DebugHardenForceCopyDefaultString() && _impl_.value_.IsDefault()) { + _impl_.value_.Set("", GetArena()); + } + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Field.value) +} + +// ------------------------------------------------------------------- + +// Witness + +// uint32 index = 1; +inline void Witness::clear_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = 0u; +} +inline ::uint32_t Witness::index() const { + // @@protoc_insertion_point(field_get:acvm.acir.native.Witness.index) + return _internal_index(); +} +inline void Witness::set_index(::uint32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:acvm.acir.native.Witness.index) +} +inline ::uint32_t Witness::_internal_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.index_; +} +inline void Witness::_internal_set_index(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = value; +} + +// ------------------------------------------------------------------- + +// Expression_MulTerm + +// .acvm.acir.native.Field q_m = 1; +inline bool Expression_MulTerm::has_q_m() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.q_m_ != nullptr); + return value; +} +inline void Expression_MulTerm::clear_q_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_m_ != nullptr) _impl_.q_m_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::native::Field& Expression_MulTerm::_internal_q_m() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Field* p = _impl_.q_m_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Field_default_instance_); +} +inline const ::acvm::acir::native::Field& Expression_MulTerm::q_m() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.MulTerm.q_m) + return _internal_q_m(); +} +inline void Expression_MulTerm::unsafe_arena_set_allocated_q_m(::acvm::acir::native::Field* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.q_m_); + } + _impl_.q_m_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.MulTerm.q_m) +} +inline ::acvm::acir::native::Field* Expression_MulTerm::release_q_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* released = _impl_.q_m_; + _impl_.q_m_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Field* Expression_MulTerm::unsafe_arena_release_q_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.MulTerm.q_m) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* temp = _impl_.q_m_; + _impl_.q_m_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Field* Expression_MulTerm::_internal_mutable_q_m() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_m_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Field>(GetArena()); + _impl_.q_m_ = reinterpret_cast<::acvm::acir::native::Field*>(p); + } + return _impl_.q_m_; +} +inline ::acvm::acir::native::Field* Expression_MulTerm::mutable_q_m() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Field* _msg = _internal_mutable_q_m(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.MulTerm.q_m) + return _msg; +} +inline void Expression_MulTerm::set_allocated_q_m(::acvm::acir::native::Field* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.q_m_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.q_m_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.MulTerm.q_m) +} + +// .acvm.acir.native.Witness witness_left = 2; +inline bool Expression_MulTerm::has_witness_left() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.witness_left_ != nullptr); + return value; +} +inline void Expression_MulTerm::clear_witness_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_left_ != nullptr) _impl_.witness_left_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::acvm::acir::native::Witness& Expression_MulTerm::_internal_witness_left() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.witness_left_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& Expression_MulTerm::witness_left() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.MulTerm.witness_left) + return _internal_witness_left(); +} +inline void Expression_MulTerm::unsafe_arena_set_allocated_witness_left(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_left_); + } + _impl_.witness_left_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.MulTerm.witness_left) +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::release_witness_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Witness* released = _impl_.witness_left_; + _impl_.witness_left_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::unsafe_arena_release_witness_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.MulTerm.witness_left) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Witness* temp = _impl_.witness_left_; + _impl_.witness_left_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::_internal_mutable_witness_left() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_left_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.witness_left_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.witness_left_; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::mutable_witness_left() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_witness_left(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.MulTerm.witness_left) + return _msg; +} +inline void Expression_MulTerm::set_allocated_witness_left(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.witness_left_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.witness_left_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.MulTerm.witness_left) +} + +// .acvm.acir.native.Witness witness_right = 3; +inline bool Expression_MulTerm::has_witness_right() const { + bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0; + PROTOBUF_ASSUME(!value || _impl_.witness_right_ != nullptr); + return value; +} +inline void Expression_MulTerm::clear_witness_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_right_ != nullptr) _impl_.witness_right_->Clear(); + _impl_._has_bits_[0] &= ~0x00000004u; +} +inline const ::acvm::acir::native::Witness& Expression_MulTerm::_internal_witness_right() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.witness_right_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& Expression_MulTerm::witness_right() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.MulTerm.witness_right) + return _internal_witness_right(); +} +inline void Expression_MulTerm::unsafe_arena_set_allocated_witness_right(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_right_); + } + _impl_.witness_right_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.MulTerm.witness_right) +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::release_witness_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* released = _impl_.witness_right_; + _impl_.witness_right_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::unsafe_arena_release_witness_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.MulTerm.witness_right) + + _impl_._has_bits_[0] &= ~0x00000004u; + ::acvm::acir::native::Witness* temp = _impl_.witness_right_; + _impl_.witness_right_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::_internal_mutable_witness_right() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_right_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.witness_right_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.witness_right_; +} +inline ::acvm::acir::native::Witness* Expression_MulTerm::mutable_witness_right() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000004u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_witness_right(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.MulTerm.witness_right) + return _msg; +} +inline void Expression_MulTerm::set_allocated_witness_right(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.witness_right_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000004u; + } else { + _impl_._has_bits_[0] &= ~0x00000004u; + } + + _impl_.witness_right_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.MulTerm.witness_right) +} + +// ------------------------------------------------------------------- + +// Expression_LinearCombination + +// .acvm.acir.native.Field q_l = 1; +inline bool Expression_LinearCombination::has_q_l() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.q_l_ != nullptr); + return value; +} +inline void Expression_LinearCombination::clear_q_l() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_l_ != nullptr) _impl_.q_l_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::native::Field& Expression_LinearCombination::_internal_q_l() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Field* p = _impl_.q_l_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Field_default_instance_); +} +inline const ::acvm::acir::native::Field& Expression_LinearCombination::q_l() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.LinearCombination.q_l) + return _internal_q_l(); +} +inline void Expression_LinearCombination::unsafe_arena_set_allocated_q_l(::acvm::acir::native::Field* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.q_l_); + } + _impl_.q_l_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.LinearCombination.q_l) +} +inline ::acvm::acir::native::Field* Expression_LinearCombination::release_q_l() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* released = _impl_.q_l_; + _impl_.q_l_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Field* Expression_LinearCombination::unsafe_arena_release_q_l() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.LinearCombination.q_l) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* temp = _impl_.q_l_; + _impl_.q_l_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Field* Expression_LinearCombination::_internal_mutable_q_l() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_l_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Field>(GetArena()); + _impl_.q_l_ = reinterpret_cast<::acvm::acir::native::Field*>(p); + } + return _impl_.q_l_; +} +inline ::acvm::acir::native::Field* Expression_LinearCombination::mutable_q_l() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Field* _msg = _internal_mutable_q_l(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.LinearCombination.q_l) + return _msg; +} +inline void Expression_LinearCombination::set_allocated_q_l(::acvm::acir::native::Field* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.q_l_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.q_l_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.LinearCombination.q_l) +} + +// .acvm.acir.native.Witness witness = 2; +inline bool Expression_LinearCombination::has_witness() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.witness_ != nullptr); + return value; +} +inline void Expression_LinearCombination::clear_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ != nullptr) _impl_.witness_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +inline const ::acvm::acir::native::Witness& Expression_LinearCombination::_internal_witness() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.witness_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& Expression_LinearCombination::witness() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.LinearCombination.witness) + return _internal_witness(); +} +inline void Expression_LinearCombination::unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_); + } + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.LinearCombination.witness) +} +inline ::acvm::acir::native::Witness* Expression_LinearCombination::release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Witness* released = _impl_.witness_; + _impl_.witness_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* Expression_LinearCombination::unsafe_arena_release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.LinearCombination.witness) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Witness* temp = _impl_.witness_; + _impl_.witness_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* Expression_LinearCombination::_internal_mutable_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.witness_; +} +inline ::acvm::acir::native::Witness* Expression_LinearCombination::mutable_witness() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_witness(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.LinearCombination.witness) + return _msg; +} +inline void Expression_LinearCombination::set_allocated_witness(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.witness_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.LinearCombination.witness) +} + +// ------------------------------------------------------------------- + +// Expression + +// repeated .acvm.acir.native.Expression.MulTerm mul_terms = 1; +inline int Expression::_internal_mul_terms_size() const { + return _internal_mul_terms().size(); +} +inline int Expression::mul_terms_size() const { + return _internal_mul_terms_size(); +} +inline void Expression::clear_mul_terms() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.mul_terms_.Clear(); +} +inline ::acvm::acir::native::Expression_MulTerm* Expression::mutable_mul_terms(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.mul_terms) + return _internal_mutable_mul_terms()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>* Expression::mutable_mul_terms() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.native.Expression.mul_terms) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_mul_terms(); +} +inline const ::acvm::acir::native::Expression_MulTerm& Expression::mul_terms(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.mul_terms) + return _internal_mul_terms().Get(index); +} +inline ::acvm::acir::native::Expression_MulTerm* Expression::add_mul_terms() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Expression_MulTerm* _add = _internal_mutable_mul_terms()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.native.Expression.mul_terms) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>& Expression::mul_terms() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.native.Expression.mul_terms) + return _internal_mul_terms(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>& +Expression::_internal_mul_terms() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.mul_terms_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_MulTerm>* +Expression::_internal_mutable_mul_terms() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.mul_terms_; +} + +// repeated .acvm.acir.native.Expression.LinearCombination linear_combinations = 2; +inline int Expression::_internal_linear_combinations_size() const { + return _internal_linear_combinations().size(); +} +inline int Expression::linear_combinations_size() const { + return _internal_linear_combinations_size(); +} +inline void Expression::clear_linear_combinations() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.linear_combinations_.Clear(); +} +inline ::acvm::acir::native::Expression_LinearCombination* Expression::mutable_linear_combinations(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.linear_combinations) + return _internal_mutable_linear_combinations()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>* Expression::mutable_linear_combinations() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.native.Expression.linear_combinations) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_linear_combinations(); +} +inline const ::acvm::acir::native::Expression_LinearCombination& Expression::linear_combinations(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.linear_combinations) + return _internal_linear_combinations().Get(index); +} +inline ::acvm::acir::native::Expression_LinearCombination* Expression::add_linear_combinations() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::native::Expression_LinearCombination* _add = _internal_mutable_linear_combinations()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.native.Expression.linear_combinations) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>& Expression::linear_combinations() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.native.Expression.linear_combinations) + return _internal_linear_combinations(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>& +Expression::_internal_linear_combinations() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.linear_combinations_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::native::Expression_LinearCombination>* +Expression::_internal_mutable_linear_combinations() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.linear_combinations_; +} + +// .acvm.acir.native.Field q_c = 3; +inline bool Expression::has_q_c() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.q_c_ != nullptr); + return value; +} +inline void Expression::clear_q_c() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_c_ != nullptr) _impl_.q_c_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::native::Field& Expression::_internal_q_c() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Field* p = _impl_.q_c_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Field_default_instance_); +} +inline const ::acvm::acir::native::Field& Expression::q_c() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.native.Expression.q_c) + return _internal_q_c(); +} +inline void Expression::unsafe_arena_set_allocated_q_c(::acvm::acir::native::Field* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.q_c_); + } + _impl_.q_c_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.native.Expression.q_c) +} +inline ::acvm::acir::native::Field* Expression::release_q_c() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* released = _impl_.q_c_; + _impl_.q_c_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Field* Expression::unsafe_arena_release_q_c() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.native.Expression.q_c) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Field* temp = _impl_.q_c_; + _impl_.q_c_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Field* Expression::_internal_mutable_q_c() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.q_c_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Field>(GetArena()); + _impl_.q_c_ = reinterpret_cast<::acvm::acir::native::Field*>(p); + } + return _impl_.q_c_; +} +inline ::acvm::acir::native::Field* Expression::mutable_q_c() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Field* _msg = _internal_mutable_q_c(); + // @@protoc_insertion_point(field_mutable:acvm.acir.native.Expression.q_c) + return _msg; +} +inline void Expression::set_allocated_q_c(::acvm::acir::native::Field* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.q_c_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.q_c_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.native.Expression.q_c) +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace native +} // namespace acir +} // namespace acvm + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // acir_2fnative_2eproto_2epb_2eh diff --git a/acvm-repo/acir/codegen/acir/program.pb.cc b/acvm-repo/acir/codegen/acir/program.pb.cc new file mode 100644 index 00000000000..cd67b1325dc --- /dev/null +++ b/acvm-repo/acir/codegen/acir/program.pb.cc @@ -0,0 +1,373 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/program.proto +// Protobuf C++ Version: 5.29.3 + +#include "acir/program.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace acvm { +namespace acir { +namespace program { + +inline constexpr Program::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : functions_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR Program::Program(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct ProgramDefaultTypeInternal { + PROTOBUF_CONSTEXPR ProgramDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~ProgramDefaultTypeInternal() {} + union { + Program _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ProgramDefaultTypeInternal _Program_default_instance_; +} // namespace program +} // namespace acir +} // namespace acvm +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_acir_2fprogram_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_acir_2fprogram_2eproto = nullptr; +const ::uint32_t + TableStruct_acir_2fprogram_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::program::Program, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::program::Program, _impl_.functions_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, -1, -1, sizeof(::acvm::acir::program::Program)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::acvm::acir::program::_Program_default_instance_._instance, +}; +const char descriptor_table_protodef_acir_2fprogram_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\022acir/program.proto\022\021acvm.acir.program\032" + "\022acir/circuit.proto\"W\n\007Program\022-\n\tfuncti" + "ons\030\001 \003(\0132\032.acvm.acir.circuit.CircuitJ\004\010" + "\002\020\003R\027unconstrained_functionsb\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_acir_2fprogram_2eproto_deps[1] = + { + &::descriptor_table_acir_2fcircuit_2eproto, +}; +static ::absl::once_flag descriptor_table_acir_2fprogram_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_acir_2fprogram_2eproto = { + false, + false, + 156, + descriptor_table_protodef_acir_2fprogram_2eproto, + "acir/program.proto", + &descriptor_table_acir_2fprogram_2eproto_once, + descriptor_table_acir_2fprogram_2eproto_deps, + 1, + 1, + schemas, + file_default_instances, + TableStruct_acir_2fprogram_2eproto::offsets, + file_level_enum_descriptors_acir_2fprogram_2eproto, + file_level_service_descriptors_acir_2fprogram_2eproto, +}; +namespace acvm { +namespace acir { +namespace program { +// =================================================================== + +class Program::_Internal { + public: +}; + +void Program::clear_functions() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.functions_.Clear(); +} +Program::Program(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.program.Program) +} +inline PROTOBUF_NDEBUG_INLINE Program::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::program::Program& from_msg) + : functions_{visibility, arena, from.functions_}, + _cached_size_{0} {} + +Program::Program( + ::google::protobuf::Arena* arena, + const Program& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + Program* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.program.Program) +} +inline PROTOBUF_NDEBUG_INLINE Program::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : functions_{visibility, arena}, + _cached_size_{0} {} + +inline void Program::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +Program::~Program() { + // @@protoc_insertion_point(destructor:acvm.acir.program.Program) + SharedDtor(*this); +} +inline void Program::SharedDtor(MessageLite& self) { + Program& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* Program::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) Program(arena); +} +constexpr auto Program::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(Program, _impl_.functions_) + + decltype(Program::_impl_.functions_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(Program), alignof(Program), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&Program::PlacementNew_, + sizeof(Program), + alignof(Program)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull Program::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_Program_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &Program::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &Program::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &Program::ByteSizeLong, + &Program::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(Program, _impl_._cached_size_), + false, + }, + &Program::kDescriptorMethods, + &descriptor_table_acir_2fprogram_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* Program::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> Program::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::program::Program>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.circuit.Circuit functions = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(Program, _impl_.functions_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.circuit.Circuit functions = 1; + {PROTOBUF_FIELD_OFFSET(Program, _impl_.functions_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::circuit::Circuit>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void Program::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.program.Program) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.functions_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* Program::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const Program& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* Program::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const Program& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.program.Program) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.circuit.Circuit functions = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_functions_size()); + i < n; i++) { + const auto& repfield = this_._internal_functions().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.program.Program) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t Program::ByteSizeLong(const MessageLite& base) { + const Program& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t Program::ByteSizeLong() const { + const Program& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.program.Program) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.circuit.Circuit functions = 1; + { + total_size += 1UL * this_._internal_functions_size(); + for (const auto& msg : this_._internal_functions()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void Program::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.program.Program) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_functions()->MergeFrom( + from._internal_functions()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void Program::CopyFrom(const Program& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.program.Program) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void Program::InternalSwap(Program* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.functions_.InternalSwap(&other->_impl_.functions_); +} + +::google::protobuf::Metadata Program::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace program +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_acir_2fprogram_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/acvm-repo/acir/codegen/acir/program.pb.h b/acvm-repo/acir/codegen/acir/program.pb.h new file mode 100644 index 00000000000..3d035b723b3 --- /dev/null +++ b/acvm-repo/acir/codegen/acir/program.pb.h @@ -0,0 +1,349 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/program.proto +// Protobuf C++ Version: 5.29.3 + +#ifndef acir_2fprogram_2eproto_2epb_2eh +#define acir_2fprogram_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029003 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "acir/circuit.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_acir_2fprogram_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_acir_2fprogram_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_acir_2fprogram_2eproto; +namespace acvm { +namespace acir { +namespace program { +class Program; +struct ProgramDefaultTypeInternal; +extern ProgramDefaultTypeInternal _Program_default_instance_; +} // namespace program +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace acvm { +namespace acir { +namespace program { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class Program final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.program.Program) */ { + public: + inline Program() : Program(nullptr) {} + ~Program() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(Program* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(Program)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR Program( + ::google::protobuf::internal::ConstantInitialized); + + inline Program(const Program& from) : Program(nullptr, from) {} + inline Program(Program&& from) noexcept + : Program(nullptr, std::move(from)) {} + inline Program& operator=(const Program& from) { + CopyFrom(from); + return *this; + } + inline Program& operator=(Program&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const Program& default_instance() { + return *internal_default_instance(); + } + static inline const Program* internal_default_instance() { + return reinterpret_cast( + &_Program_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(Program& a, Program& b) { a.Swap(&b); } + inline void Swap(Program* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(Program* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + Program* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const Program& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const Program& from) { Program::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(Program* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.program.Program"; } + + protected: + explicit Program(::google::protobuf::Arena* arena); + Program(::google::protobuf::Arena* arena, const Program& from); + Program(::google::protobuf::Arena* arena, Program&& from) noexcept + : Program(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kFunctionsFieldNumber = 1, + }; + // repeated .acvm.acir.circuit.Circuit functions = 1; + int functions_size() const; + private: + int _internal_functions_size() const; + + public: + void clear_functions() ; + ::acvm::acir::circuit::Circuit* mutable_functions(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>* mutable_functions(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>& _internal_functions() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>* _internal_mutable_functions(); + public: + const ::acvm::acir::circuit::Circuit& functions(int index) const; + ::acvm::acir::circuit::Circuit* add_functions(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>& functions() const; + // @@protoc_insertion_point(class_scope:acvm.acir.program.Program) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const Program& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::circuit::Circuit > functions_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fprogram_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// Program + +// repeated .acvm.acir.circuit.Circuit functions = 1; +inline int Program::_internal_functions_size() const { + return _internal_functions().size(); +} +inline int Program::functions_size() const { + return _internal_functions_size(); +} +inline ::acvm::acir::circuit::Circuit* Program::mutable_functions(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.program.Program.functions) + return _internal_mutable_functions()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>* Program::mutable_functions() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.program.Program.functions) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_functions(); +} +inline const ::acvm::acir::circuit::Circuit& Program::functions(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.program.Program.functions) + return _internal_functions().Get(index); +} +inline ::acvm::acir::circuit::Circuit* Program::add_functions() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::circuit::Circuit* _add = _internal_mutable_functions()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.program.Program.functions) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>& Program::functions() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.program.Program.functions) + return _internal_functions(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>& +Program::_internal_functions() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.functions_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::circuit::Circuit>* +Program::_internal_mutable_functions() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.functions_; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace program +} // namespace acir +} // namespace acvm + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // acir_2fprogram_2eproto_2epb_2eh diff --git a/acvm-repo/acir/codegen/acir/witness.pb.cc b/acvm-repo/acir/codegen/acir/witness.pb.cc new file mode 100644 index 00000000000..f3249c33ec9 --- /dev/null +++ b/acvm-repo/acir/codegen/acir/witness.pb.cc @@ -0,0 +1,1330 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/witness.proto +// Protobuf C++ Version: 5.29.3 + +#include "acir/witness.pb.h" + +#include +#include +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/generated_message_tctable_impl.h" +#include "google/protobuf/extension_set.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/wire_format_lite.h" +#include "google/protobuf/descriptor.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/reflection_ops.h" +#include "google/protobuf/wire_format.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" +PROTOBUF_PRAGMA_INIT_SEG +namespace _pb = ::google::protobuf; +namespace _pbi = ::google::protobuf::internal; +namespace _fl = ::google::protobuf::internal::field_layout; +namespace acvm { +namespace acir { +namespace witness { + +inline constexpr WitnessMap_WitnessValue::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + witness_{nullptr}, + field_{nullptr} {} + +template +PROTOBUF_CONSTEXPR WitnessMap_WitnessValue::WitnessMap_WitnessValue(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct WitnessMap_WitnessValueDefaultTypeInternal { + PROTOBUF_CONSTEXPR WitnessMap_WitnessValueDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WitnessMap_WitnessValueDefaultTypeInternal() {} + union { + WitnessMap_WitnessValue _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WitnessMap_WitnessValueDefaultTypeInternal _WitnessMap_WitnessValue_default_instance_; + +inline constexpr WitnessMap::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : values_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR WitnessMap::WitnessMap(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct WitnessMapDefaultTypeInternal { + PROTOBUF_CONSTEXPR WitnessMapDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WitnessMapDefaultTypeInternal() {} + union { + WitnessMap _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WitnessMapDefaultTypeInternal _WitnessMap_default_instance_; + +inline constexpr WitnessStack_StackItem::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : _cached_size_{0}, + witness_{nullptr}, + index_{0u} {} + +template +PROTOBUF_CONSTEXPR WitnessStack_StackItem::WitnessStack_StackItem(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct WitnessStack_StackItemDefaultTypeInternal { + PROTOBUF_CONSTEXPR WitnessStack_StackItemDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WitnessStack_StackItemDefaultTypeInternal() {} + union { + WitnessStack_StackItem _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WitnessStack_StackItemDefaultTypeInternal _WitnessStack_StackItem_default_instance_; + +inline constexpr WitnessStack::Impl_::Impl_( + ::_pbi::ConstantInitialized) noexcept + : stack_{}, + _cached_size_{0} {} + +template +PROTOBUF_CONSTEXPR WitnessStack::WitnessStack(::_pbi::ConstantInitialized) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(_class_data_.base()), +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(), +#endif // PROTOBUF_CUSTOM_VTABLE + _impl_(::_pbi::ConstantInitialized()) { +} +struct WitnessStackDefaultTypeInternal { + PROTOBUF_CONSTEXPR WitnessStackDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {} + ~WitnessStackDefaultTypeInternal() {} + union { + WitnessStack _instance; + }; +}; + +PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT + PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 WitnessStackDefaultTypeInternal _WitnessStack_default_instance_; +} // namespace witness +} // namespace acir +} // namespace acvm +static constexpr const ::_pb::EnumDescriptor** + file_level_enum_descriptors_acir_2fwitness_2eproto = nullptr; +static constexpr const ::_pb::ServiceDescriptor** + file_level_service_descriptors_acir_2fwitness_2eproto = nullptr; +const ::uint32_t + TableStruct_acir_2fwitness_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap_WitnessValue, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap_WitnessValue, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap_WitnessValue, _impl_.witness_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap_WitnessValue, _impl_.field_), + 0, + 1, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessMap, _impl_.values_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack_StackItem, _impl_._has_bits_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack_StackItem, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack_StackItem, _impl_.index_), + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack_StackItem, _impl_.witness_), + ~0u, + 0, + ~0u, // no _has_bits_ + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack, _internal_metadata_), + ~0u, // no _extensions_ + ~0u, // no _oneof_case_ + ~0u, // no _weak_field_map_ + ~0u, // no _inlined_string_donated_ + ~0u, // no _split_ + ~0u, // no sizeof(Split) + PROTOBUF_FIELD_OFFSET(::acvm::acir::witness::WitnessStack, _impl_.stack_), +}; + +static const ::_pbi::MigrationSchema + schemas[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = { + {0, 10, -1, sizeof(::acvm::acir::witness::WitnessMap_WitnessValue)}, + {12, -1, -1, sizeof(::acvm::acir::witness::WitnessMap)}, + {21, 31, -1, sizeof(::acvm::acir::witness::WitnessStack_StackItem)}, + {33, -1, -1, sizeof(::acvm::acir::witness::WitnessStack)}, +}; +static const ::_pb::Message* const file_default_instances[] = { + &::acvm::acir::witness::_WitnessMap_WitnessValue_default_instance_._instance, + &::acvm::acir::witness::_WitnessMap_default_instance_._instance, + &::acvm::acir::witness::_WitnessStack_StackItem_default_instance_._instance, + &::acvm::acir::witness::_WitnessStack_default_instance_._instance, +}; +const char descriptor_table_protodef_acir_2fwitness_2eproto[] ABSL_ATTRIBUTE_SECTION_VARIABLE( + protodesc_cold) = { + "\n\022acir/witness.proto\022\021acvm.acir.witness\032" + "\021acir/native.proto\"\254\001\n\nWitnessMap\022:\n\006val" + "ues\030\001 \003(\0132*.acvm.acir.witness.WitnessMap" + ".WitnessValue\032b\n\014WitnessValue\022*\n\007witness" + "\030\001 \001(\0132\031.acvm.acir.native.Witness\022&\n\005fie" + "ld\030\002 \001(\0132\027.acvm.acir.native.Field\"\224\001\n\014Wi" + "tnessStack\0228\n\005stack\030\001 \003(\0132).acvm.acir.wi" + "tness.WitnessStack.StackItem\032J\n\tStackIte" + "m\022\r\n\005index\030\001 \001(\r\022.\n\007witness\030\002 \001(\0132\035.acvm" + ".acir.witness.WitnessMapb\006proto3" +}; +static const ::_pbi::DescriptorTable* const descriptor_table_acir_2fwitness_2eproto_deps[1] = + { + &::descriptor_table_acir_2fnative_2eproto, +}; +static ::absl::once_flag descriptor_table_acir_2fwitness_2eproto_once; +PROTOBUF_CONSTINIT const ::_pbi::DescriptorTable descriptor_table_acir_2fwitness_2eproto = { + false, + false, + 392, + descriptor_table_protodef_acir_2fwitness_2eproto, + "acir/witness.proto", + &descriptor_table_acir_2fwitness_2eproto_once, + descriptor_table_acir_2fwitness_2eproto_deps, + 1, + 4, + schemas, + file_default_instances, + TableStruct_acir_2fwitness_2eproto::offsets, + file_level_enum_descriptors_acir_2fwitness_2eproto, + file_level_service_descriptors_acir_2fwitness_2eproto, +}; +namespace acvm { +namespace acir { +namespace witness { +// =================================================================== + +class WitnessMap_WitnessValue::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_._has_bits_); +}; + +void WitnessMap_WitnessValue::clear_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ != nullptr) _impl_.witness_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +void WitnessMap_WitnessValue::clear_field() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.field_ != nullptr) _impl_.field_->Clear(); + _impl_._has_bits_[0] &= ~0x00000002u; +} +WitnessMap_WitnessValue::WitnessMap_WitnessValue(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.witness.WitnessMap.WitnessValue) +} +inline PROTOBUF_NDEBUG_INLINE WitnessMap_WitnessValue::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::witness::WitnessMap_WitnessValue& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +WitnessMap_WitnessValue::WitnessMap_WitnessValue( + ::google::protobuf::Arena* arena, + const WitnessMap_WitnessValue& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + WitnessMap_WitnessValue* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.witness_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>( + arena, *from._impl_.witness_) + : nullptr; + _impl_.field_ = (cached_has_bits & 0x00000002u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>( + arena, *from._impl_.field_) + : nullptr; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.witness.WitnessMap.WitnessValue) +} +inline PROTOBUF_NDEBUG_INLINE WitnessMap_WitnessValue::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void WitnessMap_WitnessValue::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, witness_), + 0, + offsetof(Impl_, field_) - + offsetof(Impl_, witness_) + + sizeof(Impl_::field_)); +} +WitnessMap_WitnessValue::~WitnessMap_WitnessValue() { + // @@protoc_insertion_point(destructor:acvm.acir.witness.WitnessMap.WitnessValue) + SharedDtor(*this); +} +inline void WitnessMap_WitnessValue::SharedDtor(MessageLite& self) { + WitnessMap_WitnessValue& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.witness_; + delete this_._impl_.field_; + this_._impl_.~Impl_(); +} + +inline void* WitnessMap_WitnessValue::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) WitnessMap_WitnessValue(arena); +} +constexpr auto WitnessMap_WitnessValue::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WitnessMap_WitnessValue), + alignof(WitnessMap_WitnessValue)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull WitnessMap_WitnessValue::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_WitnessMap_WitnessValue_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &WitnessMap_WitnessValue::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &WitnessMap_WitnessValue::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &WitnessMap_WitnessValue::ByteSizeLong, + &WitnessMap_WitnessValue::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_._cached_size_), + false, + }, + &WitnessMap_WitnessValue::kDescriptorMethods, + &descriptor_table_acir_2fwitness_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* WitnessMap_WitnessValue::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 2, 0, 2> WitnessMap_WitnessValue::_table_ = { + { + PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 2, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessMap_WitnessValue>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .acvm.acir.native.Field field = 2; + {::_pbi::TcParser::FastMtS1, + {18, 1, 1, PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.field_)}}, + // .acvm.acir.native.Witness witness = 1; + {::_pbi::TcParser::FastMtS1, + {10, 0, 0, PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.witness_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // .acvm.acir.native.Witness witness = 1; + {PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.witness_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + // .acvm.acir.native.Field field = 2; + {PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.field_), _Internal::kHasBitsOffset + 1, 1, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::native::Witness>()}, + {::_pbi::TcParser::GetTable<::acvm::acir::native::Field>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void WitnessMap_WitnessValue::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.witness.WitnessMap.WitnessValue) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.witness_ != nullptr); + _impl_.witness_->Clear(); + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(_impl_.field_ != nullptr); + _impl_.field_->Clear(); + } + } + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* WitnessMap_WitnessValue::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const WitnessMap_WitnessValue& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* WitnessMap_WitnessValue::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const WitnessMap_WitnessValue& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.witness.WitnessMap.WitnessValue) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.native.Witness witness = 1; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, *this_._impl_.witness_, this_._impl_.witness_->GetCachedSize(), target, + stream); + } + + // .acvm.acir.native.Field field = 2; + if (cached_has_bits & 0x00000002u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.field_, this_._impl_.field_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.witness.WitnessMap.WitnessValue) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t WitnessMap_WitnessValue::ByteSizeLong(const MessageLite& base) { + const WitnessMap_WitnessValue& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t WitnessMap_WitnessValue::ByteSizeLong() const { + const WitnessMap_WitnessValue& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.witness.WitnessMap.WitnessValue) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + // .acvm.acir.native.Witness witness = 1; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.witness_); + } + // .acvm.acir.native.Field field = 2; + if (cached_has_bits & 0x00000002u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.field_); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void WitnessMap_WitnessValue::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.witness.WitnessMap.WitnessValue) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000003u) { + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.witness_ != nullptr); + if (_this->_impl_.witness_ == nullptr) { + _this->_impl_.witness_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Witness>(arena, *from._impl_.witness_); + } else { + _this->_impl_.witness_->MergeFrom(*from._impl_.witness_); + } + } + if (cached_has_bits & 0x00000002u) { + ABSL_DCHECK(from._impl_.field_ != nullptr); + if (_this->_impl_.field_ == nullptr) { + _this->_impl_.field_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::native::Field>(arena, *from._impl_.field_); + } else { + _this->_impl_.field_->MergeFrom(*from._impl_.field_); + } + } + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void WitnessMap_WitnessValue::CopyFrom(const WitnessMap_WitnessValue& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.witness.WitnessMap.WitnessValue) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void WitnessMap_WitnessValue::InternalSwap(WitnessMap_WitnessValue* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.field_) + + sizeof(WitnessMap_WitnessValue::_impl_.field_) + - PROTOBUF_FIELD_OFFSET(WitnessMap_WitnessValue, _impl_.witness_)>( + reinterpret_cast(&_impl_.witness_), + reinterpret_cast(&other->_impl_.witness_)); +} + +::google::protobuf::Metadata WitnessMap_WitnessValue::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class WitnessMap::_Internal { + public: +}; + +WitnessMap::WitnessMap(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.witness.WitnessMap) +} +inline PROTOBUF_NDEBUG_INLINE WitnessMap::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::witness::WitnessMap& from_msg) + : values_{visibility, arena, from.values_}, + _cached_size_{0} {} + +WitnessMap::WitnessMap( + ::google::protobuf::Arena* arena, + const WitnessMap& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + WitnessMap* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.witness.WitnessMap) +} +inline PROTOBUF_NDEBUG_INLINE WitnessMap::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : values_{visibility, arena}, + _cached_size_{0} {} + +inline void WitnessMap::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +WitnessMap::~WitnessMap() { + // @@protoc_insertion_point(destructor:acvm.acir.witness.WitnessMap) + SharedDtor(*this); +} +inline void WitnessMap::SharedDtor(MessageLite& self) { + WitnessMap& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* WitnessMap::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) WitnessMap(arena); +} +constexpr auto WitnessMap::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(WitnessMap, _impl_.values_) + + decltype(WitnessMap::_impl_.values_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(WitnessMap), alignof(WitnessMap), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&WitnessMap::PlacementNew_, + sizeof(WitnessMap), + alignof(WitnessMap)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull WitnessMap::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_WitnessMap_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &WitnessMap::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &WitnessMap::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &WitnessMap::ByteSizeLong, + &WitnessMap::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(WitnessMap, _impl_._cached_size_), + false, + }, + &WitnessMap::kDescriptorMethods, + &descriptor_table_acir_2fwitness_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* WitnessMap::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> WitnessMap::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessMap>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(WitnessMap, _impl_.values_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; + {PROTOBUF_FIELD_OFFSET(WitnessMap, _impl_.values_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessMap_WitnessValue>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void WitnessMap::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.witness.WitnessMap) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.values_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* WitnessMap::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const WitnessMap& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* WitnessMap::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const WitnessMap& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.witness.WitnessMap) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_values_size()); + i < n; i++) { + const auto& repfield = this_._internal_values().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.witness.WitnessMap) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t WitnessMap::ByteSizeLong(const MessageLite& base) { + const WitnessMap& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t WitnessMap::ByteSizeLong() const { + const WitnessMap& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.witness.WitnessMap) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; + { + total_size += 1UL * this_._internal_values_size(); + for (const auto& msg : this_._internal_values()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void WitnessMap::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.witness.WitnessMap) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_values()->MergeFrom( + from._internal_values()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void WitnessMap::CopyFrom(const WitnessMap& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.witness.WitnessMap) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void WitnessMap::InternalSwap(WitnessMap* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.values_.InternalSwap(&other->_impl_.values_); +} + +::google::protobuf::Metadata WitnessMap::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class WitnessStack_StackItem::_Internal { + public: + using HasBits = + decltype(std::declval()._impl_._has_bits_); + static constexpr ::int32_t kHasBitsOffset = + 8 * PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_._has_bits_); +}; + +WitnessStack_StackItem::WitnessStack_StackItem(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.witness.WitnessStack.StackItem) +} +inline PROTOBUF_NDEBUG_INLINE WitnessStack_StackItem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::witness::WitnessStack_StackItem& from_msg) + : _has_bits_{from._has_bits_}, + _cached_size_{0} {} + +WitnessStack_StackItem::WitnessStack_StackItem( + ::google::protobuf::Arena* arena, + const WitnessStack_StackItem& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + WitnessStack_StackItem* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + ::uint32_t cached_has_bits = _impl_._has_bits_[0]; + _impl_.witness_ = (cached_has_bits & 0x00000001u) ? ::google::protobuf::Message::CopyConstruct<::acvm::acir::witness::WitnessMap>( + arena, *from._impl_.witness_) + : nullptr; + _impl_.index_ = from._impl_.index_; + + // @@protoc_insertion_point(copy_constructor:acvm.acir.witness.WitnessStack.StackItem) +} +inline PROTOBUF_NDEBUG_INLINE WitnessStack_StackItem::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : _cached_size_{0} {} + +inline void WitnessStack_StackItem::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); + ::memset(reinterpret_cast(&_impl_) + + offsetof(Impl_, witness_), + 0, + offsetof(Impl_, index_) - + offsetof(Impl_, witness_) + + sizeof(Impl_::index_)); +} +WitnessStack_StackItem::~WitnessStack_StackItem() { + // @@protoc_insertion_point(destructor:acvm.acir.witness.WitnessStack.StackItem) + SharedDtor(*this); +} +inline void WitnessStack_StackItem::SharedDtor(MessageLite& self) { + WitnessStack_StackItem& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + delete this_._impl_.witness_; + this_._impl_.~Impl_(); +} + +inline void* WitnessStack_StackItem::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) WitnessStack_StackItem(arena); +} +constexpr auto WitnessStack_StackItem::InternalNewImpl_() { + return ::google::protobuf::internal::MessageCreator::ZeroInit(sizeof(WitnessStack_StackItem), + alignof(WitnessStack_StackItem)); +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull WitnessStack_StackItem::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_WitnessStack_StackItem_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &WitnessStack_StackItem::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &WitnessStack_StackItem::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &WitnessStack_StackItem::ByteSizeLong, + &WitnessStack_StackItem::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_._cached_size_), + false, + }, + &WitnessStack_StackItem::kDescriptorMethods, + &descriptor_table_acir_2fwitness_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* WitnessStack_StackItem::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<1, 2, 1, 0, 2> WitnessStack_StackItem::_table_ = { + { + PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_._has_bits_), + 0, // no _extensions_ + 2, 8, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967292, // skipmap + offsetof(decltype(_table_), field_entries), + 2, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessStack_StackItem>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // .acvm.acir.witness.WitnessMap witness = 2; + {::_pbi::TcParser::FastMtS1, + {18, 0, 0, PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.witness_)}}, + // uint32 index = 1; + {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(WitnessStack_StackItem, _impl_.index_), 63>(), + {8, 63, 0, PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.index_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // uint32 index = 1; + {PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.index_), -1, 0, + (0 | ::_fl::kFcSingular | ::_fl::kUInt32)}, + // .acvm.acir.witness.WitnessMap witness = 2; + {PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.witness_), _Internal::kHasBitsOffset + 0, 0, + (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessMap>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void WitnessStack_StackItem::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.witness.WitnessStack.StackItem) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + cached_has_bits = _impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(_impl_.witness_ != nullptr); + _impl_.witness_->Clear(); + } + _impl_.index_ = 0u; + _impl_._has_bits_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* WitnessStack_StackItem::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const WitnessStack_StackItem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* WitnessStack_StackItem::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const WitnessStack_StackItem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.witness.WitnessStack.StackItem) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // uint32 index = 1; + if (this_._internal_index() != 0) { + target = stream->EnsureSpace(target); + target = ::_pbi::WireFormatLite::WriteUInt32ToArray( + 1, this_._internal_index(), target); + } + + cached_has_bits = this_._impl_._has_bits_[0]; + // .acvm.acir.witness.WitnessMap witness = 2; + if (cached_has_bits & 0x00000001u) { + target = ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 2, *this_._impl_.witness_, this_._impl_.witness_->GetCachedSize(), target, + stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.witness.WitnessStack.StackItem) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t WitnessStack_StackItem::ByteSizeLong(const MessageLite& base) { + const WitnessStack_StackItem& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t WitnessStack_StackItem::ByteSizeLong() const { + const WitnessStack_StackItem& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.witness.WitnessStack.StackItem) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // .acvm.acir.witness.WitnessMap witness = 2; + cached_has_bits = this_._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + total_size += 1 + + ::google::protobuf::internal::WireFormatLite::MessageSize(*this_._impl_.witness_); + } + } + { + // uint32 index = 1; + if (this_._internal_index() != 0) { + total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne( + this_._internal_index()); + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void WitnessStack_StackItem::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + ::google::protobuf::Arena* arena = _this->GetArena(); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.witness.WitnessStack.StackItem) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + cached_has_bits = from._impl_._has_bits_[0]; + if (cached_has_bits & 0x00000001u) { + ABSL_DCHECK(from._impl_.witness_ != nullptr); + if (_this->_impl_.witness_ == nullptr) { + _this->_impl_.witness_ = + ::google::protobuf::Message::CopyConstruct<::acvm::acir::witness::WitnessMap>(arena, *from._impl_.witness_); + } else { + _this->_impl_.witness_->MergeFrom(*from._impl_.witness_); + } + } + if (from._internal_index() != 0) { + _this->_impl_.index_ = from._impl_.index_; + } + _this->_impl_._has_bits_[0] |= cached_has_bits; + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void WitnessStack_StackItem::CopyFrom(const WitnessStack_StackItem& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.witness.WitnessStack.StackItem) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void WitnessStack_StackItem::InternalSwap(WitnessStack_StackItem* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]); + ::google::protobuf::internal::memswap< + PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.index_) + + sizeof(WitnessStack_StackItem::_impl_.index_) + - PROTOBUF_FIELD_OFFSET(WitnessStack_StackItem, _impl_.witness_)>( + reinterpret_cast(&_impl_.witness_), + reinterpret_cast(&other->_impl_.witness_)); +} + +::google::protobuf::Metadata WitnessStack_StackItem::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// =================================================================== + +class WitnessStack::_Internal { + public: +}; + +WitnessStack::WitnessStack(::google::protobuf::Arena* arena) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + SharedCtor(arena); + // @@protoc_insertion_point(arena_constructor:acvm.acir.witness.WitnessStack) +} +inline PROTOBUF_NDEBUG_INLINE WitnessStack::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, ::google::protobuf::Arena* arena, + const Impl_& from, const ::acvm::acir::witness::WitnessStack& from_msg) + : stack_{visibility, arena, from.stack_}, + _cached_size_{0} {} + +WitnessStack::WitnessStack( + ::google::protobuf::Arena* arena, + const WitnessStack& from) +#if defined(PROTOBUF_CUSTOM_VTABLE) + : ::google::protobuf::Message(arena, _class_data_.base()) { +#else // PROTOBUF_CUSTOM_VTABLE + : ::google::protobuf::Message(arena) { +#endif // PROTOBUF_CUSTOM_VTABLE + WitnessStack* const _this = this; + (void)_this; + _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>( + from._internal_metadata_); + new (&_impl_) Impl_(internal_visibility(), arena, from._impl_, from); + + // @@protoc_insertion_point(copy_constructor:acvm.acir.witness.WitnessStack) +} +inline PROTOBUF_NDEBUG_INLINE WitnessStack::Impl_::Impl_( + ::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena) + : stack_{visibility, arena}, + _cached_size_{0} {} + +inline void WitnessStack::SharedCtor(::_pb::Arena* arena) { + new (&_impl_) Impl_(internal_visibility(), arena); +} +WitnessStack::~WitnessStack() { + // @@protoc_insertion_point(destructor:acvm.acir.witness.WitnessStack) + SharedDtor(*this); +} +inline void WitnessStack::SharedDtor(MessageLite& self) { + WitnessStack& this_ = static_cast(self); + this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>(); + ABSL_DCHECK(this_.GetArena() == nullptr); + this_._impl_.~Impl_(); +} + +inline void* WitnessStack::PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena) { + return ::new (mem) WitnessStack(arena); +} +constexpr auto WitnessStack::InternalNewImpl_() { + constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({ + PROTOBUF_FIELD_OFFSET(WitnessStack, _impl_.stack_) + + decltype(WitnessStack::_impl_.stack_):: + InternalGetArenaOffset( + ::google::protobuf::Message::internal_visibility()), + }); + if (arena_bits.has_value()) { + return ::google::protobuf::internal::MessageCreator::ZeroInit( + sizeof(WitnessStack), alignof(WitnessStack), *arena_bits); + } else { + return ::google::protobuf::internal::MessageCreator(&WitnessStack::PlacementNew_, + sizeof(WitnessStack), + alignof(WitnessStack)); + } +} +PROTOBUF_CONSTINIT +PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::google::protobuf::internal::ClassDataFull WitnessStack::_class_data_ = { + ::google::protobuf::internal::ClassData{ + &_WitnessStack_default_instance_._instance, + &_table_.header, + nullptr, // OnDemandRegisterArenaDtor + nullptr, // IsInitialized + &WitnessStack::MergeImpl, + ::google::protobuf::Message::GetNewImpl(), +#if defined(PROTOBUF_CUSTOM_VTABLE) + &WitnessStack::SharedDtor, + ::google::protobuf::Message::GetClearImpl(), &WitnessStack::ByteSizeLong, + &WitnessStack::_InternalSerialize, +#endif // PROTOBUF_CUSTOM_VTABLE + PROTOBUF_FIELD_OFFSET(WitnessStack, _impl_._cached_size_), + false, + }, + &WitnessStack::kDescriptorMethods, + &descriptor_table_acir_2fwitness_2eproto, + nullptr, // tracker +}; +const ::google::protobuf::internal::ClassData* WitnessStack::GetClassData() const { + ::google::protobuf::internal::PrefetchToLocalCache(&_class_data_); + ::google::protobuf::internal::PrefetchToLocalCache(_class_data_.tc_table); + return _class_data_.base(); +} +PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 +const ::_pbi::TcParseTable<0, 1, 1, 0, 2> WitnessStack::_table_ = { + { + 0, // no _has_bits_ + 0, // no _extensions_ + 1, 0, // max_field_number, fast_idx_mask + offsetof(decltype(_table_), field_lookup_table), + 4294967294, // skipmap + offsetof(decltype(_table_), field_entries), + 1, // num_field_entries + 1, // num_aux_entries + offsetof(decltype(_table_), aux_entries), + _class_data_.base(), + nullptr, // post_loop_handler + ::_pbi::TcParser::GenericFallback, // fallback + #ifdef PROTOBUF_PREFETCH_PARSE_TABLE + ::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessStack>(), // to_prefetch + #endif // PROTOBUF_PREFETCH_PARSE_TABLE + }, {{ + // repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; + {::_pbi::TcParser::FastMtR1, + {10, 63, 0, PROTOBUF_FIELD_OFFSET(WitnessStack, _impl_.stack_)}}, + }}, {{ + 65535, 65535 + }}, {{ + // repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; + {PROTOBUF_FIELD_OFFSET(WitnessStack, _impl_.stack_), 0, 0, + (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)}, + }}, {{ + {::_pbi::TcParser::GetTable<::acvm::acir::witness::WitnessStack_StackItem>()}, + }}, {{ + }}, +}; + +PROTOBUF_NOINLINE void WitnessStack::Clear() { +// @@protoc_insertion_point(message_clear_start:acvm.acir.witness.WitnessStack) + ::google::protobuf::internal::TSanWrite(&_impl_); + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void) cached_has_bits; + + _impl_.stack_.Clear(); + _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>(); +} + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::uint8_t* WitnessStack::_InternalSerialize( + const MessageLite& base, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) { + const WitnessStack& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::uint8_t* WitnessStack::_InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + const WitnessStack& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(serialize_to_array_start:acvm.acir.witness.WitnessStack) + ::uint32_t cached_has_bits = 0; + (void)cached_has_bits; + + // repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; + for (unsigned i = 0, n = static_cast( + this_._internal_stack_size()); + i < n; i++) { + const auto& repfield = this_._internal_stack().Get(i); + target = + ::google::protobuf::internal::WireFormatLite::InternalWriteMessage( + 1, repfield, repfield.GetCachedSize(), + target, stream); + } + + if (PROTOBUF_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) { + target = + ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray( + this_._internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream); + } + // @@protoc_insertion_point(serialize_to_array_end:acvm.acir.witness.WitnessStack) + return target; + } + +#if defined(PROTOBUF_CUSTOM_VTABLE) + ::size_t WitnessStack::ByteSizeLong(const MessageLite& base) { + const WitnessStack& this_ = static_cast(base); +#else // PROTOBUF_CUSTOM_VTABLE + ::size_t WitnessStack::ByteSizeLong() const { + const WitnessStack& this_ = *this; +#endif // PROTOBUF_CUSTOM_VTABLE + // @@protoc_insertion_point(message_byte_size_start:acvm.acir.witness.WitnessStack) + ::size_t total_size = 0; + + ::uint32_t cached_has_bits = 0; + // Prevent compiler warnings about cached_has_bits being unused + (void)cached_has_bits; + + ::_pbi::Prefetch5LinesFrom7Lines(&this_); + { + // repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; + { + total_size += 1UL * this_._internal_stack_size(); + for (const auto& msg : this_._internal_stack()) { + total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg); + } + } + } + return this_.MaybeComputeUnknownFieldsSize(total_size, + &this_._impl_._cached_size_); + } + +void WitnessStack::MergeImpl(::google::protobuf::MessageLite& to_msg, const ::google::protobuf::MessageLite& from_msg) { + auto* const _this = static_cast(&to_msg); + auto& from = static_cast(from_msg); + // @@protoc_insertion_point(class_specific_merge_from_start:acvm.acir.witness.WitnessStack) + ABSL_DCHECK_NE(&from, _this); + ::uint32_t cached_has_bits = 0; + (void) cached_has_bits; + + _this->_internal_mutable_stack()->MergeFrom( + from._internal_stack()); + _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_); +} + +void WitnessStack::CopyFrom(const WitnessStack& from) { +// @@protoc_insertion_point(class_specific_copy_from_start:acvm.acir.witness.WitnessStack) + if (&from == this) return; + Clear(); + MergeFrom(from); +} + + +void WitnessStack::InternalSwap(WitnessStack* PROTOBUF_RESTRICT other) { + using std::swap; + _internal_metadata_.InternalSwap(&other->_internal_metadata_); + _impl_.stack_.InternalSwap(&other->_impl_.stack_); +} + +::google::protobuf::Metadata WitnessStack::GetMetadata() const { + return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full()); +} +// @@protoc_insertion_point(namespace_scope) +} // namespace witness +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google +// @@protoc_insertion_point(global_scope) +PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type + _static_init2_ PROTOBUF_UNUSED = + (::_pbi::AddDescriptors(&descriptor_table_acir_2fwitness_2eproto), + ::std::false_type{}); +#include "google/protobuf/port_undef.inc" diff --git a/acvm-repo/acir/codegen/acir/witness.pb.h b/acvm-repo/acir/codegen/acir/witness.pb.h new file mode 100644 index 00000000000..59bc9621b4a --- /dev/null +++ b/acvm-repo/acir/codegen/acir/witness.pb.h @@ -0,0 +1,1343 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// NO CHECKED-IN PROTOBUF GENCODE +// source: acir/witness.proto +// Protobuf C++ Version: 5.29.3 + +#ifndef acir_2fwitness_2eproto_2epb_2eh +#define acir_2fwitness_2eproto_2epb_2eh + +#include +#include +#include +#include + +#include "google/protobuf/runtime_version.h" +#if PROTOBUF_VERSION != 5029003 +#error "Protobuf C++ gencode is built with an incompatible version of" +#error "Protobuf C++ headers/runtime. See" +#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp" +#endif +#include "google/protobuf/io/coded_stream.h" +#include "google/protobuf/arena.h" +#include "google/protobuf/arenastring.h" +#include "google/protobuf/generated_message_tctable_decl.h" +#include "google/protobuf/generated_message_util.h" +#include "google/protobuf/metadata_lite.h" +#include "google/protobuf/generated_message_reflection.h" +#include "google/protobuf/message.h" +#include "google/protobuf/message_lite.h" +#include "google/protobuf/repeated_field.h" // IWYU pragma: export +#include "google/protobuf/extension_set.h" // IWYU pragma: export +#include "google/protobuf/unknown_field_set.h" +#include "acir/native.pb.h" +// @@protoc_insertion_point(includes) + +// Must be included last. +#include "google/protobuf/port_def.inc" + +#define PROTOBUF_INTERNAL_EXPORT_acir_2fwitness_2eproto + +namespace google { +namespace protobuf { +namespace internal { +template +::absl::string_view GetAnyMessageName(); +} // namespace internal +} // namespace protobuf +} // namespace google + +// Internal implementation detail -- do not use these members. +struct TableStruct_acir_2fwitness_2eproto { + static const ::uint32_t offsets[]; +}; +extern const ::google::protobuf::internal::DescriptorTable + descriptor_table_acir_2fwitness_2eproto; +namespace acvm { +namespace acir { +namespace witness { +class WitnessMap; +struct WitnessMapDefaultTypeInternal; +extern WitnessMapDefaultTypeInternal _WitnessMap_default_instance_; +class WitnessMap_WitnessValue; +struct WitnessMap_WitnessValueDefaultTypeInternal; +extern WitnessMap_WitnessValueDefaultTypeInternal _WitnessMap_WitnessValue_default_instance_; +class WitnessStack; +struct WitnessStackDefaultTypeInternal; +extern WitnessStackDefaultTypeInternal _WitnessStack_default_instance_; +class WitnessStack_StackItem; +struct WitnessStack_StackItemDefaultTypeInternal; +extern WitnessStack_StackItemDefaultTypeInternal _WitnessStack_StackItem_default_instance_; +} // namespace witness +} // namespace acir +} // namespace acvm +namespace google { +namespace protobuf { +} // namespace protobuf +} // namespace google + +namespace acvm { +namespace acir { +namespace witness { + +// =================================================================== + + +// ------------------------------------------------------------------- + +class WitnessMap_WitnessValue final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.witness.WitnessMap.WitnessValue) */ { + public: + inline WitnessMap_WitnessValue() : WitnessMap_WitnessValue(nullptr) {} + ~WitnessMap_WitnessValue() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WitnessMap_WitnessValue* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WitnessMap_WitnessValue)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WitnessMap_WitnessValue( + ::google::protobuf::internal::ConstantInitialized); + + inline WitnessMap_WitnessValue(const WitnessMap_WitnessValue& from) : WitnessMap_WitnessValue(nullptr, from) {} + inline WitnessMap_WitnessValue(WitnessMap_WitnessValue&& from) noexcept + : WitnessMap_WitnessValue(nullptr, std::move(from)) {} + inline WitnessMap_WitnessValue& operator=(const WitnessMap_WitnessValue& from) { + CopyFrom(from); + return *this; + } + inline WitnessMap_WitnessValue& operator=(WitnessMap_WitnessValue&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WitnessMap_WitnessValue& default_instance() { + return *internal_default_instance(); + } + static inline const WitnessMap_WitnessValue* internal_default_instance() { + return reinterpret_cast( + &_WitnessMap_WitnessValue_default_instance_); + } + static constexpr int kIndexInFileMessages = 0; + friend void swap(WitnessMap_WitnessValue& a, WitnessMap_WitnessValue& b) { a.Swap(&b); } + inline void Swap(WitnessMap_WitnessValue* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WitnessMap_WitnessValue* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WitnessMap_WitnessValue* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const WitnessMap_WitnessValue& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const WitnessMap_WitnessValue& from) { WitnessMap_WitnessValue::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(WitnessMap_WitnessValue* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.witness.WitnessMap.WitnessValue"; } + + protected: + explicit WitnessMap_WitnessValue(::google::protobuf::Arena* arena); + WitnessMap_WitnessValue(::google::protobuf::Arena* arena, const WitnessMap_WitnessValue& from); + WitnessMap_WitnessValue(::google::protobuf::Arena* arena, WitnessMap_WitnessValue&& from) noexcept + : WitnessMap_WitnessValue(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kWitnessFieldNumber = 1, + kFieldFieldNumber = 2, + }; + // .acvm.acir.native.Witness witness = 1; + bool has_witness() const; + void clear_witness() ; + const ::acvm::acir::native::Witness& witness() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Witness* release_witness(); + ::acvm::acir::native::Witness* mutable_witness(); + void set_allocated_witness(::acvm::acir::native::Witness* value); + void unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value); + ::acvm::acir::native::Witness* unsafe_arena_release_witness(); + + private: + const ::acvm::acir::native::Witness& _internal_witness() const; + ::acvm::acir::native::Witness* _internal_mutable_witness(); + + public: + // .acvm.acir.native.Field field = 2; + bool has_field() const; + void clear_field() ; + const ::acvm::acir::native::Field& field() const; + PROTOBUF_NODISCARD ::acvm::acir::native::Field* release_field(); + ::acvm::acir::native::Field* mutable_field(); + void set_allocated_field(::acvm::acir::native::Field* value); + void unsafe_arena_set_allocated_field(::acvm::acir::native::Field* value); + ::acvm::acir::native::Field* unsafe_arena_release_field(); + + private: + const ::acvm::acir::native::Field& _internal_field() const; + ::acvm::acir::native::Field* _internal_mutable_field(); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.witness.WitnessMap.WitnessValue) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 2, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WitnessMap_WitnessValue& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::native::Witness* witness_; + ::acvm::acir::native::Field* field_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fwitness_2eproto; +}; +// ------------------------------------------------------------------- + +class WitnessMap final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.witness.WitnessMap) */ { + public: + inline WitnessMap() : WitnessMap(nullptr) {} + ~WitnessMap() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WitnessMap* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WitnessMap)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WitnessMap( + ::google::protobuf::internal::ConstantInitialized); + + inline WitnessMap(const WitnessMap& from) : WitnessMap(nullptr, from) {} + inline WitnessMap(WitnessMap&& from) noexcept + : WitnessMap(nullptr, std::move(from)) {} + inline WitnessMap& operator=(const WitnessMap& from) { + CopyFrom(from); + return *this; + } + inline WitnessMap& operator=(WitnessMap&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WitnessMap& default_instance() { + return *internal_default_instance(); + } + static inline const WitnessMap* internal_default_instance() { + return reinterpret_cast( + &_WitnessMap_default_instance_); + } + static constexpr int kIndexInFileMessages = 1; + friend void swap(WitnessMap& a, WitnessMap& b) { a.Swap(&b); } + inline void Swap(WitnessMap* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WitnessMap* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WitnessMap* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const WitnessMap& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const WitnessMap& from) { WitnessMap::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(WitnessMap* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.witness.WitnessMap"; } + + protected: + explicit WitnessMap(::google::protobuf::Arena* arena); + WitnessMap(::google::protobuf::Arena* arena, const WitnessMap& from); + WitnessMap(::google::protobuf::Arena* arena, WitnessMap&& from) noexcept + : WitnessMap(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using WitnessValue = WitnessMap_WitnessValue; + + // accessors ------------------------------------------------------- + enum : int { + kValuesFieldNumber = 1, + }; + // repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; + int values_size() const; + private: + int _internal_values_size() const; + + public: + void clear_values() ; + ::acvm::acir::witness::WitnessMap_WitnessValue* mutable_values(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>* mutable_values(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>& _internal_values() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>* _internal_mutable_values(); + public: + const ::acvm::acir::witness::WitnessMap_WitnessValue& values(int index) const; + ::acvm::acir::witness::WitnessMap_WitnessValue* add_values(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>& values() const; + // @@protoc_insertion_point(class_scope:acvm.acir.witness.WitnessMap) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WitnessMap& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::witness::WitnessMap_WitnessValue > values_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fwitness_2eproto; +}; +// ------------------------------------------------------------------- + +class WitnessStack_StackItem final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.witness.WitnessStack.StackItem) */ { + public: + inline WitnessStack_StackItem() : WitnessStack_StackItem(nullptr) {} + ~WitnessStack_StackItem() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WitnessStack_StackItem* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WitnessStack_StackItem)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WitnessStack_StackItem( + ::google::protobuf::internal::ConstantInitialized); + + inline WitnessStack_StackItem(const WitnessStack_StackItem& from) : WitnessStack_StackItem(nullptr, from) {} + inline WitnessStack_StackItem(WitnessStack_StackItem&& from) noexcept + : WitnessStack_StackItem(nullptr, std::move(from)) {} + inline WitnessStack_StackItem& operator=(const WitnessStack_StackItem& from) { + CopyFrom(from); + return *this; + } + inline WitnessStack_StackItem& operator=(WitnessStack_StackItem&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WitnessStack_StackItem& default_instance() { + return *internal_default_instance(); + } + static inline const WitnessStack_StackItem* internal_default_instance() { + return reinterpret_cast( + &_WitnessStack_StackItem_default_instance_); + } + static constexpr int kIndexInFileMessages = 2; + friend void swap(WitnessStack_StackItem& a, WitnessStack_StackItem& b) { a.Swap(&b); } + inline void Swap(WitnessStack_StackItem* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WitnessStack_StackItem* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WitnessStack_StackItem* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const WitnessStack_StackItem& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const WitnessStack_StackItem& from) { WitnessStack_StackItem::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(WitnessStack_StackItem* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.witness.WitnessStack.StackItem"; } + + protected: + explicit WitnessStack_StackItem(::google::protobuf::Arena* arena); + WitnessStack_StackItem(::google::protobuf::Arena* arena, const WitnessStack_StackItem& from); + WitnessStack_StackItem(::google::protobuf::Arena* arena, WitnessStack_StackItem&& from) noexcept + : WitnessStack_StackItem(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + + // accessors ------------------------------------------------------- + enum : int { + kWitnessFieldNumber = 2, + kIndexFieldNumber = 1, + }; + // .acvm.acir.witness.WitnessMap witness = 2; + bool has_witness() const; + void clear_witness() ; + const ::acvm::acir::witness::WitnessMap& witness() const; + PROTOBUF_NODISCARD ::acvm::acir::witness::WitnessMap* release_witness(); + ::acvm::acir::witness::WitnessMap* mutable_witness(); + void set_allocated_witness(::acvm::acir::witness::WitnessMap* value); + void unsafe_arena_set_allocated_witness(::acvm::acir::witness::WitnessMap* value); + ::acvm::acir::witness::WitnessMap* unsafe_arena_release_witness(); + + private: + const ::acvm::acir::witness::WitnessMap& _internal_witness() const; + ::acvm::acir::witness::WitnessMap* _internal_mutable_witness(); + + public: + // uint32 index = 1; + void clear_index() ; + ::uint32_t index() const; + void set_index(::uint32_t value); + + private: + ::uint32_t _internal_index() const; + void _internal_set_index(::uint32_t value); + + public: + // @@protoc_insertion_point(class_scope:acvm.acir.witness.WitnessStack.StackItem) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 1, 2, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WitnessStack_StackItem& from_msg); + ::google::protobuf::internal::HasBits<1> _has_bits_; + ::google::protobuf::internal::CachedSize _cached_size_; + ::acvm::acir::witness::WitnessMap* witness_; + ::uint32_t index_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fwitness_2eproto; +}; +// ------------------------------------------------------------------- + +class WitnessStack final : public ::google::protobuf::Message +/* @@protoc_insertion_point(class_definition:acvm.acir.witness.WitnessStack) */ { + public: + inline WitnessStack() : WitnessStack(nullptr) {} + ~WitnessStack() PROTOBUF_FINAL; + +#if defined(PROTOBUF_CUSTOM_VTABLE) + void operator delete(WitnessStack* msg, std::destroying_delete_t) { + SharedDtor(*msg); + ::google::protobuf::internal::SizedDelete(msg, sizeof(WitnessStack)); + } +#endif + + template + explicit PROTOBUF_CONSTEXPR WitnessStack( + ::google::protobuf::internal::ConstantInitialized); + + inline WitnessStack(const WitnessStack& from) : WitnessStack(nullptr, from) {} + inline WitnessStack(WitnessStack&& from) noexcept + : WitnessStack(nullptr, std::move(from)) {} + inline WitnessStack& operator=(const WitnessStack& from) { + CopyFrom(from); + return *this; + } + inline WitnessStack& operator=(WitnessStack&& from) noexcept { + if (this == &from) return *this; + if (::google::protobuf::internal::CanMoveWithInternalSwap(GetArena(), from.GetArena())) { + InternalSwap(&from); + } else { + CopyFrom(from); + } + return *this; + } + + inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance); + } + inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>(); + } + + static const ::google::protobuf::Descriptor* descriptor() { + return GetDescriptor(); + } + static const ::google::protobuf::Descriptor* GetDescriptor() { + return default_instance().GetMetadata().descriptor; + } + static const ::google::protobuf::Reflection* GetReflection() { + return default_instance().GetMetadata().reflection; + } + static const WitnessStack& default_instance() { + return *internal_default_instance(); + } + static inline const WitnessStack* internal_default_instance() { + return reinterpret_cast( + &_WitnessStack_default_instance_); + } + static constexpr int kIndexInFileMessages = 3; + friend void swap(WitnessStack& a, WitnessStack& b) { a.Swap(&b); } + inline void Swap(WitnessStack* other) { + if (other == this) return; + if (::google::protobuf::internal::CanUseInternalSwap(GetArena(), other->GetArena())) { + InternalSwap(other); + } else { + ::google::protobuf::internal::GenericSwap(this, other); + } + } + void UnsafeArenaSwap(WitnessStack* other) { + if (other == this) return; + ABSL_DCHECK(GetArena() == other->GetArena()); + InternalSwap(other); + } + + // implements Message ---------------------------------------------- + + WitnessStack* New(::google::protobuf::Arena* arena = nullptr) const { + return ::google::protobuf::Message::DefaultConstruct(arena); + } + using ::google::protobuf::Message::CopyFrom; + void CopyFrom(const WitnessStack& from); + using ::google::protobuf::Message::MergeFrom; + void MergeFrom(const WitnessStack& from) { WitnessStack::MergeImpl(*this, from); } + + private: + static void MergeImpl( + ::google::protobuf::MessageLite& to_msg, + const ::google::protobuf::MessageLite& from_msg); + + public: + bool IsInitialized() const { + return true; + } + ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL; + #if defined(PROTOBUF_CUSTOM_VTABLE) + private: + static ::size_t ByteSizeLong(const ::google::protobuf::MessageLite& msg); + static ::uint8_t* _InternalSerialize( + const MessageLite& msg, ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream); + + public: + ::size_t ByteSizeLong() const { return ByteSizeLong(*this); } + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const { + return _InternalSerialize(*this, target, stream); + } + #else // PROTOBUF_CUSTOM_VTABLE + ::size_t ByteSizeLong() const final; + ::uint8_t* _InternalSerialize( + ::uint8_t* target, + ::google::protobuf::io::EpsCopyOutputStream* stream) const final; + #endif // PROTOBUF_CUSTOM_VTABLE + int GetCachedSize() const { return _impl_._cached_size_.Get(); } + + private: + void SharedCtor(::google::protobuf::Arena* arena); + static void SharedDtor(MessageLite& self); + void InternalSwap(WitnessStack* other); + private: + template + friend ::absl::string_view( + ::google::protobuf::internal::GetAnyMessageName)(); + static ::absl::string_view FullMessageName() { return "acvm.acir.witness.WitnessStack"; } + + protected: + explicit WitnessStack(::google::protobuf::Arena* arena); + WitnessStack(::google::protobuf::Arena* arena, const WitnessStack& from); + WitnessStack(::google::protobuf::Arena* arena, WitnessStack&& from) noexcept + : WitnessStack(arena) { + *this = ::std::move(from); + } + const ::google::protobuf::internal::ClassData* GetClassData() const PROTOBUF_FINAL; + static void* PlacementNew_(const void*, void* mem, + ::google::protobuf::Arena* arena); + static constexpr auto InternalNewImpl_(); + static const ::google::protobuf::internal::ClassDataFull _class_data_; + + public: + ::google::protobuf::Metadata GetMetadata() const; + // nested types ---------------------------------------------------- + using StackItem = WitnessStack_StackItem; + + // accessors ------------------------------------------------------- + enum : int { + kStackFieldNumber = 1, + }; + // repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; + int stack_size() const; + private: + int _internal_stack_size() const; + + public: + void clear_stack() ; + ::acvm::acir::witness::WitnessStack_StackItem* mutable_stack(int index); + ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>* mutable_stack(); + + private: + const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>& _internal_stack() const; + ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>* _internal_mutable_stack(); + public: + const ::acvm::acir::witness::WitnessStack_StackItem& stack(int index) const; + ::acvm::acir::witness::WitnessStack_StackItem* add_stack(); + const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>& stack() const; + // @@protoc_insertion_point(class_scope:acvm.acir.witness.WitnessStack) + private: + class _Internal; + friend class ::google::protobuf::internal::TcParser; + static const ::google::protobuf::internal::TcParseTable< + 0, 1, 1, + 0, 2> + _table_; + + friend class ::google::protobuf::MessageLite; + friend class ::google::protobuf::Arena; + template + friend class ::google::protobuf::Arena::InternalHelper; + using InternalArenaConstructable_ = void; + using DestructorSkippable_ = void; + struct Impl_ { + inline explicit constexpr Impl_( + ::google::protobuf::internal::ConstantInitialized) noexcept; + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena); + inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility, + ::google::protobuf::Arena* arena, const Impl_& from, + const WitnessStack& from_msg); + ::google::protobuf::RepeatedPtrField< ::acvm::acir::witness::WitnessStack_StackItem > stack_; + ::google::protobuf::internal::CachedSize _cached_size_; + PROTOBUF_TSAN_DECLARE_MEMBER + }; + union { Impl_ _impl_; }; + friend struct ::TableStruct_acir_2fwitness_2eproto; +}; + +// =================================================================== + + + + +// =================================================================== + + +#ifdef __GNUC__ +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstrict-aliasing" +#endif // __GNUC__ +// ------------------------------------------------------------------- + +// WitnessMap_WitnessValue + +// .acvm.acir.native.Witness witness = 1; +inline bool WitnessMap_WitnessValue::has_witness() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.witness_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Witness& WitnessMap_WitnessValue::_internal_witness() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Witness* p = _impl_.witness_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Witness_default_instance_); +} +inline const ::acvm::acir::native::Witness& WitnessMap_WitnessValue::witness() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessMap.WitnessValue.witness) + return _internal_witness(); +} +inline void WitnessMap_WitnessValue::unsafe_arena_set_allocated_witness(::acvm::acir::native::Witness* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_); + } + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.witness.WitnessMap.WitnessValue.witness) +} +inline ::acvm::acir::native::Witness* WitnessMap_WitnessValue::release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* released = _impl_.witness_; + _impl_.witness_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Witness* WitnessMap_WitnessValue::unsafe_arena_release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.witness.WitnessMap.WitnessValue.witness) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::native::Witness* temp = _impl_.witness_; + _impl_.witness_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Witness* WitnessMap_WitnessValue::_internal_mutable_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Witness>(GetArena()); + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(p); + } + return _impl_.witness_; +} +inline ::acvm::acir::native::Witness* WitnessMap_WitnessValue::mutable_witness() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::native::Witness* _msg = _internal_mutable_witness(); + // @@protoc_insertion_point(field_mutable:acvm.acir.witness.WitnessMap.WitnessValue.witness) + return _msg; +} +inline void WitnessMap_WitnessValue::set_allocated_witness(::acvm::acir::native::Witness* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.witness_ = reinterpret_cast<::acvm::acir::native::Witness*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.witness.WitnessMap.WitnessValue.witness) +} + +// .acvm.acir.native.Field field = 2; +inline bool WitnessMap_WitnessValue::has_field() const { + bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0; + PROTOBUF_ASSUME(!value || _impl_.field_ != nullptr); + return value; +} +inline const ::acvm::acir::native::Field& WitnessMap_WitnessValue::_internal_field() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::native::Field* p = _impl_.field_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::native::_Field_default_instance_); +} +inline const ::acvm::acir::native::Field& WitnessMap_WitnessValue::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessMap.WitnessValue.field) + return _internal_field(); +} +inline void WitnessMap_WitnessValue::unsafe_arena_set_allocated_field(::acvm::acir::native::Field* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_); + } + _impl_.field_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.witness.WitnessMap.WitnessValue.field) +} +inline ::acvm::acir::native::Field* WitnessMap_WitnessValue::release_field() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Field* released = _impl_.field_; + _impl_.field_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::native::Field* WitnessMap_WitnessValue::unsafe_arena_release_field() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.witness.WitnessMap.WitnessValue.field) + + _impl_._has_bits_[0] &= ~0x00000002u; + ::acvm::acir::native::Field* temp = _impl_.field_; + _impl_.field_ = nullptr; + return temp; +} +inline ::acvm::acir::native::Field* WitnessMap_WitnessValue::_internal_mutable_field() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.field_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::native::Field>(GetArena()); + _impl_.field_ = reinterpret_cast<::acvm::acir::native::Field*>(p); + } + return _impl_.field_; +} +inline ::acvm::acir::native::Field* WitnessMap_WitnessValue::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000002u; + ::acvm::acir::native::Field* _msg = _internal_mutable_field(); + // @@protoc_insertion_point(field_mutable:acvm.acir.witness.WitnessMap.WitnessValue.field) + return _msg; +} +inline void WitnessMap_WitnessValue::set_allocated_field(::acvm::acir::native::Field* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000002u; + } else { + _impl_._has_bits_[0] &= ~0x00000002u; + } + + _impl_.field_ = reinterpret_cast<::acvm::acir::native::Field*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.witness.WitnessMap.WitnessValue.field) +} + +// ------------------------------------------------------------------- + +// WitnessMap + +// repeated .acvm.acir.witness.WitnessMap.WitnessValue values = 1; +inline int WitnessMap::_internal_values_size() const { + return _internal_values().size(); +} +inline int WitnessMap::values_size() const { + return _internal_values_size(); +} +inline void WitnessMap::clear_values() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.values_.Clear(); +} +inline ::acvm::acir::witness::WitnessMap_WitnessValue* WitnessMap::mutable_values(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.witness.WitnessMap.values) + return _internal_mutable_values()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>* WitnessMap::mutable_values() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.witness.WitnessMap.values) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_values(); +} +inline const ::acvm::acir::witness::WitnessMap_WitnessValue& WitnessMap::values(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessMap.values) + return _internal_values().Get(index); +} +inline ::acvm::acir::witness::WitnessMap_WitnessValue* WitnessMap::add_values() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::witness::WitnessMap_WitnessValue* _add = _internal_mutable_values()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.witness.WitnessMap.values) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>& WitnessMap::values() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.witness.WitnessMap.values) + return _internal_values(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>& +WitnessMap::_internal_values() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.values_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessMap_WitnessValue>* +WitnessMap::_internal_mutable_values() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.values_; +} + +// ------------------------------------------------------------------- + +// WitnessStack_StackItem + +// uint32 index = 1; +inline void WitnessStack_StackItem::clear_index() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = 0u; +} +inline ::uint32_t WitnessStack_StackItem::index() const { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessStack.StackItem.index) + return _internal_index(); +} +inline void WitnessStack_StackItem::set_index(::uint32_t value) { + _internal_set_index(value); + // @@protoc_insertion_point(field_set:acvm.acir.witness.WitnessStack.StackItem.index) +} +inline ::uint32_t WitnessStack_StackItem::_internal_index() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.index_; +} +inline void WitnessStack_StackItem::_internal_set_index(::uint32_t value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.index_ = value; +} + +// .acvm.acir.witness.WitnessMap witness = 2; +inline bool WitnessStack_StackItem::has_witness() const { + bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0; + PROTOBUF_ASSUME(!value || _impl_.witness_ != nullptr); + return value; +} +inline void WitnessStack_StackItem::clear_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ != nullptr) _impl_.witness_->Clear(); + _impl_._has_bits_[0] &= ~0x00000001u; +} +inline const ::acvm::acir::witness::WitnessMap& WitnessStack_StackItem::_internal_witness() const { + ::google::protobuf::internal::TSanRead(&_impl_); + const ::acvm::acir::witness::WitnessMap* p = _impl_.witness_; + return p != nullptr ? *p : reinterpret_cast(::acvm::acir::witness::_WitnessMap_default_instance_); +} +inline const ::acvm::acir::witness::WitnessMap& WitnessStack_StackItem::witness() const ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessStack.StackItem.witness) + return _internal_witness(); +} +inline void WitnessStack_StackItem::unsafe_arena_set_allocated_witness(::acvm::acir::witness::WitnessMap* value) { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (GetArena() == nullptr) { + delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.witness_); + } + _impl_.witness_ = reinterpret_cast<::acvm::acir::witness::WitnessMap*>(value); + if (value != nullptr) { + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + // @@protoc_insertion_point(field_unsafe_arena_set_allocated:acvm.acir.witness.WitnessStack.StackItem.witness) +} +inline ::acvm::acir::witness::WitnessMap* WitnessStack_StackItem::release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::witness::WitnessMap* released = _impl_.witness_; + _impl_.witness_ = nullptr; + if (::google::protobuf::internal::DebugHardenForceCopyInRelease()) { + auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released); + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + if (GetArena() == nullptr) { + delete old; + } + } else { + if (GetArena() != nullptr) { + released = ::google::protobuf::internal::DuplicateIfNonNull(released); + } + } + return released; +} +inline ::acvm::acir::witness::WitnessMap* WitnessStack_StackItem::unsafe_arena_release_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + // @@protoc_insertion_point(field_release:acvm.acir.witness.WitnessStack.StackItem.witness) + + _impl_._has_bits_[0] &= ~0x00000001u; + ::acvm::acir::witness::WitnessMap* temp = _impl_.witness_; + _impl_.witness_ = nullptr; + return temp; +} +inline ::acvm::acir::witness::WitnessMap* WitnessStack_StackItem::_internal_mutable_witness() { + ::google::protobuf::internal::TSanWrite(&_impl_); + if (_impl_.witness_ == nullptr) { + auto* p = ::google::protobuf::Message::DefaultConstruct<::acvm::acir::witness::WitnessMap>(GetArena()); + _impl_.witness_ = reinterpret_cast<::acvm::acir::witness::WitnessMap*>(p); + } + return _impl_.witness_; +} +inline ::acvm::acir::witness::WitnessMap* WitnessStack_StackItem::mutable_witness() ABSL_ATTRIBUTE_LIFETIME_BOUND { + _impl_._has_bits_[0] |= 0x00000001u; + ::acvm::acir::witness::WitnessMap* _msg = _internal_mutable_witness(); + // @@protoc_insertion_point(field_mutable:acvm.acir.witness.WitnessStack.StackItem.witness) + return _msg; +} +inline void WitnessStack_StackItem::set_allocated_witness(::acvm::acir::witness::WitnessMap* value) { + ::google::protobuf::Arena* message_arena = GetArena(); + ::google::protobuf::internal::TSanWrite(&_impl_); + if (message_arena == nullptr) { + delete (_impl_.witness_); + } + + if (value != nullptr) { + ::google::protobuf::Arena* submessage_arena = (value)->GetArena(); + if (message_arena != submessage_arena) { + value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena); + } + _impl_._has_bits_[0] |= 0x00000001u; + } else { + _impl_._has_bits_[0] &= ~0x00000001u; + } + + _impl_.witness_ = reinterpret_cast<::acvm::acir::witness::WitnessMap*>(value); + // @@protoc_insertion_point(field_set_allocated:acvm.acir.witness.WitnessStack.StackItem.witness) +} + +// ------------------------------------------------------------------- + +// WitnessStack + +// repeated .acvm.acir.witness.WitnessStack.StackItem stack = 1; +inline int WitnessStack::_internal_stack_size() const { + return _internal_stack().size(); +} +inline int WitnessStack::stack_size() const { + return _internal_stack_size(); +} +inline void WitnessStack::clear_stack() { + ::google::protobuf::internal::TSanWrite(&_impl_); + _impl_.stack_.Clear(); +} +inline ::acvm::acir::witness::WitnessStack_StackItem* WitnessStack::mutable_stack(int index) + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable:acvm.acir.witness.WitnessStack.stack) + return _internal_mutable_stack()->Mutable(index); +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>* WitnessStack::mutable_stack() + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_mutable_list:acvm.acir.witness.WitnessStack.stack) + ::google::protobuf::internal::TSanWrite(&_impl_); + return _internal_mutable_stack(); +} +inline const ::acvm::acir::witness::WitnessStack_StackItem& WitnessStack::stack(int index) const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_get:acvm.acir.witness.WitnessStack.stack) + return _internal_stack().Get(index); +} +inline ::acvm::acir::witness::WitnessStack_StackItem* WitnessStack::add_stack() ABSL_ATTRIBUTE_LIFETIME_BOUND { + ::google::protobuf::internal::TSanWrite(&_impl_); + ::acvm::acir::witness::WitnessStack_StackItem* _add = _internal_mutable_stack()->Add(); + // @@protoc_insertion_point(field_add:acvm.acir.witness.WitnessStack.stack) + return _add; +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>& WitnessStack::stack() const + ABSL_ATTRIBUTE_LIFETIME_BOUND { + // @@protoc_insertion_point(field_list:acvm.acir.witness.WitnessStack.stack) + return _internal_stack(); +} +inline const ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>& +WitnessStack::_internal_stack() const { + ::google::protobuf::internal::TSanRead(&_impl_); + return _impl_.stack_; +} +inline ::google::protobuf::RepeatedPtrField<::acvm::acir::witness::WitnessStack_StackItem>* +WitnessStack::_internal_mutable_stack() { + ::google::protobuf::internal::TSanRead(&_impl_); + return &_impl_.stack_; +} + +#ifdef __GNUC__ +#pragma GCC diagnostic pop +#endif // __GNUC__ + +// @@protoc_insertion_point(namespace_scope) +} // namespace witness +} // namespace acir +} // namespace acvm + + +// @@protoc_insertion_point(global_scope) + +#include "google/protobuf/port_undef.inc" + +#endif // acir_2fwitness_2eproto_2epb_2eh