Class Internal (3.32.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_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
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 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]