Home
last modified time | relevance | path

Searched refs:getJavaType (Results 1 – 20 of 20) sorted by relevance

/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DDescriptorMessageInfoFactory.java181 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in dfs()
230 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in analyze()
281 if (fd.getJavaType() == Descriptors.FieldDescriptor.JavaType.ENUM) { in convertProto2()
305 if (valueField.getJavaType() == Descriptors.FieldDescriptor.JavaType.ENUM) { in convertProto2()
333 } else if (fd.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in convertProto2()
379 || (fd.getJavaType() == FieldDescriptor.JavaType.MESSAGE in convertProto2()
419 if (fd.isRepeated() && fd.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in convertProto3()
460 switch (type.getJavaType()) { in getOneofStoredType()
DGeneratedMessage.java156 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) { in getAllFieldsMutable()
175 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
631 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
889 } else if (descriptor.getJavaType() ==
1102 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1268 } else if (descriptor.getJavaType() ==
1488 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1855 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1856 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
1878 switch (descriptor.getJavaType()) {
[all …]
DExtensionRegistry.java233 if (extension.getDescriptor().getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in newExtensionInfo()
248 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in add()
260 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in add()
DDynamicMessage.java199 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
339 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
466 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
513 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
544 && field.getJavaType() != FieldDescriptor.JavaType.MESSAGE
DDescriptors.java1016 public JavaType getJavaType() { in getJavaType() method in Descriptors.FieldDescriptor
1017 return type.getJavaType(); in getJavaType()
1023 return getLiteType().getJavaType(); in getLiteJavaType()
1117 if (getJavaType() == JavaType.MESSAGE) { in getDefaultValue()
1212 if (getJavaType() != JavaType.MESSAGE) { in getMessageType()
1222 if (getJavaType() != JavaType.ENUM) { in getEnumType()
1299 public JavaType getJavaType() { in getJavaType() method in Descriptors.FieldDescriptor.Type
1472 if (getJavaType() == JavaType.MESSAGE) { in crossLink()
1482 } else if (getJavaType() == JavaType.ENUM) { in crossLink()
1492 if (getJavaType() == JavaType.MESSAGE || getJavaType() == JavaType.ENUM) { in crossLink()
[all …]
DGeneratedMessageV3.java196 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) { in getAllFieldsMutable()
215 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
798 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1044 } else if (descriptor.getJavaType() ==
1270 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1428 } else if (descriptor.getJavaType() ==
1638 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
1657 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
1715 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
1952 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
[all …]
DMapEntry.java329 if (field.getNumber() != 2 || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in newBuilderForField()
447 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
DMessageReflection.java138 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
184 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in findMissingFields()
759 && field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in mergeFieldFrom()
DWireFormat.java159 public JavaType getJavaType() { in getJavaType() method in WireFormat.FieldType
DTextFormat.java468 return fieldDescriptor.getMessageType().getFields().get(0).getJavaType(); in extractFieldType()
732 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
742 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
1888 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeField()
2009 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in consumeFieldValue()
DFieldType.java142 public JavaType getJavaType() { in getJavaType() method in FieldType
DAbstractMessage.java395 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeFrom()
DFieldSet.java409 switch (type.getJavaType()) { in isValidType()
1217 if (type.getJavaType() == WireFormat.JavaType.MESSAGE in verifyType()
DGeneratedMessageLite.java1114 return type.getJavaType(); in getLiteJavaType()
DMessageSchema.java5648 if (metadata.valueType.getJavaType() != WireFormat.JavaType.MESSAGE) { in isMapInitialized()
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DDescriptorsTest.java215 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
223 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
229 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
234 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
246 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()
/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java278 if (field.isRepeated() || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in merge()
306 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in merge()
DFieldMaskUtil.java249 if (!field.isRepeated() && field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isValid()
DJsonFormat.java1003 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE in print()
1936 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE in parseFieldValue()
1942 } else if (field.getJavaType() == FieldDescriptor.JavaType.ENUM in parseFieldValue()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java205 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
212 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
217 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
222 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
231 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()