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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BundledQuery build()
Returns
buildPartial()
public BundledQuery buildPartial()
Returns
clear()
public BundledQuery.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BundledQuery.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLimitType()
public BundledQuery.Builder clearLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public BundledQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public BundledQuery.Builder clearParent()
The parent resource name.
string parent = 1;
Returns
clearQueryType()
public BundledQuery.Builder clearQueryType()
Returns
clearStructuredQuery()
public BundledQuery.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Returns
clone()
public BundledQuery.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BundledQuery getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLimitType()
public BundledQuery.LimitType getLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Returns
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
getQueryTypeCase()
public BundledQuery.QueryTypeCase getQueryTypeCase()
Returns
getStructuredQuery()
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Returns
getStructuredQueryBuilder()
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Returns
getStructuredQueryOrBuilder()
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BundledQuery other)
public BundledQuery.Builder mergeFrom(BundledQuery other)
Parameter
Returns
public BundledQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BundledQuery.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeStructuredQuery(StructuredQuery value)
public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLimitType(BundledQuery.LimitType value)
public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Parameter
Returns
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BundledQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setStructuredQuery(StructuredQuery value)
public BundledQuery.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Parameter
Returns
setStructuredQuery(StructuredQuery.Builder builderForValue)
public BundledQuery.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides