Package net.morimekta.providence.model
Interface ServiceType_OrBuilder
-
- All Superinterfaces:
Decl
,net.morimekta.providence.PMessageOrBuilder<ServiceType>
,net.morimekta.providence.PValue<ServiceType>
- All Known Implementing Classes:
ServiceType
,ServiceType._Builder
@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface ServiceType_OrBuilder extends Decl, net.morimekta.providence.PMessageOrBuilder<ServiceType>
service (extends <extend>)? { (<method> [;,]?)* }
-
-
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
getExtend()
java.util.List<FunctionType>
getMethods()
boolean
hasAnnotations()
boolean
hasExtend()
boolean
hasMethods()
int
numAnnotations()
int
numMethods()
java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>
optionalAnnotations()
java.util.Optional<java.lang.String>
optionalExtend()
-
Methods inherited from interface net.morimekta.providence.model.Decl
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentation
-
-
-
-
Method Detail
-
getExtend
java.lang.String getExtend()
- Returns:
- The extend value.
-
optionalExtend
@Nonnull java.util.Optional<java.lang.String> optionalExtend()
- Returns:
- Optional extend value.
-
hasExtend
boolean hasExtend()
- Returns:
- If extend is present.
-
getMethods
@Nonnull java.util.List<FunctionType> getMethods()
- Returns:
- The methods value.
-
hasMethods
boolean hasMethods()
- Returns:
- If methods is present.
-
numMethods
int numMethods()
- Returns:
- Number of entries in methods.
-
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.
-
-