@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface FieldType_OrBuilder extends Decl, net.morimekta.providence.PMessageOrBuilder<FieldType>
Fields without key is assigned values ranging from 65335 and down (2^16-1) in order of appearance. Because of the "in order of appearance" the field *must* be filled by the IDL parser.
Consts are always given the key '0'.
Decl._Builder, Decl._FieldkDescriptor| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAnnotations() |
String |
getDefaultValue() |
int |
getId() |
FieldRequirement |
getRequirement() |
String |
getType() |
boolean |
hasAnnotations() |
boolean |
hasDefaultValue() |
boolean |
hasId() |
boolean |
hasRequirement() |
boolean |
hasType() |
int |
numAnnotations() |
Optional<Map<String,String>> |
optionalAnnotations() |
Optional<String> |
optionalDefaultValue() |
Optional<FieldRequirement> |
optionalRequirement() |
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentationint getId()
boolean hasId()
FieldRequirement getRequirement()
@Nonnull Optional<FieldRequirement> optionalRequirement()
boolean hasRequirement()
boolean hasType()
String getDefaultValue()
@Nonnull Optional<String> optionalDefaultValue()
boolean hasDefaultValue()
@Nonnull Optional<Map<String,String>> optionalAnnotations()
boolean hasAnnotations()
int numAnnotations()
Copyright © 2015–2020 morimekta.net. All rights reserved.