public final class BundledDocumentMetadata extends GeneratedMessageV3 implements BundledDocumentMetadataOrBuilder
Metadata describing a Firestore document saved in the bundle.
Protobuf type google.firestore.bundle.BundledDocumentMetadata
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BundledDocumentMetadataImplements
BundledDocumentMetadataOrBuilderStatic Fields
EXISTS_FIELD_NUMBER
public static final int EXISTS_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
QUERIES_FIELD_NUMBER
public static final int QUERIES_FIELD_NUMBER
Type | Description |
int |
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BundledDocumentMetadata getDefaultInstance()
Type | Description |
BundledDocumentMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BundledDocumentMetadata.Builder newBuilder()
Type | Description |
BundledDocumentMetadata.Builder |
newBuilder(BundledDocumentMetadata prototype)
public static BundledDocumentMetadata.Builder newBuilder(BundledDocumentMetadata prototype)
Name | Description |
prototype | BundledDocumentMetadata |
Type | Description |
BundledDocumentMetadata.Builder |
parseDelimitedFrom(InputStream input)
public static BundledDocumentMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BundledDocumentMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BundledDocumentMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BundledDocumentMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BundledDocumentMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BundledDocumentMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BundledDocumentMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledDocumentMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BundledDocumentMetadata> parser()
Type | Description |
Parser<BundledDocumentMetadata> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public BundledDocumentMetadata getDefaultInstanceForType()
Type | Description |
BundledDocumentMetadata |
getExists()
public boolean getExists()
Whether the document exists.
bool exists = 3;
Type | Description |
boolean | The exists. |
getName()
public String getName()
The document key of a bundled document.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
The document key of a bundled document.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getParserForType()
public Parser<BundledDocumentMetadata> getParserForType()
Type | Description |
Parser<BundledDocumentMetadata> |
getQueries(int index)
public String getQueries(int index)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The queries at the given index. |
getQueriesBytes(int index)
public ByteString getQueriesBytes(int index)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the queries at the given index. |
getQueriesCount()
public int getQueriesCount()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Type | Description |
int | The count of queries. |
getQueriesList()
public ProtocolStringList getQueriesList()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
Type | Description |
ProtocolStringList | A list containing the queries. |
getReadTime()
public Timestamp getReadTime()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
Timestamp | The readTime. |
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
TimestampOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasReadTime()
public boolean hasReadTime()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
boolean | Whether the readTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public BundledDocumentMetadata.Builder newBuilderForType()
Type | Description |
BundledDocumentMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BundledDocumentMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BundledDocumentMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BundledDocumentMetadata.Builder toBuilder()
Type | Description |
BundledDocumentMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |