Class MapFieldReflectionAccessor

java.lang.Object
com.google.protobuf.MapFieldReflectionAccessor
Direct Known Subclasses:
MapField, MapFieldBuilder

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

    • MapFieldReflectionAccessor

      public MapFieldReflectionAccessor()
  • Method Details

    • getList

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

      abstract 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.