Public Attributes | |
BOTH | |
LIST | |
MAP | |
Indicates where the data of this map field is currently stored.
When the map field is accessed (through generated API or reflection API), it will shift between these 3 modes:
getMap() getList() getMutableMap() getMutableList() MAP MAP BOTH MAP LIST LIST BOTH LIST MAP LIST BOTH BOTH BOTH MAP LIST
As the map field changes its mode, the list/map reference returned in a previous method call may be invalidated.
Definition at line 80 of file MapField.java.
com.google.protobuf.MapField< K, V >.StorageMode.BOTH |
Definition at line 83 of file MapField.java.
com.google.protobuf.MapField< K, V >.StorageMode.LIST |
Definition at line 82 of file MapField.java.
com.google.protobuf.MapField< K, V >.StorageMode.MAP |
Definition at line 81 of file MapField.java.