/external/python/apitools/apitools/base/py/ |
D | encoding.py | 317 field.type, json_name=value) or value 572 def AddCustomJsonEnumMapping(enum_type, python_name, json_name, argument 595 _CheckForExistingMappings('enum', enum_type, python_name, json_name) 596 field_mappings[python_name] = json_name 599 def AddCustomJsonFieldMapping(message_type, python_name, json_name, argument 626 _CheckForExistingMappings('field', message_type, python_name, json_name) 627 field_mappings[python_name] = json_name 630 def GetCustomJsonEnumMapping(enum_type, python_name=None, json_name=None): argument 633 python_name=python_name, json_name=json_name, 637 def GetCustomJsonFieldMapping(message_type, python_name=None, json_name=None): argument [all …]
|
D | util.py | 198 return [encoding.GetCustomJsonFieldMapping(request_type, json_name=p) or p
|
/external/protobuf/csharp/protos/ |
D | unittest_issues.proto | 122 // Message for testing the effects for of the json_name option 124 string description = 2 [json_name = "desc"]; 125 string guid = 3 [json_name = "exid"];
|
/external/python/google-api-python-client/googleapiclient/ |
D | channel.py | 237 for json_name, param_name in six.iteritems(CHANNEL_PARAMS): 238 value = resp.get(json_name)
|
/external/protobuf/src/google/protobuf/util/internal/ |
D | utility.cc | 165 const google::protobuf::Type* type, StringPiece json_name) { in FindJsonFieldInTypeOrNull() argument 169 if (field.json_name() == json_name) { in FindJsonFieldInTypeOrNull()
|
D | utility.h | 133 const google::protobuf::Type* type, StringPiece json_name);
|
D | type_info.cc | 139 StringPiece camel_case_name = field.json_name(); in PopulateNameLookupTable()
|
D | default_value_objectwriter.cc | 366 field.json_name(), field_type, kind, in PopulateChildren()
|
/external/protobuf/src/google/protobuf/ |
D | type.pb.cc | 1293 this->json_name().data(), this->json_name().length(), in MergePartialFromCodedStream() 1398 if (this->json_name().size() > 0) { in SerializeWithCachedSizes() 1400 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizes() 1404 10, this->json_name(), output); in SerializeWithCachedSizes() 1480 if (this->json_name().size() > 0) { in SerializeWithCachedSizesToArray() 1482 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizesToArray() 1487 10, this->json_name(), target); in SerializeWithCachedSizesToArray() 1555 if (this->json_name().size() > 0) { in ByteSize() 1558 this->json_name()); in ByteSize() 1624 if (from.json_name().size() > 0) { in MergeFrom() [all …]
|
D | type.pb.h | 489 const ::std::string& json_name() const; 495 void set_allocated_json_name(::std::string* json_name); 1268 inline const ::std::string& Field::json_name() const { in json_name() function 1298 inline void Field::set_allocated_json_name(::std::string* json_name) { in set_allocated_json_name() argument 1299 if (json_name != NULL) { in set_allocated_json_name() 1304 …name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name); in set_allocated_json_name()
|
D | descriptor_unittest.cc | 775 EXPECT_EQ("fieldName1", message4_->field(0)->json_name()); in TEST_F() 776 EXPECT_EQ("fieldName2", message4_->field(1)->json_name()); in TEST_F() 777 EXPECT_EQ("fieldName3", message4_->field(2)->json_name()); in TEST_F() 778 EXPECT_EQ("fieldName4", message4_->field(3)->json_name()); in TEST_F() 779 EXPECT_EQ("fIELDNAME5", message4_->field(4)->json_name()); in TEST_F() 780 EXPECT_EQ("@type", message4_->field(5)->json_name()); in TEST_F() 790 EXPECT_EQ("@type", proto.field(5).json_name()); in TEST_F() 795 EXPECT_EQ("fieldName1", proto.field(0).json_name()); in TEST_F() 796 EXPECT_EQ("fieldName2", proto.field(1).json_name()); in TEST_F() 797 EXPECT_EQ("fieldName3", proto.field(2).json_name()); in TEST_F() [all …]
|
D | type.proto | 136 string json_name = 10; field
|
D | descriptor.h | 514 const string& json_name() const; // JSON name of this field. 1679 PROTOBUF_DEFINE_STRING_ACCESSOR(FieldDescriptor, json_name) in PROTOBUF_DEFINE_STRING_ACCESSOR()
|
D | descriptor.pb.cc | 4513 this->json_name().data(), this->json_name().length(), in MergePartialFromCodedStream() 4619 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizes() 4623 10, this->json_name(), output); in SerializeWithCachedSizes() 4712 this->json_name().data(), this->json_name().length(), in SerializeWithCachedSizesToArray() 4717 10, this->json_name(), target); in SerializeWithCachedSizesToArray() 4793 this->json_name()); in ByteSize() 5258 const ::std::string& FieldDescriptorProto::json_name() const { in json_name() function in google::protobuf::FieldDescriptorProto 5288 void FieldDescriptorProto::set_allocated_json_name(::std::string* json_name) { in set_allocated_json_name() argument 5289 if (json_name != NULL) { in set_allocated_json_name() 5294 …name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), json_name); in set_allocated_json_name()
|
D | descriptor.proto | 194 // user has set a "json_name" option on this field, that option's value 197 optional string json_name = 10; field
|
/external/python/apitools/apitools/gen/ |
D | extended_descriptor.py | 73 json_name = messages.StringField(2) variable in ExtendedEnumDescriptor.JsonEnumMapping 123 json_name = messages.StringField(2) variable in ExtendedMessageDescriptor.JsonFieldMapping 226 mapping.json_name),
|
D | message_registry.py | 210 python_name=enum_value.name, json_name=enum_name)) 281 python_name=field.name, json_name=name))
|
/external/protobuf/src/google/protobuf/util/ |
D | type_resolver_util_test.cc | 341 EXPECT_EQ("optionalInt32", FindField(type, "optional_int32")->json_name()); in TEST_F() 346 EXPECT_EQ("@value", FindField(type, "value")->json_name()); in TEST_F()
|
D | type_resolver_util.cc | 162 field->set_json_name(descriptor->json_name()); in ConvertFieldDescriptor()
|
D | json_format_proto3.proto | 175 int32 value = 1 [json_name = "@value"];
|
/external/grpc-grpc-java/documentation/ |
D | server-reflection-tutorial.md | 146 optional string name = 1[json_name = "name"];
|
/external/protobuf/src/google/protobuf/util/internal/testdata/ |
D | books.proto | 76 optional uint64 id = 1 [json_name = "@id"];
|
/external/protobuf/java/util/src/test/proto/com/google/protobuf/util/ |
D | json_test.proto | 200 int32 value = 1 [json_name = "@value"];
|
/external/nos/host/generic/nugget/proto/google/protobuf/ |
D | descriptor.proto | 197 // user has set a "json_name" option on this field, that option's value 200 optional string json_name = 10; field
|
/external/nanopb-c/generator/proto/google/protobuf/ |
D | descriptor.proto | 208 // user has set a "json_name" option on this field, that option's value 211 optional string json_name = 10; field
|