Home
last modified time | relevance | path

Searched refs:structBuilder (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java751 Struct.Builder structBuilder = builder.getStructValueBuilder(); in testStruct() local
752 structBuilder.putFields("null_value", Value.newBuilder().setNullValueValue(0).build()); in testStruct()
753 structBuilder.putFields("number_value", Value.newBuilder().setNumberValue(1.25).build()); in testStruct()
754 structBuilder.putFields("string_value", Value.newBuilder().setStringValue("hello").build()); in testStruct()
757 structBuilder.putFields( in testStruct()
762 structBuilder.putFields( in testStruct()
943 Struct.Builder structBuilder = Struct.newBuilder(); in testAnyFields() local
944 structBuilder.putFields("number", Value.newBuilder().setNumberValue(1.125).build()); in testAnyFields()
945 anyMessage = Any.pack(structBuilder.build()); in testAnyFields()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/
DJsonFormat.java1306 Message.Builder structBuilder = builder.newBuilderForField(field); in mergeValue() local
1307 merge(json, structBuilder); in mergeValue()
1308 builder.setField(field, structBuilder.build()); in mergeValue()