public static final class StructuredQuery.Builder extends GeneratedMessageV3.Builder<StructuredQuery.Builder> implements StructuredQueryOrBuilder
A Firestore query.Protobuf type
google.firestore.v1beta1.StructuredQuery
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public StructuredQuery build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public StructuredQuery buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public StructuredQuery.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder mergeFrom(StructuredQuery other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public StructuredQuery.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<StructuredQuery.Builder>
java.io.IOException
public boolean hasSelect()
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
hasSelect
in interface StructuredQueryOrBuilder
public StructuredQuery.Projection getSelect()
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
getSelect
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setSelect(StructuredQuery.Projection value)
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
public StructuredQuery.Builder setSelect(StructuredQuery.Projection.Builder builderForValue)
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
public StructuredQuery.Builder mergeSelect(StructuredQuery.Projection value)
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
public StructuredQuery.Builder clearSelect()
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
public StructuredQuery.Projection.Builder getSelectBuilder()
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
public StructuredQuery.ProjectionOrBuilder getSelectOrBuilder()
The projection to return.
.google.firestore.v1beta1.StructuredQuery.Projection select = 1;
getSelectOrBuilder
in interface StructuredQueryOrBuilder
public java.util.List<StructuredQuery.CollectionSelector> getFromList()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
getFromList
in interface StructuredQueryOrBuilder
public int getFromCount()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
getFromCount
in interface StructuredQueryOrBuilder
public StructuredQuery.CollectionSelector getFrom(int index)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
getFrom
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setFrom(int index, StructuredQuery.CollectionSelector value)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder setFrom(int index, StructuredQuery.CollectionSelector.Builder builderForValue)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder addFrom(StructuredQuery.CollectionSelector value)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder addFrom(int index, StructuredQuery.CollectionSelector value)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder addFrom(StructuredQuery.CollectionSelector.Builder builderForValue)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder addFrom(int index, StructuredQuery.CollectionSelector.Builder builderForValue)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder addAllFrom(java.lang.Iterable<? extends StructuredQuery.CollectionSelector> values)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder clearFrom()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.Builder removeFrom(int index)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.CollectionSelector.Builder getFromBuilder(int index)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.CollectionSelectorOrBuilder getFromOrBuilder(int index)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
getFromOrBuilder
in interface StructuredQueryOrBuilder
public java.util.List<? extends StructuredQuery.CollectionSelectorOrBuilder> getFromOrBuilderList()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
getFromOrBuilderList
in interface StructuredQueryOrBuilder
public StructuredQuery.CollectionSelector.Builder addFromBuilder()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public StructuredQuery.CollectionSelector.Builder addFromBuilder(int index)
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public java.util.List<StructuredQuery.CollectionSelector.Builder> getFromBuilderList()
The collections to query.
repeated .google.firestore.v1beta1.StructuredQuery.CollectionSelector from = 2;
public boolean hasWhere()
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
hasWhere
in interface StructuredQueryOrBuilder
public StructuredQuery.Filter getWhere()
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
getWhere
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setWhere(StructuredQuery.Filter value)
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
public StructuredQuery.Builder setWhere(StructuredQuery.Filter.Builder builderForValue)
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
public StructuredQuery.Builder mergeWhere(StructuredQuery.Filter value)
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
public StructuredQuery.Builder clearWhere()
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
public StructuredQuery.Filter.Builder getWhereBuilder()
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
public StructuredQuery.FilterOrBuilder getWhereOrBuilder()
The filter to apply.
.google.firestore.v1beta1.StructuredQuery.Filter where = 3;
getWhereOrBuilder
in interface StructuredQueryOrBuilder
public java.util.List<StructuredQuery.Order> getOrderByList()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
getOrderByList
in interface StructuredQueryOrBuilder
public int getOrderByCount()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
getOrderByCount
in interface StructuredQueryOrBuilder
public StructuredQuery.Order getOrderBy(int index)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
getOrderBy
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setOrderBy(int index, StructuredQuery.Order value)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder setOrderBy(int index, StructuredQuery.Order.Builder builderForValue)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder addOrderBy(StructuredQuery.Order value)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder addOrderBy(int index, StructuredQuery.Order value)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder addOrderBy(StructuredQuery.Order.Builder builderForValue)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder addOrderBy(int index, StructuredQuery.Order.Builder builderForValue)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder addAllOrderBy(java.lang.Iterable<? extends StructuredQuery.Order> values)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder clearOrderBy()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Builder removeOrderBy(int index)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Order.Builder getOrderByBuilder(int index)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.OrderOrBuilder getOrderByOrBuilder(int index)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
getOrderByOrBuilder
in interface StructuredQueryOrBuilder
public java.util.List<? extends StructuredQuery.OrderOrBuilder> getOrderByOrBuilderList()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
getOrderByOrBuilderList
in interface StructuredQueryOrBuilder
public StructuredQuery.Order.Builder addOrderByBuilder()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public StructuredQuery.Order.Builder addOrderByBuilder(int index)
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public java.util.List<StructuredQuery.Order.Builder> getOrderByBuilderList()
The order to apply to the query results. Firestore guarantees a stable ordering through the following rules: * Any field required to appear in `order_by`, that is not already specified in `order_by`, is appended to the order in field name order by default. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `SELECT * FROM Foo ORDER BY A` becomes `SELECT * FROM Foo ORDER BY A, __name__` * `SELECT * FROM Foo ORDER BY A DESC` becomes `SELECT * FROM Foo ORDER BY A DESC, __name__ DESC` * `SELECT * FROM Foo WHERE A > 1` becomes `SELECT * FROM Foo WHERE A > 1 ORDER BY A, __name__`
repeated .google.firestore.v1beta1.StructuredQuery.Order order_by = 4;
public boolean hasStartAt()
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
hasStartAt
in interface StructuredQueryOrBuilder
public Cursor getStartAt()
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
getStartAt
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setStartAt(Cursor value)
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
public StructuredQuery.Builder setStartAt(Cursor.Builder builderForValue)
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
public StructuredQuery.Builder mergeStartAt(Cursor value)
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
public StructuredQuery.Builder clearStartAt()
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
public Cursor.Builder getStartAtBuilder()
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
public CursorOrBuilder getStartAtOrBuilder()
A starting point for the query results.
.google.firestore.v1beta1.Cursor start_at = 7;
getStartAtOrBuilder
in interface StructuredQueryOrBuilder
public boolean hasEndAt()
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
hasEndAt
in interface StructuredQueryOrBuilder
public Cursor getEndAt()
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
getEndAt
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setEndAt(Cursor value)
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
public StructuredQuery.Builder setEndAt(Cursor.Builder builderForValue)
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
public StructuredQuery.Builder mergeEndAt(Cursor value)
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
public StructuredQuery.Builder clearEndAt()
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
public Cursor.Builder getEndAtBuilder()
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
public CursorOrBuilder getEndAtOrBuilder()
A end point for the query results.
.google.firestore.v1beta1.Cursor end_at = 8;
getEndAtOrBuilder
in interface StructuredQueryOrBuilder
public int getOffset()
The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified.
int32 offset = 6;
getOffset
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setOffset(int value)
The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified.
int32 offset = 6;
public StructuredQuery.Builder clearOffset()
The number of results to skip. Applies before limit, but after all other constraints. Must be >= 0 if specified.
int32 offset = 6;
public boolean hasLimit()
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
hasLimit
in interface StructuredQueryOrBuilder
public Int32Value getLimit()
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
getLimit
in interface StructuredQueryOrBuilder
public StructuredQuery.Builder setLimit(Int32Value value)
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
public StructuredQuery.Builder setLimit(Int32Value.Builder builderForValue)
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
public StructuredQuery.Builder mergeLimit(Int32Value value)
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
public StructuredQuery.Builder clearLimit()
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
public Int32Value.Builder getLimitBuilder()
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
public Int32ValueOrBuilder getLimitOrBuilder()
The maximum number of results to return. Applies after all other constraints. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 5;
getLimitOrBuilder
in interface StructuredQueryOrBuilder
public final StructuredQuery.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>
public final StructuredQuery.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<StructuredQuery.Builder>