Package | Description |
---|---|
com.google.protobuf |
Modifier and Type | Method and Description |
---|---|
MapField<K,V> |
MapField.copy()
Returns a deep copy of this MapField.
|
static <K,V> MapField<K,V> |
MapField.emptyMapField(MapEntry<K,V> defaultEntry)
Returns an immutable empty MapField.
|
protected MapField |
Struct.internalGetMapField(int number) |
protected MapField |
Struct.Builder.internalGetMapField(int number) |
protected MapField |
GeneratedMessage.internalGetMapField(int fieldNumber)
Gets the map field with the given field number.
|
protected MapField |
GeneratedMessage.Builder.internalGetMapField(int fieldNumber)
Gets the map field with the given field number.
|
protected MapField |
Struct.Builder.internalGetMutableMapField(int number) |
protected MapField |
GeneratedMessage.Builder.internalGetMutableMapField(int fieldNumber)
Like
internalGetMapField but return a mutable version. |
static <K,V> MapField<K,V> |
MapField.newMapField(MapEntry<K,V> defaultEntry)
Creates a new mutable empty MapField.
|
Modifier and Type | Method and Description |
---|---|
void |
MapField.mergeFrom(MapField<K,V> other) |
Copyright © 2008–2016 Google. All rights reserved.