Send feedback
Class Internal (3.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.22.0 keyboard_arrow_down
Static Methods
autoId()
public static String autoId ()
Returns
Type
Description
String
Constructors
Internal(FirestoreImpl firestore)
public Internal ( FirestoreImpl firestore )
Parameter
Name
Description
firestore
com.google.cloud.firestore.FirestoreImpl
Internal(FirestoreOptions firestoreOptions, FirestoreRpc firestoreRpc)
public Internal ( FirestoreOptions firestoreOptions , FirestoreRpc firestoreRpc )
Methods
protoFromSnapshot(DocumentSnapshot snapshot)
public Map<String , Value > protoFromSnapshot ( DocumentSnapshot snapshot )
snapshotFromMap(String documentPath, Map<String,Object> data)
public DocumentSnapshot snapshotFromMap ( String documentPath , Map<String , Object > data )
snapshotFromObject(String documentPath, Object pojo)
public DocumentSnapshot snapshotFromObject ( String documentPath , Object pojo )
snapshotFromProto(Timestamp readTime, Document document)
public DocumentSnapshot snapshotFromProto ( Timestamp readTime , Document document )
Parameters
Name
Description
readTime
com.google.cloud.Timestamp
document
Document
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-06 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-06 UTC."],[],[]]