Interface EnumType_OrBuilder

  • All Superinterfaces:
    Decl, net.morimekta.providence.PMessageOrBuilder<EnumType>, net.morimekta.providence.PValue<EnumType>
    All Known Implementing Classes:
    EnumType, EnumType._Builder

    @Generated(value="net.morimekta.providence:providence-generator-java",
               comments="java:serializable")
    public interface EnumType_OrBuilder
    extends Decl, net.morimekta.providence.PMessageOrBuilder<EnumType>
    enum { (<value> ([;,])?)* }
    • Method Detail

      • getValues

        @Nonnull
        java.util.List<EnumValue> getValues()
        Returns:
        The values value.
      • hasValues

        boolean hasValues()
        Returns:
        If values is present.
      • numValues

        int numValues()
        Returns:
        Number of entries in values.
      • 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.