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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public NamedQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public NamedQuery build()
buildPartial()
public NamedQuery buildPartial()
clear()
public NamedQuery.Builder clear()
Overrides
clearBundledQuery()
public NamedQuery.Builder clearBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
clearField(Descriptors.FieldDescriptor field)
public NamedQuery.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public NamedQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public NamedQuery.Builder clone()
Overrides
getBundledQuery()
public BundledQuery getBundledQuery()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
getBundledQueryBuilder()
public BundledQuery.Builder getBundledQueryBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
getBundledQueryOrBuilder()
public BundledQueryOrBuilder getBundledQueryOrBuilder()
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
getDefaultInstanceForType()
public NamedQuery getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBundledQuery(BundledQuery value)
public NamedQuery.Builder mergeBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
mergeFrom(NamedQuery other)
public NamedQuery.Builder mergeFrom(NamedQuery other)
public NamedQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public NamedQuery.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final NamedQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBundledQuery(BundledQuery value)
public NamedQuery.Builder setBundledQuery(BundledQuery value)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
setBundledQuery(BundledQuery.Builder builderForValue)
public NamedQuery.Builder setBundledQuery(BundledQuery.Builder builderForValue)
The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public NamedQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public NamedQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final NamedQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides