31 #ifndef GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTSOURCE_H__ 32 #define GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTSOURCE_H__ 110 use_lower_camel_for_enums_ =
value;
117 max_recursion_depth_ = max_depth;
128 bool include_start_and_end,
142 const google::protobuf::Type& type,
uint32 tag)
const;
151 StringPiece name,
uint32 list_tag,
157 StringPiece name,
uint32 list_tag,
167 static util::Status RenderTimestamp(
const ProtoStreamObjectSource* os,
168 const google::protobuf::Type& type,
172 static util::Status RenderDuration(
const ProtoStreamObjectSource* os,
173 const google::protobuf::Type& type,
178 static util::Status RenderDouble(
const ProtoStreamObjectSource* os,
179 const google::protobuf::Type& type,
181 static util::Status RenderFloat(
const ProtoStreamObjectSource* os,
182 const google::protobuf::Type& type,
184 static util::Status RenderInt64(
const ProtoStreamObjectSource* os,
185 const google::protobuf::Type& type,
187 static util::Status RenderUInt64(
const ProtoStreamObjectSource* os,
188 const google::protobuf::Type& type,
190 static util::Status RenderInt32(
const ProtoStreamObjectSource* os,
191 const google::protobuf::Type& type,
193 static util::Status RenderUInt32(
const ProtoStreamObjectSource* os,
194 const google::protobuf::Type& type,
196 static util::Status RenderBool(
const ProtoStreamObjectSource* os,
197 const google::protobuf::Type& type,
199 static util::Status RenderString(
const ProtoStreamObjectSource* os,
200 const google::protobuf::Type& type,
202 static util::Status RenderBytes(
const ProtoStreamObjectSource* os,
203 const google::protobuf::Type& type,
207 static util::Status RenderStruct(
const ProtoStreamObjectSource* os,
208 const google::protobuf::Type& type,
212 static util::Status RenderStructValue(
const ProtoStreamObjectSource* os,
213 const google::protobuf::Type& type,
218 const ProtoStreamObjectSource* os,
const google::protobuf::Type& type,
222 static util::Status RenderAny(
const ProtoStreamObjectSource* os,
223 const google::protobuf::Type& type,
227 static util::Status RenderFieldMask(
const ProtoStreamObjectSource* os,
228 const google::protobuf::Type& type,
232 static void InitRendererMap();
233 static void DeleteRendererMap();
234 static TypeRenderer* FindTypeRenderer(
const string&
type_url);
243 StringPiece field_name,
250 const string ReadFieldValueAsString(
258 std::pair<int64, int32> ReadSecondsAndNanos(
259 const google::protobuf::Type& type)
const;
264 util::Status IncrementRecursionDepth(StringPiece type_name,
265 StringPiece field_name)
const;
278 const google::protobuf::Type& type_;
282 bool use_lower_camel_for_enums_;
285 mutable int recursion_depth_;
288 int max_recursion_depth_;
298 #endif // GOOGLE_PROTOBUF_UTIL_CONVERTER_PROTOSTREAM_OBJECTSOURCE_H__
void set_use_lower_camel_for_enums(bool value)
Definition: protostream_objectsource.h:109
EGLStreamKHR stream
Definition: eglext.h:340
const FieldDescriptor * field
Definition: parser_unittest.cc:2279
Definition: object_writer.h:58
Definition: xmlparse.c:181
const Descriptor * descriptor
Definition: descriptor.cc:271
void set_max_recursion_depth(int max_depth)
Definition: protostream_objectsource.h:116
Definition: type_info.h:47
Definition: type_resolver.h:54
const FieldDescriptor const OneofDescriptor value
Definition: descriptor.h:1717
Definition: object_source.h:51
Definition: stringpiece.h:178
#define GOOGLE_DISALLOW_IMPLICIT_CONSTRUCTORS(TypeName)
Definition: macros.h:45
EGLAttrib * value
Definition: eglext.h:120
uint32_t uint32
Definition: port.h:135
EGLImageKHR EGLint * name
Definition: eglext.h:851
Definition: __init__.py:1
Definition: type.pb.h:276
bool IsMap(const google::protobuf::Field &field, const google::protobuf::Type &type)
Definition: utility.cc:312
Definition: type.pb.h:133
EGLenum type
Definition: eglext.h:63
Definition: statusor.h:97
#define LIBPROTOBUF_EXPORT
Definition: port.h:97
Definition: gflags_completions.h:115
Type
Type of JSON value.
Definition: rapidjson.h:616
Definition: protostream_objectsource.h:75