Package com.google.datastore.v1
Class Query.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
com.google.datastore.v1.Query.Builder
- All Implemented Interfaces:
QueryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Query
public static final class Query.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
implements QueryOrBuilder
A query for entities.Protobuf type
google.datastore.v1.Query-
Method Summary
Modifier and TypeMethodDescriptionaddAllDistinctOn(Iterable<? extends PropertyReference> values) The properties to make distinct.addAllKind(Iterable<? extends KindExpression> values) The kinds to query (if empty, returns entities of all kinds).addAllOrder(Iterable<? extends PropertyOrder> values) The order to apply to the query results (if empty, order is unspecified).addAllProjection(Iterable<? extends Projection> values) The projection to return.addDistinctOn(int index, PropertyReference value) The properties to make distinct.addDistinctOn(int index, PropertyReference.Builder builderForValue) The properties to make distinct.addDistinctOn(PropertyReference value) The properties to make distinct.addDistinctOn(PropertyReference.Builder builderForValue) The properties to make distinct.The properties to make distinct.addDistinctOnBuilder(int index) The properties to make distinct.addKind(int index, KindExpression value) The kinds to query (if empty, returns entities of all kinds).addKind(int index, KindExpression.Builder builderForValue) The kinds to query (if empty, returns entities of all kinds).addKind(KindExpression value) The kinds to query (if empty, returns entities of all kinds).addKind(KindExpression.Builder builderForValue) The kinds to query (if empty, returns entities of all kinds).The kinds to query (if empty, returns entities of all kinds).addKindBuilder(int index) The kinds to query (if empty, returns entities of all kinds).addOrder(int index, PropertyOrder value) The order to apply to the query results (if empty, order is unspecified).addOrder(int index, PropertyOrder.Builder builderForValue) The order to apply to the query results (if empty, order is unspecified).addOrder(PropertyOrder value) The order to apply to the query results (if empty, order is unspecified).addOrder(PropertyOrder.Builder builderForValue) The order to apply to the query results (if empty, order is unspecified).The order to apply to the query results (if empty, order is unspecified).addOrderBuilder(int index) The order to apply to the query results (if empty, order is unspecified).addProjection(int index, Projection value) The projection to return.addProjection(int index, Projection.Builder builderForValue) The projection to return.addProjection(Projection value) The projection to return.addProjection(Projection.Builder builderForValue) The projection to return.The projection to return.addProjectionBuilder(int index) The projection to return.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The properties to make distinct.An ending point for the query results.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The filter to apply.The kinds to query (if empty, returns entities of all kinds).The maximum number of results to return.The number of results to skip.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The order to apply to the query results (if empty, order is unspecified).The projection to return.A starting point for the query results.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetDistinctOn(int index) The properties to make distinct.getDistinctOnBuilder(int index) The properties to make distinct.The properties to make distinct.intThe properties to make distinct.The properties to make distinct.getDistinctOnOrBuilder(int index) The properties to make distinct.List<? extends PropertyReferenceOrBuilder>The properties to make distinct.com.google.protobuf.ByteStringAn ending point for the query results.The filter to apply.The filter to apply.The filter to apply.getKind(int index) The kinds to query (if empty, returns entities of all kinds).getKindBuilder(int index) The kinds to query (if empty, returns entities of all kinds).The kinds to query (if empty, returns entities of all kinds).intThe kinds to query (if empty, returns entities of all kinds).The kinds to query (if empty, returns entities of all kinds).getKindOrBuilder(int index) The kinds to query (if empty, returns entities of all kinds).List<? extends KindExpressionOrBuilder>The kinds to query (if empty, returns entities of all kinds).com.google.protobuf.Int32ValuegetLimit()The maximum number of results to return.com.google.protobuf.Int32Value.BuilderThe maximum number of results to return.com.google.protobuf.Int32ValueOrBuilderThe maximum number of results to return.intThe number of results to skip.getOrder(int index) The order to apply to the query results (if empty, order is unspecified).getOrderBuilder(int index) The order to apply to the query results (if empty, order is unspecified).The order to apply to the query results (if empty, order is unspecified).intThe order to apply to the query results (if empty, order is unspecified).The order to apply to the query results (if empty, order is unspecified).getOrderOrBuilder(int index) The order to apply to the query results (if empty, order is unspecified).List<? extends PropertyOrderOrBuilder>The order to apply to the query results (if empty, order is unspecified).getProjection(int index) The projection to return.getProjectionBuilder(int index) The projection to return.The projection to return.intThe projection to return.The projection to return.getProjectionOrBuilder(int index) The projection to return.List<? extends ProjectionOrBuilder>The projection to return.com.google.protobuf.ByteStringA starting point for the query results.booleanThe filter to apply.booleanhasLimit()The maximum number of results to return.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFilter(Filter value) The filter to apply.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeLimit(com.google.protobuf.Int32Value value) The maximum number of results to return.final Query.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeDistinctOn(int index) The properties to make distinct.removeKind(int index) The kinds to query (if empty, returns entities of all kinds).removeOrder(int index) The order to apply to the query results (if empty, order is unspecified).removeProjection(int index) The projection to return.setDistinctOn(int index, PropertyReference value) The properties to make distinct.setDistinctOn(int index, PropertyReference.Builder builderForValue) The properties to make distinct.setEndCursor(com.google.protobuf.ByteString value) An ending point for the query results.The filter to apply.setFilter(Filter.Builder builderForValue) The filter to apply.setKind(int index, KindExpression value) The kinds to query (if empty, returns entities of all kinds).setKind(int index, KindExpression.Builder builderForValue) The kinds to query (if empty, returns entities of all kinds).setLimit(com.google.protobuf.Int32Value value) The maximum number of results to return.setLimit(com.google.protobuf.Int32Value.Builder builderForValue) The maximum number of results to return.setOffset(int value) The number of results to skip.setOrder(int index, PropertyOrder value) The order to apply to the query results (if empty, order is unspecified).setOrder(int index, PropertyOrder.Builder builderForValue) The order to apply to the query results (if empty, order is unspecified).setProjection(int index, Projection value) The projection to return.setProjection(int index, Projection.Builder builderForValue) The projection to return.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartCursor(com.google.protobuf.ByteString value) A starting point for the query results.final Query.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
setField
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
setRepeatedField
public Query.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
addRepeatedField
public Query.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Query.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
mergeFrom
public Query.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Query.Builder>- Throws:
IOException
-
getProjectionList
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;- Specified by:
getProjectionListin interfaceQueryOrBuilder
-
getProjectionCount
public int getProjectionCount()The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;- Specified by:
getProjectionCountin interfaceQueryOrBuilder
-
getProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;- Specified by:
getProjectionin interfaceQueryOrBuilder
-
setProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
setProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addAllProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
clearProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
removeProjection
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
getProjectionBuilder
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
getProjectionOrBuilder
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;- Specified by:
getProjectionOrBuilderin interfaceQueryOrBuilder
-
getProjectionOrBuilderList
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;- Specified by:
getProjectionOrBuilderListin interfaceQueryOrBuilder
-
addProjectionBuilder
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
addProjectionBuilder
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
getProjectionBuilderList
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2; -
getKindList
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3;- Specified by:
getKindListin interfaceQueryOrBuilder
-
getKindCount
public int getKindCount()The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3;- Specified by:
getKindCountin interfaceQueryOrBuilder
-
getKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3;- Specified by:
getKindin interfaceQueryOrBuilder
-
setKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
setKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addAllKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
clearKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
removeKind
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
getKindBuilder
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
getKindOrBuilder
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3;- Specified by:
getKindOrBuilderin interfaceQueryOrBuilder
-
getKindOrBuilderList
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3;- Specified by:
getKindOrBuilderListin interfaceQueryOrBuilder
-
addKindBuilder
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
addKindBuilder
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
getKindBuilderList
The kinds to query (if empty, returns entities of all kinds). Currently at most 1 kind may be specified.
repeated .google.datastore.v1.KindExpression kind = 3; -
hasFilter
public boolean hasFilter()The filter to apply.
.google.datastore.v1.Filter filter = 4;- Specified by:
hasFilterin interfaceQueryOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
The filter to apply.
.google.datastore.v1.Filter filter = 4;- Specified by:
getFilterin interfaceQueryOrBuilder- Returns:
- The filter.
-
setFilter
The filter to apply.
.google.datastore.v1.Filter filter = 4; -
setFilter
The filter to apply.
.google.datastore.v1.Filter filter = 4; -
mergeFilter
The filter to apply.
.google.datastore.v1.Filter filter = 4; -
clearFilter
The filter to apply.
.google.datastore.v1.Filter filter = 4; -
getFilterBuilder
The filter to apply.
.google.datastore.v1.Filter filter = 4; -
getFilterOrBuilder
The filter to apply.
.google.datastore.v1.Filter filter = 4;- Specified by:
getFilterOrBuilderin interfaceQueryOrBuilder
-
getOrderList
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;- Specified by:
getOrderListin interfaceQueryOrBuilder
-
getOrderCount
public int getOrderCount()The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;- Specified by:
getOrderCountin interfaceQueryOrBuilder
-
getOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;- Specified by:
getOrderin interfaceQueryOrBuilder
-
setOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
setOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addAllOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
clearOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
removeOrder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
getOrderBuilder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
getOrderOrBuilder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;- Specified by:
getOrderOrBuilderin interfaceQueryOrBuilder
-
getOrderOrBuilderList
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;- Specified by:
getOrderOrBuilderListin interfaceQueryOrBuilder
-
addOrderBuilder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
addOrderBuilder
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
getOrderBuilderList
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5; -
getDistinctOnList
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6;- Specified by:
getDistinctOnListin interfaceQueryOrBuilder
-
getDistinctOnCount
public int getDistinctOnCount()The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6;- Specified by:
getDistinctOnCountin interfaceQueryOrBuilder
-
getDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6;- Specified by:
getDistinctOnin interfaceQueryOrBuilder
-
setDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
setDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addAllDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
clearDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
removeDistinctOn
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
getDistinctOnBuilder
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
getDistinctOnOrBuilder
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6;- Specified by:
getDistinctOnOrBuilderin interfaceQueryOrBuilder
-
getDistinctOnOrBuilderList
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6;- Specified by:
getDistinctOnOrBuilderListin interfaceQueryOrBuilder
-
addDistinctOnBuilder
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
addDistinctOnBuilder
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
getDistinctOnBuilderList
The properties to make distinct. The query results will contain the first result for each distinct combination of values for the given properties (if empty, all results are returned). Requires: * If `order` is specified, the set of distinct on properties must appear before the non-distinct on properties in `order`.
repeated .google.datastore.v1.PropertyReference distinct_on = 6; -
getStartCursor
public com.google.protobuf.ByteString getStartCursor()A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes start_cursor = 7;- Specified by:
getStartCursorin interfaceQueryOrBuilder- Returns:
- The startCursor.
-
setStartCursor
A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes start_cursor = 7;- Parameters:
value- The startCursor to set.- Returns:
- This builder for chaining.
-
clearStartCursor
A starting point for the query results. Query cursors are returned in query result batches and [can only be used to continue the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes start_cursor = 7;- Returns:
- This builder for chaining.
-
getEndCursor
public com.google.protobuf.ByteString getEndCursor()An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes end_cursor = 8;- Specified by:
getEndCursorin interfaceQueryOrBuilder- Returns:
- The endCursor.
-
setEndCursor
An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes end_cursor = 8;- Parameters:
value- The endCursor to set.- Returns:
- This builder for chaining.
-
clearEndCursor
An ending point for the query results. Query cursors are returned in query result batches and [can only be used to limit the same query](https://cloud.google.com/datastore/docs/concepts/queries#cursors_limits_and_offsets).
bytes end_cursor = 8;- Returns:
- This builder for chaining.
-
getOffset
public int getOffset()The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
int32 offset = 10;- Specified by:
getOffsetin interfaceQueryOrBuilder- Returns:
- The offset.
-
setOffset
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
int32 offset = 10;- Parameters:
value- The offset to set.- Returns:
- This builder for chaining.
-
clearOffset
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
int32 offset = 10;- Returns:
- This builder for chaining.
-
hasLimit
public boolean hasLimit()The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12;- Specified by:
hasLimitin interfaceQueryOrBuilder- Returns:
- Whether the limit field is set.
-
getLimit
public com.google.protobuf.Int32Value getLimit()The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12;- Specified by:
getLimitin interfaceQueryOrBuilder- Returns:
- The limit.
-
setLimit
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12; -
setLimit
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12; -
mergeLimit
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12; -
clearLimit
The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12; -
getLimitBuilder
public com.google.protobuf.Int32Value.Builder getLimitBuilder()The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12; -
getLimitOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()The maximum number of results to return. Applies after all other constraints. Optional. Unspecified is interpreted as no limit. Must be >= 0 if specified.
.google.protobuf.Int32Value limit = 12;- Specified by:
getLimitOrBuilderin interfaceQueryOrBuilder
-
setUnknownFields
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-
mergeUnknownFields
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>
-