Package com.google.firestore.bundle
Interface NamedQueryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NamedQuery
,NamedQuery.Builder
public interface NamedQueryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe query saved in the bundle.The query saved in the bundle.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.com.google.protobuf.ByteString
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.com.google.protobuf.Timestamp
The read time of the query, when it is used to build the bundle.com.google.protobuf.TimestampOrBuilder
The read time of the query, when it is used to build the bundle.boolean
The query saved in the bundle.boolean
The read time of the query, when it is used to build the bundle.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String 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:
- The name.
-
getNameBytes
com.google.protobuf.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:
- The bytes for name.
-
hasBundledQuery
boolean hasBundledQuery()The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
- Returns:
- Whether the bundledQuery field is set.
-
getBundledQuery
BundledQuery getBundledQuery()The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
- Returns:
- The bundledQuery.
-
getBundledQueryOrBuilder
BundledQueryOrBuilder getBundledQueryOrBuilder()The query saved in the bundle.
.google.firestore.bundle.BundledQuery bundled_query = 2;
-
hasReadTime
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:
- Whether the readTime field is set.
-
getReadTime
com.google.protobuf.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:
- The readTime.
-
getReadTimeOrBuilder
com.google.protobuf.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;
-