/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | DescriptorMessageInfoFactory.java | 181 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()
|
D | GeneratedMessage.java | 156 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 …]
|
D | ExtensionRegistry.java | 233 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()
|
D | DynamicMessage.java | 199 } 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
|
D | Descriptors.java | 1016 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 …]
|
D | GeneratedMessageV3.java | 196 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 …]
|
D | MapEntry.java | 329 if (field.getNumber() != 2 || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in newBuilderForField() 447 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
|
D | MessageReflection.java | 138 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()
|
D | WireFormat.java | 159 public JavaType getJavaType() { in getJavaType() method in WireFormat.FieldType
|
D | TextFormat.java | 468 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()
|
D | FieldType.java | 142 public JavaType getJavaType() { in getJavaType() method in FieldType
|
D | AbstractMessage.java | 395 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeFrom()
|
D | FieldSet.java | 409 switch (type.getJavaType()) { in isValidType() 1217 if (type.getJavaType() == WireFormat.JavaType.MESSAGE in verifyType()
|
D | GeneratedMessageLite.java | 1114 return type.getJavaType(); in getLiteJavaType()
|
D | MessageSchema.java | 5648 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/ |
D | DescriptorsTest.java | 215 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/ |
D | FieldMaskTree.java | 278 if (field.isRepeated() || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in merge() 306 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in merge()
|
D | FieldMaskUtil.java | 249 if (!field.isRepeated() && field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isValid()
|
D | JsonFormat.java | 1003 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/ |
D | DescriptorsTest.java | 205 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()
|