DUNE-DAQ
DUNE Trigger and Data Acquisition software
Loading...
Searching...
No Matches
wib::Command Class Referencefinal

#include <wib.pb.h>

Inheritance diagram for wib::Command:
[legend]
Collaboration diagram for wib::Command:
[legend]

Classes

class  _Internal
 
struct  Impl_
 

Public Types

enum  : int { kCmdFieldNumber = 1 }
 

Public Member Functions

 Command ()
 
 ~Command () override
 
template<typename = void>
PROTOBUF_CONSTEXPR Command (::google::protobuf::internal::ConstantInitialized)
 
 Command (const Command &from)
 
 Command (Command &&from) noexcept
 
Commandoperator= (const Command &from)
 
Commandoperator= (Command &&from) noexcept
 
const ::google::protobuf::UnknownFieldSet & unknown_fields () const
 
inline ::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (Command *other)
 
void UnsafeArenaSwap (Command *other)
 
CommandNew (::google::protobuf::Arena *arena=nullptr) const final
 
void CopyFrom (const Command &from)
 
void MergeFrom (const Command &from)
 
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear () final
 
bool IsInitialized () const final
 
::size_t ByteSizeLong () const final
 
const char * _InternalParse (const char *ptr, ::google::protobuf::internal::ParseContext *ctx) final
 
::uint8_t * _InternalSerialize (::uint8_t *target, ::google::protobuf::io::EpsCopyOutputStream *stream) const final
 
int GetCachedSize () const final
 
const ::google::protobuf::Message::ClassData * GetClassData () const final
 
::google::protobuf::Metadata GetMetadata () const final
 
bool has_cmd () const
 
void clear_cmd ()
 
const ::google::protobuf::Any & cmd () const
 
PROTOBUF_NODISCARD::google::protobuf::Any * release_cmd ()
 
::google::protobuf::Any * mutable_cmd ()
 
void set_allocated_cmd (::google::protobuf::Any *value)
 
void unsafe_arena_set_allocated_cmd (::google::protobuf::Any *value)
 
::google::protobuf::Any * unsafe_arena_release_cmd ()
 
template<typename >
PROTOBUF_CONSTEXPR Command (::_pbi::ConstantInitialized)
 

Static Public Member Functions

static const ::google::protobuf::Descriptor * descriptor ()
 
static const ::google::protobuf::Descriptor * GetDescriptor ()
 
static const ::google::protobuf::Reflection * GetReflection ()
 
static const Commanddefault_instance ()
 
static const Commandinternal_default_instance ()
 

Static Public Attributes

static constexpr int kIndexInFileMessages
 
static const ClassData _class_data_
 

Protected Member Functions

 Command (::google::protobuf::Arena *arena)
 

Private Types

typedef void InternalArenaConstructable_
 
typedef void DestructorSkippable_
 

Private Member Functions

void SharedCtor (::google::protobuf::Arena *arena)
 
void SharedDtor ()
 
void SetCachedSize (int size) const final
 
void InternalSwap (Command *other)
 
const ::google::protobuf::Any & _internal_cmd () const
 
::google::protobuf::Any * _internal_mutable_cmd ()
 

Static Private Member Functions

static void MergeImpl (::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
 
::absl::string_view FullMessageName ()
 

Private Attributes

union { 
 
   Impl_   _impl_ 
 
};  
 

Static Private Attributes

static const ::google::protobuf::internal::TcParseTable< 0, 1, 1, 0, 2 > _table_
 

Friends

class ::google::protobuf::internal::AnyMetadata
 
class ::google::protobuf::internal::TcParser
 
template<typename T >
class ::google::protobuf::Arena::InternalHelper
 
struct ::TableStruct_wib_2eproto
 
void swap (Command &a, Command &b)
 

Detailed Description

Definition at line 183 of file wib.pb.h.

Member Typedef Documentation

◆ DestructorSkippable_

Definition at line 336 of file wib.pb.h.

◆ InternalArenaConstructable_

Definition at line 335 of file wib.pb.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int
Enumerator
kCmdFieldNumber 

Definition at line 310 of file wib.pb.h.

310 : int {
311 kCmdFieldNumber = 1,
312 };
@ kCmdFieldNumber
Definition wib.pb.h:311

Constructor & Destructor Documentation

◆ Command() [1/6]

wib::Command::Command ( )
inline

Definition at line 186 of file wib.pb.h.

186: Command(nullptr) {}

◆ ~Command()

wib::Command::~Command ( )
override

Definition at line 1402 of file wib.pb.cc.

1402 {
1403 // @@protoc_insertion_point(destructor:wib.Command)
1404 _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
1405 SharedDtor();
1406}
void SharedDtor()
Definition wib.pb.cc:1407

◆ Command() [2/6]

template<typename = void>
PROTOBUF_CONSTEXPR wib::Command::Command ( ::google::protobuf::internal::ConstantInitialized )
explicit

◆ Command() [3/6]

wib::Command::Command ( const Command & from)

Definition at line 1378 of file wib.pb.cc.

1378 : ::google::protobuf::Message() {
1379 Command* const _this = this;
1380 (void)_this;
1381 new (&_impl_) Impl_{
1382 decltype(_impl_._has_bits_){from._impl_._has_bits_},
1383 /*decltype(_impl_._cached_size_)*/ {},
1384 decltype(_impl_.cmd_){nullptr},
1385 };
1386 _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
1387 from._internal_metadata_);
1388 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
1389 _this->_impl_.cmd_ = new ::google::protobuf::Any(*from._impl_.cmd_);
1390 }
1391
1392 // @@protoc_insertion_point(copy_constructor:wib.Command)
1393}
Impl_ _impl_
Definition wib.pb.h:343
::google::protobuf::internal::HasBits< 1 > _has_bits_
Definition wib.pb.h:338
::google::protobuf::Any * cmd_
Definition wib.pb.h:340

◆ Command() [4/6]

wib::Command::Command ( Command && from)
inlinenoexcept

Definition at line 192 of file wib.pb.h.

193 : Command() {
194 *this = ::std::move(from);
195 }

◆ Command() [5/6]

wib::Command::Command ( ::google::protobuf::Arena * arena)
explicitprotected

Definition at line 1373 of file wib.pb.cc.

1374 : ::google::protobuf::Message(arena) {
1375 SharedCtor(arena);
1376 // @@protoc_insertion_point(arena_constructor:wib.Command)
1377}
void SharedCtor(::google::protobuf::Arena *arena)
Definition wib.pb.cc:1394

◆ Command() [6/6]

template<typename >
PROTOBUF_CONSTEXPR wib::Command::Command ( ::_pbi::ConstantInitialized )

Definition at line 25 of file wib.pb.cc.

26 : _impl_{
27 /*decltype(_impl_._has_bits_)*/ {},
28 /*decltype(_impl_._cached_size_)*/ {},
29 /*decltype(_impl_.cmd_)*/ nullptr,
30 } {}

Member Function Documentation

◆ _internal_cmd()

const::google::protobuf::Any & wib::Command::_internal_cmd ( ) const
inlineprivate

Definition at line 7136 of file wib.pb.h.

7136 {
7137 PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
7138 const ::google::protobuf::Any* p = _impl_.cmd_;
7139 return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Any&>(::google::protobuf::_Any_default_instance_);
7140}

◆ _internal_mutable_cmd()

google::protobuf::Any * wib::Command::_internal_mutable_cmd ( )
inlineprivate

Definition at line 7186 of file wib.pb.h.

7186 {
7187 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
7188 _impl_._has_bits_[0] |= 0x00000001u;
7189 if (_impl_.cmd_ == nullptr) {
7190 auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaForAllocation());
7191 _impl_.cmd_ = reinterpret_cast<::google::protobuf::Any*>(p);
7192 }
7193 return _impl_.cmd_;
7194}

◆ _InternalParse()

const char * wib::Command::_InternalParse ( const char * ptr,
::google::protobuf::internal::ParseContext * ctx )
final

Definition at line 1430 of file wib.pb.cc.

1431 {
1432 ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
1433 return ptr;
1434}
static const ::google::protobuf::internal::TcParseTable< 0, 1, 1, 0, 2 > _table_
Definition wib.pb.h:333

◆ _InternalSerialize()

uint8_t * wib::Command::_InternalSerialize ( ::uint8_t * target,
::google::protobuf::io::EpsCopyOutputStream * stream ) const
final

Definition at line 1467 of file wib.pb.cc.

1469 {
1470 // @@protoc_insertion_point(serialize_to_array_start:wib.Command)
1471 ::uint32_t cached_has_bits = 0;
1472 (void)cached_has_bits;
1473
1474 cached_has_bits = _impl_._has_bits_[0];
1475 // .google.protobuf.Any cmd = 1;
1476 if (cached_has_bits & 0x00000001u) {
1477 target = ::google::protobuf::internal::WireFormatLite::
1478 InternalWriteMessage(1, _Internal::cmd(this),
1479 _Internal::cmd(this).GetCachedSize(), target, stream);
1480 }
1481
1482 if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
1483 target =
1484 ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
1485 _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
1486 }
1487 // @@protoc_insertion_point(serialize_to_array_end:wib.Command)
1488 return target;
1489}
static const ::google::protobuf::Any & cmd(const Command *msg)
Definition wib.pb.cc:1366
int GetCachedSize() const final
Definition wib.pb.h:284

◆ ByteSizeLong()

size_t wib::Command::ByteSizeLong ( ) const
final

Definition at line 1491 of file wib.pb.cc.

1491 {
1492// @@protoc_insertion_point(message_byte_size_start:wib.Command)
1493 ::size_t total_size = 0;
1494
1495 ::uint32_t cached_has_bits = 0;
1496 // Prevent compiler warnings about cached_has_bits being unused
1497 (void) cached_has_bits;
1498
1499 // .google.protobuf.Any cmd = 1;
1500 cached_has_bits = _impl_._has_bits_[0];
1501 if (cached_has_bits & 0x00000001u) {
1502 total_size += 1 +
1503 ::google::protobuf::internal::WireFormatLite::MessageSize(
1504 *_impl_.cmd_);
1505 }
1506
1507 return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
1508}
mutable::google::protobuf::internal::CachedSize _cached_size_
Definition wib.pb.h:339

◆ Clear()

PROTOBUF_NOINLINE void wib::Command::Clear ( )
final

Definition at line 1415 of file wib.pb.cc.

1415 {
1416// @@protoc_insertion_point(message_clear_start:wib.Command)
1417 ::uint32_t cached_has_bits = 0;
1418 // Prevent compiler warnings about cached_has_bits being unused
1419 (void) cached_has_bits;
1420
1421 cached_has_bits = _impl_._has_bits_[0];
1422 if (cached_has_bits & 0x00000001u) {
1423 ABSL_DCHECK(_impl_.cmd_ != nullptr);
1424 _impl_.cmd_->Clear();
1425 }
1426 _impl_._has_bits_.Clear();
1427 _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
1428}

◆ clear_cmd()

void wib::Command::clear_cmd ( )

Definition at line 1369 of file wib.pb.cc.

1369 {
1370 if (_impl_.cmd_ != nullptr) _impl_.cmd_->Clear();
1371 _impl_._has_bits_[0] &= ~0x00000001u;
1372}

◆ cmd()

const::google::protobuf::Any & wib::Command::cmd ( ) const
inline

Definition at line 7141 of file wib.pb.h.

7141 {
7142 // @@protoc_insertion_point(field_get:wib.Command.cmd)
7143 return _internal_cmd();
7144}
const ::google::protobuf::Any & _internal_cmd() const
Definition wib.pb.h:7136

◆ CopyFrom()

void wib::Command::CopyFrom ( const Command & from)

Definition at line 1532 of file wib.pb.cc.

1532 {
1533// @@protoc_insertion_point(class_specific_copy_from_start:wib.Command)
1534 if (&from == this) return;
1535 Clear();
1536 MergeFrom(from);
1537}
void MergeFrom(const Command &from)
Definition wib.pb.h:271
PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final
Definition wib.pb.cc:1415

◆ default_instance()

static const Command & wib::Command::default_instance ( )
inlinestatic

Definition at line 231 of file wib.pb.h.

231 {
233 }
static const Command * internal_default_instance()
Definition wib.pb.h:234

◆ descriptor()

static const ::google::protobuf::Descriptor * wib::Command::descriptor ( )
inlinestatic

Definition at line 222 of file wib.pb.h.

222 {
223 return GetDescriptor();
224 }
static const ::google::protobuf::Descriptor * GetDescriptor()
Definition wib.pb.h:225

◆ FullMessageName()

::absl::string_view wib::Command::FullMessageName ( )
inlinestaticprivate

Definition at line 294 of file wib.pb.h.

294 {
295 return "wib.Command";
296 }

◆ GetCachedSize()

int wib::Command::GetCachedSize ( ) const
inlinefinal

Definition at line 284 of file wib.pb.h.

284{ return _impl_._cached_size_.Get(); }

◆ GetClassData()

const::google::protobuf::Message::ClassData * wib::Command::GetClassData ( ) const
final

Definition at line 1514 of file wib.pb.cc.

1514{ return &_class_data_; }
static const ClassData _class_data_
Definition wib.pb.h:301

◆ GetDescriptor()

static const ::google::protobuf::Descriptor * wib::Command::GetDescriptor ( )
inlinestatic

Definition at line 225 of file wib.pb.h.

225 {
226 return default_instance().GetMetadata().descriptor;
227 }
static const Command & default_instance()
Definition wib.pb.h:231
::google::protobuf::Metadata GetMetadata() const final
Definition wib.pb.cc:1550

◆ GetMetadata()

google::protobuf::Metadata wib::Command::GetMetadata ( ) const
final

Definition at line 1550 of file wib.pb.cc.

1550 {
1551 return ::_pbi::AssignDescriptors(
1554}
PROTOBUF_ATTRIBUTE_WEAKconst ::_pbi::DescriptorTable * descriptor_table_wib_2eproto_getter()
Definition wib.pb.cc:1346
::absl::once_flag descriptor_table_wib_2eproto_once
Definition wib.pb.cc:1316
::_pb::Metadata file_level_metadata_wib_2eproto[37]
Definition wib.pb.cc:710

◆ GetReflection()

static const ::google::protobuf::Reflection * wib::Command::GetReflection ( )
inlinestatic

Definition at line 228 of file wib.pb.h.

228 {
229 return default_instance().GetMetadata().reflection;
230 }

◆ has_cmd()

bool wib::Command::has_cmd ( ) const
inline

Definition at line 7131 of file wib.pb.h.

7131 {
7132 bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
7133 PROTOBUF_ASSUME(!value || _impl_.cmd_ != nullptr);
7134 return value;
7135}

◆ internal_default_instance()

static const Command * wib::Command::internal_default_instance ( )
inlinestatic

Definition at line 234 of file wib.pb.h.

234 {
235 return reinterpret_cast<const Command*>(
237 }
PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 CommandDefaultTypeInternal _Command_default_instance_
Definition wib.pb.cc:40

◆ InternalSwap()

void wib::Command::InternalSwap ( Command * other)
private

Definition at line 1543 of file wib.pb.cc.

1543 {
1544 using std::swap;
1545 _internal_metadata_.InternalSwap(&other->_internal_metadata_);
1546 swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
1547 swap(_impl_.cmd_, other->_impl_.cmd_);
1548}
friend void swap(Command &a, Command &b)
Definition wib.pb.h:241

◆ IsInitialized()

PROTOBUF_NOINLINE bool wib::Command::IsInitialized ( ) const
final

Definition at line 1539 of file wib.pb.cc.

1539 {
1540 return true;
1541}

◆ MergeFrom()

void wib::Command::MergeFrom ( const Command & from)
inline

Definition at line 271 of file wib.pb.h.

271 {
272 Command::MergeImpl(*this, from);
273 }
static void MergeImpl(::google::protobuf::Message &to_msg, const ::google::protobuf::Message &from_msg)
Definition wib.pb.cc:1517

◆ MergeImpl()

void wib::Command::MergeImpl ( ::google::protobuf::Message & to_msg,
const ::google::protobuf::Message & from_msg )
staticprivate

Definition at line 1517 of file wib.pb.cc.

1517 {
1518 auto* const _this = static_cast<Command*>(&to_msg);
1519 auto& from = static_cast<const Command&>(from_msg);
1520 // @@protoc_insertion_point(class_specific_merge_from_start:wib.Command)
1521 ABSL_DCHECK_NE(&from, _this);
1522 ::uint32_t cached_has_bits = 0;
1523 (void) cached_has_bits;
1524
1525 if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
1526 _this->_internal_mutable_cmd()->::google::protobuf::Any::MergeFrom(
1527 from._internal_cmd());
1528 }
1529 _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
1530}

◆ mutable_cmd()

google::protobuf::Any * wib::Command::mutable_cmd ( )
inline

Definition at line 7195 of file wib.pb.h.

7195 {
7196 ::google::protobuf::Any* _msg = _internal_mutable_cmd();
7197 // @@protoc_insertion_point(field_mutable:wib.Command.cmd)
7198 return _msg;
7199}
::google::protobuf::Any * _internal_mutable_cmd()
Definition wib.pb.h:7186

◆ mutable_unknown_fields()

inline ::google::protobuf::UnknownFieldSet * wib::Command::mutable_unknown_fields ( )
inline

Definition at line 218 of file wib.pb.h.

218 {
219 return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
220 }

◆ New()

Command * wib::Command::New ( ::google::protobuf::Arena * arena = nullptr) const
inlinefinal

Definition at line 265 of file wib.pb.h.

265 {
266 return CreateMaybeMessage<Command>(arena);
267 }

◆ operator=() [1/2]

Command & wib::Command::operator= ( Command && from)
inlinenoexcept

Definition at line 201 of file wib.pb.h.

201 {
202 if (this == &from) return *this;
203 if (GetOwningArena() == from.GetOwningArena()
204 #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
205 && GetOwningArena() != nullptr
206 #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
207 ) {
208 InternalSwap(&from);
209 } else {
210 CopyFrom(from);
211 }
212 return *this;
213 }
void CopyFrom(const Command &from)
Definition wib.pb.cc:1532
void InternalSwap(Command *other)
Definition wib.pb.cc:1543

◆ operator=() [2/2]

Command & wib::Command::operator= ( const Command & from)
inline

Definition at line 197 of file wib.pb.h.

197 {
198 CopyFrom(from);
199 return *this;
200 }

◆ release_cmd()

google::protobuf::Any * wib::Command::release_cmd ( )
inline

Definition at line 7158 of file wib.pb.h.

7158 {
7159 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
7160
7161 _impl_._has_bits_[0] &= ~0x00000001u;
7162 ::google::protobuf::Any* released = _impl_.cmd_;
7163 _impl_.cmd_ = nullptr;
7164#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
7165 auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
7166 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
7167 if (GetArenaForAllocation() == nullptr) {
7168 delete old;
7169 }
7170#else // PROTOBUF_FORCE_COPY_IN_RELEASE
7171 if (GetArenaForAllocation() != nullptr) {
7172 released = ::google::protobuf::internal::DuplicateIfNonNull(released);
7173 }
7174#endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
7175 return released;
7176}

◆ set_allocated_cmd()

void wib::Command::set_allocated_cmd ( ::google::protobuf::Any * value)
inline

Definition at line 7200 of file wib.pb.h.

7200 {
7201 ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
7202 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
7203 if (message_arena == nullptr) {
7204 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cmd_);
7205 }
7206
7207 if (value != nullptr) {
7208 ::google::protobuf::Arena* submessage_arena =
7209 ::google::protobuf::Arena::InternalGetOwningArena(reinterpret_cast<::google::protobuf::MessageLite*>(value));
7210 if (message_arena != submessage_arena) {
7211 value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
7212 }
7213 _impl_._has_bits_[0] |= 0x00000001u;
7214 } else {
7215 _impl_._has_bits_[0] &= ~0x00000001u;
7216 }
7217
7218 _impl_.cmd_ = reinterpret_cast<::google::protobuf::Any*>(value);
7219 // @@protoc_insertion_point(field_set_allocated:wib.Command.cmd)
7220}

◆ SetCachedSize()

void wib::Command::SetCachedSize ( int size) const
finalprivate

Definition at line 1411 of file wib.pb.cc.

1411 {
1412 _impl_._cached_size_.Set(size);
1413}

◆ SharedCtor()

void wib::Command::SharedCtor ( ::google::protobuf::Arena * arena)
inlineprivate

Definition at line 1394 of file wib.pb.cc.

1394 {
1395 (void)arena;
1396 new (&_impl_) Impl_{
1397 decltype(_impl_._has_bits_){},
1398 /*decltype(_impl_._cached_size_)*/ {},
1399 decltype(_impl_.cmd_){nullptr},
1400 };
1401}

◆ SharedDtor()

void wib::Command::SharedDtor ( )
inlineprivate

Definition at line 1407 of file wib.pb.cc.

1407 {
1408 ABSL_DCHECK(GetArenaForAllocation() == nullptr);
1409 if (this != internal_default_instance()) delete _impl_.cmd_;
1410}

◆ Swap()

void wib::Command::Swap ( Command * other)
inline

Definition at line 244 of file wib.pb.h.

244 {
245 if (other == this) return;
246 #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
247 if (GetOwningArena() != nullptr &&
248 GetOwningArena() == other->GetOwningArena()) {
249 #else // PROTOBUF_FORCE_COPY_IN_SWAP
250 if (GetOwningArena() == other->GetOwningArena()) {
251 #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
252 InternalSwap(other);
253 } else {
254 ::google::protobuf::internal::GenericSwap(this, other);
255 }
256 }

◆ unknown_fields()

const ::google::protobuf::UnknownFieldSet & wib::Command::unknown_fields ( ) const
inline

Definition at line 215 of file wib.pb.h.

215 {
216 return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
217 }

◆ unsafe_arena_release_cmd()

google::protobuf::Any * wib::Command::unsafe_arena_release_cmd ( )
inline

Definition at line 7177 of file wib.pb.h.

7177 {
7178 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
7179 // @@protoc_insertion_point(field_release:wib.Command.cmd)
7180
7181 _impl_._has_bits_[0] &= ~0x00000001u;
7182 ::google::protobuf::Any* temp = _impl_.cmd_;
7183 _impl_.cmd_ = nullptr;
7184 return temp;
7185}

◆ unsafe_arena_set_allocated_cmd()

void wib::Command::unsafe_arena_set_allocated_cmd ( ::google::protobuf::Any * value)
inline

Definition at line 7145 of file wib.pb.h.

7145 {
7146 PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
7147 if (GetArenaForAllocation() == nullptr) {
7148 delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.cmd_);
7149 }
7150 _impl_.cmd_ = reinterpret_cast<::google::protobuf::Any*>(value);
7151 if (value != nullptr) {
7152 _impl_._has_bits_[0] |= 0x00000001u;
7153 } else {
7154 _impl_._has_bits_[0] &= ~0x00000001u;
7155 }
7156 // @@protoc_insertion_point(field_unsafe_arena_set_allocated:wib.Command.cmd)
7157}

◆ UnsafeArenaSwap()

void wib::Command::UnsafeArenaSwap ( Command * other)
inline

Definition at line 257 of file wib.pb.h.

257 {
258 if (other == this) return;
259 ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
260 InternalSwap(other);
261 }

Friends And Related Symbol Documentation

◆ ::google::protobuf::Arena::InternalHelper

template<typename T >
friend class ::google::protobuf::Arena::InternalHelper
friend

Definition at line 334 of file wib.pb.h.

◆ ::google::protobuf::internal::AnyMetadata

friend class ::google::protobuf::internal::AnyMetadata
friend

Definition at line 293 of file wib.pb.h.

◆ ::google::protobuf::internal::TcParser

friend class ::google::protobuf::internal::TcParser
friend

Definition at line 332 of file wib.pb.h.

◆ ::TableStruct_wib_2eproto

friend struct ::TableStruct_wib_2eproto
friend

Definition at line 344 of file wib.pb.h.

◆ swap

void swap ( Command & a,
Command & b )
friend

Definition at line 241 of file wib.pb.h.

241 {
242 a.Swap(&b);
243 }

Member Data Documentation

◆ [union]

union { ... } wib::Command

◆ _class_data_

const::google::protobuf::Message::ClassData wib::Command::_class_data_
static
Initial value:
= {
::google::protobuf::Message::CopyWithSourceCheck,
}

Definition at line 301 of file wib.pb.h.

◆ _impl_

Impl_ wib::Command::_impl_

Definition at line 343 of file wib.pb.h.

◆ _table_

PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 const::_pbi::TcParseTable< 0, 1, 1, 0, 2 > wib::Command::_table_
staticprivate
Initial value:
= {
{
PROTOBUF_FIELD_OFFSET(Command, _impl_._has_bits_),
0,
1, 0,
offsetof(decltype(_table_), field_lookup_table),
4294967294,
offsetof(decltype(_table_), field_entries),
1,
1,
offsetof(decltype(_table_), aux_entries),
::_pbi::TcParser::GenericFallback,
}, {{
{::_pbi::TcParser::FastMtS1,
{10, 0, 0, PROTOBUF_FIELD_OFFSET(Command, _impl_.cmd_)}},
}}, {{
65535, 65535
}}, {{
{PROTOBUF_FIELD_OFFSET(Command, _impl_.cmd_), _Internal::kHasBitsOffset + 0, 0,
(0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
}}, {{
{::_pbi::TcParser::GetTable<::google::protobuf::Any>()},
}}, {{
}},
}
static constexpr ::int32_t kHasBitsOffset
Definition wib.pb.cc:1358

Definition at line 333 of file wib.pb.h.

◆ kIndexInFileMessages

int wib::Command::kIndexInFileMessages
staticconstexpr
Initial value:
=
0

Definition at line 238 of file wib.pb.h.


The documentation for this class was generated from the following files: