Package io.protostuff.parser
Class Field.Reference
- All Implemented Interfaces:
HasAnnotations,HasName,HasOptions,HasProto,Comparable<Field<?>>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.protostuff.parser.Field
Field.Bool, Field.Bytes, Field.Double, Field.Fixed32, Field.Fixed64, Field.Float, Field.Int32, Field.Int64, Field.Modifier, Field.Number<T>, Field.Reference, Field.SFixed32, Field.SFixed64, Field.SInt32, Field.SInt64, Field.String, Field.UInt32, Field.UInt64 -
Field Summary
FieldsModifier and TypeFieldDescription(package private) HasFields(package private) String(package private) StringFields inherited from class io.protostuff.parser.Field
defaultValue, defaultValueConstant, extraOptions, modifier, name, number, owner, packable, standardOptionsFields inherited from class io.protostuff.parser.AnnotationContainer
annotations, docs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns field type for proto files.Methods inherited from class io.protostuff.parser.Field
compareTo, getDefaultValue, getDefaultValueAsString, getDefaultValueConstant, getExtraOptions, getModifier, getName, getNumber, getO, getOption, getOptions, getOwner, getProto, getStandardOptions, hasOption, isBoolField, isBytesField, isDefaultValueSet, isDelimited, isEnumField, isMessageField, isNumberField, isOptional, isPackable, isRepeated, isRequired, isStringField, putExtraOption, putStandardOption, toStringMethods inherited from class io.protostuff.parser.AnnotationContainer
add, addAnnotations, addDoc, err, getA, getAnnotation, getAnnotationMap, getAnnotations, getDocs, hasAnnotation, isEmptyA
-
Field Details
-
Constructor Details
-
Reference
-
-
Method Details
-
getRefName
-
getPackageName
-
getJavaType
- Specified by:
getJavaTypein classField<Object>
-
getProtoType
Description copied from class:FieldReturns field type for proto files. Scalar value types: https://developers.google.com/protocol-buffers/docs/proto#scalar- Overrides:
getProtoTypein classField<Object>- Returns:
- .proto type
-