public interface QueryOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
PropertyReference |
getDistinctOn(int index)
The properties to make distinct.
|
int |
getDistinctOnCount()
The properties to make distinct.
|
java.util.List<PropertyReference> |
getDistinctOnList()
The properties to make distinct.
|
PropertyReferenceOrBuilder |
getDistinctOnOrBuilder(int index)
The properties to make distinct.
|
java.util.List<? extends PropertyReferenceOrBuilder> |
getDistinctOnOrBuilderList()
The properties to make distinct.
|
ByteString |
getEndCursor()
An ending point for the query results.
|
Filter |
getFilter()
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).
|
int |
getKindCount()
The kinds to query (if empty, returns entities of all kinds).
|
java.util.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).
|
java.util.List<? extends KindExpressionOrBuilder> |
getKindOrBuilderList()
The kinds to query (if empty, returns entities of all kinds).
|
Int32Value |
getLimit()
The maximum number of results to return.
|
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).
|
int |
getOrderCount()
The order to apply to the query results (if empty, order is unspecified).
|
java.util.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).
|
java.util.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.
|
int |
getProjectionCount()
The projection to return.
|
java.util.List<Projection> |
getProjectionList()
The projection to return.
|
ProjectionOrBuilder |
getProjectionOrBuilder(int index)
The projection to return.
|
java.util.List<? extends ProjectionOrBuilder> |
getProjectionOrBuilderList()
The projection to return.
|
ByteString |
getStartCursor()
A starting point for the query results.
|
boolean |
hasFilter()
The filter to apply.
|
boolean |
hasLimit()
The maximum number of results to return.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<Projection> getProjectionList()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;
Projection getProjection(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;
int getProjectionCount()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;
java.util.List<? extends ProjectionOrBuilder> getProjectionOrBuilderList()
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;
ProjectionOrBuilder getProjectionOrBuilder(int index)
The projection to return. Defaults to returning all properties.
repeated .google.datastore.v1.Projection projection = 2;
java.util.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;
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;
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;
java.util.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;
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;
boolean hasFilter()
The filter to apply.
.google.datastore.v1.Filter filter = 4;
Filter getFilter()
The filter to apply.
.google.datastore.v1.Filter filter = 4;
FilterOrBuilder getFilterOrBuilder()
The filter to apply.
.google.datastore.v1.Filter filter = 4;
java.util.List<PropertyOrder> getOrderList()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;
PropertyOrder getOrder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;
int getOrderCount()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;
java.util.List<? extends PropertyOrderOrBuilder> getOrderOrBuilderList()
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;
PropertyOrderOrBuilder getOrderOrBuilder(int index)
The order to apply to the query results (if empty, order is unspecified).
repeated .google.datastore.v1.PropertyOrder order = 5;
java.util.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;
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;
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;
java.util.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;
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;
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;
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;
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;
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;
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;
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;