Package com.google.firestore.v1
Class StructuredQuery
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.firestore.v1.StructuredQuery
- All Implemented Interfaces:
StructuredQueryOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class StructuredQuery
extends com.google.protobuf.GeneratedMessageV3
implements StructuredQueryOrBuilder
A Firestore query. The query stages are executed in the following order: 1. from 2. where 3. select 4. order_by + start_at + end_at 5. offset 6. limit 7. find_nearestProtobuf type
google.firestore.v1.StructuredQuery- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA Firestore query.static final classA selection of a collection, such as `messages as m1`.static interfacestatic final classA filter that merges multiple other filters using the given operator.static interfacestatic enumA sort direction.static final classA filter on a specific field.static interfacestatic final classA reference to a field in a document, ex: `stats.operations`.static interfacestatic final classA filter.static interfacestatic final classNearest Neighbors search config.static interfacestatic final classAn order on a field.static interfacestatic final classThe projection of document's fields to return.static interfacestatic final classA filter with a single operand.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic StructuredQuerystatic final com.google.protobuf.Descriptors.DescriptorgetEndAt()A potential prefix of a position in the result set to end the query at.A potential prefix of a position in the result set to end the query at.Optional.Optional.getFrom(int index) The collections to query.intThe collections to query.The collections to query.getFromOrBuilder(int index) The collections to query.List<? extends StructuredQuery.CollectionSelectorOrBuilder>The collections to query.com.google.protobuf.Int32ValuegetLimit()The maximum number of results to return.com.google.protobuf.Int32ValueOrBuilderThe maximum number of results to return.intThe number of documents to skip before returning the first result.getOrderBy(int index) The order to apply to the query results.intThe order to apply to the query results.The order to apply to the query results.getOrderByOrBuilder(int index) The order to apply to the query results.List<? extends StructuredQuery.OrderOrBuilder>The order to apply to the query results.com.google.protobuf.Parser<StructuredQuery>Optional sub-set of the fields to return.Optional sub-set of the fields to return.intA potential prefix of a position in the result set to start the query at.A potential prefix of a position in the result set to start the query at.getWhere()The filter to apply.The filter to apply.booleanhasEndAt()A potential prefix of a position in the result set to end the query at.booleanOptional.inthashCode()booleanhasLimit()The maximum number of results to return.booleanOptional sub-set of the fields to return.booleanA potential prefix of a position in the result set to start the query at.booleanhasWhere()The filter to apply.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic StructuredQuery.Builderstatic StructuredQuery.BuildernewBuilder(StructuredQuery prototype) protected StructuredQuery.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static StructuredQueryparseDelimitedFrom(InputStream input) static StructuredQueryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StructuredQueryparseFrom(byte[] data) static StructuredQueryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StructuredQueryparseFrom(com.google.protobuf.ByteString data) static StructuredQueryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StructuredQueryparseFrom(com.google.protobuf.CodedInputStream input) static StructuredQueryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StructuredQueryparseFrom(InputStream input) static StructuredQueryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static StructuredQueryparseFrom(ByteBuffer data) static StructuredQueryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<StructuredQuery>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SELECT_FIELD_NUMBER
public static final int SELECT_FIELD_NUMBER- See Also:
-
FROM_FIELD_NUMBER
public static final int FROM_FIELD_NUMBER- See Also:
-
WHERE_FIELD_NUMBER
public static final int WHERE_FIELD_NUMBER- See Also:
-
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER- See Also:
-
START_AT_FIELD_NUMBER
public static final int START_AT_FIELD_NUMBER- See Also:
-
END_AT_FIELD_NUMBER
public static final int END_AT_FIELD_NUMBER- See Also:
-
OFFSET_FIELD_NUMBER
public static final int OFFSET_FIELD_NUMBER- See Also:
-
LIMIT_FIELD_NUMBER
public static final int LIMIT_FIELD_NUMBER- See Also:
-
FIND_NEAREST_FIELD_NUMBER
public static final int FIND_NEAREST_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasSelect
public boolean hasSelect()Optional sub-set of the fields to return. This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the documents returned from a query. When not set, assumes that the caller wants all fields returned.
.google.firestore.v1.StructuredQuery.Projection select = 1;- Specified by:
hasSelectin interfaceStructuredQueryOrBuilder- Returns:
- Whether the select field is set.
-
getSelect
Optional sub-set of the fields to return. This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the documents returned from a query. When not set, assumes that the caller wants all fields returned.
.google.firestore.v1.StructuredQuery.Projection select = 1;- Specified by:
getSelectin interfaceStructuredQueryOrBuilder- Returns:
- The select.
-
getSelectOrBuilder
Optional sub-set of the fields to return. This acts as a [DocumentMask][google.firestore.v1.DocumentMask] over the documents returned from a query. When not set, assumes that the caller wants all fields returned.
.google.firestore.v1.StructuredQuery.Projection select = 1;- Specified by:
getSelectOrBuilderin interfaceStructuredQueryOrBuilder
-
getFromList
The collections to query.
repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;- Specified by:
getFromListin interfaceStructuredQueryOrBuilder
-
getFromOrBuilderList
The collections to query.
repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;- Specified by:
getFromOrBuilderListin interfaceStructuredQueryOrBuilder
-
getFromCount
public int getFromCount()The collections to query.
repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;- Specified by:
getFromCountin interfaceStructuredQueryOrBuilder
-
getFrom
The collections to query.
repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;- Specified by:
getFromin interfaceStructuredQueryOrBuilder
-
getFromOrBuilder
The collections to query.
repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;- Specified by:
getFromOrBuilderin interfaceStructuredQueryOrBuilder
-
hasWhere
public boolean hasWhere()The filter to apply.
.google.firestore.v1.StructuredQuery.Filter where = 3;- Specified by:
hasWherein interfaceStructuredQueryOrBuilder- Returns:
- Whether the where field is set.
-
getWhere
The filter to apply.
.google.firestore.v1.StructuredQuery.Filter where = 3;- Specified by:
getWherein interfaceStructuredQueryOrBuilder- Returns:
- The where.
-
getWhereOrBuilder
The filter to apply.
.google.firestore.v1.StructuredQuery.Filter where = 3;- Specified by:
getWhereOrBuilderin interfaceStructuredQueryOrBuilder
-
getOrderByList
The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;- Specified by:
getOrderByListin interfaceStructuredQueryOrBuilder
-
getOrderByOrBuilderList
The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;- Specified by:
getOrderByOrBuilderListin interfaceStructuredQueryOrBuilder
-
getOrderByCount
public int getOrderByCount()The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;- Specified by:
getOrderByCountin interfaceStructuredQueryOrBuilder
-
getOrderBy
The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;- Specified by:
getOrderByin interfaceStructuredQueryOrBuilder
-
getOrderByOrBuilder
The order to apply to the query results. Firestore allows callers to provide a full ordering, a partial ordering, or no ordering at all. In all cases, Firestore guarantees a stable ordering through the following rules: * The `order_by` is required to reference all fields used with an inequality filter. * All fields that are required to be in the `order_by` but are not already present are appended in lexicographical ordering of the field name. * If an order on `__name__` is not specified, it is appended by default. Fields are appended with the same sort direction as the last order specified, or 'ASCENDING' if no order was specified. For example: * `ORDER BY a` becomes `ORDER BY a ASC, __name__ ASC` * `ORDER BY a DESC` becomes `ORDER BY a DESC, __name__ DESC` * `WHERE a > 1` becomes `WHERE a > 1 ORDER BY a ASC, __name__ ASC` * `WHERE __name__ > ... AND a > 1` becomes `WHERE __name__ > ... AND a > 1 ORDER BY a ASC, __name__ ASC`repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;- Specified by:
getOrderByOrBuilderin interfaceStructuredQueryOrBuilder
-
hasStartAt
public boolean hasStartAt()A potential prefix of a position in the result set to start the query at. The ordering of the result set is based on the `ORDER BY` clause of the original query. ``` SELECT * FROM k WHERE a = 1 AND b > 2 ORDER BY b ASC, __name__ ASC; ``` This query's results are ordered by `(b ASC, __name__ ASC)`. Cursors can reference either the full ordering or a prefix of the location, though it cannot reference more fields than what are in the provided `ORDER BY`. Continuing off the example above, attaching the following start cursors will have varying impact: - `START BEFORE (2, /k/123)`: start the query right before `a = 1 AND b > 2 AND __name__ > /k/123`. - `START AFTER (10)`: start the query right after `a = 1 AND b > 10`. Unlike `OFFSET` which requires scanning over the first N results to skip, a start cursor allows the query to begin at a logical position. This position is not required to match an actual result, it will scan forward from this position to find the next document. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause..google.firestore.v1.Cursor start_at = 7;- Specified by:
hasStartAtin interfaceStructuredQueryOrBuilder- Returns:
- Whether the startAt field is set.
-
getStartAt
A potential prefix of a position in the result set to start the query at. The ordering of the result set is based on the `ORDER BY` clause of the original query. ``` SELECT * FROM k WHERE a = 1 AND b > 2 ORDER BY b ASC, __name__ ASC; ``` This query's results are ordered by `(b ASC, __name__ ASC)`. Cursors can reference either the full ordering or a prefix of the location, though it cannot reference more fields than what are in the provided `ORDER BY`. Continuing off the example above, attaching the following start cursors will have varying impact: - `START BEFORE (2, /k/123)`: start the query right before `a = 1 AND b > 2 AND __name__ > /k/123`. - `START AFTER (10)`: start the query right after `a = 1 AND b > 10`. Unlike `OFFSET` which requires scanning over the first N results to skip, a start cursor allows the query to begin at a logical position. This position is not required to match an actual result, it will scan forward from this position to find the next document. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause..google.firestore.v1.Cursor start_at = 7;- Specified by:
getStartAtin interfaceStructuredQueryOrBuilder- Returns:
- The startAt.
-
getStartAtOrBuilder
A potential prefix of a position in the result set to start the query at. The ordering of the result set is based on the `ORDER BY` clause of the original query. ``` SELECT * FROM k WHERE a = 1 AND b > 2 ORDER BY b ASC, __name__ ASC; ``` This query's results are ordered by `(b ASC, __name__ ASC)`. Cursors can reference either the full ordering or a prefix of the location, though it cannot reference more fields than what are in the provided `ORDER BY`. Continuing off the example above, attaching the following start cursors will have varying impact: - `START BEFORE (2, /k/123)`: start the query right before `a = 1 AND b > 2 AND __name__ > /k/123`. - `START AFTER (10)`: start the query right after `a = 1 AND b > 10`. Unlike `OFFSET` which requires scanning over the first N results to skip, a start cursor allows the query to begin at a logical position. This position is not required to match an actual result, it will scan forward from this position to find the next document. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause..google.firestore.v1.Cursor start_at = 7;- Specified by:
getStartAtOrBuilderin interfaceStructuredQueryOrBuilder
-
hasEndAt
public boolean hasEndAt()A potential prefix of a position in the result set to end the query at. This is similar to `START_AT` but with it controlling the end position rather than the start position. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause.
.google.firestore.v1.Cursor end_at = 8;- Specified by:
hasEndAtin interfaceStructuredQueryOrBuilder- Returns:
- Whether the endAt field is set.
-
getEndAt
A potential prefix of a position in the result set to end the query at. This is similar to `START_AT` but with it controlling the end position rather than the start position. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause.
.google.firestore.v1.Cursor end_at = 8;- Specified by:
getEndAtin interfaceStructuredQueryOrBuilder- Returns:
- The endAt.
-
getEndAtOrBuilder
A potential prefix of a position in the result set to end the query at. This is similar to `START_AT` but with it controlling the end position rather than the start position. Requires: * The number of values cannot be greater than the number of fields specified in the `ORDER BY` clause.
.google.firestore.v1.Cursor end_at = 8;- Specified by:
getEndAtOrBuilderin interfaceStructuredQueryOrBuilder
-
getOffset
public int getOffset()The number of documents to skip before returning the first result. This applies after the constraints specified by the `WHERE`, `START AT`, & `END AT` but before the `LIMIT` clause. Requires: * The value must be greater than or equal to zero if specified.
int32 offset = 6;- Specified by:
getOffsetin interfaceStructuredQueryOrBuilder- Returns:
- The offset.
-
hasLimit
public boolean hasLimit()The maximum number of results to return. Applies after all other constraints. Requires: * The value must be greater than or equal to zero if specified.
.google.protobuf.Int32Value limit = 5;- Specified by:
hasLimitin interfaceStructuredQueryOrBuilder- 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. Requires: * The value must be greater than or equal to zero if specified.
.google.protobuf.Int32Value limit = 5;- Specified by:
getLimitin interfaceStructuredQueryOrBuilder- Returns:
- The limit.
-
getLimitOrBuilder
public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder()The maximum number of results to return. Applies after all other constraints. Requires: * The value must be greater than or equal to zero if specified.
.google.protobuf.Int32Value limit = 5;- Specified by:
getLimitOrBuilderin interfaceStructuredQueryOrBuilder
-
hasFindNearest
public boolean hasFindNearest()Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector.
.google.firestore.v1.StructuredQuery.FindNearest find_nearest = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasFindNearestin interfaceStructuredQueryOrBuilder- Returns:
- Whether the findNearest field is set.
-
getFindNearest
Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector.
.google.firestore.v1.StructuredQuery.FindNearest find_nearest = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFindNearestin interfaceStructuredQueryOrBuilder- Returns:
- The findNearest.
-
getFindNearestOrBuilder
Optional. A potential nearest neighbors search. Applies after all other filters and ordering. Finds the closest vector embeddings to the given query vector.
.google.firestore.v1.StructuredQuery.FindNearest find_nearest = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getFindNearestOrBuilderin interfaceStructuredQueryOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static StructuredQuery parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StructuredQuery parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StructuredQuery parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StructuredQuery parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StructuredQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static StructuredQuery parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static StructuredQuery parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static StructuredQuery parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static StructuredQuery parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static StructuredQuery parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected StructuredQuery.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-