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| Modifier and Type | Method and Description |
|---|---|
Query.Builder |
addAllDistinctOn(Iterable<? extends PropertyReference> values)
The properties to make distinct.
|
Query.Builder |
addAllKind(Iterable<? extends KindExpression> values)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
addAllOrder(Iterable<? extends PropertyOrder> values)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
addAllProjection(Iterable<? extends Projection> values)
The projection to return.
|
Query.Builder |
addDistinctOn(int index,
PropertyReference.Builder builderForValue)
The properties to make distinct.
|
Query.Builder |
addDistinctOn(int index,
PropertyReference value)
The properties to make distinct.
|
Query.Builder |
addDistinctOn(PropertyReference.Builder builderForValue)
The properties to make distinct.
|
Query.Builder |
addDistinctOn(PropertyReference value)
The properties to make distinct.
|
PropertyReference.Builder |
addDistinctOnBuilder()
The properties to make distinct.
|
PropertyReference.Builder |
addDistinctOnBuilder(int index)
The properties to make distinct.
|
Query.Builder |
addKind(int index,
KindExpression.Builder builderForValue)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
addKind(int index,
KindExpression value)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
addKind(KindExpression.Builder builderForValue)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
addKind(KindExpression value)
The kinds to query (if empty, returns entities of all kinds).
|
KindExpression.Builder |
addKindBuilder()
The kinds to query (if empty, returns entities of all kinds).
|
KindExpression.Builder |
addKindBuilder(int index)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
addOrder(int index,
PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
addOrder(int index,
PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
addOrder(PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
addOrder(PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
|
PropertyOrder.Builder |
addOrderBuilder()
The order to apply to the query results (if empty, order is unspecified).
|
PropertyOrder.Builder |
addOrderBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
addProjection(int index,
Projection.Builder builderForValue)
The projection to return.
|
Query.Builder |
addProjection(int index,
Projection value)
The projection to return.
|
Query.Builder |
addProjection(Projection.Builder builderForValue)
The projection to return.
|
Query.Builder |
addProjection(Projection value)
The projection to return.
|
Projection.Builder |
addProjectionBuilder()
The projection to return.
|
Projection.Builder |
addProjectionBuilder(int index)
The projection to return.
|
Query.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Query |
build() |
Query |
buildPartial() |
Query.Builder |
clear() |
Query.Builder |
clearDistinctOn()
The properties to make distinct.
|
Query.Builder |
clearEndCursor()
An ending point for the query results.
|
Query.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Query.Builder |
clearFilter()
The filter to apply.
|
Query.Builder |
clearKind()
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
clearLimit()
The maximum number of results to return.
|
Query.Builder |
clearOffset()
The number of results to skip.
|
Query.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Query.Builder |
clearOrder()
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
clearProjection()
The projection to return.
|
Query.Builder |
clearStartCursor()
A starting point for the query results.
|
Query.Builder |
clone() |
Query |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
PropertyReference |
getDistinctOn(int index)
The properties to make distinct.
|
PropertyReference.Builder |
getDistinctOnBuilder(int index)
The properties to make distinct.
|
List<PropertyReference.Builder> |
getDistinctOnBuilderList()
The properties to make distinct.
|
int |
getDistinctOnCount()
The properties to make distinct.
|
List<PropertyReference> |
getDistinctOnList()
The properties to make distinct.
|
PropertyReferenceOrBuilder |
getDistinctOnOrBuilder(int index)
The properties to make distinct.
|
List<? extends PropertyReferenceOrBuilder> |
getDistinctOnOrBuilderList()
The properties to make distinct.
|
com.google.protobuf.ByteString |
getEndCursor()
An ending point for the query results.
|
Filter |
getFilter()
The filter to apply.
|
Filter.Builder |
getFilterBuilder()
The filter to apply.
|
FilterOrBuilder |
getFilterOrBuilder()
The filter to apply.
|
KindExpression |
getKind(int index)
The kinds to query (if empty, returns entities of all kinds).
|
KindExpression.Builder |
getKindBuilder(int index)
The kinds to query (if empty, returns entities of all kinds).
|
List<KindExpression.Builder> |
getKindBuilderList()
The kinds to query (if empty, returns entities of all kinds).
|
int |
getKindCount()
The kinds to query (if empty, returns entities of all kinds).
|
List<KindExpression> |
getKindList()
The kinds to query (if empty, returns entities of all kinds).
|
KindExpressionOrBuilder |
getKindOrBuilder(int index)
The kinds to query (if empty, returns entities of all kinds).
|
List<? extends KindExpressionOrBuilder> |
getKindOrBuilderList()
The kinds to query (if empty, returns entities of all kinds).
|
com.google.protobuf.Int32Value |
getLimit()
The maximum number of results to return.
|
com.google.protobuf.Int32Value.Builder |
getLimitBuilder()
The maximum number of results to return.
|
com.google.protobuf.Int32ValueOrBuilder |
getLimitOrBuilder()
The maximum number of results to return.
|
int |
getOffset()
The number of results to skip.
|
PropertyOrder |
getOrder(int index)
The order to apply to the query results (if empty, order is unspecified).
|
PropertyOrder.Builder |
getOrderBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
|
List<PropertyOrder.Builder> |
getOrderBuilderList()
The order to apply to the query results (if empty, order is unspecified).
|
int |
getOrderCount()
The order to apply to the query results (if empty, order is unspecified).
|
List<PropertyOrder> |
getOrderList()
The order to apply to the query results (if empty, order is unspecified).
|
PropertyOrderOrBuilder |
getOrderOrBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
|
List<? extends PropertyOrderOrBuilder> |
getOrderOrBuilderList()
The order to apply to the query results (if empty, order is unspecified).
|
Projection |
getProjection(int index)
The projection to return.
|
Projection.Builder |
getProjectionBuilder(int index)
The projection to return.
|
List<Projection.Builder> |
getProjectionBuilderList()
The projection to return.
|
int |
getProjectionCount()
The projection to return.
|
List<Projection> |
getProjectionList()
The projection to return.
|
ProjectionOrBuilder |
getProjectionOrBuilder(int index)
The projection to return.
|
List<? extends ProjectionOrBuilder> |
getProjectionOrBuilderList()
The projection to return.
|
com.google.protobuf.ByteString |
getStartCursor()
A starting point for the query results.
|
boolean |
hasFilter()
The filter to apply.
|
boolean |
hasLimit()
The maximum number of results to return.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Query.Builder |
mergeFilter(Filter value)
The filter to apply.
|
Query.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Query.Builder |
mergeFrom(com.google.protobuf.Message other) |
Query.Builder |
mergeFrom(Query other) |
Query.Builder |
mergeLimit(com.google.protobuf.Int32Value value)
The maximum number of results to return.
|
Query.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Query.Builder |
removeDistinctOn(int index)
The properties to make distinct.
|
Query.Builder |
removeKind(int index)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
removeOrder(int index)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
removeProjection(int index)
The projection to return.
|
Query.Builder |
setDistinctOn(int index,
PropertyReference.Builder builderForValue)
The properties to make distinct.
|
Query.Builder |
setDistinctOn(int index,
PropertyReference value)
The properties to make distinct.
|
Query.Builder |
setEndCursor(com.google.protobuf.ByteString value)
An ending point for the query results.
|
Query.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Query.Builder |
setFilter(Filter.Builder builderForValue)
The filter to apply.
|
Query.Builder |
setFilter(Filter value)
The filter to apply.
|
Query.Builder |
setKind(int index,
KindExpression.Builder builderForValue)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
setKind(int index,
KindExpression value)
The kinds to query (if empty, returns entities of all kinds).
|
Query.Builder |
setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
The maximum number of results to return.
|
Query.Builder |
setLimit(com.google.protobuf.Int32Value value)
The maximum number of results to return.
|
Query.Builder |
setOffset(int value)
The number of results to skip.
|
Query.Builder |
setOrder(int index,
PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
setOrder(int index,
PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
|
Query.Builder |
setProjection(int index,
Projection.Builder builderForValue)
The projection to return.
|
Query.Builder |
setProjection(int index,
Projection value)
The projection to return.
|
Query.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Query.Builder |
setStartCursor(com.google.protobuf.ByteString value)
A starting point for the query results.
|
Query.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Query build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Query buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Query.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Query.Builder>public Query.Builder mergeFrom(Query other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public Query.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Query.Builder>IOExceptionpublic List<Projection> getProjectionList()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;getProjectionList in interface QueryOrBuilderpublic int getProjectionCount()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;getProjectionCount in interface QueryOrBuilderpublic Projection getProjection(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;getProjection in interface QueryOrBuilderpublic Query.Builder setProjection(int index, Projection value)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder setProjection(int index, Projection.Builder builderForValue)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder addProjection(Projection value)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder addProjection(int index, Projection value)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder addProjection(Projection.Builder builderForValue)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder addProjection(int index, Projection.Builder builderForValue)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder addAllProjection(Iterable<? extends Projection> values)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder clearProjection()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Query.Builder removeProjection(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Projection.Builder getProjectionBuilder(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public ProjectionOrBuilder getProjectionOrBuilder(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;getProjectionOrBuilder in interface QueryOrBuilderpublic List<? extends ProjectionOrBuilder> getProjectionOrBuilderList()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;getProjectionOrBuilderList in interface QueryOrBuilderpublic Projection.Builder addProjectionBuilder()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public Projection.Builder addProjectionBuilder(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public List<Projection.Builder> getProjectionBuilderList()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;public List<KindExpression> 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;getKindList in interface QueryOrBuilderpublic 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;getKindCount in interface QueryOrBuilderpublic KindExpression getKind(int index)
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;getKind in interface QueryOrBuilderpublic Query.Builder setKind(int index, KindExpression value)
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;public Query.Builder setKind(int index, KindExpression.Builder builderForValue)
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;public Query.Builder addKind(KindExpression value)
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;public Query.Builder addKind(int index, KindExpression value)
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;public Query.Builder addKind(KindExpression.Builder builderForValue)
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;public Query.Builder addKind(int index, KindExpression.Builder builderForValue)
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;public Query.Builder addAllKind(Iterable<? extends KindExpression> values)
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;public Query.Builder 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;public Query.Builder removeKind(int index)
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;public KindExpression.Builder getKindBuilder(int index)
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;public KindExpressionOrBuilder getKindOrBuilder(int index)
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 in interface QueryOrBuilderpublic List<? extends KindExpressionOrBuilder> 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;getKindOrBuilderList in interface QueryOrBuilderpublic KindExpression.Builder 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;public KindExpression.Builder addKindBuilder(int index)
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;public List<KindExpression.Builder> 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;public boolean hasFilter()
The filter to apply.
.google.datastore.v1.Filter filter = 4;hasFilter in interface QueryOrBuilderpublic Filter getFilter()
The filter to apply.
.google.datastore.v1.Filter filter = 4;getFilter in interface QueryOrBuilderpublic Query.Builder setFilter(Filter value)
The filter to apply.
.google.datastore.v1.Filter filter = 4;public Query.Builder setFilter(Filter.Builder builderForValue)
The filter to apply.
.google.datastore.v1.Filter filter = 4;public Query.Builder mergeFilter(Filter value)
The filter to apply.
.google.datastore.v1.Filter filter = 4;public Query.Builder clearFilter()
The filter to apply.
.google.datastore.v1.Filter filter = 4;public Filter.Builder getFilterBuilder()
The filter to apply.
.google.datastore.v1.Filter filter = 4;public FilterOrBuilder getFilterOrBuilder()
The filter to apply.
.google.datastore.v1.Filter filter = 4;getFilterOrBuilder in interface QueryOrBuilderpublic List<PropertyOrder> getOrderList()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;getOrderList in interface QueryOrBuilderpublic int getOrderCount()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;getOrderCount in interface QueryOrBuilderpublic PropertyOrder getOrder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;getOrder in interface QueryOrBuilderpublic Query.Builder setOrder(int index, PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder setOrder(int index, PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder addOrder(PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder addOrder(int index, PropertyOrder value)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder addOrder(PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder addOrder(int index, PropertyOrder.Builder builderForValue)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder addAllOrder(Iterable<? extends PropertyOrder> values)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder clearOrder()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public Query.Builder removeOrder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public PropertyOrder.Builder getOrderBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public PropertyOrderOrBuilder getOrderOrBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;getOrderOrBuilder in interface QueryOrBuilderpublic List<? extends PropertyOrderOrBuilder> getOrderOrBuilderList()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;getOrderOrBuilderList in interface QueryOrBuilderpublic PropertyOrder.Builder addOrderBuilder()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public PropertyOrder.Builder addOrderBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public List<PropertyOrder.Builder> getOrderBuilderList()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;public List<PropertyReference> 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;getDistinctOnList in interface QueryOrBuilderpublic 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;getDistinctOnCount in interface QueryOrBuilderpublic PropertyReference getDistinctOn(int index)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;getDistinctOn in interface QueryOrBuilderpublic Query.Builder setDistinctOn(int index, PropertyReference value)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder setDistinctOn(int index, PropertyReference.Builder builderForValue)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder addDistinctOn(PropertyReference value)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder addDistinctOn(int index, PropertyReference value)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder addDistinctOn(PropertyReference.Builder builderForValue)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder addDistinctOn(int index, PropertyReference.Builder builderForValue)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder addAllDistinctOn(Iterable<? extends PropertyReference> values)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public Query.Builder removeDistinctOn(int index)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public PropertyReference.Builder getDistinctOnBuilder(int index)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;getDistinctOnOrBuilder in interface QueryOrBuilderpublic List<? extends PropertyReferenceOrBuilder> 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;getDistinctOnOrBuilderList in interface QueryOrBuilderpublic PropertyReference.Builder 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public PropertyReference.Builder addDistinctOnBuilder(int index)
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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;public List<PropertyReference.Builder> 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).
repeated .google.datastore.v1.PropertyReference distinct_on = 6;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;getStartCursor in interface QueryOrBuilderpublic Query.Builder setStartCursor(com.google.protobuf.ByteString value)
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;public Query.Builder 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;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;getEndCursor in interface QueryOrBuilderpublic Query.Builder setEndCursor(com.google.protobuf.ByteString value)
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;public Query.Builder 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;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;getOffset in interface QueryOrBuilderpublic Query.Builder setOffset(int value)
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
int32 offset = 10;public Query.Builder clearOffset()
The number of results to skip. Applies before limit, but after all other constraints. Optional. Must be >= 0 if specified.
int32 offset = 10;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;hasLimit in interface QueryOrBuilderpublic 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;getLimit in interface QueryOrBuilderpublic Query.Builder setLimit(com.google.protobuf.Int32Value value)
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;public Query.Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
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;public Query.Builder mergeLimit(com.google.protobuf.Int32Value value)
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;public Query.Builder 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;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;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;getLimitOrBuilder in interface QueryOrBuilderpublic final Query.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>public final Query.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Query.Builder>Copyright © 2018 Google LLC. All rights reserved.