Class BundledQuery.Builder (3.21.4)

public static final class BundledQuery.Builder extends GeneratedMessageV3.Builder<BundledQuery.Builder> implements BundledQueryOrBuilder

Encodes a query saved in the bundle.

Protobuf type google.firestore.bundle.BundledQuery

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BundledQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BundledQuery.Builder
Overrides

build()

public BundledQuery build()
Returns
Type Description
BundledQuery

buildPartial()

public BundledQuery buildPartial()
Returns
Type Description
BundledQuery

clear()

public BundledQuery.Builder clear()
Returns
Type Description
BundledQuery.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BundledQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
BundledQuery.Builder
Overrides

clearLimitType()

public BundledQuery.Builder clearLimitType()

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

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BundledQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
BundledQuery.Builder
Overrides

clearParent()

public BundledQuery.Builder clearParent()

The parent resource name.

string parent = 1;

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

clearQueryType()

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

clearStructuredQuery()

public BundledQuery.Builder clearStructuredQuery()

A structured query.

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

Returns
Type Description
BundledQuery.Builder

clone()

public BundledQuery.Builder clone()
Returns
Type Description
BundledQuery.Builder
Overrides

getDefaultInstanceForType()

public BundledQuery getDefaultInstanceForType()
Returns
Type Description
BundledQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getQueryTypeCase()

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

getStructuredQuery()

public StructuredQuery getStructuredQuery()

A structured query.

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

Returns
Type Description
StructuredQuery

The structuredQuery.

getStructuredQueryBuilder()

public StructuredQuery.Builder getStructuredQueryBuilder()

A structured query.

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

Returns
Type Description
StructuredQuery.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BundledQuery other)

public BundledQuery.Builder mergeFrom(BundledQuery other)
Parameter
Name Description
other BundledQuery
Returns
Type Description
BundledQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BundledQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BundledQuery.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public BundledQuery.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
BundledQuery.Builder
Overrides

mergeStructuredQuery(StructuredQuery value)

public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)

A structured query.

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

Parameter
Name Description
value StructuredQuery
Returns
Type Description
BundledQuery.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BundledQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BundledQuery.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BundledQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
BundledQuery.Builder
Overrides

setLimitType(BundledQuery.LimitType value)

public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)

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

Parameter
Name Description
value BundledQuery.LimitType

The limitType to set.

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

setLimitTypeValue(int value)

public BundledQuery.Builder setLimitTypeValue(int value)

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

Parameter
Name Description
value int

The enum numeric value on the wire for limitType to set.

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

setParent(String value)

public BundledQuery.Builder setParent(String value)

The parent resource name.

string parent = 1;

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BundledQuery.Builder setParentBytes(ByteString value)

The parent resource name.

string parent = 1;

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
BundledQuery.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BundledQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
BundledQuery.Builder
Overrides

setStructuredQuery(StructuredQuery value)

public BundledQuery.Builder setStructuredQuery(StructuredQuery value)

A structured query.

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

Parameter
Name Description
value StructuredQuery
Returns
Type Description
BundledQuery.Builder

setStructuredQuery(StructuredQuery.Builder builderForValue)

public BundledQuery.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)

A structured query.

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

Parameter
Name Description
builderForValue StructuredQuery.Builder
Returns
Type Description
BundledQuery.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BundledQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
BundledQuery.Builder
Overrides