Interface MapValueOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
MapValue, MapValue.Builder

public interface MapValueOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    The map's fields.
    Deprecated.
    int
    The map's fields.
    The map's fields.
    getFieldsOrDefault(String key, Value defaultValue)
    The map's fields.
    The map's fields.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getFieldsCount

      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;
    • containsFields

      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;
    • getFields

      @Deprecated Map<String,Value> getFields()
      Deprecated.
      Use getFieldsMap() instead.
    • getFieldsMap

      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

      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;
    • getFieldsOrThrow

      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;