#include <profile_common.pbzero.h>
|
void | set_iid (uint64_t value) |
|
void | set_str (const uint8_t *data, size_t size) |
|
void | set_str (::protozero::ConstBytes bytes) |
|
void | set_str (std::string value) |
|
Definition at line 337 of file profile_common.pbzero.h.
◆ Decoder
◆ FieldMetadata_Iid
◆ FieldMetadata_Str
◆ anonymous enum
◆ GetName()
static constexpr const char * perfetto::protos::pbzero::InternedString::GetName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kIid()
static constexpr FieldMetadata_Iid perfetto::protos::pbzero::InternedString::kIid |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kStr()
static constexpr FieldMetadata_Str perfetto::protos::pbzero::InternedString::kStr |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ set_iid()
void perfetto::protos::pbzero::InternedString::set_iid |
( |
uint64_t |
value | ) |
|
|
inline |
Definition at line 363 of file profile_common.pbzero.h.
363 {
364 static constexpr uint32_t field_id = FieldMetadata_Iid::kFieldId;
365
366
367 ::protozero::internal::FieldWriter<
368 ::protozero::proto_utils::ProtoSchemaType::kUint64>::Append(*this,
369 field_id,
370 value);
371 }
◆ set_str() [1/3]
void perfetto::protos::pbzero::InternedString::set_str |
( |
::protozero::ConstBytes |
bytes | ) |
|
|
inline |
Definition at line 391 of file profile_common.pbzero.h.
391 {
392 AppendBytes(FieldMetadata_Str::kFieldId, bytes.data, bytes.size);
393 }
◆ set_str() [2/3]
void perfetto::protos::pbzero::InternedString::set_str |
( |
const uint8_t * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ set_str() [3/3]
void perfetto::protos::pbzero::InternedString::set_str |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 394 of file profile_common.pbzero.h.
394 {
395 static constexpr uint32_t field_id = FieldMetadata_Str::kFieldId;
396
397
398 ::protozero::internal::FieldWriter<
399 ::protozero::proto_utils::ProtoSchemaType::kBytes>::Append(*this,
400 field_id,
401 value);
402 }
The documentation for this class was generated from the following file: