10#include "google/protobuf/io/coded_stream.h"
11#include "google/protobuf/generated_message_tctable_impl.h"
12#include "google/protobuf/extension_set.h"
13#include "google/protobuf/generated_message_util.h"
14#include "google/protobuf/wire_format_lite.h"
15#include "google/protobuf/descriptor.h"
16#include "google/protobuf/generated_message_reflection.h"
17#include "google/protobuf/reflection_ops.h"
18#include "google/protobuf/wire_format.h"
22#include "google/protobuf/port_def.inc"
23PROTOBUF_PRAGMA_INIT_SEG
26namespace _fl = ::google::protobuf::internal::field_layout;
29inline constexpr DemonRuns::Impl_::Impl_(
30 ::_pbi::ConstantInitialized) noexcept
33 _start_time_cached_byte_size_{0},
35 _end_time_cached_byte_size_{0},
37 &::google::protobuf::internal::fixed_address_empty_string,
38 ::_pbi::ConstantInitialized()),
39 failures_{::int64_t{0}} {}
43#if defined(PROTOBUF_CUSTOM_VTABLE)
46 : ::google::protobuf::Message(),
48 _impl_(::_pbi::ConstantInitialized()) {
58PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
61inline constexpr ConstraintRuns::Impl_::Impl_(
62 ::_pbi::ConstantInitialized) noexcept
64 initial_propagation_start_time_{},
65 _initial_propagation_start_time_cached_byte_size_{0},
66 initial_propagation_end_time_{},
67 _initial_propagation_end_time_cached_byte_size_{0},
70 &::google::protobuf::internal::fixed_address_empty_string,
71 ::_pbi::ConstantInitialized()),
72 failures_{::int64_t{0}} {}
76#if defined(PROTOBUF_CUSTOM_VTABLE)
79 : ::google::protobuf::Message(),
81 _impl_(::_pbi::ConstantInitialized()) {
91PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL
94static constexpr const ::_pb::EnumDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
96static constexpr const ::_pb::ServiceDescriptor* PROTOBUF_NONNULL* PROTOBUF_NULLABLE
127static const ::_pbi::MigrationSchema
138 "\n.ortools/constraint_solver/demon_profil"
139 "er.proto\022\023operations_research\"U\n\tDemonRu"
140 "ns\022\020\n\010demon_id\030\001 \001(\t\022\022\n\nstart_time\030\002 \003(\003"
141 "\022\020\n\010end_time\030\003 \003(\003\022\020\n\010failures\030\004 \001(\003\"\267\001\n"
142 "\016ConstraintRuns\022\025\n\rconstraint_id\030\001 \001(\t\022&"
143 "\n\036initial_propagation_start_time\030\002 \003(\003\022$"
144 "\n\034initial_propagation_end_time\030\003 \003(\003\022\020\n\010"
145 "failures\030\004 \001(\003\022.\n\006demons\030\005 \003(\0132\036.operati"
146 "ons_research.DemonRunsb\006proto3"
153 descriptor_table_protodef_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto,
154 "ortools/constraint_solver/demon_profiler.proto",
171 decltype(::std::declval<DemonRuns>()._impl_._has_bits_);
177#if defined(PROTOBUF_CUSTOM_VTABLE)
180 : ::google::protobuf::Message(arena) {
185PROTOBUF_NDEBUG_INLINE DemonRuns::Impl_::Impl_(
186 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
187 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
188 [[maybe_unused]] const ::operations_research::DemonRuns& from_msg)
189 : _has_bits_{from._has_bits_},
191 start_time_{visibility, arena, from.start_time_},
192 _start_time_cached_byte_size_{0},
193 end_time_{visibility, arena, from.end_time_},
194 _end_time_cached_byte_size_{0},
195 demon_id_(arena, from.demon_id_) {}
198 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
200#if defined(PROTOBUF_CUSTOM_VTABLE)
203 : ::google::protobuf::Message(arena) {
207 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
208 from._internal_metadata_);
209 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
210 _impl_.failures_ = from._impl_.failures_;
214PROTOBUF_NDEBUG_INLINE DemonRuns::Impl_::Impl_(
215 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
216 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
218 start_time_{visibility, arena},
219 _start_time_cached_byte_size_{0},
220 end_time_{visibility, arena},
221 _end_time_cached_byte_size_{0},
224inline void DemonRuns::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
225 new (&
_impl_) Impl_(internal_visibility(), arena);
232inline void DemonRuns::SharedDtor(
MessageLite& self) {
234 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
235 this_.CheckHasBitConsistency();
237 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
238 ABSL_DCHECK(this_.GetArena() ==
nullptr);
239 this_.
_impl_.demon_id_.Destroy();
243inline void* PROTOBUF_NONNULL DemonRuns::PlacementNew_(
244 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
245 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
248constexpr auto DemonRuns::InternalNewImpl_() {
249 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
252 InternalGetArenaOffset(
253 ::google::protobuf::Message::internal_visibility()),
256 InternalGetArenaOffset(
257 ::google::protobuf::Message::internal_visibility()),
259 if (arena_bits.has_value()) {
260 return ::google::protobuf::internal::MessageCreator::CopyInit(
261 sizeof(DemonRuns), alignof(DemonRuns), *arena_bits);
263 return ::google::protobuf::internal::MessageCreator(&DemonRuns::PlacementNew_,
269 return ::google::protobuf::internal::ClassDataFull{
270 ::google::protobuf::internal::ClassData{
275 &DemonRuns::MergeImpl,
276 ::google::protobuf::Message::GetNewImpl<DemonRuns>(),
277#if defined(PROTOBUF_CUSTOM_VTABLE)
278 &DemonRuns::SharedDtor,
285 &DemonRuns::kDescriptorMethods,
291PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
295PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
296DemonRuns::GetClassData()
const {
301PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
302const ::_pbi::TcParseTable<2, 4, 0, 46, 2>
303DemonRuns::_table_ = {
308 offsetof(
decltype(_table_), field_lookup_table),
310 offsetof(
decltype(_table_), field_entries),
313 offsetof(
decltype(_table_), field_names),
316 ::_pbi::TcParser::GenericFallback,
317 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
318 ::_pbi::TcParser::GetTable<::operations_research::DemonRuns>(),
322 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
DemonRuns,
_impl_.failures_), 3>(),
326 {::_pbi::TcParser::FastUS1,
330 {::_pbi::TcParser::FastV64P1,
334 {::_pbi::TcParser::FastV64P1,
352 "operations_research.DemonRuns"
358 ::google::protobuf::internal::TSanWrite(&
_impl_);
359 ::uint32_t cached_has_bits = 0;
361 (void) cached_has_bits;
363 cached_has_bits =
_impl_._has_bits_[0];
364 if (BatchCheckHasBit(cached_has_bits, 0x00000007U)) {
365 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
366 _impl_.start_time_.Clear();
368 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
371 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
372 _impl_.demon_id_.ClearNonDefaultToEmpty();
375 _impl_.failures_ = ::int64_t{0};
376 _impl_._has_bits_.Clear();
377 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
380#if defined(PROTOBUF_CUSTOM_VTABLE)
382 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
383 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
387 ::uint8_t* PROTOBUF_NONNULL target,
388 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
391 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
392 this_.CheckHasBitConsistency();
395 ::uint32_t cached_has_bits = 0;
396 (void)cached_has_bits;
398 cached_has_bits = this_.
_impl_._has_bits_[0];
400 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
401 if (!this_._internal_demon_id().empty()) {
402 const ::std::string& _s = this_._internal_demon_id();
403 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
404 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.DemonRuns.demon_id");
405 target = stream->WriteStringMaybeAliased(1, _s, target);
410 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
412 int byte_size = this_.
_impl_._start_time_cached_byte_size_.Get();
414 target = stream->WriteInt64Packed(
415 2, this_._internal_start_time(), byte_size, target);
421 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
423 int byte_size = this_.
_impl_._end_time_cached_byte_size_.Get();
425 target = stream->WriteInt64Packed(
426 3, this_._internal_end_time(), byte_size, target);
432 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
433 if (this_._internal_failures() != 0) {
435 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
436 stream, this_._internal_failures(), target);
440 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
442 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
443 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
449#if defined(PROTOBUF_CUSTOM_VTABLE)
457 ::size_t total_size = 0;
459 ::uint32_t cached_has_bits = 0;
461 (void)cached_has_bits;
463 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
464 cached_has_bits = this_.
_impl_._has_bits_[0];
465 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
467 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
469 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
470 this_._internal_start_time(), 1,
471 this_.
_impl_._start_time_cached_byte_size_);
474 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
476 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
477 this_._internal_end_time(), 1,
478 this_.
_impl_._end_time_cached_byte_size_);
481 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
482 if (!this_._internal_demon_id().empty()) {
483 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
484 this_._internal_demon_id());
488 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
489 if (this_._internal_failures() != 0) {
490 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
491 this_._internal_failures());
495 return this_.MaybeComputeUnknownFieldsSize(total_size,
496 &this_.
_impl_._cached_size_);
499void DemonRuns::MergeImpl(::google::protobuf::MessageLite& to_msg,
500 const ::google::protobuf::MessageLite& from_msg) {
503 auto& from =
static_cast<const DemonRuns&
>(from_msg);
504 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
505 from.CheckHasBitConsistency();
508 ABSL_DCHECK_NE(&from, _this);
509 ::uint32_t cached_has_bits = 0;
510 (void)cached_has_bits;
512 cached_has_bits = from._impl_._has_bits_[0];
513 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
514 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
515 _this->_internal_mutable_start_time()->MergeFrom(from._internal_start_time());
517 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
518 _this->_internal_mutable_end_time()->MergeFrom(from._internal_end_time());
520 if (CheckHasBit(cached_has_bits, 0x00000004U)) {
521 if (!from._internal_demon_id().empty()) {
522 _this->_internal_set_demon_id(from._internal_demon_id());
524 if (_this->_impl_.demon_id_.IsDefault()) {
525 _this->_internal_set_demon_id(
"");
529 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
530 if (from._internal_failures() != 0) {
531 _this->_impl_.failures_ = from._impl_.failures_;
535 _this->_impl_._has_bits_[0] |= cached_has_bits;
536 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
537 from._internal_metadata_);
542 if (&from ==
this)
return;
548void DemonRuns::InternalSwap(
DemonRuns* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
550 auto* arena = GetArena();
551 ABSL_DCHECK_EQ(arena, other->GetArena());
552 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
553 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
554 _impl_.start_time_.InternalSwap(&other->_impl_.start_time_);
555 _impl_.end_time_.InternalSwap(&other->_impl_.end_time_);
556 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.demon_id_, &other->_impl_.demon_id_, arena);
557 swap(
_impl_.failures_, other->_impl_.failures_);
561 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
568 decltype(::std::declval<ConstraintRuns>()._impl_._has_bits_);
574#if defined(PROTOBUF_CUSTOM_VTABLE)
577 : ::google::protobuf::Message(arena) {
582PROTOBUF_NDEBUG_INLINE ConstraintRuns::Impl_::Impl_(
583 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
584 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
const Impl_& from,
585 [[maybe_unused]] const ::operations_research::ConstraintRuns& from_msg)
586 : _has_bits_{from._has_bits_},
588 initial_propagation_start_time_{visibility, arena, from.initial_propagation_start_time_},
589 _initial_propagation_start_time_cached_byte_size_{0},
590 initial_propagation_end_time_{visibility, arena, from.initial_propagation_end_time_},
591 _initial_propagation_end_time_cached_byte_size_{0},
592 demons_{visibility, arena, from.demons_},
593 constraint_id_(arena, from.constraint_id_) {}
596 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena,
598#if defined(PROTOBUF_CUSTOM_VTABLE)
601 : ::google::protobuf::Message(arena) {
605 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
606 from._internal_metadata_);
607 new (&
_impl_) Impl_(internal_visibility(), arena, from._impl_, from);
608 _impl_.failures_ = from._impl_.failures_;
612PROTOBUF_NDEBUG_INLINE ConstraintRuns::Impl_::Impl_(
613 [[maybe_unused]] ::google::protobuf::internal::InternalVisibility visibility,
614 [[maybe_unused]] ::google::protobuf::Arena* PROTOBUF_NULLABLE arena)
616 initial_propagation_start_time_{visibility, arena},
617 _initial_propagation_start_time_cached_byte_size_{0},
618 initial_propagation_end_time_{visibility, arena},
619 _initial_propagation_end_time_cached_byte_size_{0},
620 demons_{visibility, arena},
621 constraint_id_(arena) {}
623inline void ConstraintRuns::SharedCtor(::_pb::Arena* PROTOBUF_NULLABLE arena) {
624 new (&
_impl_) Impl_(internal_visibility(), arena);
631inline void ConstraintRuns::SharedDtor(
MessageLite& self) {
633 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
634 this_.CheckHasBitConsistency();
636 this_._internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
637 ABSL_DCHECK(this_.GetArena() ==
nullptr);
638 this_.
_impl_.constraint_id_.Destroy();
642inline void* PROTOBUF_NONNULL ConstraintRuns::PlacementNew_(
643 const void* PROTOBUF_NONNULL,
void* PROTOBUF_NONNULL mem,
644 ::google::protobuf::Arena* PROTOBUF_NULLABLE arena) {
647constexpr auto ConstraintRuns::InternalNewImpl_() {
648 constexpr auto arena_bits = ::google::protobuf::internal::EncodePlacementArenaOffsets({
651 InternalGetArenaOffset(
652 ::google::protobuf::Message::internal_visibility()),
655 InternalGetArenaOffset(
656 ::google::protobuf::Message::internal_visibility()),
659 InternalGetArenaOffset(
660 ::google::protobuf::Message::internal_visibility()),
662 if (arena_bits.has_value()) {
663 return ::google::protobuf::internal::MessageCreator::CopyInit(
664 sizeof(ConstraintRuns), alignof(ConstraintRuns), *arena_bits);
666 return ::google::protobuf::internal::MessageCreator(&ConstraintRuns::PlacementNew_,
667 sizeof(ConstraintRuns),
668 alignof(ConstraintRuns));
672 return ::google::protobuf::internal::ClassDataFull{
673 ::google::protobuf::internal::ClassData{
678 &ConstraintRuns::MergeImpl,
679 ::google::protobuf::Message::GetNewImpl<ConstraintRuns>(),
680#if defined(PROTOBUF_CUSTOM_VTABLE)
681 &ConstraintRuns::SharedDtor,
688 &ConstraintRuns::kDescriptorMethods,
694PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const
698PROTOBUF_ATTRIBUTE_WEAK const ::google::protobuf::internal::ClassData* PROTOBUF_NONNULL
699ConstraintRuns::GetClassData()
const {
704PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
705const ::_pbi::TcParseTable<3, 5, 1, 56, 2>
706ConstraintRuns::_table_ = {
711 offsetof(
decltype(_table_), field_lookup_table),
713 offsetof(
decltype(_table_), field_entries),
716 offsetof(
decltype(_table_), aux_entries),
719 ::_pbi::TcParser::GenericFallback,
720 #ifdef PROTOBUF_PREFETCH_PARSE_TABLE
721 ::_pbi::TcParser::GetTable<::operations_research::ConstraintRuns>(),
724 {::_pbi::TcParser::MiniParse, {}},
726 {::_pbi::TcParser::FastUS1,
730 {::_pbi::TcParser::FastV64P1,
734 {::_pbi::TcParser::FastV64P1,
738 {::_pbi::TcParser::SingularVarintNoZag1<::uint64_t, offsetof(
ConstraintRuns,
_impl_.failures_), 4>(),
742 {::_pbi::TcParser::FastMtR1,
745 {::_pbi::TcParser::MiniParse, {}},
746 {::_pbi::TcParser::MiniParse, {}},
762 {::_pbi::TcParser::GetTable<::operations_research::DemonRuns>()},
766 "operations_research.ConstraintRuns"
772 ::google::protobuf::internal::TSanWrite(&
_impl_);
773 ::uint32_t cached_has_bits = 0;
775 (void) cached_has_bits;
777 cached_has_bits =
_impl_._has_bits_[0];
778 if (BatchCheckHasBit(cached_has_bits, 0x0000000fU)) {
779 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
780 _impl_.initial_propagation_start_time_.Clear();
782 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
783 _impl_.initial_propagation_end_time_.Clear();
785 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
788 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
789 _impl_.constraint_id_.ClearNonDefaultToEmpty();
792 _impl_.failures_ = ::int64_t{0};
793 _impl_._has_bits_.Clear();
794 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
797#if defined(PROTOBUF_CUSTOM_VTABLE)
799 const ::google::protobuf::MessageLite& base, ::uint8_t* PROTOBUF_NONNULL target,
800 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream) {
804 ::uint8_t* PROTOBUF_NONNULL target,
805 ::google::protobuf::io::EpsCopyOutputStream* PROTOBUF_NONNULL stream)
const {
808 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
809 this_.CheckHasBitConsistency();
812 ::uint32_t cached_has_bits = 0;
813 (void)cached_has_bits;
815 cached_has_bits = this_.
_impl_._has_bits_[0];
817 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
818 if (!this_._internal_constraint_id().empty()) {
819 const ::std::string& _s = this_._internal_constraint_id();
820 ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
821 _s.data(),
static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE,
"operations_research.ConstraintRuns.constraint_id");
822 target = stream->WriteStringMaybeAliased(1, _s, target);
827 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
829 int byte_size = this_.
_impl_._initial_propagation_start_time_cached_byte_size_.Get();
831 target = stream->WriteInt64Packed(
832 2, this_._internal_initial_propagation_start_time(), byte_size, target);
838 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
840 int byte_size = this_.
_impl_._initial_propagation_end_time_cached_byte_size_.Get();
842 target = stream->WriteInt64Packed(
843 3, this_._internal_initial_propagation_end_time(), byte_size, target);
849 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
850 if (this_._internal_failures() != 0) {
852 ::google::protobuf::internal::WireFormatLite::WriteInt64ToArrayWithField<4>(
853 stream, this_._internal_failures(), target);
858 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
859 for (
unsigned i = 0, n =
static_cast<unsigned>(
860 this_._internal_demons_size());
862 const auto& repfield = this_._internal_demons().Get(i);
864 ::google::protobuf::internal::WireFormatLite::InternalWriteMessage(
865 5, repfield, repfield.GetCachedSize(),
870 if (ABSL_PREDICT_FALSE(this_._internal_metadata_.have_unknown_fields())) {
872 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
873 this_._internal_metadata_.
unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
879#if defined(PROTOBUF_CUSTOM_VTABLE)
887 ::size_t total_size = 0;
889 ::uint32_t cached_has_bits = 0;
891 (void)cached_has_bits;
893 ::_pbi::Prefetch5LinesFrom7Lines(&this_);
894 cached_has_bits = this_.
_impl_._has_bits_[0];
895 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
897 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
899 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
900 this_._internal_initial_propagation_start_time(), 1,
901 this_.
_impl_._initial_propagation_start_time_cached_byte_size_);
904 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
906 ::_pbi::WireFormatLite::Int64SizeWithPackedTagSize(
907 this_._internal_initial_propagation_end_time(), 1,
908 this_.
_impl_._initial_propagation_end_time_cached_byte_size_);
911 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
912 total_size += 1UL * this_._internal_demons_size();
913 for (
const auto& msg : this_._internal_demons()) {
914 total_size += ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
918 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
919 if (!this_._internal_constraint_id().empty()) {
920 total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
921 this_._internal_constraint_id());
925 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
926 if (this_._internal_failures() != 0) {
927 total_size += ::_pbi::WireFormatLite::Int64SizePlusOne(
928 this_._internal_failures());
932 return this_.MaybeComputeUnknownFieldsSize(total_size,
933 &this_.
_impl_._cached_size_);
936void ConstraintRuns::MergeImpl(::google::protobuf::MessageLite& to_msg,
937 const ::google::protobuf::MessageLite& from_msg) {
941 if constexpr (::_pbi::DebugHardenCheckHasBitConsistency()) {
942 from.CheckHasBitConsistency();
946 ABSL_DCHECK_NE(&from, _this);
947 ::uint32_t cached_has_bits = 0;
948 (void)cached_has_bits;
950 cached_has_bits = from._impl_._has_bits_[0];
951 if (BatchCheckHasBit(cached_has_bits, 0x0000001fU)) {
952 if (CheckHasBitForRepeated(cached_has_bits, 0x00000001U)) {
953 _this->_internal_mutable_initial_propagation_start_time()->MergeFrom(from._internal_initial_propagation_start_time());
955 if (CheckHasBitForRepeated(cached_has_bits, 0x00000002U)) {
956 _this->_internal_mutable_initial_propagation_end_time()->MergeFrom(from._internal_initial_propagation_end_time());
958 if (CheckHasBitForRepeated(cached_has_bits, 0x00000004U)) {
959 _this->_internal_mutable_demons()->InternalMergeFromWithArena(
960 ::google::protobuf::MessageLite::internal_visibility(), arena,
961 from._internal_demons());
963 if (CheckHasBit(cached_has_bits, 0x00000008U)) {
964 if (!from._internal_constraint_id().empty()) {
965 _this->_internal_set_constraint_id(from._internal_constraint_id());
967 if (_this->_impl_.constraint_id_.IsDefault()) {
968 _this->_internal_set_constraint_id(
"");
972 if (CheckHasBit(cached_has_bits, 0x00000010U)) {
973 if (from._internal_failures() != 0) {
974 _this->_impl_.failures_ = from._impl_.failures_;
978 _this->_impl_._has_bits_[0] |= cached_has_bits;
979 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
980 from._internal_metadata_);
985 if (&from ==
this)
return;
991void ConstraintRuns::InternalSwap(
ConstraintRuns* PROTOBUF_RESTRICT PROTOBUF_NONNULL other) {
993 auto* arena = GetArena();
994 ABSL_DCHECK_EQ(arena, other->GetArena());
995 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
996 swap(
_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
997 _impl_.initial_propagation_start_time_.InternalSwap(&other->_impl_.initial_propagation_start_time_);
998 _impl_.initial_propagation_end_time_.InternalSwap(&other->_impl_.initial_propagation_end_time_);
999 _impl_.demons_.InternalSwap(&other->_impl_.demons_);
1000 ::_pbi::ArenaStringPtr::InternalSwap(&
_impl_.constraint_id_, &other->_impl_.constraint_id_, arena);
1001 swap(
_impl_.failures_, other->_impl_.failures_);
1005 return ::google::protobuf::Message::GetMetadataImpl(GetClassData()->full());
1014PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 static ::std::false_type
1017 ::std::false_type{});
1018#include "google/protobuf/port_undef.inc"
static PROTOBUF_ATTRIBUTE_INIT_PRIORITY2 ::std::false_type _static_init2_
static const ::_pb::Message *PROTOBUF_NONNULL const file_default_instances[]
decltype(::std::declval< ConstraintRuns >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
static constexpr auto InternalGenerateClassData_()
friend class ::google::protobuf::MessageLite
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
~ConstraintRuns() PROTOBUF_FINAL
void CopyFrom(const ConstraintRuns &from)
void MergeFrom(const ConstraintRuns &from)
::size_t ByteSizeLong() const final
::google::protobuf::Metadata GetMetadata() const
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
friend void swap(ConstraintRuns &a, ConstraintRuns &b)
friend class ::google::protobuf::Arena
decltype(::std::declval< DemonRuns >()._impl_._has_bits_) HasBits
static constexpr ::int32_t kHasBitsOffset
void CopyFrom(const DemonRuns &from)
friend class ::google::protobuf::MessageLite
void MergeFrom(const DemonRuns &from)
const ::google::protobuf::UnknownFieldSet & unknown_fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND
~DemonRuns() PROTOBUF_FINAL
friend void swap(DemonRuns &a, DemonRuns &b)
static constexpr auto InternalGenerateClassData_()
ABSL_ATTRIBUTE_REINITIALIZES void Clear() PROTOBUF_FINAL
::uint8_t *PROTOBUF_NONNULL _InternalSerialize(::uint8_t *PROTOBUF_NONNULL target, ::google::protobuf::io::EpsCopyOutputStream *PROTOBUF_NONNULL stream) const final
::google::protobuf::Metadata GetMetadata() const
::size_t ByteSizeLong() const final
static constexprconst ::_pb::ServiceDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_service_descriptors_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
::absl::once_flag descriptor_table_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto_once
const ::uint32_t TableStruct_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto::offsets[] ABSL_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold)
static constexprconst ::_pb::EnumDescriptor *PROTOBUF_NONNULL *PROTOBUF_NULLABLE file_level_enum_descriptors_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
PROTOBUF_CONSTINITconst ::_pbi::DescriptorTable descriptor_table_ortools_2fconstraint_5fsolver_2fdemon_5fprofiler_2eproto
static constexpr ::_pbi::MigrationSchema *PROTOBUF_NULLABLE schemas
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 DemonRunsDefaultTypeInternal _DemonRuns_default_instance_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull DemonRuns_class_data_
PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::google::protobuf::internal::ClassDataFull ConstraintRuns_class_data_
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT OR_PROTO_DLL PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ConstraintRunsDefaultTypeInternal _ConstraintRuns_default_instance_
PROTOBUF_CONSTEXPR ConstraintRunsDefaultTypeInternal()
~ConstraintRunsDefaultTypeInternal()
PROTOBUF_CONSTEXPR DemonRunsDefaultTypeInternal()
~DemonRunsDefaultTypeInternal()