Classes
com.google.protobuf.MapField< K, V > Class Template Reference

Classes

interface  Converter
 
class  ImmutableMessageConverter
 
class  MutatabilityAwareMap
 
enum  StorageMode
 

Detailed Description

Internal representation of map fields in generated messages.

This class supports accessing the map field as a Map to be used in generated API and also supports accessing the field as a List to be used in reflection API. It keeps track of where the data is currently stored and do necessary conversions between map and list.

This class is a protobuf implementation detail. Users shouldn't use this class directly.

THREAD-SAFETY NOTE: Read-only access is thread-safe. Users can call getMap() and getList() concurrently in multiple threads. If write-access is needed, all access must be synchronized.

Definition at line 56 of file bloaty/third_party/protobuf/java/core/src/main/java/com/google/protobuf/MapField.java.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:06