Interface EnumValue_OrBuilder

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

    @Generated(value="net.morimekta.providence:providence-generator-java",
               comments="java:serializable")
    public interface EnumValue_OrBuilder
    extends Decl, net.morimekta.providence.PMessageOrBuilder<EnumValue>
    <name> (= <value>)
    • Method Detail

      • getId

        int getId()
        Returns:
        The id value.
      • optionalId

        @Nonnull
        java.util.Optional<java.lang.Integer> optionalId()
        Returns:
        Optional id value.
      • hasId

        boolean hasId()
        Returns:
        If id 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.