Home
last modified time | relevance | path

Searched refs:getJsonName (Results 1 – 3 of 3) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java281 assertEquals("a", requiredField.getJsonName()); in testFieldDescriptorJsonName()
282 assertEquals("optionalInt32", optionalField.getJsonName()); in testFieldDescriptorJsonName()
283 assertEquals("repeatedInt32", repeatedField.getJsonName()); in testFieldDescriptorJsonName()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java727 generator.print("\"" + field.getJsonName() + "\": "); in printField()
1112 fieldNameMap.put(field.getJsonName(), field); in getFieldNameMap()
/external/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptors.java929 public String getJsonName() { in getJsonName() method in Descriptors.FieldDescriptor
1254 jsonName = proto.getJsonName(); in FieldDescriptor()