Interface LookupResponseOrBuilder (2.19.2)

publicinterface LookupResponseOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeferred(int index)

publicabstractKeygetDeferred(intindex)

A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.Key deferred = 3;

Parameter
Name Description
index int
Returns
Type Description
Key

getDeferredCount()

publicabstractintgetDeferredCount()

A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.Key deferred = 3;

Returns
Type Description
int

getDeferredList()

publicabstractList<Key>getDeferredList()

A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.Key deferred = 3;

Returns
Type Description
List<Key>

getDeferredOrBuilder(int index)

publicabstractKeyOrBuildergetDeferredOrBuilder(intindex)

A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.Key deferred = 3;

Parameter
Name Description
index int
Returns
Type Description
KeyOrBuilder

getDeferredOrBuilderList()

publicabstractList<?extendsKeyOrBuilder>getDeferredOrBuilderList()

A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.Key deferred = 3;

Returns
Type Description
List<? extends com.google.datastore.v1.KeyOrBuilder>

getFound(int index)

publicabstractEntityResultgetFound(intindex)

Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult found = 1;

Parameter
Name Description
index int
Returns
Type Description
EntityResult

getFoundCount()

publicabstractintgetFoundCount()

Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult found = 1;

Returns
Type Description
int

getFoundList()

publicabstractList<EntityResult>getFoundList()

Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult found = 1;

Returns
Type Description
List<EntityResult>

getFoundOrBuilder(int index)

publicabstractEntityResultOrBuildergetFoundOrBuilder(intindex)

Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult found = 1;

Parameter
Name Description
index int
Returns
Type Description
EntityResultOrBuilder

getFoundOrBuilderList()

publicabstractList<?extendsEntityResultOrBuilder>getFoundOrBuilderList()

Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult found = 1;

Returns
Type Description
List<? extends com.google.datastore.v1.EntityResultOrBuilder>

getMissing(int index)

publicabstractEntityResultgetMissing(intindex)

Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult missing = 2;

Parameter
Name Description
index int
Returns
Type Description
EntityResult

getMissingCount()

publicabstractintgetMissingCount()

Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult missing = 2;

Returns
Type Description
int

getMissingList()

publicabstractList<EntityResult>getMissingList()

Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult missing = 2;

Returns
Type Description
List<EntityResult>

getMissingOrBuilder(int index)

publicabstractEntityResultOrBuildergetMissingOrBuilder(intindex)

Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult missing = 2;

Parameter
Name Description
index int
Returns
Type Description
EntityResultOrBuilder

getMissingOrBuilderList()

publicabstractList<?extendsEntityResultOrBuilder>getMissingOrBuilderList()

Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.

repeated .google.datastore.v1.EntityResult missing = 2;

Returns
Type Description
List<? extends com.google.datastore.v1.EntityResultOrBuilder>

getReadTime()

publicabstractTimestampgetReadTime()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
Timestamp

The readTime.

getReadTimeOrBuilder()

publicabstractTimestampOrBuildergetReadTimeOrBuilder()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
TimestampOrBuilder

getTransaction()

publicabstractByteStringgetTransaction()

The identifier of the transaction that was started as part of this Lookup request.

Set only when ReadOptions.new_transaction was set in LookupRequest.read_options.

bytes transaction = 5;

Returns
Type Description
ByteString

The transaction.

hasReadTime()

publicabstractbooleanhasReadTime()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
boolean

Whether the readTime field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.