Package net.morimekta.providence.model
Interface FunctionType_OrBuilder
-
- All Superinterfaces:
Decl
,net.morimekta.providence.PMessageOrBuilder<FunctionType>
,net.morimekta.providence.PValue<FunctionType>
- All Known Implementing Classes:
FunctionType
,FunctionType._Builder
@Generated(value="net.morimekta.providence:providence-generator-java", comments="java:serializable") public interface FunctionType_OrBuilder extends Decl, net.morimekta.providence.PMessageOrBuilder<FunctionType>
(oneway)? <return_type> <name>'('<param>*')' (throws '(' <exception>+ ')')?
-
-
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.util.List<FieldType>
getExceptions()
java.util.List<FieldType>
getParams()
java.lang.String
getReturnType()
boolean
hasAnnotations()
boolean
hasExceptions()
boolean
hasOneWay()
boolean
hasParams()
boolean
hasReturnType()
boolean
isOneWay()
int
numAnnotations()
int
numExceptions()
int
numParams()
java.util.Optional<java.util.Map<java.lang.String,java.lang.String>>
optionalAnnotations()
java.util.Optional<java.util.List<FieldType>>
optionalExceptions()
java.util.Optional<java.lang.Boolean>
optionalOneWay()
java.util.Optional<java.lang.String>
optionalReturnType()
-
Methods inherited from interface net.morimekta.providence.model.Decl
getDocumentation, getName, hasDocumentation, hasName, optionalDocumentation
-
-
-
-
Method Detail
-
isOneWay
boolean isOneWay()
- Returns:
- The one_way value.
-
optionalOneWay
@Nonnull java.util.Optional<java.lang.Boolean> optionalOneWay()
- Returns:
- Optional one_way value.
-
hasOneWay
boolean hasOneWay()
- Returns:
- If one_way is present.
-
getReturnType
java.lang.String getReturnType()
- Returns:
- The return_type value.
-
optionalReturnType
@Nonnull java.util.Optional<java.lang.String> optionalReturnType()
- Returns:
- Optional return_type value.
-
hasReturnType
boolean hasReturnType()
- Returns:
- If return_type is present.
-
getParams
@Nonnull java.util.List<FieldType> getParams()
- Returns:
- The params value.
-
hasParams
boolean hasParams()
- Returns:
- If params is present.
-
numParams
int numParams()
- Returns:
- Number of entries in params.
-
getExceptions
java.util.List<FieldType> getExceptions()
- Returns:
- The exceptions value.
-
optionalExceptions
@Nonnull java.util.Optional<java.util.List<FieldType>> optionalExceptions()
- Returns:
- Optional exceptions value.
-
hasExceptions
boolean hasExceptions()
- Returns:
- If exceptions is present.
-
numExceptions
int numExceptions()
- Returns:
- Number of entries in exceptions.
-
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.
-
-