Interface DocumentReferenceOrBuilder

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

@Generated public interface DocumentReferenceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Account context for multi-tenant lookup.
    com.google.protobuf.ByteString
    Account context for multi-tenant lookup.
    Document identifier.
    com.google.protobuf.ByteString
    Document identifier.
    Node that produced this version (determines storage location).
    com.google.protobuf.ByteString
    Node that produced this version (determines storage location).

    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

    • getDocId

      String getDocId()
       Document identifier.
      
       The logical document identifier that persists across all versions/hops.
       Deterministic: hash(datasource_id + source_doc_id)
       
      string doc_id = 1 [json_name = "docId"];
      Returns:
      The docId.
    • getDocIdBytes

      com.google.protobuf.ByteString getDocIdBytes()
       Document identifier.
      
       The logical document identifier that persists across all versions/hops.
       Deterministic: hash(datasource_id + source_doc_id)
       
      string doc_id = 1 [json_name = "docId"];
      Returns:
      The bytes for docId.
    • getSourceNodeId

      String getSourceNodeId()
       Node that produced this version (determines storage location).
      
       Identifies exactly which node produced the version of the document being referenced.
       This is critical for fetching the correct state from the Repository.
       
      string source_node_id = 2 [json_name = "sourceNodeId"];
      Returns:
      The sourceNodeId.
    • getSourceNodeIdBytes

      com.google.protobuf.ByteString getSourceNodeIdBytes()
       Node that produced this version (determines storage location).
      
       Identifies exactly which node produced the version of the document being referenced.
       This is critical for fetching the correct state from the Repository.
       
      string source_node_id = 2 [json_name = "sourceNodeId"];
      Returns:
      The bytes for sourceNodeId.
    • getAccountId

      String getAccountId()
       Account context for multi-tenant lookup.
      
       Ensures that hydration requests are scoped to the correct tenant,
       preventing cross-account data access.
       
      string account_id = 3 [json_name = "accountId"];
      Returns:
      The accountId.
    • getAccountIdBytes

      com.google.protobuf.ByteString getAccountIdBytes()
       Account context for multi-tenant lookup.
      
       Ensures that hydration requests are scoped to the correct tenant,
       preventing cross-account data access.
       
      string account_id = 3 [json_name = "accountId"];
      Returns:
      The bytes for accountId.