Home
last modified time | relevance | path

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

/third_party/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()
/third_party/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()
/third_party/flatbuffers/ts/
Dbuilder.ts458 requiredField(table: Offset, field: number): void { method in Builder
/third_party/flatbuffers/tests/my-game/example/
Dmonster.js838 builder.requiredField(offset, 10); // name
Dmonster.ts1080 builder.requiredField(offset, 10) // name