public static final class BundledDocumentMetadata.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder> implements BundledDocumentMetadataOrBuilder
Metadata describing a Firestore document saved in the bundle.Protobuf type
google.firestore.bundle.BundledDocumentMetadata
Modifier and Type | Method and Description |
---|---|
BundledDocumentMetadata.Builder |
addAllQueries(Iterable<String> values)
The names of the queries in this bundle that this document matches to.
|
BundledDocumentMetadata.Builder |
addQueries(String value)
The names of the queries in this bundle that this document matches to.
|
BundledDocumentMetadata.Builder |
addQueriesBytes(com.google.protobuf.ByteString value)
The names of the queries in this bundle that this document matches to.
|
BundledDocumentMetadata.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundledDocumentMetadata |
build() |
BundledDocumentMetadata |
buildPartial() |
BundledDocumentMetadata.Builder |
clear() |
BundledDocumentMetadata.Builder |
clearExists()
Whether the document exists.
|
BundledDocumentMetadata.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BundledDocumentMetadata.Builder |
clearName()
The document key of a bundled document.
|
BundledDocumentMetadata.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BundledDocumentMetadata.Builder |
clearQueries()
The names of the queries in this bundle that this document matches to.
|
BundledDocumentMetadata.Builder |
clearReadTime()
The snapshot version of the document data bundled.
|
BundledDocumentMetadata.Builder |
clone() |
BundledDocumentMetadata |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getExists()
Whether the document exists.
|
String |
getName()
The document key of a bundled document.
|
com.google.protobuf.ByteString |
getNameBytes()
The document key of a bundled document.
|
String |
getQueries(int index)
The names of the queries in this bundle that this document matches to.
|
com.google.protobuf.ByteString |
getQueriesBytes(int index)
The names of the queries in this bundle that this document matches to.
|
int |
getQueriesCount()
The names of the queries in this bundle that this document matches to.
|
com.google.protobuf.ProtocolStringList |
getQueriesList()
The names of the queries in this bundle that this document matches to.
|
com.google.protobuf.Timestamp |
getReadTime()
The snapshot version of the document data bundled.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
The snapshot version of the document data bundled.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
The snapshot version of the document data bundled.
|
boolean |
hasReadTime()
The snapshot version of the document data bundled.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BundledDocumentMetadata.Builder |
mergeFrom(BundledDocumentMetadata other) |
BundledDocumentMetadata.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BundledDocumentMetadata.Builder |
mergeFrom(com.google.protobuf.Message other) |
BundledDocumentMetadata.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
The snapshot version of the document data bundled.
|
BundledDocumentMetadata.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BundledDocumentMetadata.Builder |
setExists(boolean value)
Whether the document exists.
|
BundledDocumentMetadata.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BundledDocumentMetadata.Builder |
setName(String value)
The document key of a bundled document.
|
BundledDocumentMetadata.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The document key of a bundled document.
|
BundledDocumentMetadata.Builder |
setQueries(int index,
String value)
The names of the queries in this bundle that this document matches to.
|
BundledDocumentMetadata.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The snapshot version of the document data bundled.
|
BundledDocumentMetadata.Builder |
setReadTime(com.google.protobuf.Timestamp value)
The snapshot version of the document data bundled.
|
BundledDocumentMetadata.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BundledDocumentMetadata.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BundledDocumentMetadata build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BundledDocumentMetadata buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BundledDocumentMetadata.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder mergeFrom(BundledDocumentMetadata other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public BundledDocumentMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BundledDocumentMetadata.Builder>
IOException
public String getName()
The document key of a bundled document.
string name = 1;
getName
in interface BundledDocumentMetadataOrBuilder
public com.google.protobuf.ByteString getNameBytes()
The document key of a bundled document.
string name = 1;
getNameBytes
in interface BundledDocumentMetadataOrBuilder
public BundledDocumentMetadata.Builder setName(String value)
The document key of a bundled document.
string name = 1;
value
- The name to set.public BundledDocumentMetadata.Builder clearName()
The document key of a bundled document.
string name = 1;
public BundledDocumentMetadata.Builder setNameBytes(com.google.protobuf.ByteString value)
The document key of a bundled document.
string name = 1;
value
- The bytes for name to set.public boolean hasReadTime()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
hasReadTime
in interface BundledDocumentMetadataOrBuilder
public com.google.protobuf.Timestamp getReadTime()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
getReadTime
in interface BundledDocumentMetadataOrBuilder
public BundledDocumentMetadata.Builder setReadTime(com.google.protobuf.Timestamp value)
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public BundledDocumentMetadata.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public BundledDocumentMetadata.Builder mergeReadTime(com.google.protobuf.Timestamp value)
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public BundledDocumentMetadata.Builder clearReadTime()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
getReadTimeOrBuilder
in interface BundledDocumentMetadataOrBuilder
public boolean getExists()
Whether the document exists.
bool exists = 3;
getExists
in interface BundledDocumentMetadataOrBuilder
public BundledDocumentMetadata.Builder setExists(boolean value)
Whether the document exists.
bool exists = 3;
value
- The exists to set.public BundledDocumentMetadata.Builder clearExists()
Whether the document exists.
bool exists = 3;
public com.google.protobuf.ProtocolStringList getQueriesList()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
getQueriesList
in interface BundledDocumentMetadataOrBuilder
public int getQueriesCount()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
getQueriesCount
in interface BundledDocumentMetadataOrBuilder
public String getQueries(int index)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
getQueries
in interface BundledDocumentMetadataOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getQueriesBytes(int index)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
getQueriesBytes
in interface BundledDocumentMetadataOrBuilder
index
- The index of the value to return.public BundledDocumentMetadata.Builder setQueries(int index, String value)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
index
- The index to set the value at.value
- The queries to set.public BundledDocumentMetadata.Builder addQueries(String value)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
value
- The queries to add.public BundledDocumentMetadata.Builder addAllQueries(Iterable<String> values)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
values
- The queries to add.public BundledDocumentMetadata.Builder clearQueries()
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
public BundledDocumentMetadata.Builder addQueriesBytes(com.google.protobuf.ByteString value)
The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
value
- The bytes of the queries to add.public final BundledDocumentMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
public final BundledDocumentMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder>
Copyright © 2023 Google LLC. All rights reserved.