public interface FieldType extends Type
| Modifier and Type | Method and Description |
|---|---|
default String |
getCanonicalName()
Returns
getFullyQualifiedName() without leading dot. |
String |
getFullyQualifiedName()
Type reference.
|
String |
getName() |
boolean |
isEnum()
Test if this type is enum.
|
boolean |
isMap()
Test if this type is map.
|
boolean |
isMessage()
Test if this type is message.
|
boolean |
isScalar()
Test if this type is scalar.
|
String getFullyQualifiedName()
int32int64uint32uint64sint32sint64fixed32fixed64sfixed32sfixed64floatdoubleboolstringbytesFor messages, it is full massage name. For enums, it is full enum name.
getFullyQualifiedName in interface Typedefault String getCanonicalName()
getFullyQualifiedName() without leading dot.boolean isScalar()
boolean isEnum()
boolean isMessage()
boolean isMap()
Copyright © 2015–2016. All rights reserved.