Enum JavaType (3.19.4)

  public 
  
 enum 
  
 JavaType 
  
 extends 
  
 Enum<JavaType> 
 

Enum that identifies the Java types required to store protobuf fields.

Static Fields

Name
Description
BOOLEAN
BYTE_STRING
DOUBLE
ENUM
FLOAT
INT
LONG
MESSAGE
STRING
VOID

Static Methods

Name
Description
valueOf(String name)
values()

Methods

Name
Description
getBoxedType()
getDefaultDefault()

The default default value for fields of this type, if it's a primitive type.

getType()

Gets the required type for a field that would hold a value of this type.

isValidType(Class<?> t)

Indicates whether or not this JavaType can be applied to a field of the given type.

Design a Mobile Site
View Site in Mobile | Classic
Share by: