public final class MapValue extends GeneratedMessageV3 implements MapValueOrBuilder
A map value.
Protobuf type google.firestore.v1.MapValue
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
FIELDS_FIELD_NUMBER
public static final int FIELDS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MapValue getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MapValue.Builder newBuilder()
newBuilder(MapValue prototype)
public static MapValue.Builder newBuilder(MapValue prototype)
Parameter |
---|
Name | Description |
prototype | MapValue
|
public static MapValue parseDelimitedFrom(InputStream input)
public static MapValue parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MapValue parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MapValue parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MapValue parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MapValue parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MapValue parseFrom(CodedInputStream input)
public static MapValue parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MapValue parseFrom(InputStream input)
public static MapValue parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MapValue parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MapValue parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MapValue> parser()
Methods
containsFields(String key)
public boolean containsFields(String key)
The map's fields.
The map keys represent field names. Field names matching the regular
expression .*
are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
map<string, .google.firestore.v1.Value> fields = 1;
Parameter |
---|
Name | Description |
key | String
|
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public MapValue getDefaultInstanceForType()
getFields()
public Map<String,Value> getFields()
getFieldsCount()
public int getFieldsCount()
The map's fields.
The map keys represent field names. Field names matching the regular
expression .*
are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
map<string, .google.firestore.v1.Value> fields = 1;
Returns |
---|
Type | Description |
int | |
getFieldsMap()
public Map<String,Value> getFieldsMap()
The map's fields.
The map keys represent field names. Field names matching the regular
expression .*
are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
map<string, .google.firestore.v1.Value> fields = 1;
getFieldsOrDefault(String key, Value defaultValue)
public Value getFieldsOrDefault(String key, Value defaultValue)
The map's fields.
The map keys represent field names. Field names matching the regular
expression .*
are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
map<string, .google.firestore.v1.Value> fields = 1;
Returns |
---|
Type | Description |
Value | |
getFieldsOrThrow(String key)
public Value getFieldsOrThrow(String key)
The map's fields.
The map keys represent field names. Field names matching the regular
expression .*
are reserved. Reserved field names are forbidden except
in certain documented contexts. The map keys, represented as UTF-8, must
not exceed 1,500 bytes and cannot be empty.
map<string, .google.firestore.v1.Value> fields = 1;
Parameter |
---|
Name | Description |
key | String
|
Returns |
---|
Type | Description |
Value | |
getParserForType()
public Parser<MapValue> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
---|
Name | Description |
number | int
|
Returns |
---|
Type | Description |
com.google.protobuf.MapFieldReflectionAccessor | |
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MapValue.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MapValue.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MapValue.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides