Home
last modified time | relevance | path

Searched refs:requiredField (Results 1 – 5 of 5) sorted by relevance

/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java243 FieldDescriptor requiredField = TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorLabel() local
247 assertTrue(requiredField.isRequired()); in testFieldDescriptorLabel()
248 assertFalse(requiredField.isRepeated()); in testFieldDescriptorLabel()
256 FieldDescriptor requiredField = TestRequired.getDescriptor().findFieldByName("a"); in testFieldDescriptorJsonName() local
259 assertEquals("a", requiredField.getJsonName()); in testFieldDescriptorJsonName()
/external/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java261 FieldDescriptor requiredField = in testFieldDescriptorLabel() local
268 assertTrue(requiredField.isRequired()); in testFieldDescriptorLabel()
269 assertFalse(requiredField.isRepeated()); in testFieldDescriptorLabel()
/external/flatbuffers/js/
Dflatbuffers.js727 flatbuffers.Builder.prototype.requiredField = function(table, field) { method in flatbuffers.Builder
/external/flatbuffers/tests/
Dmonster_test_generated.ts2528 builder.requiredField(offset, 10); // name
Dmonster_test_generated.js2676 builder.requiredField(offset, 10); // name