@Target(value={FIELD,METHOD})
@Retention(value=RUNTIME)
public @interface ProtoField
ProtoField in order to be considered a Protocol Buffers message type.| Modifier and Type | Required Element and Description |
|---|---|
int |
number
The Protocol Buffers tag number.
|
| Modifier and Type | Optional Element and Description |
|---|---|
java.lang.Class<? extends java.util.Collection> |
collectionImplementation |
java.lang.String |
defaultValue |
java.lang.Class<?> |
javaType |
java.lang.String |
name |
boolean |
required |
Type |
type |
public abstract Type type