Class LookupResponse.Builder (2.26.4)

publicstaticfinalclass LookupResponse.BuilderextendsGeneratedMessageV3.Builder<LookupResponse.Builder>implementsLookupResponseOrBuilder

The response for Datastore.Lookup.

Protobuf type google.datastore.v1.LookupResponse

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addAllDeferred(Iterable<? extends Key> values)

publicLookupResponse.BuilderaddAllDeferred(Iterable<?extendsKey>values)

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
values Iterable<? extends com.google.datastore.v1.Key>
Returns
Type Description
LookupResponse.Builder

addAllFound(Iterable<? extends EntityResult> values)

publicLookupResponse.BuilderaddAllFound(Iterable<?extendsEntityResult>values)

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
values Iterable<? extends com.google.datastore.v1.EntityResult>
Returns
Type Description
LookupResponse.Builder

addAllMissing(Iterable<? extends EntityResult> values)

publicLookupResponse.BuilderaddAllMissing(Iterable<?extendsEntityResult>values)

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
values Iterable<? extends com.google.datastore.v1.EntityResult>
Returns
Type Description
LookupResponse.Builder

addDeferred(Key value)

publicLookupResponse.BuilderaddDeferred(Keyvalue)

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
value Key
Returns
Type Description
LookupResponse.Builder

addDeferred(Key.Builder builderForValue)

publicLookupResponse.BuilderaddDeferred(Key.BuilderbuilderForValue)

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
builderForValue Key.Builder
Returns
Type Description
LookupResponse.Builder

addDeferred(int index, Key value)

publicLookupResponse.BuilderaddDeferred(intindex,Keyvalue)

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;

Parameters
Name Description
index int
value Key
Returns
Type Description
LookupResponse.Builder

addDeferred(int index, Key.Builder builderForValue)

publicLookupResponse.BuilderaddDeferred(intindex,Key.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue Key.Builder
Returns
Type Description
LookupResponse.Builder

addDeferredBuilder()

publicKey.BuilderaddDeferredBuilder()

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
Key.Builder

addDeferredBuilder(int index)

publicKey.BuilderaddDeferredBuilder(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.Builder

addFound(EntityResult value)

publicLookupResponse.BuilderaddFound(EntityResultvalue)

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
value EntityResult
Returns
Type Description
LookupResponse.Builder

addFound(EntityResult.Builder builderForValue)

publicLookupResponse.BuilderaddFound(EntityResult.BuilderbuilderForValue)

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
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

addFound(int index, EntityResult value)

publicLookupResponse.BuilderaddFound(intindex,EntityResultvalue)

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;

Parameters
Name Description
index int
value EntityResult
Returns
Type Description
LookupResponse.Builder

addFound(int index, EntityResult.Builder builderForValue)

publicLookupResponse.BuilderaddFound(intindex,EntityResult.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

addFoundBuilder()

publicEntityResult.BuilderaddFoundBuilder()

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
EntityResult.Builder

addFoundBuilder(int index)

publicEntityResult.BuilderaddFoundBuilder(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.Builder

addMissing(EntityResult value)

publicLookupResponse.BuilderaddMissing(EntityResultvalue)

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
value EntityResult
Returns
Type Description
LookupResponse.Builder

addMissing(EntityResult.Builder builderForValue)

publicLookupResponse.BuilderaddMissing(EntityResult.BuilderbuilderForValue)

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
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

addMissing(int index, EntityResult value)

publicLookupResponse.BuilderaddMissing(intindex,EntityResultvalue)

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;

Parameters
Name Description
index int
value EntityResult
Returns
Type Description
LookupResponse.Builder

addMissing(int index, EntityResult.Builder builderForValue)

publicLookupResponse.BuilderaddMissing(intindex,EntityResult.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

addMissingBuilder()

publicEntityResult.BuilderaddMissingBuilder()

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
EntityResult.Builder

addMissingBuilder(int index)

publicEntityResult.BuilderaddMissingBuilder(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.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicLookupResponse.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupResponse.Builder
Overrides

build()

publicLookupResponsebuild()
Returns
Type Description
LookupResponse

buildPartial()

publicLookupResponsebuildPartial()
Returns
Type Description
LookupResponse

clear()

publicLookupResponse.Builderclear()
Returns
Type Description
LookupResponse.Builder
Overrides

clearDeferred()

publicLookupResponse.BuilderclearDeferred()

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
LookupResponse.Builder

clearField(Descriptors.FieldDescriptor field)

publicLookupResponse.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupResponse.Builder
Overrides

clearFound()

publicLookupResponse.BuilderclearFound()

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
LookupResponse.Builder

clearMissing()

publicLookupResponse.BuilderclearMissing()

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
LookupResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

publicLookupResponse.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupResponse.Builder
Overrides

clearReadTime()

publicLookupResponse.BuilderclearReadTime()

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

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
LookupResponse.Builder

clearTransaction()

publicLookupResponse.BuilderclearTransaction()

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
LookupResponse.Builder

This builder for chaining.

clone()

publicLookupResponse.Builderclone()
Returns
Type Description
LookupResponse.Builder
Overrides

getDefaultInstanceForType()

publicLookupResponsegetDefaultInstanceForType()
Returns
Type Description
LookupResponse

getDeferred(int index)

publicKeygetDeferred(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

getDeferredBuilder(int index)

publicKey.BuildergetDeferredBuilder(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.Builder

getDeferredBuilderList()

publicList<Key.Builder>getDeferredBuilderList()

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<Builder>

getDeferredCount()

publicintgetDeferredCount()

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()

publicList<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)

publicKeyOrBuildergetDeferredOrBuilder(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()

publicList<?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>

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFound(int index)

publicEntityResultgetFound(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

getFoundBuilder(int index)

publicEntityResult.BuildergetFoundBuilder(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.Builder

getFoundBuilderList()

publicList<EntityResult.Builder>getFoundBuilderList()

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<Builder>

getFoundCount()

publicintgetFoundCount()

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()

publicList<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)

publicEntityResultOrBuildergetFoundOrBuilder(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()

publicList<?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)

publicEntityResultgetMissing(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

getMissingBuilder(int index)

publicEntityResult.BuildergetMissingBuilder(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.Builder

getMissingBuilderList()

publicList<EntityResult.Builder>getMissingBuilderList()

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<Builder>

getMissingCount()

publicintgetMissingCount()

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()

publicList<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)

publicEntityResultOrBuildergetMissingOrBuilder(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()

publicList<?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()

publicTimestampgetReadTime()

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

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
Timestamp

The readTime.

getReadTimeBuilder()

publicTimestamp.BuildergetReadTimeBuilder()

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

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
Builder

getReadTimeOrBuilder()

publicTimestampOrBuildergetReadTimeOrBuilder()

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

.google.protobuf.Timestamp read_time = 7;

Returns
Type Description
TimestampOrBuilder

getTransaction()

publicByteStringgetTransaction()

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()

publicbooleanhasReadTime()

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.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupResponse other)

publicLookupResponse.BuildermergeFrom(LookupResponseother)
Parameter
Name Description
other LookupResponse
Returns
Type Description
LookupResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicLookupResponse.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LookupResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicLookupResponse.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
LookupResponse.Builder
Overrides

mergeReadTime(Timestamp value)

publicLookupResponse.BuildermergeReadTime(Timestampvalue)

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

.google.protobuf.Timestamp read_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
LookupResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalLookupResponse.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupResponse.Builder
Overrides

removeDeferred(int index)

publicLookupResponse.BuilderremoveDeferred(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
LookupResponse.Builder

removeFound(int index)

publicLookupResponse.BuilderremoveFound(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
LookupResponse.Builder

removeMissing(int index)

publicLookupResponse.BuilderremoveMissing(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
LookupResponse.Builder

setDeferred(int index, Key value)

publicLookupResponse.BuildersetDeferred(intindex,Keyvalue)

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;

Parameters
Name Description
index int
value Key
Returns
Type Description
LookupResponse.Builder

setDeferred(int index, Key.Builder builderForValue)

publicLookupResponse.BuildersetDeferred(intindex,Key.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue Key.Builder
Returns
Type Description
LookupResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicLookupResponse.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupResponse.Builder
Overrides

setFound(int index, EntityResult value)

publicLookupResponse.BuildersetFound(intindex,EntityResultvalue)

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;

Parameters
Name Description
index int
value EntityResult
Returns
Type Description
LookupResponse.Builder

setFound(int index, EntityResult.Builder builderForValue)

publicLookupResponse.BuildersetFound(intindex,EntityResult.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

setMissing(int index, EntityResult value)

publicLookupResponse.BuildersetMissing(intindex,EntityResultvalue)

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;

Parameters
Name Description
index int
value EntityResult
Returns
Type Description
LookupResponse.Builder

setMissing(int index, EntityResult.Builder builderForValue)

publicLookupResponse.BuildersetMissing(intindex,EntityResult.BuilderbuilderForValue)

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;

Parameters
Name Description
index int
builderForValue EntityResult.Builder
Returns
Type Description
LookupResponse.Builder

setReadTime(Timestamp value)

publicLookupResponse.BuildersetReadTime(Timestampvalue)

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

.google.protobuf.Timestamp read_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
LookupResponse.Builder

setReadTime(Timestamp.Builder builderForValue)

publicLookupResponse.BuildersetReadTime(Timestamp.BuilderbuilderForValue)

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

.google.protobuf.Timestamp read_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
LookupResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

publicLookupResponse.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupResponse.Builder
Overrides

setTransaction(ByteString value)

publicLookupResponse.BuildersetTransaction(ByteStringvalue)

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;

Parameter
Name Description
value ByteString

The transaction to set.

Returns
Type Description
LookupResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalLookupResponse.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupResponse.Builder
Overrides

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.