#include <debug_annotation.pbzero.h>
|
enum | : int32_t { kNameFieldNumber = 10
, kStringValueFieldNumber = 6
, kLegacyJsonValueFieldNumber = 9
} |
|
using | Decoder = DebugAnnotation_Decoder |
|
using | FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 10, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation > |
|
using | FieldMetadata_StringValue = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation > |
|
using | FieldMetadata_LegacyJsonValue = ::protozero::proto_utils::FieldMetadata< 9, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation > |
|
Definition at line 48 of file debug_annotation.pbzero.h.
◆ Decoder
◆ FieldMetadata_LegacyJsonValue
◆ FieldMetadata_Name
◆ FieldMetadata_StringValue
◆ anonymous enum
Enumerator |
---|
kNameFieldNumber | |
kStringValueFieldNumber | |
kLegacyJsonValueFieldNumber | |
Definition at line 51 of file debug_annotation.pbzero.h.
51 : int32_t {
55 };
@ kStringValueFieldNumber
@ kLegacyJsonValueFieldNumber
◆ GetName()
static constexpr const char * perfetto::protos::pbzero::DebugAnnotation::GetName |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ kLegacyJsonValue()
◆ kName()
◆ kStringValue()
◆ set_legacy_json_value() [1/3]
void perfetto::protos::pbzero::DebugAnnotation::set_legacy_json_value |
( |
::protozero::ConstChars |
chars | ) |
|
|
inline |
Definition at line 142 of file debug_annotation.pbzero.h.
142 {
143 AppendBytes(FieldMetadata_LegacyJsonValue::kFieldId, chars.data,
144 chars.size);
145 }
◆ set_legacy_json_value() [2/3]
void perfetto::protos::pbzero::DebugAnnotation::set_legacy_json_value |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ set_legacy_json_value() [3/3]
void perfetto::protos::pbzero::DebugAnnotation::set_legacy_json_value |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 146 of file debug_annotation.pbzero.h.
146 {
147 static constexpr uint32_t field_id =
148 FieldMetadata_LegacyJsonValue::kFieldId;
149
150
151 ::protozero::internal::FieldWriter<
152 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
153 field_id,
154 value);
155 }
◆ set_name() [1/3]
void perfetto::protos::pbzero::DebugAnnotation::set_name |
( |
::protozero::ConstChars |
chars | ) |
|
|
inline |
Definition at line 78 of file debug_annotation.pbzero.h.
78 {
79 AppendBytes(FieldMetadata_Name::kFieldId, chars.data, chars.size);
80 }
◆ set_name() [2/3]
void perfetto::protos::pbzero::DebugAnnotation::set_name |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ set_name() [3/3]
void perfetto::protos::pbzero::DebugAnnotation::set_name |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 81 of file debug_annotation.pbzero.h.
81 {
82 static constexpr uint32_t field_id = FieldMetadata_Name::kFieldId;
83
84
85 ::protozero::internal::FieldWriter<
86 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
87 field_id,
88 value);
89 }
◆ set_string_value() [1/3]
void perfetto::protos::pbzero::DebugAnnotation::set_string_value |
( |
::protozero::ConstChars |
chars | ) |
|
|
inline |
Definition at line 109 of file debug_annotation.pbzero.h.
109 {
110 AppendBytes(FieldMetadata_StringValue::kFieldId, chars.data, chars.size);
111 }
◆ set_string_value() [2/3]
void perfetto::protos::pbzero::DebugAnnotation::set_string_value |
( |
const char * |
data, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ set_string_value() [3/3]
void perfetto::protos::pbzero::DebugAnnotation::set_string_value |
( |
std::string |
value | ) |
|
|
inline |
Definition at line 112 of file debug_annotation.pbzero.h.
112 {
113 static constexpr uint32_t field_id = FieldMetadata_StringValue::kFieldId;
114
115
116 ::protozero::internal::FieldWriter<
117 ::protozero::proto_utils::ProtoSchemaType::kString>::Append(*this,
118 field_id,
119 value);
120 }
The documentation for this class was generated from the following file: