@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 |
|---|---|
Class<? extends Collection> |
collectionImplementation |
String |
defaultValue |
Class<?> |
javaType |
String |
name |
boolean |
required |
Type |
type |
public abstract Type type
public abstract String name
public abstract String defaultValue
public abstract Class<?> javaType
public abstract Class<? extends Collection> collectionImplementation
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.