Interface LookupResponseOrBuilder (2.19.2)

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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the readTime field is set.