Class BundledQuery.Builder (3.11.0)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BundledQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BundledQuery.Builder
Overrides

build()

public BundledQuery build()
Returns
TypeDescription
BundledQuery

buildPartial()

public BundledQuery buildPartial()
Returns
TypeDescription
BundledQuery

clear()

public BundledQuery.Builder clear()
Returns
TypeDescription
BundledQuery.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BundledQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BundledQuery.Builder
Overrides

clearLimitType()

public BundledQuery.Builder clearLimitType()

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

Returns
TypeDescription
BundledQuery.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public BundledQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BundledQuery.Builder
Overrides

clearParent()

public BundledQuery.Builder clearParent()

The parent resource name.

string parent = 1;

Returns
TypeDescription
BundledQuery.Builder

This builder for chaining.

clearQueryType()

public BundledQuery.Builder clearQueryType()
Returns
TypeDescription
BundledQuery.Builder

clearStructuredQuery()

public BundledQuery.Builder clearStructuredQuery()

A structured query.

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

Returns
TypeDescription
BundledQuery.Builder

clone()

public BundledQuery.Builder clone()
Returns
TypeDescription
BundledQuery.Builder
Overrides

getDefaultInstanceForType()

public BundledQuery getDefaultInstanceForType()
Returns
TypeDescription
BundledQuery

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLimitType()

public BundledQuery.LimitType getLimitType()

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

Returns
TypeDescription
BundledQuery.LimitType

The limitType.

getLimitTypeValue()

public int getLimitTypeValue()

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

Returns
TypeDescription
int

The enum numeric value on the wire for limitType.

getParent()

public String getParent()

The parent resource name.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The parent resource name.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

getQueryTypeCase()

public BundledQuery.QueryTypeCase getQueryTypeCase()
Returns
TypeDescription
BundledQuery.QueryTypeCase

getStructuredQuery()

public StructuredQuery getStructuredQuery()

A structured query.

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

Returns
TypeDescription
StructuredQuery

The structuredQuery.

getStructuredQueryBuilder()

public StructuredQuery.Builder getStructuredQueryBuilder()

A structured query.

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

Returns
TypeDescription
StructuredQuery.Builder

getStructuredQueryOrBuilder()

public StructuredQueryOrBuilder getStructuredQueryOrBuilder()

A structured query.

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

Returns
TypeDescription
StructuredQueryOrBuilder

hasStructuredQuery()

public boolean hasStructuredQuery()

A structured query.

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

Returns
TypeDescription
boolean

Whether the structuredQuery field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BundledQuery other)

public BundledQuery.Builder mergeFrom(BundledQuery other)
Parameter
NameDescription
otherBundledQuery
Returns
TypeDescription
BundledQuery.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BundledQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BundledQuery.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BundledQuery.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BundledQuery.Builder
Overrides

mergeStructuredQuery(StructuredQuery value)

public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)

A structured query.

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

Parameter
NameDescription
valueStructuredQuery
Returns
TypeDescription
BundledQuery.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BundledQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BundledQuery.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BundledQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BundledQuery.Builder
Overrides

setLimitType(BundledQuery.LimitType value)

public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)

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

Parameter
NameDescription
valueBundledQuery.LimitType

The limitType to set.

Returns
TypeDescription
BundledQuery.Builder

This builder for chaining.

setLimitTypeValue(int value)

public BundledQuery.Builder setLimitTypeValue(int value)

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

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BundledQuery.Builder

This builder for chaining.

setParent(String value)

public BundledQuery.Builder setParent(String value)

The parent resource name.

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
BundledQuery.Builder

This builder for chaining.

setParentBytes(ByteString value)

public BundledQuery.Builder setParentBytes(ByteString value)

The parent resource name.

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BundledQuery.Builder
Overrides

setStructuredQuery(StructuredQuery value)

public BundledQuery.Builder setStructuredQuery(StructuredQuery value)

A structured query.

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

Parameter
NameDescription
valueStructuredQuery
Returns
TypeDescription
BundledQuery.Builder

setStructuredQuery(StructuredQuery.Builder builderForValue)

public BundledQuery.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)

A structured query.

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

Parameter
NameDescription
builderForValueStructuredQuery.Builder
Returns
TypeDescription
BundledQuery.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BundledQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BundledQuery.Builder
Overrides