Send feedback
Class BundledDocumentMetadata (3.9.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.9.5 keyboard_arrow_down
public final class BundledDocumentMetadata extends GeneratedMessageV3 implements BundledDocumentMetadataOrBuilder
Metadata describing a Firestore document saved in the bundle.
Protobuf type google.firestore.bundle.BundledDocumentMetadata
Static Fields
public static final int EXISTS_FIELD_NUMBER
Field Value Type Description int
public static final int NAME_FIELD_NUMBER
Field Value Type Description int
public static final int QUERIES_FIELD_NUMBER
Field Value Type Description int
public static final int READ_TIME_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static BundledDocumentMetadata getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static BundledDocumentMetadata . Builder newBuilder ()
public static BundledDocumentMetadata . Builder newBuilder ( BundledDocumentMetadata prototype )
public static BundledDocumentMetadata parseDelimitedFrom ( InputStream input )
public static BundledDocumentMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BundledDocumentMetadata parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static BundledDocumentMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static BundledDocumentMetadata parseFrom ( ByteString data )
public static BundledDocumentMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static BundledDocumentMetadata parseFrom ( CodedInputStream input )
public static BundledDocumentMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static BundledDocumentMetadata parseFrom ( InputStream input )
public static BundledDocumentMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static BundledDocumentMetadata parseFrom ( ByteBuffer data )
public static BundledDocumentMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<BundledDocumentMetadata> parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public BundledDocumentMetadata getDefaultInstanceForType ()
public boolean getExists ()
Whether the document exists.
bool exists = 3;
Returns Type Description boolean
The exists.
The document key of a bundled document.
string name = 1;
Returns Type Description String
The name.
public ByteString getNameBytes ()
The document key of a bundled document.
string name = 1;
Returns Type Description ByteString
The bytes for name.
public Parser<BundledDocumentMetadata> getParserForType ()
Overrides
public String getQueries ( int index )
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Parameter Name Description index
int
The index of the element to return.
Returns Type Description String
The queries at the given index.
public ByteString getQueriesBytes ( int index )
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Parameter Name Description index
int
The index of the value to return.
Returns Type Description ByteString
The bytes of the queries at the given index.
public int getQueriesCount ()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Returns Type Description int
The count of queries.
public ProtocolStringList getQueriesList ()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
public Timestamp getReadTime ()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public TimestampOrBuilder getReadTimeOrBuilder ()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public int getSerializedSize ()
Returns Type Description int
Overrides
public final UnknownFieldSet getUnknownFields ()
Overrides
public boolean hasReadTime ()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
Returns Type Description boolean
Whether the readTime field is set.
Returns Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public BundledDocumentMetadata . Builder newBuilderForType ()
protected BundledDocumentMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public BundledDocumentMetadata . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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 2025-01-27 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 2025-01-27 UTC."],[],[]]