Package com.google.protobuf
Class MapFieldReflectionAccessor
- java.lang.Object
-
- com.google.protobuf.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.
-
-
Constructor Summary
Constructors Constructor Description MapFieldReflectionAccessor()
-
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.
-
-
-
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.
-
-