OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:NestedMessage
(Results
1 - 5
of
5
) sorted by null
/external/libchrome/base/json/
json_value_converter_unittest.cc
80
struct
NestedMessage
{
85
NestedMessage
() : foo(0) {}
88
base::JSONValueConverter<
NestedMessage
>* converter) {
89
converter->RegisterDoubleField("foo", &
NestedMessage
::foo);
90
converter->RegisterNestedField("child", &
NestedMessage
::child);
91
converter->RegisterRepeatedMessage("children", &
NestedMessage
::children);
152
NestedMessage
message;
153
base::JSONValueConverter<
NestedMessage
> converter;
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
protorpc_test_pb2.py
18
serialized_pb='\n\x13protorpc_test.proto\x12\x08protorpc\" \n\rNestedMessage\x12\x0f\n\x07\x61_value\x18\x01 \x02(\t\"m\n\x10HasNestedMessage\x12\'\n\x06nested\x18\x01 \x01(\x0b\x32\x17.protorpc.
NestedMessage
\x12\x30\n\x0frepeated_nested\x18\x02 \x03(\x0b\x32\x17.protorpc.
NestedMessage
\"(\n\nHasDefault\x12\x1a\n\x07\x61_value\x18\x01 \x01(\t:\ta default\"\x97\x02\n\x0fOptionalMessage\x12\x14\n\x0c\x64ouble_value\x18\x01 \x01(\x01\x12\x13\n\x0b\x66loat_value\x18\x02 \x01(\x02\x12\x13\n\x0bint64_value\x18\x03 \x01(\x03\x12\x14\n\x0cuint64_value\x18\x04 \x01(\x04\x12\x13\n\x0bint32_value\x18\x05 \x01(\x05\x12\x12\n\nbool_value\x18\x06 \x01(\x08\x12\x14\n\x0cstring_value\x18\x07 \x01(\t\x12\x13\n\x0b\x62ytes_value\x18\x08 \x01(\x0c\x12\x38\n\nenum_value\x18\n \x01(\x0e\x32$.protorpc.OptionalMessage.SimpleEnum\" \n\nSimpleEnum\x12\x08\n\x04VAL1\x10\x01\x12\x08\n\x04VAL2\x10\x02\"\x97\x02\n\x0fRepeatedMessage\x12\x14\n\x0c\x64ouble_value\x18\x01 \x03(\x01\x12\x13\n\x0b\x66loat_value\x18\x02 \x03(\x02\x12\x13\n\x0bint64_value\x18\x03 \x03(\x03\x12\x14\n\x0cuint64_value\x18\x04 \x03(\x04\x12\x13\n\x0bint32_value\x18\x05 \x03(\x05\x12\x12\n\nbool_value\x18\x06 \x03(\x08\x12\x14\n\x0cstring_value\x18\x07 \x03(\t\x12\x13\n\x0b\x62ytes_value\x18\x08 \x03(\x0c\x12\x38\n\nenum_value\x18\n \x03(\x0e\x32$.protorpc.RepeatedMessage.SimpleEnum\" \n\nSimpleEnum\x12\x08\n\x04VAL1\x10\x01\x12\x08\n\x04VAL2\x10\x02\"y\n\x18HasOptionalNestedMessage\x12)\n\x06nested\x18\x01 \x01(\x0b\x32\x19.protorpc.OptionalMessage\x12\x32\n\x0frepeated_nested\x18\x02 \x03(\x0b\x32\x19.protorpc.OptionalMessage')
66
name='
NestedMessage
',
67
full_name='protorpc.
NestedMessage
',
73
name='a_value', full_name='protorpc.
NestedMessage
.a_value', index=0,
368
DESCRIPTOR.message_types_by_name['
NestedMessage
'] = _NESTEDMESSAGE
375
class
NestedMessage
(six.with_metaclass(reflection.GeneratedProtocolMessageType, message.Message)):
378
# @@protoc_insertion_point(class_scope:protorpc.
NestedMessage
)
test_util.py
258
class
NestedMessage
(messages.Message):
267
nested = messages.MessageField(
NestedMessage
, 1)
268
repeated_nested = messages.MessageField(
NestedMessage
, 2, repeated=True)
402
nested: <
NestedMessage
410
<
NestedMessage
a_value: "a string">,
411
<
NestedMessage
a_value: "another string">
437
message =
NestedMessage
()
506
nested_message =
NestedMessage
()
516
nested_message1 =
NestedMessage
()
518
nested_message2 =
NestedMessage
()
[
all
...]
messages_test.py
277
class
NestedMessage
(messages.Message):
291
self.assertEquals('%s.MyMessage.
NestedMessage
.NestedEnum' % module_name,
292
MyMessage.
NestedMessage
.NestedEnum.definition_name())
294
'%s.MyMessage.
NestedMessage
' % module_name,
295
MyMessage.
NestedMessage
.NestedEnum.outer_definition_name())
297
MyMessage.
NestedMessage
.NestedEnum.definition_package())
860
nested = messages.MessageField('ForwardMessage.
NestedMessage
', 3)
873
class
NestedMessage
(messages.Message):
883
self.assertEquals(ForwardMessage.
NestedMessage
,
[
all
...]
/external/protobuf/java/src/test/java/com/google/protobuf/
GeneratedMessageTest.java
61
import protobuf_unittest.UnittestProto.TestAllTypes.
NestedMessage
;
246
builder.setOptionalNestedMessage((TestAllTypes.
NestedMessage
) null);
253
(TestAllTypes.
NestedMessage
.Builder) null);
277
builder.addRepeatedNestedMessage((TestAllTypes.
NestedMessage
) null);
284
(TestAllTypes.
NestedMessage
.Builder) null);
327
TestAllTypes.
NestedMessage
.newBuilder().setBb(218).build());
329
TestAllTypes.
NestedMessage
.newBuilder().setBb(456).build());
331
builder.setRepeatedNestedMessage(1, (TestAllTypes.
NestedMessage
) null);
338
1, (TestAllTypes.
NestedMessage
.Builder) null);
784
.setNested(MessageWithNoOuter.
NestedMessage
.newBuilder().setI(1)
[
all
...]
Completed in 2122 milliseconds