Class BundledQuery (3.27.2)

public final class BundledQuery extends GeneratedMessageV3 implements BundledQueryOrBuilder

Encodes a query saved in the bundle.

Protobuf type google.firestore.bundle.BundledQuery

Static Fields

LIMIT_TYPE_FIELD_NUMBER

public static final int LIMIT_TYPE_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

STRUCTURED_QUERY_FIELD_NUMBER

public static final int STRUCTURED_QUERY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BundledQuery getDefaultInstance()
Returns
Type Description
BundledQuery

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BundledQuery.Builder newBuilder()
Returns
Type Description
BundledQuery.Builder

newBuilder(BundledQuery prototype)

public static BundledQuery.Builder newBuilder(BundledQuery prototype)
Parameter
Name Description
prototype BundledQuery
Returns
Type Description
BundledQuery.Builder

parseDelimitedFrom(InputStream input)

public static BundledQuery parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BundledQuery parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BundledQuery parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BundledQuery parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BundledQuery parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BundledQuery parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BundledQuery parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BundledQuery> parser()
Returns
Type Description
Parser<BundledQuery>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BundledQuery getDefaultInstanceForType()
Returns
Type Description
BundledQuery

getLimitType()

public BundledQuery.LimitType getLimitType()

.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;

Returns
Type Description
BundledQuery.LimitType

The limitType.

getLimitTypeValue()

public int getLimitTypeValue()

.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for limitType.

getParent()

public String getParent()

The parent resource name.

string parent = 1;

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent resource name.

string parent = 1;

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

public Parser<BundledQuery> getParserForType()
Returns
Type Description
Parser<BundledQuery>
Overrides

getQueryTypeCase()

public BundledQuery.QueryTypeCase getQueryTypeCase()
Returns
Type Description
BundledQuery.QueryTypeCase

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getStructuredQuery()

public StructuredQuery getStructuredQuery()

A structured query.

.google.firestore.v1.StructuredQuery structured_query = 2;

Returns
Type Description
StructuredQuery

The structuredQuery.

getStructuredQueryOrBuilder()

public StructuredQueryOrBuilder getStructuredQueryOrBuilder()

A structured query.

.google.firestore.v1.StructuredQuery structured_query = 2;

Returns
Type Description
StructuredQueryOrBuilder

hasStructuredQuery()

public boolean hasStructuredQuery()

A structured query.

.google.firestore.v1.StructuredQuery structured_query = 2;

Returns
Type Description
boolean

Whether the structuredQuery field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BundledQuery.Builder newBuilderForType()
Returns
Type Description
BundledQuery.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BundledQuery.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BundledQuery.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BundledQuery.Builder toBuilder()
Returns
Type Description
BundledQuery.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException