Package com.google.datastore.v1
Class QueryResultBatch.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
- com.google.datastore.v1.QueryResultBatch.Builder
-
- All Implemented Interfaces:
QueryResultBatchOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- QueryResultBatch
public static final class QueryResultBatch.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder> implements QueryResultBatchOrBuilder
A batch of results produced by a query.
Protobuf typegoogle.datastore.v1.QueryResultBatch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryResultBatch.BuilderaddAllEntityResults(Iterable<? extends EntityResult> values)The results for this batch.QueryResultBatch.BuilderaddEntityResults(int index, EntityResult value)The results for this batch.QueryResultBatch.BuilderaddEntityResults(int index, EntityResult.Builder builderForValue)The results for this batch.QueryResultBatch.BuilderaddEntityResults(EntityResult value)The results for this batch.QueryResultBatch.BuilderaddEntityResults(EntityResult.Builder builderForValue)The results for this batch.EntityResult.BuilderaddEntityResultsBuilder()The results for this batch.EntityResult.BuilderaddEntityResultsBuilder(int index)The results for this batch.QueryResultBatch.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QueryResultBatchbuild()QueryResultBatchbuildPartial()QueryResultBatch.Builderclear()QueryResultBatch.BuilderclearEndCursor()A cursor that points to the position after the last result in the batch.QueryResultBatch.BuilderclearEntityResults()The results for this batch.QueryResultBatch.BuilderclearEntityResultType()The result type for every entity in `entity_results`.QueryResultBatch.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)QueryResultBatch.BuilderclearMoreResults()The state of the query after the current batch.QueryResultBatch.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)QueryResultBatch.BuilderclearReadTime()Read timestamp this batch was returned from.QueryResultBatch.BuilderclearSkippedCursor()A cursor that points to the position after the last skipped result.QueryResultBatch.BuilderclearSkippedResults()The number of results skipped, typically because of an offset.QueryResultBatch.BuilderclearSnapshotVersion()The version number of the snapshot this batch was returned from.QueryResultBatch.Builderclone()QueryResultBatchgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()com.google.protobuf.ByteStringgetEndCursor()A cursor that points to the position after the last result in the batch.EntityResultgetEntityResults(int index)The results for this batch.EntityResult.BuildergetEntityResultsBuilder(int index)The results for this batch.List<EntityResult.Builder>getEntityResultsBuilderList()The results for this batch.intgetEntityResultsCount()The results for this batch.List<EntityResult>getEntityResultsList()The results for this batch.EntityResultOrBuildergetEntityResultsOrBuilder(int index)The results for this batch.List<? extends EntityResultOrBuilder>getEntityResultsOrBuilderList()The results for this batch.EntityResult.ResultTypegetEntityResultType()The result type for every entity in `entity_results`.intgetEntityResultTypeValue()The result type for every entity in `entity_results`.QueryResultBatch.MoreResultsTypegetMoreResults()The state of the query after the current batch.intgetMoreResultsValue()The state of the query after the current batch.com.google.protobuf.TimestampgetReadTime()Read timestamp this batch was returned from.com.google.protobuf.Timestamp.BuildergetReadTimeBuilder()Read timestamp this batch was returned from.com.google.protobuf.TimestampOrBuildergetReadTimeOrBuilder()Read timestamp this batch was returned from.com.google.protobuf.ByteStringgetSkippedCursor()A cursor that points to the position after the last skipped result.intgetSkippedResults()The number of results skipped, typically because of an offset.longgetSnapshotVersion()The version number of the snapshot this batch was returned from.booleanhasReadTime()Read timestamp this batch was returned from.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()QueryResultBatch.BuildermergeFrom(QueryResultBatch other)QueryResultBatch.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)QueryResultBatch.BuildermergeFrom(com.google.protobuf.Message other)QueryResultBatch.BuildermergeReadTime(com.google.protobuf.Timestamp value)Read timestamp this batch was returned from.QueryResultBatch.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)QueryResultBatch.BuilderremoveEntityResults(int index)The results for this batch.QueryResultBatch.BuildersetEndCursor(com.google.protobuf.ByteString value)A cursor that points to the position after the last result in the batch.QueryResultBatch.BuildersetEntityResults(int index, EntityResult value)The results for this batch.QueryResultBatch.BuildersetEntityResults(int index, EntityResult.Builder builderForValue)The results for this batch.QueryResultBatch.BuildersetEntityResultType(EntityResult.ResultType value)The result type for every entity in `entity_results`.QueryResultBatch.BuildersetEntityResultTypeValue(int value)The result type for every entity in `entity_results`.QueryResultBatch.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)QueryResultBatch.BuildersetMoreResults(QueryResultBatch.MoreResultsType value)The state of the query after the current batch.QueryResultBatch.BuildersetMoreResultsValue(int value)The state of the query after the current batch.QueryResultBatch.BuildersetReadTime(com.google.protobuf.Timestamp value)Read timestamp this batch was returned from.QueryResultBatch.BuildersetReadTime(com.google.protobuf.Timestamp.Builder builderForValue)Read timestamp this batch was returned from.QueryResultBatch.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)QueryResultBatch.BuildersetSkippedCursor(com.google.protobuf.ByteString value)A cursor that points to the position after the last skipped result.QueryResultBatch.BuildersetSkippedResults(int value)The number of results skipped, typically because of an offset.QueryResultBatch.BuildersetSnapshotVersion(long value)The version number of the snapshot this batch was returned from.QueryResultBatch.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
clear
public QueryResultBatch.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
getDefaultInstanceForType
public QueryResultBatch getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public QueryResultBatch build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public QueryResultBatch buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public QueryResultBatch.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
setField
public QueryResultBatch.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
clearField
public QueryResultBatch.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
clearOneof
public QueryResultBatch.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
setRepeatedField
public QueryResultBatch.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
addRepeatedField
public QueryResultBatch.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
mergeFrom
public QueryResultBatch.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryResultBatch.Builder>
-
mergeFrom
public QueryResultBatch.Builder mergeFrom(QueryResultBatch other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
mergeFrom
public QueryResultBatch.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<QueryResultBatch.Builder>- Throws:
IOException
-
getSkippedResults
public int getSkippedResults()
The number of results skipped, typically because of an offset.
int32 skipped_results = 6;- Specified by:
getSkippedResultsin interfaceQueryResultBatchOrBuilder- Returns:
- The skippedResults.
-
setSkippedResults
public QueryResultBatch.Builder setSkippedResults(int value)
The number of results skipped, typically because of an offset.
int32 skipped_results = 6;- Parameters:
value- The skippedResults to set.- Returns:
- This builder for chaining.
-
clearSkippedResults
public QueryResultBatch.Builder clearSkippedResults()
The number of results skipped, typically because of an offset.
int32 skipped_results = 6;- Returns:
- This builder for chaining.
-
getSkippedCursor
public com.google.protobuf.ByteString getSkippedCursor()
A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.
bytes skipped_cursor = 3;- Specified by:
getSkippedCursorin interfaceQueryResultBatchOrBuilder- Returns:
- The skippedCursor.
-
setSkippedCursor
public QueryResultBatch.Builder setSkippedCursor(com.google.protobuf.ByteString value)
A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.
bytes skipped_cursor = 3;- Parameters:
value- The skippedCursor to set.- Returns:
- This builder for chaining.
-
clearSkippedCursor
public QueryResultBatch.Builder clearSkippedCursor()
A cursor that points to the position after the last skipped result. Will be set when `skipped_results` != 0.
bytes skipped_cursor = 3;- Returns:
- This builder for chaining.
-
getEntityResultTypeValue
public int getEntityResultTypeValue()
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;- Specified by:
getEntityResultTypeValuein interfaceQueryResultBatchOrBuilder- Returns:
- The enum numeric value on the wire for entityResultType.
-
setEntityResultTypeValue
public QueryResultBatch.Builder setEntityResultTypeValue(int value)
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;- Parameters:
value- The enum numeric value on the wire for entityResultType to set.- Returns:
- This builder for chaining.
-
getEntityResultType
public EntityResult.ResultType getEntityResultType()
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;- Specified by:
getEntityResultTypein interfaceQueryResultBatchOrBuilder- Returns:
- The entityResultType.
-
setEntityResultType
public QueryResultBatch.Builder setEntityResultType(EntityResult.ResultType value)
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;- Parameters:
value- The entityResultType to set.- Returns:
- This builder for chaining.
-
clearEntityResultType
public QueryResultBatch.Builder clearEntityResultType()
The result type for every entity in `entity_results`.
.google.datastore.v1.EntityResult.ResultType entity_result_type = 1;- Returns:
- This builder for chaining.
-
getEntityResultsList
public List<EntityResult> getEntityResultsList()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;- Specified by:
getEntityResultsListin interfaceQueryResultBatchOrBuilder
-
getEntityResultsCount
public int getEntityResultsCount()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;- Specified by:
getEntityResultsCountin interfaceQueryResultBatchOrBuilder
-
getEntityResults
public EntityResult getEntityResults(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;- Specified by:
getEntityResultsin interfaceQueryResultBatchOrBuilder
-
setEntityResults
public QueryResultBatch.Builder setEntityResults(int index, EntityResult value)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
setEntityResults
public QueryResultBatch.Builder setEntityResults(int index, EntityResult.Builder builderForValue)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addEntityResults
public QueryResultBatch.Builder addEntityResults(EntityResult value)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addEntityResults
public QueryResultBatch.Builder addEntityResults(int index, EntityResult value)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addEntityResults
public QueryResultBatch.Builder addEntityResults(EntityResult.Builder builderForValue)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addEntityResults
public QueryResultBatch.Builder addEntityResults(int index, EntityResult.Builder builderForValue)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addAllEntityResults
public QueryResultBatch.Builder addAllEntityResults(Iterable<? extends EntityResult> values)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
clearEntityResults
public QueryResultBatch.Builder clearEntityResults()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
removeEntityResults
public QueryResultBatch.Builder removeEntityResults(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
getEntityResultsBuilder
public EntityResult.Builder getEntityResultsBuilder(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
getEntityResultsOrBuilder
public EntityResultOrBuilder getEntityResultsOrBuilder(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;- Specified by:
getEntityResultsOrBuilderin interfaceQueryResultBatchOrBuilder
-
getEntityResultsOrBuilderList
public List<? extends EntityResultOrBuilder> getEntityResultsOrBuilderList()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;- Specified by:
getEntityResultsOrBuilderListin interfaceQueryResultBatchOrBuilder
-
addEntityResultsBuilder
public EntityResult.Builder addEntityResultsBuilder()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
addEntityResultsBuilder
public EntityResult.Builder addEntityResultsBuilder(int index)
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
getEntityResultsBuilderList
public List<EntityResult.Builder> getEntityResultsBuilderList()
The results for this batch.
repeated .google.datastore.v1.EntityResult entity_results = 2;
-
getEndCursor
public com.google.protobuf.ByteString getEndCursor()
A cursor that points to the position after the last result in the batch.
bytes end_cursor = 4;- Specified by:
getEndCursorin interfaceQueryResultBatchOrBuilder- Returns:
- The endCursor.
-
setEndCursor
public QueryResultBatch.Builder setEndCursor(com.google.protobuf.ByteString value)
A cursor that points to the position after the last result in the batch.
bytes end_cursor = 4;- Parameters:
value- The endCursor to set.- Returns:
- This builder for chaining.
-
clearEndCursor
public QueryResultBatch.Builder clearEndCursor()
A cursor that points to the position after the last result in the batch.
bytes end_cursor = 4;- Returns:
- This builder for chaining.
-
getMoreResultsValue
public int getMoreResultsValue()
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;- Specified by:
getMoreResultsValuein interfaceQueryResultBatchOrBuilder- Returns:
- The enum numeric value on the wire for moreResults.
-
setMoreResultsValue
public QueryResultBatch.Builder setMoreResultsValue(int value)
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;- Parameters:
value- The enum numeric value on the wire for moreResults to set.- Returns:
- This builder for chaining.
-
getMoreResults
public QueryResultBatch.MoreResultsType getMoreResults()
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;- Specified by:
getMoreResultsin interfaceQueryResultBatchOrBuilder- Returns:
- The moreResults.
-
setMoreResults
public QueryResultBatch.Builder setMoreResults(QueryResultBatch.MoreResultsType value)
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;- Parameters:
value- The moreResults to set.- Returns:
- This builder for chaining.
-
clearMoreResults
public QueryResultBatch.Builder clearMoreResults()
The state of the query after the current batch.
.google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5;- Returns:
- This builder for chaining.
-
getSnapshotVersion
public long getSnapshotVersion()
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
int64 snapshot_version = 7;- Specified by:
getSnapshotVersionin interfaceQueryResultBatchOrBuilder- Returns:
- The snapshotVersion.
-
setSnapshotVersion
public QueryResultBatch.Builder setSnapshotVersion(long value)
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
int64 snapshot_version = 7;- Parameters:
value- The snapshotVersion to set.- Returns:
- This builder for chaining.
-
clearSnapshotVersion
public QueryResultBatch.Builder clearSnapshotVersion()
The version number of the snapshot this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater snapshot version number. Each batch's snapshot version is valid for all preceding batches. The value will be zero for eventually consistent queries.
int64 snapshot_version = 7;- Returns:
- This builder for chaining.
-
hasReadTime
public boolean hasReadTime()
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;- Specified by:
hasReadTimein interfaceQueryResultBatchOrBuilder- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;- Specified by:
getReadTimein interfaceQueryResultBatchOrBuilder- Returns:
- The readTime.
-
setReadTime
public QueryResultBatch.Builder setReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;
-
setReadTime
public QueryResultBatch.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;
-
mergeReadTime
public QueryResultBatch.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;
-
clearReadTime
public QueryResultBatch.Builder clearReadTime()
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;
-
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;
-
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Read timestamp this batch was returned from. This applies to the range of results from the query's `start_cursor` (or the beginning of the query if no cursor was given) to this batch's `end_cursor` (not the query's `end_cursor`). In a single transaction, subsequent query result batches for the same query can have a greater timestamp. Each batch's read timestamp is valid for all preceding batches. This value will not be set for eventually consistent queries in Cloud Datastore.
.google.protobuf.Timestamp read_time = 8;- Specified by:
getReadTimeOrBuilderin interfaceQueryResultBatchOrBuilder
-
setUnknownFields
public final QueryResultBatch.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
mergeUnknownFields
public final QueryResultBatch.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<QueryResultBatch.Builder>
-
-