Interface MapFieldSchema
- All Known Implementing Classes:
MapFieldSchemaFull, MapFieldSchemaLite
interface MapFieldSchema
-
Method Summary
Modifier and TypeMethodDescriptionMap<?, ?> forMapData(Object mapField) Returns the map data for read.forMapMetadata(Object mapDefaultEntry) Returns the metadata from a default entry.Map<?, ?> forMutableMapData(Object mapField) Returns the map data for mutation.intgetSerializedSize(int fieldNumber, Object mapField, Object mapDefaultEntry) Compute the serialized size for the map with a given field number.booleanisImmutable(Object mapField) Whether toImmutable() has been called on this map field.MergessrcMapFieldintodestMapField, and returns the merged instance.newMapField(Object mapDefaultEntry) Returns a new instance of the map field given a map default entry.toImmutable(Object mapField) Returns an immutable instance of the map field.
-
Method Details
-
forMutableMapData
-
forMapData
-
isImmutable
Whether toImmutable() has been called on this map field. -
toImmutable
-
newMapField
-
forMapMetadata
Returns the metadata from a default entry. -
mergeFrom
-
getSerializedSize
-