public final class NamedQuery extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BUNDLED_QUERY_FIELD_NUMBER
public static final int BUNDLED_QUERY_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static NamedQuery getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static NamedQuery.Builder newBuilder()
newBuilder(NamedQuery prototype)
public static NamedQuery.Builder newBuilder(NamedQuery prototype)
public static NamedQuery parseDelimitedFrom(InputStream input)
public static NamedQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static NamedQuery parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static NamedQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static NamedQuery parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NamedQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static NamedQuery parseFrom(CodedInputStream input)
public static NamedQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static NamedQuery parseFrom(InputStream input)
public static NamedQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static NamedQuery parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static NamedQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<NamedQuery> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBundledQuery()
public BundledQuery getBundledQuery()
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()
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.
|
getParserForType()
public Parser<NamedQuery> getParserForType()
Overrides
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;
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public NamedQuery.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected NamedQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public NamedQuery.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides