Home
last modified time | relevance | path

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

/external/protobuf/java/core/src/main/java/com/google/protobuf/
DExtensionRegistry.java247 if (extension.getDescriptor().getJavaType() == in newExtensionInfo()
263 if (type.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in add()
275 if (type.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in add()
DGeneratedMessage.java156 if (getBytesForString && field.getJavaType() == FieldDescriptor.JavaType.STRING) { in getAllFieldsMutable()
175 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
630 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
859 } else if (descriptor.getJavaType() == in getExtension()
1025 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
1191 } else if (descriptor.getJavaType() == in getExtension()
1322 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
1689 if (descriptor.getJavaType() == FieldDescriptor.JavaType.MESSAGE ||
1690 descriptor.getJavaType() == FieldDescriptor.JavaType.ENUM) {
1712 switch (descriptor.getJavaType()) {
[all …]
DDescriptors.java937 public JavaType getJavaType() { return type.getJavaType(); } in getJavaType() method in Descriptors.FieldDescriptor
942 return getLiteType().getJavaType(); in getLiteJavaType()
1031 if (getJavaType() == JavaType.MESSAGE) { in getDefaultValue()
1086 if (getJavaType() != JavaType.MESSAGE) { in getMessageType()
1096 if (getJavaType() != JavaType.ENUM) { in getEnumType()
1173 public JavaType getJavaType() { return javaType; } in getJavaType() method in Descriptors.FieldDescriptor.Type
1347 if (getJavaType() == JavaType.MESSAGE) { in crossLink()
1358 } else if (getJavaType() == JavaType.ENUM) { in crossLink()
1369 if (getJavaType() == JavaType.MESSAGE || in crossLink()
1370 getJavaType() == JavaType.ENUM) { in crossLink()
[all …]
DDynamicMessage.java203 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in getField()
453 if (field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) {
500 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) {
DMapEntryLite.java227 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
304 if (metadata.valueType.getJavaType() == WireFormat.JavaType.MESSAGE) { in isInitialized()
DWireFormat.java153 public JavaType getJavaType() { return javaType; } in getJavaType() method in WireFormat.FieldType
DMessageReflection.java144 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in isInitialized()
198 if (field.getJavaType() == Descriptors.FieldDescriptor.JavaType.MESSAGE) { in findMissingFields()
764 field.getJavaType() in mergeFieldFrom()
DTextFormat.java357 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
370 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in printSingleField()
1508 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeField()
1581 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in consumeFieldValue()
DMapEntry.java311 || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in newBuilderForField()
DAbstractMessage.java372 } else if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in mergeFrom()
DFieldSet.java392 switch (type.getJavaType()) { in verifyType()
DGeneratedMessageLite.java950 return type.getJavaType(); in getLiteJavaType()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DFieldMaskTree.java228 if (field.isRepeated() || field.getJavaType() != FieldDescriptor.JavaType.MESSAGE) { in merge()
254 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in merge()
DFieldMaskUtil.java197 && field.getJavaType() == FieldDescriptor.JavaType.MESSAGE) { in isValid()
DJsonFormat.java693 && field.getJavaType() == FieldDescriptor.JavaType.MESSAGE in print()
1618 if (field.getJavaType() == FieldDescriptor.JavaType.MESSAGE in parseFieldValue()
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DDescriptorsTest.java216 assertEquals(FieldDescriptor.JavaType.INT, primitiveField.getJavaType()); in testFieldDescriptor()
224 assertEquals(FieldDescriptor.JavaType.ENUM, enumField.getJavaType()); in testFieldDescriptor()
230 assertEquals(FieldDescriptor.JavaType.MESSAGE, messageField.getJavaType()); in testFieldDescriptor()
235 assertEquals(FieldDescriptor.JavaType.STRING, cordField.getJavaType()); in testFieldDescriptor()
247 assertEquals(FieldDescriptor.JavaType.INT, extension.getJavaType()); in testFieldDescriptor()