public static final class BundledDocumentMetadata.Builder extends GeneratedMessageV3.Builder<BundledDocumentMetadata.Builder> implements BundledDocumentMetadataOrBuilderMetadata describing a Firestore document saved in the bundle.
Protobuf type google.firestore.bundle.BundledDocumentMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BundledDocumentMetadata.BuilderImplements
BundledDocumentMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllQueries(Iterable<String> values)
public BundledDocumentMetadata.Builder addAllQueries(Iterable<String> values)The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
| Name | Description |
| values | Iterable<String>The queries to add. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
addQueries(String value)
public BundledDocumentMetadata.Builder addQueries(String value)The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
| Name | Description |
| value | StringThe queries to add. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
addQueriesBytes(ByteString value)
public BundledDocumentMetadata.Builder addQueriesBytes(ByteString value)The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
| Name | Description |
| value | ByteStringThe bytes of the queries to add. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BundledDocumentMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| BundledDocumentMetadata.Builder |
build()
public BundledDocumentMetadata build()| Type | Description |
| BundledDocumentMetadata |
buildPartial()
public BundledDocumentMetadata buildPartial()| Type | Description |
| BundledDocumentMetadata |
clear()
public BundledDocumentMetadata.Builder clear()| Type | Description |
| BundledDocumentMetadata.Builder |
clearExists()
public BundledDocumentMetadata.Builder clearExists()Whether the document exists.
bool exists = 3;
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BundledDocumentMetadata.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| BundledDocumentMetadata.Builder |
clearName()
public BundledDocumentMetadata.Builder clearName()The document key of a bundled document.
string name = 1;
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BundledDocumentMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| BundledDocumentMetadata.Builder |
clearQueries()
public BundledDocumentMetadata.Builder clearQueries()The names of the queries in this bundle that this document matches to.
repeated string queries = 4;
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
clearReadTime()
public BundledDocumentMetadata.Builder clearReadTime()The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Type | Description |
| BundledDocumentMetadata.Builder |
clone()
public BundledDocumentMetadata.Builder clone()| Type | Description |
| BundledDocumentMetadata.Builder |
getDefaultInstanceForType()
public BundledDocumentMetadata getDefaultInstanceForType()| Type | Description |
| BundledDocumentMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
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. |
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 | intThe 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 | intThe 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. |
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Type | Description |
| Builder |
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Type | Description |
| TimestampOrBuilder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeFrom(BundledDocumentMetadata other)
public BundledDocumentMetadata.Builder mergeFrom(BundledDocumentMetadata other)| Name | Description |
| other | BundledDocumentMetadata |
| Type | Description |
| BundledDocumentMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BundledDocumentMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| BundledDocumentMetadata.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public BundledDocumentMetadata.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| BundledDocumentMetadata.Builder |
mergeReadTime(Timestamp value)
public BundledDocumentMetadata.Builder mergeReadTime(Timestamp value)The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| BundledDocumentMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BundledDocumentMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| BundledDocumentMetadata.Builder |
setExists(boolean value)
public BundledDocumentMetadata.Builder setExists(boolean value)Whether the document exists.
bool exists = 3;
| Name | Description |
| value | booleanThe exists to set. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BundledDocumentMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| BundledDocumentMetadata.Builder |
setName(String value)
public BundledDocumentMetadata.Builder setName(String value)The document key of a bundled document.
string name = 1;
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public BundledDocumentMetadata.Builder setNameBytes(ByteString value)The document key of a bundled document.
string name = 1;
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
setQueries(int index, String value)
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;
| Name | Description |
| index | intThe index to set the value at. |
| value | StringThe queries to set. |
| Type | Description |
| BundledDocumentMetadata.Builder | This builder for chaining. |
setReadTime(Timestamp value)
public BundledDocumentMetadata.Builder setReadTime(Timestamp value)The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Name | Description |
| value | Timestamp |
| Type | Description |
| BundledDocumentMetadata.Builder |
setReadTime(Timestamp.Builder builderForValue)
public BundledDocumentMetadata.Builder setReadTime(Timestamp.Builder builderForValue)The snapshot version of the document data bundled.
.google.protobuf.Timestamp read_time = 2;
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| BundledDocumentMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BundledDocumentMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| BundledDocumentMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BundledDocumentMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| BundledDocumentMetadata.Builder |