Package net.morimekta.providence.model
Interface ConstType_OrBuilder
-
- All Superinterfaces:
Decl
,PMessageOrBuilder<ConstType>
,PValue<ConstType>
- All Known Implementing Classes:
ConstType
,ConstType._Builder
@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface ConstType_OrBuilder extends Decl, PMessageOrBuilder<ConstType>
const <type> <name> = <value>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.morimekta.providence.model.Decl
Decl._Builder, Decl._Field
-
-
Field Summary
-
Fields inherited from interface net.morimekta.providence.model.Decl
kDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
getAnnotations()
java.lang.String
getType()
java.lang.String
getValue()
boolean
hasAnnotations()
boolean
hasType()
boolean
hasValue()
int
numAnnotations()
java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>
optionalAnnotations()
-
Methods inherited from interface net.morimekta.providence.model.Decl
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentation
-
Methods inherited from interface net.morimekta.providence.PMessageOrBuilder
descriptor, get, get, has, has, toBuilder, toMessage
-
-
-
-
Method Detail
-
getType
@Nonnull java.lang.String getType()
- Returns:
- The type value.
-
hasType
boolean hasType()
- Returns:
- If type is present.
-
getValue
@Nonnull java.lang.String getValue()
- Returns:
- The value value.
-
hasValue
boolean hasValue()
- Returns:
- If value is present.
-
getAnnotations
java.util.Map<java.lang.String,java.lang.String> getAnnotations()
- Returns:
- The annotations value.
-
optionalAnnotations
@Nonnull java.util.Optional<java.util.Map<java.lang.String,java.lang.String>> optionalAnnotations()
- Returns:
- Optional annotations value.
-
hasAnnotations
boolean hasAnnotations()
- Returns:
- If annotations is present.
-
numAnnotations
int numAnnotations()
- Returns:
- Number of entries in annotations.
-
-