public final class FieldDescriptor extends AnnotatedDescriptorImpl implements AnnotatedDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
FieldDescriptor.Builder |
annotations, documentation, fullName, name, parsedAnnotations| Modifier and Type | Method and Description |
|---|---|
protected AnnotationConfig<FieldDescriptor> |
getAnnotationConfig(String annotationName)
Subclasses are responsible for fetching the AnnotationConfig from the appropriate place.
|
Descriptor |
getContainingMessage() |
Object |
getDefaultValue() |
EnumDescriptor |
getEnumType() |
FileDescriptor |
getFileDescriptor() |
JavaType |
getJavaType() |
Descriptor |
getMessageType() |
int |
getNumber() |
Object |
getOptionByName(String name) |
List<Option> |
getOptions() |
Rule |
getRule() |
Type |
getType() |
String |
getTypeName() |
boolean |
hasDefaultValue() |
boolean |
isExtension() |
boolean |
isPacked() |
boolean |
isRepeated() |
boolean |
isRequired() |
getAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotations, getDocumentation, getFullName, getName, getProcessedAnnotationpublic int getNumber()
public Type getType()
public Descriptor getMessageType()
public Rule getRule()
public boolean isRequired()
public boolean isRepeated()
public boolean isPacked()
public Object getDefaultValue()
public boolean isExtension()
public boolean hasDefaultValue()
public JavaType getJavaType()
public EnumDescriptor getEnumType()
public String getTypeName()
public FileDescriptor getFileDescriptor()
getFileDescriptor in interface AnnotatedDescriptorpublic Descriptor getContainingMessage()
protected AnnotationConfig<FieldDescriptor> getAnnotationConfig(String annotationName)
AnnotatedDescriptorImplgetAnnotationConfig in class AnnotatedDescriptorImplCopyright © 2025 JBoss, a division of Red Hat. All rights reserved.