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>+ ')')?
    • 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.