Class CInterface

  • All Implemented Interfaces:
    java.lang.Comparable<CInterface>, net.morimekta.providence.PMessage<CInterface>, net.morimekta.providence.PMessageOrBuilder<CInterface>, net.morimekta.providence.PValue<CInterface>, CMessage<CInterface>, net.morimekta.util.Stringable

    public class CInterface
    extends java.lang.Object
    implements CMessage<CInterface>
    A contained message of variant interface. Note that this is a dummy class, only used for type-setting the interface descriptor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      CInterfaceDescriptor descriptor()  
      net.morimekta.providence.PMessageBuilder<CInterface> mutate()  
      java.util.Map<java.lang.Integer,​java.lang.Object> values()
      Method to access all values in the message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.morimekta.providence.PMessage

        get, has, mergeWith
      • Methods inherited from interface net.morimekta.providence.PMessageOrBuilder

        toBuilder, toMessage
    • Method Detail

      • values

        public java.util.Map<java.lang.Integer,​java.lang.Object> values()
        Description copied from interface: CMessage
        Method to access all values in the message.
        Specified by:
        values in interface CMessage<CInterface>
        Returns:
        The values map.
      • mutate

        @Nonnull
        public net.morimekta.providence.PMessageBuilder<CInterface> mutate()
        Specified by:
        mutate in interface net.morimekta.providence.PMessage<CInterface>
      • descriptor

        @Nonnull
        public CInterfaceDescriptor descriptor()
        Specified by:
        descriptor in interface net.morimekta.providence.PMessageOrBuilder<CInterface>
        Specified by:
        descriptor in interface net.morimekta.providence.PValue<CInterface>