public final class ProtoFieldMetadata extends Object implements HasProtoSchema
| Modifier and Type | Method and Description |
|---|---|
void |
generateProto(IndentWriter iw) |
XClass |
getCollectionImplementation() |
Object |
getDefaultValue() |
String |
getDocumentation() |
XField |
getField() |
XMethod |
getGetter() |
XClass |
getJavaType()
The Java type.
|
String |
getJavaTypeName() |
String |
getLocation() |
String |
getName() |
int |
getNumber() |
String |
getPropertyName() |
Type |
getProtobufType() |
ProtoTypeMetadata |
getProtoTypeMetadata() |
XMethod |
getSetter() |
boolean |
isArray() |
boolean |
isBoxedPrimitive() |
boolean |
isRepeated() |
boolean |
isRequired() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoProtoSchemapublic int getNumber()
public String getName()
public String getPropertyName()
public XClass getJavaType()
public String getJavaTypeName()
public XClass getCollectionImplementation()
public Type getProtobufType()
public ProtoTypeMetadata getProtoTypeMetadata()
public String getDocumentation()
public boolean isRequired()
public boolean isRepeated()
public boolean isArray()
public Object getDefaultValue()
public XField getField()
public XMethod getGetter()
public XMethod getSetter()
public String getLocation()
public void generateProto(IndentWriter iw)
generateProto in interface HasProtoSchemapublic boolean isBoxedPrimitive()
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.