Class MapFieldReflectionAccessor

  • Direct Known Subclasses:
    MapField, MapFieldBuilder

    public abstract class MapFieldReflectionAccessor
    extends java.lang.Object
    A base class for package private shared methods between MapField and MapFieldBuilder to allow reflection to access both.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      (package private) abstract java.util.List<Message> getList()
      Gets the content of this MapField as a list of read-only values.
      (package private) abstract Message getMapEntryMessageDefaultInstance()
      Gets the default instance of the message stored in the list view of this map field.
      (package private) abstract java.util.List<Message> getMutableList()
      Gets a mutable List view of this MapField.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MapFieldReflectionAccessor

        public MapFieldReflectionAccessor()
    • Method Detail

      • getList

        abstract java.util.List<Message> getList()
        Gets the content of this MapField as a list of read-only values.
      • getMutableList

        abstract java.util.List<Message> getMutableList()
        Gets a mutable List view of this MapField.
      • getMapEntryMessageDefaultInstance

        abstract Message getMapEntryMessageDefaultInstance()
        Gets the default instance of the message stored in the list view of this map field.