Interface LookupResponseOrBuilder (2.18.5)

public interface LookupResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeferred(int index)

public abstract Key getDeferred(int index)

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
NameDescription
indexint
Returns
TypeDescription
Key

getDeferredCount()

public abstract int getDeferredCount()

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
TypeDescription
int

getDeferredList()

public abstract List<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
TypeDescription
List<Key>

getDeferredOrBuilder(int index)

public abstract KeyOrBuilder getDeferredOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

getDeferredOrBuilderList()

public abstract List<? extends KeyOrBuilder> 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
TypeDescription
List<? extends com.google.datastore.v1.KeyOrBuilder>

getFound(int index)

public abstract EntityResult getFound(int index)

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
NameDescription
indexint
Returns
TypeDescription
EntityResult

getFoundCount()

public abstract int getFoundCount()

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
TypeDescription
int

getFoundList()

public abstract List<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
TypeDescription
List<EntityResult>

getFoundOrBuilder(int index)

public abstract EntityResultOrBuilder getFoundOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
EntityResultOrBuilder

getFoundOrBuilderList()

public abstract List<? extends EntityResultOrBuilder> 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
TypeDescription
List<? extends com.google.datastore.v1.EntityResultOrBuilder>

getMissing(int index)

public abstract EntityResult getMissing(int index)

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
NameDescription
indexint
Returns
TypeDescription
EntityResult

getMissingCount()

public abstract int getMissingCount()

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
TypeDescription
int

getMissingList()

public abstract List<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
TypeDescription
List<EntityResult>

getMissingOrBuilder(int index)

public abstract EntityResultOrBuilder getMissingOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
EntityResultOrBuilder

getMissingOrBuilderList()

public abstract List<? extends EntityResultOrBuilder> 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
TypeDescription
List<? extends com.google.datastore.v1.EntityResultOrBuilder>

getReadTime()

public abstract Timestamp getReadTime()

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

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
Timestamp

The readTime.

getReadTimeOrBuilder()

public abstract TimestampOrBuilder getReadTimeOrBuilder()

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

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
TimestampOrBuilder

getTransaction()

public abstract ByteString getTransaction()

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
TypeDescription
ByteString

The transaction.

hasReadTime()

public abstract boolean hasReadTime()

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

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
boolean

Whether the readTime field is set.