public static final class DatastoreV1.Query extends com.google.protobuf.GeneratedMessage implements DatastoreV1.QueryOrBuilder
api.services.datastore.Query
A query.
| Modifier and Type | Class and Description |
|---|---|
static class |
DatastoreV1.Query.Builder
Protobuf type
api.services.datastore.Query |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
END_CURSOR_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
GROUP_BY_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LIMIT_FIELD_NUMBER |
static int |
OFFSET_FIELD_NUMBER |
static int |
ORDER_FIELD_NUMBER |
static com.google.protobuf.Parser<DatastoreV1.Query> |
PARSER |
static int |
PROJECTION_FIELD_NUMBER |
static int |
START_CURSOR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static DatastoreV1.Query |
getDefaultInstance() |
DatastoreV1.Query |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getEndCursor()
optional bytes end_cursor = 8; |
DatastoreV1.Filter |
getFilter()
optional .api.services.datastore.Filter filter = 4; |
DatastoreV1.FilterOrBuilder |
getFilterOrBuilder()
optional .api.services.datastore.Filter filter = 4; |
DatastoreV1.PropertyReference |
getGroupBy(int index)
repeated .api.services.datastore.PropertyReference group_by = 6; |
int |
getGroupByCount()
repeated .api.services.datastore.PropertyReference group_by = 6; |
List<DatastoreV1.PropertyReference> |
getGroupByList()
repeated .api.services.datastore.PropertyReference group_by = 6; |
DatastoreV1.PropertyReferenceOrBuilder |
getGroupByOrBuilder(int index)
repeated .api.services.datastore.PropertyReference group_by = 6; |
List<? extends DatastoreV1.PropertyReferenceOrBuilder> |
getGroupByOrBuilderList()
repeated .api.services.datastore.PropertyReference group_by = 6; |
DatastoreV1.KindExpression |
getKind(int index)
repeated .api.services.datastore.KindExpression kind = 3; |
int |
getKindCount()
repeated .api.services.datastore.KindExpression kind = 3; |
List<DatastoreV1.KindExpression> |
getKindList()
repeated .api.services.datastore.KindExpression kind = 3; |
DatastoreV1.KindExpressionOrBuilder |
getKindOrBuilder(int index)
repeated .api.services.datastore.KindExpression kind = 3; |
List<? extends DatastoreV1.KindExpressionOrBuilder> |
getKindOrBuilderList()
repeated .api.services.datastore.KindExpression kind = 3; |
int |
getLimit()
optional int32 limit = 11; |
int |
getOffset()
optional int32 offset = 10 [default = 0]; |
DatastoreV1.PropertyOrder |
getOrder(int index)
repeated .api.services.datastore.PropertyOrder order = 5; |
int |
getOrderCount()
repeated .api.services.datastore.PropertyOrder order = 5; |
List<DatastoreV1.PropertyOrder> |
getOrderList()
repeated .api.services.datastore.PropertyOrder order = 5; |
DatastoreV1.PropertyOrderOrBuilder |
getOrderOrBuilder(int index)
repeated .api.services.datastore.PropertyOrder order = 5; |
List<? extends DatastoreV1.PropertyOrderOrBuilder> |
getOrderOrBuilderList()
repeated .api.services.datastore.PropertyOrder order = 5; |
com.google.protobuf.Parser<DatastoreV1.Query> |
getParserForType() |
DatastoreV1.PropertyExpression |
getProjection(int index)
repeated .api.services.datastore.PropertyExpression projection = 2; |
int |
getProjectionCount()
repeated .api.services.datastore.PropertyExpression projection = 2; |
List<DatastoreV1.PropertyExpression> |
getProjectionList()
repeated .api.services.datastore.PropertyExpression projection = 2; |
DatastoreV1.PropertyExpressionOrBuilder |
getProjectionOrBuilder(int index)
repeated .api.services.datastore.PropertyExpression projection = 2; |
List<? extends DatastoreV1.PropertyExpressionOrBuilder> |
getProjectionOrBuilderList()
repeated .api.services.datastore.PropertyExpression projection = 2; |
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getStartCursor()
optional bytes start_cursor = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEndCursor()
optional bytes end_cursor = 8; |
boolean |
hasFilter()
optional .api.services.datastore.Filter filter = 4; |
boolean |
hasLimit()
optional int32 limit = 11; |
boolean |
hasOffset()
optional int32 offset = 10 [default = 0]; |
boolean |
hasStartCursor()
optional bytes start_cursor = 7; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DatastoreV1.Query.Builder |
newBuilder() |
static DatastoreV1.Query.Builder |
newBuilder(DatastoreV1.Query prototype) |
DatastoreV1.Query.Builder |
newBuilderForType() |
protected DatastoreV1.Query.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static DatastoreV1.Query |
parseDelimitedFrom(InputStream input) |
static DatastoreV1.Query |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Query |
parseFrom(byte[] data) |
static DatastoreV1.Query |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Query |
parseFrom(com.google.protobuf.ByteString data) |
static DatastoreV1.Query |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Query |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DatastoreV1.Query |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DatastoreV1.Query |
parseFrom(InputStream input) |
static DatastoreV1.Query |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DatastoreV1.Query.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getRepeatedField, getRepeatedFieldCount, hasField, makeExtensionsImmutable, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownFieldequals, findInitializationErrors, getInitializationErrorString, hashBoolean, hashCode, hashEnum, hashEnumList, hashFields, hashLong, toStringtoByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static com.google.protobuf.Parser<DatastoreV1.Query> PARSER
public static final int PROJECTION_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
public static final int ORDER_FIELD_NUMBER
public static final int GROUP_BY_FIELD_NUMBER
public static final int START_CURSOR_FIELD_NUMBER
public static final int END_CURSOR_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER
public static DatastoreV1.Query getDefaultInstance()
public DatastoreV1.Query getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<DatastoreV1.Query> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic List<DatastoreV1.PropertyExpression> getProjectionList()
repeated .api.services.datastore.PropertyExpression projection = 2;
The projection to return. If not set the entire entity is returned.
getProjectionList in interface DatastoreV1.QueryOrBuilderpublic List<? extends DatastoreV1.PropertyExpressionOrBuilder> getProjectionOrBuilderList()
repeated .api.services.datastore.PropertyExpression projection = 2;
The projection to return. If not set the entire entity is returned.
getProjectionOrBuilderList in interface DatastoreV1.QueryOrBuilderpublic int getProjectionCount()
repeated .api.services.datastore.PropertyExpression projection = 2;
The projection to return. If not set the entire entity is returned.
getProjectionCount in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyExpression getProjection(int index)
repeated .api.services.datastore.PropertyExpression projection = 2;
The projection to return. If not set the entire entity is returned.
getProjection in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyExpressionOrBuilder getProjectionOrBuilder(int index)
repeated .api.services.datastore.PropertyExpression projection = 2;
The projection to return. If not set the entire entity is returned.
getProjectionOrBuilder in interface DatastoreV1.QueryOrBuilderpublic List<DatastoreV1.KindExpression> getKindList()
repeated .api.services.datastore.KindExpression kind = 3;
The kinds to query (if empty, returns entities from all kinds).
getKindList in interface DatastoreV1.QueryOrBuilderpublic List<? extends DatastoreV1.KindExpressionOrBuilder> getKindOrBuilderList()
repeated .api.services.datastore.KindExpression kind = 3;
The kinds to query (if empty, returns entities from all kinds).
getKindOrBuilderList in interface DatastoreV1.QueryOrBuilderpublic int getKindCount()
repeated .api.services.datastore.KindExpression kind = 3;
The kinds to query (if empty, returns entities from all kinds).
getKindCount in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.KindExpression getKind(int index)
repeated .api.services.datastore.KindExpression kind = 3;
The kinds to query (if empty, returns entities from all kinds).
getKind in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.KindExpressionOrBuilder getKindOrBuilder(int index)
repeated .api.services.datastore.KindExpression kind = 3;
The kinds to query (if empty, returns entities from all kinds).
getKindOrBuilder in interface DatastoreV1.QueryOrBuilderpublic boolean hasFilter()
optional .api.services.datastore.Filter filter = 4;
The filter to apply (optional).
hasFilter in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.Filter getFilter()
optional .api.services.datastore.Filter filter = 4;
The filter to apply (optional).
getFilter in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.FilterOrBuilder getFilterOrBuilder()
optional .api.services.datastore.Filter filter = 4;
The filter to apply (optional).
getFilterOrBuilder in interface DatastoreV1.QueryOrBuilderpublic List<DatastoreV1.PropertyOrder> getOrderList()
repeated .api.services.datastore.PropertyOrder order = 5;
The order to apply to the query results (if empty, order is unspecified).
getOrderList in interface DatastoreV1.QueryOrBuilderpublic List<? extends DatastoreV1.PropertyOrderOrBuilder> getOrderOrBuilderList()
repeated .api.services.datastore.PropertyOrder order = 5;
The order to apply to the query results (if empty, order is unspecified).
getOrderOrBuilderList in interface DatastoreV1.QueryOrBuilderpublic int getOrderCount()
repeated .api.services.datastore.PropertyOrder order = 5;
The order to apply to the query results (if empty, order is unspecified).
getOrderCount in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyOrder getOrder(int index)
repeated .api.services.datastore.PropertyOrder order = 5;
The order to apply to the query results (if empty, order is unspecified).
getOrder in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyOrderOrBuilder getOrderOrBuilder(int index)
repeated .api.services.datastore.PropertyOrder order = 5;
The order to apply to the query results (if empty, order is unspecified).
getOrderOrBuilder in interface DatastoreV1.QueryOrBuilderpublic List<DatastoreV1.PropertyReference> getGroupByList()
repeated .api.services.datastore.PropertyReference group_by = 6;
The properties to group by (if empty, no grouping is applied to the result set).
getGroupByList in interface DatastoreV1.QueryOrBuilderpublic List<? extends DatastoreV1.PropertyReferenceOrBuilder> getGroupByOrBuilderList()
repeated .api.services.datastore.PropertyReference group_by = 6;
The properties to group by (if empty, no grouping is applied to the result set).
getGroupByOrBuilderList in interface DatastoreV1.QueryOrBuilderpublic int getGroupByCount()
repeated .api.services.datastore.PropertyReference group_by = 6;
The properties to group by (if empty, no grouping is applied to the result set).
getGroupByCount in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyReference getGroupBy(int index)
repeated .api.services.datastore.PropertyReference group_by = 6;
The properties to group by (if empty, no grouping is applied to the result set).
getGroupBy in interface DatastoreV1.QueryOrBuilderpublic DatastoreV1.PropertyReferenceOrBuilder getGroupByOrBuilder(int index)
repeated .api.services.datastore.PropertyReference group_by = 6;
The properties to group by (if empty, no grouping is applied to the result set).
getGroupByOrBuilder in interface DatastoreV1.QueryOrBuilderpublic boolean hasStartCursor()
optional bytes start_cursor = 7;
A starting point for the query results. Optional. Query cursors are returned in query result batches.
hasStartCursor in interface DatastoreV1.QueryOrBuilderpublic com.google.protobuf.ByteString getStartCursor()
optional bytes start_cursor = 7;
A starting point for the query results. Optional. Query cursors are returned in query result batches.
getStartCursor in interface DatastoreV1.QueryOrBuilderpublic boolean hasEndCursor()
optional bytes end_cursor = 8;
An ending point for the query results. Optional. Query cursors are returned in query result batches.
hasEndCursor in interface DatastoreV1.QueryOrBuilderpublic com.google.protobuf.ByteString getEndCursor()
optional bytes end_cursor = 8;
An ending point for the query results. Optional. Query cursors are returned in query result batches.
getEndCursor in interface DatastoreV1.QueryOrBuilderpublic boolean hasOffset()
optional int32 offset = 10 [default = 0];
The number of results to skip. Applies before limit, but after all other constraints (optional, defaults to 0).
hasOffset in interface DatastoreV1.QueryOrBuilderpublic int getOffset()
optional int32 offset = 10 [default = 0];
The number of results to skip. Applies before limit, but after all other constraints (optional, defaults to 0).
getOffset in interface DatastoreV1.QueryOrBuilderpublic boolean hasLimit()
optional int32 limit = 11;
The maximum number of results to return. Applies after all other constraints. Optional.
hasLimit in interface DatastoreV1.QueryOrBuilderpublic int getLimit()
optional int32 limit = 11;
The maximum number of results to return. Applies after all other constraints. Optional.
getLimit in interface DatastoreV1.QueryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessagepublic void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static DatastoreV1.Query parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Query parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Query parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Query parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DatastoreV1.Query parseFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Query parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Query parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Query parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Query parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static DatastoreV1.Query parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static DatastoreV1.Query.Builder newBuilder()
public DatastoreV1.Query.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DatastoreV1.Query.Builder newBuilder(DatastoreV1.Query prototype)
public DatastoreV1.Query.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DatastoreV1.Query.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2015. All rights reserved.