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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BundledQuery.BuilderImplements
BundledQueryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BundledQuery.Builder |
build()
public BundledQuery build()
Type | Description |
BundledQuery |
buildPartial()
public BundledQuery buildPartial()
Type | Description |
BundledQuery |
clear()
public BundledQuery.Builder clear()
Type | Description |
BundledQuery.Builder |
clearField(Descriptors.FieldDescriptor field)
public BundledQuery.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BundledQuery.Builder |
clearLimitType()
public BundledQuery.Builder clearLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Type | Description |
BundledQuery.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BundledQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BundledQuery.Builder |
clearParent()
public BundledQuery.Builder clearParent()
The parent resource name.
string parent = 1;
Type | Description |
BundledQuery.Builder | This builder for chaining. |
clearQueryType()
public BundledQuery.Builder clearQueryType()
Type | Description |
BundledQuery.Builder |
clearStructuredQuery()
public BundledQuery.Builder clearStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
BundledQuery.Builder |
clone()
public BundledQuery.Builder clone()
Type | Description |
BundledQuery.Builder |
getDefaultInstanceForType()
public BundledQuery getDefaultInstanceForType()
Type | Description |
BundledQuery |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLimitType()
public BundledQuery.LimitType getLimitType()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Type | Description |
BundledQuery.LimitType | The limitType. |
getLimitTypeValue()
public int getLimitTypeValue()
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Type | Description |
int | The enum numeric value on the wire for limitType. |
getParent()
public String getParent()
The parent resource name.
string parent = 1;
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
The parent resource name.
string parent = 1;
Type | Description |
ByteString | The bytes for parent. |
getQueryTypeCase()
public BundledQuery.QueryTypeCase getQueryTypeCase()
Type | Description |
BundledQuery.QueryTypeCase |
getStructuredQuery()
public StructuredQuery getStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQuery | The structuredQuery. |
getStructuredQueryBuilder()
public StructuredQuery.Builder getStructuredQueryBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQuery.Builder |
getStructuredQueryOrBuilder()
public StructuredQueryOrBuilder getStructuredQueryOrBuilder()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
StructuredQueryOrBuilder |
hasStructuredQuery()
public boolean hasStructuredQuery()
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Type | Description |
boolean | Whether the structuredQuery field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BundledQuery other)
public BundledQuery.Builder mergeFrom(BundledQuery other)
Name | Description |
other | BundledQuery |
Type | Description |
BundledQuery.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BundledQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BundledQuery.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BundledQuery.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BundledQuery.Builder |
mergeStructuredQuery(StructuredQuery value)
public BundledQuery.Builder mergeStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Name | Description |
value | StructuredQuery |
Type | Description |
BundledQuery.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BundledQuery.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BundledQuery.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BundledQuery.Builder |
setLimitType(BundledQuery.LimitType value)
public BundledQuery.Builder setLimitType(BundledQuery.LimitType value)
.google.firestore.bundle.BundledQuery.LimitType limit_type = 3;
Name | Description |
value | BundledQuery.LimitType The limitType to set. |
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;
Name | Description |
value | int The enum numeric value on the wire for limitType to set. |
Type | Description |
BundledQuery.Builder | This builder for chaining. |
setParent(String value)
public BundledQuery.Builder setParent(String value)
The parent resource name.
string parent = 1;
Name | Description |
value | String The parent to set. |
Type | Description |
BundledQuery.Builder | This builder for chaining. |
setParentBytes(ByteString value)
public BundledQuery.Builder setParentBytes(ByteString value)
The parent resource name.
string parent = 1;
Name | Description |
value | ByteString The bytes for parent to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BundledQuery.Builder |
setStructuredQuery(StructuredQuery value)
public BundledQuery.Builder setStructuredQuery(StructuredQuery value)
A structured query.
.google.firestore.v1.StructuredQuery structured_query = 2;
Name | Description |
value | StructuredQuery |
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;
Name | Description |
builderForValue | StructuredQuery.Builder |
Type | Description |
BundledQuery.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BundledQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BundledQuery.Builder |