Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | List of all members
perfetto::protos::pbzero::DebugAnnotation Class Reference

#include <debug_annotation.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::DebugAnnotation:

Public Types

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 >
 

Public Member Functions

void set_name (const char *data, size_t size)
 
void set_name (::protozero::ConstChars chars)
 
void set_name (std::string value)
 
void set_string_value (const char *data, size_t size)
 
void set_string_value (::protozero::ConstChars chars)
 
void set_string_value (std::string value)
 
void set_legacy_json_value (const char *data, size_t size)
 
void set_legacy_json_value (::protozero::ConstChars chars)
 
void set_legacy_json_value (std::string value)
 

Static Public Member Functions

static constexpr const char * GetName ()
 
static constexpr FieldMetadata_Name kName ()
 
static constexpr FieldMetadata_StringValue kStringValue ()
 
static constexpr FieldMetadata_LegacyJsonValue kLegacyJsonValue ()
 

Detailed Description

Definition at line 48 of file debug_annotation.pbzero.h.

Member Typedef Documentation

◆ Decoder

Definition at line 50 of file debug_annotation.pbzero.h.

◆ FieldMetadata_LegacyJsonValue

using perfetto::protos::pbzero::DebugAnnotation::FieldMetadata_LegacyJsonValue = ::protozero::proto_utils::FieldMetadata< 9, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation>

Definition at line 122 of file debug_annotation.pbzero.h.

◆ FieldMetadata_Name

using perfetto::protos::pbzero::DebugAnnotation::FieldMetadata_Name = ::protozero::proto_utils::FieldMetadata< 10, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation>

Definition at line 60 of file debug_annotation.pbzero.h.

◆ FieldMetadata_StringValue

using perfetto::protos::pbzero::DebugAnnotation::FieldMetadata_StringValue = ::protozero::proto_utils::FieldMetadata< 6, ::protozero::proto_utils::RepetitionType::kNotRepeated, ::protozero::proto_utils::ProtoSchemaType::kString, std::string, DebugAnnotation>

Definition at line 91 of file debug_annotation.pbzero.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : int32_t
Enumerator
kNameFieldNumber 
kStringValueFieldNumber 
kLegacyJsonValueFieldNumber 

Definition at line 51 of file debug_annotation.pbzero.h.

Member Function Documentation

◆ GetName()

static constexpr const char * perfetto::protos::pbzero::DebugAnnotation::GetName ( )
inlinestaticconstexpr

Definition at line 56 of file debug_annotation.pbzero.h.

56 {
57 return ".perfetto.protos.DebugAnnotation";
58 }

◆ kLegacyJsonValue()

static constexpr FieldMetadata_LegacyJsonValue perfetto::protos::pbzero::DebugAnnotation::kLegacyJsonValue ( )
inlinestaticconstexpr

Definition at line 136 of file debug_annotation.pbzero.h.

136 {
137 return {};
138 }

◆ kName()

static constexpr FieldMetadata_Name perfetto::protos::pbzero::DebugAnnotation::kName ( )
inlinestaticconstexpr

Definition at line 74 of file debug_annotation.pbzero.h.

74{ return {}; }

◆ kStringValue()

static constexpr FieldMetadata_StringValue perfetto::protos::pbzero::DebugAnnotation::kStringValue ( )
inlinestaticconstexpr

Definition at line 105 of file debug_annotation.pbzero.h.

105{ return {}; }

◆ 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

Definition at line 139 of file debug_annotation.pbzero.h.

139 {
140 AppendBytes(FieldMetadata_LegacyJsonValue::kFieldId, data, size);
141 }

◆ 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 // Call the appropriate protozero::Message::Append(field_id, ...)
150 // method based on the type of the field.
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

Definition at line 75 of file debug_annotation.pbzero.h.

75 {
76 AppendBytes(FieldMetadata_Name::kFieldId, data, size);
77 }

◆ 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 // Call the appropriate protozero::Message::Append(field_id, ...)
84 // method based on the type of the field.
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

Definition at line 106 of file debug_annotation.pbzero.h.

106 {
107 AppendBytes(FieldMetadata_StringValue::kFieldId, data, size);
108 }

◆ 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 // Call the appropriate protozero::Message::Append(field_id, ...)
115 // method based on the type of the field.
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: