public static final class NamedQuery.Builder extends GeneratedMessageV3.Builder<NamedQuery.Builder> implements NamedQueryOrBuilder
A Query associated with a name, created as part of the bundle file, and can be read
by client SDKs once the bundle containing them is loaded.
Protobuf type google.firestore.bundle.NamedQuery
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NamedQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public NamedQuery build()
Returns
buildPartial()
public NamedQuery buildPartial()
Returns
clear()
public NamedQuery.Builder clear()
Returns
Overrides
clearBundledQuery()
public NamedQuery.Builder clearBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public NamedQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearName()
public NamedQuery.Builder clearName()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
string name = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public NamedQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearReadTime()
public NamedQuery.Builder clearReadTime()
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Returns
clone()
public NamedQuery.Builder clone()
Returns
Overrides
getBundledQuery()
public BundledQuery getBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Returns
getBundledQueryBuilder()
public BundledQuery.Builder getBundledQueryBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Returns
getBundledQueryOrBuilder()
public BundledQueryOrBuilder getBundledQueryOrBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Returns
getDefaultInstanceForType()
public NamedQuery getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getName()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
string name = 1;
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
string name = 1;
Returns
getReadTime()
public Timestamp getReadTime()
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Returns
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Returns
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Returns
hasBundledQuery()
public boolean hasBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Returns
Type | Description |
boolean | Whether the bundledQuery field is set.
|
hasReadTime()
public boolean hasReadTime()
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Returns
Type | Description |
boolean | Whether the readTime field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeBundledQuery(BundledQuery value)
public NamedQuery.Builder mergeBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Parameter
Returns
mergeFrom(NamedQuery other)
public NamedQuery.Builder mergeFrom(NamedQuery other)
Parameter
Returns
public NamedQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public NamedQuery.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeReadTime(Timestamp value)
public NamedQuery.Builder mergeReadTime(Timestamp value)
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NamedQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setBundledQuery(BundledQuery value)
public NamedQuery.Builder setBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Parameter
Returns
setBundledQuery(BundledQuery.Builder builderForValue)
public NamedQuery.Builder setBundledQuery(BundledQuery.Builder builderForValue)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public NamedQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setName(String value)
public NamedQuery.Builder setName(String value)
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
string name = 1;
Parameter
Name | Description |
value | String
The name to set.
|
Returns
setNameBytes(ByteString value)
public NamedQuery.Builder setNameBytes(ByteString value)
Name of the query, such that client can use the name to load this query
from bundle, and resume from when the query results are materialized
into this bundle.
string name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
setReadTime(Timestamp value)
public NamedQuery.Builder setReadTime(Timestamp value)
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Parameter
Returns
setReadTime(Timestamp.Builder builderForValue)
public NamedQuery.Builder setReadTime(Timestamp.Builder builderForValue)
The read time of the query, when it is used to build the bundle. This is useful to
resume the query from the bundle, once it is loaded by client SDKs.
.google.protobuf.Timestamp read_time = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NamedQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NamedQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides