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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BundledQuery build()
buildPartial()
public BundledQuery buildPartial()
clear()
public BundledQuery.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BundledQuery.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLimitType()
public BundledQuery.Builder clearLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public BundledQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public BundledQuery.Builder clearParent()
The parent resource name.
string parent = 1;
clearQueryType()
public BundledQuery.Builder clearQueryType()
clearStructuredQuery()
public BundledQuery.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
clone()
public BundledQuery.Builder clone()
Overrides
getDefaultInstanceForType()
public BundledQuery getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLimitType()
public BundledQuery.LimitType getLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
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()
getStructuredQuery()
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
getStructuredQueryBuilder()
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
getStructuredQueryOrBuilder()
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BundledQuery other)
public BundledQuery.Builder mergeFrom(BundledQuery other)
public BundledQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BundledQuery.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeStructuredQuery(StructuredQuery value)
public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setLimitType(BundledQuery.LimitType value)
public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
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.
|
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BundledQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setStructuredQuery(StructuredQuery value)
public BundledQuery.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
setStructuredQuery(StructuredQuery.Builder builderForValue)
public BundledQuery.Builder setStructuredQuery(StructuredQuery.Builder builderForValue)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides