public static final class LookupResponse.Builder extends GeneratedMessageV3.Builder<LookupResponse.Builder> implements LookupResponseOrBuilder
The response for Datastore.Lookup.
Protobuf type google.datastore.v1.LookupResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LookupResponse.BuilderImplements
LookupResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDeferred(Iterable<? extends Key> values)
public LookupResponse.Builder addAllDeferred(Iterable<? extends Key> 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)
public LookupResponse.Builder addAllFound(Iterable<? extends EntityResult> 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)
public LookupResponse.Builder addAllMissing(Iterable<? extends EntityResult> 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)
public LookupResponse.Builder addDeferred(Key value)
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)
public LookupResponse.Builder addDeferred(Key.Builder builderForValue)
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)
public LookupResponse.Builder addDeferred(int index, Key value)
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)
public LookupResponse.Builder addDeferred(int index, Key.Builder builderForValue)
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()
public Key.Builder addDeferredBuilder()
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)
public Key.Builder addDeferredBuilder(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.Builder |
addFound(EntityResult value)
public LookupResponse.Builder addFound(EntityResult value)
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)
public LookupResponse.Builder addFound(EntityResult.Builder builderForValue)
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)
public LookupResponse.Builder addFound(int index, EntityResult value)
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)
public LookupResponse.Builder addFound(int index, EntityResult.Builder builderForValue)
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()
public EntityResult.Builder addFoundBuilder()
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)
public EntityResult.Builder addFoundBuilder(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.Builder |
addMissing(EntityResult value)
public LookupResponse.Builder addMissing(EntityResult value)
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)
public LookupResponse.Builder addMissing(EntityResult.Builder builderForValue)
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)
public LookupResponse.Builder addMissing(int index, EntityResult value)
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)
public LookupResponse.Builder addMissing(int index, EntityResult.Builder builderForValue)
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()
public EntityResult.Builder addMissingBuilder()
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)
public EntityResult.Builder addMissingBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
build()
public LookupResponse build()
Returns | |
---|---|
Type | Description |
LookupResponse |
buildPartial()
public LookupResponse buildPartial()
Returns | |
---|---|
Type | Description |
LookupResponse |
clear()
public LookupResponse.Builder clear()
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
clearDeferred()
public LookupResponse.Builder clearDeferred()
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)
public LookupResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
clearFound()
public LookupResponse.Builder clearFound()
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()
public LookupResponse.Builder clearMissing()
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)
public LookupResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
clearReadTime()
public LookupResponse.Builder clearReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
clearTransaction()
public LookupResponse.Builder clearTransaction()
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()
public LookupResponse.Builder clone()
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
getDefaultInstanceForType()
public LookupResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
LookupResponse |
getDeferred(int index)
public 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 |
getDeferredBuilder(int index)
public Key.Builder getDeferredBuilder(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.Builder |
getDeferredBuilderList()
public List<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()
public 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 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 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 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> |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getFound(int index)
public 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 |
getFoundBuilder(int index)
public EntityResult.Builder getFoundBuilder(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.Builder |
getFoundBuilderList()
public List<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()
public 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 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 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 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 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 |
getMissingBuilder(int index)
public EntityResult.Builder getMissingBuilder(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.Builder |
getMissingBuilderList()
public List<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()
public 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 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 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 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 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. |
getReadTimeBuilder()
public Timestamp.Builder getReadTimeBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
Returns | |
---|---|
Type | Description |
Builder |
getReadTimeOrBuilder()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(LookupResponse other)
public LookupResponse.Builder mergeFrom(LookupResponse other)
Parameter | |
---|---|
Name | Description |
other | LookupResponse |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LookupResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public LookupResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
mergeReadTime(Timestamp value)
public LookupResponse.Builder mergeReadTime(Timestamp value)
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)
public final LookupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
removeDeferred(int index)
public LookupResponse.Builder removeDeferred(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 |
LookupResponse.Builder |
removeFound(int index)
public LookupResponse.Builder removeFound(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 |
LookupResponse.Builder |
removeMissing(int index)
public LookupResponse.Builder removeMissing(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 |
LookupResponse.Builder |
setDeferred(int index, Key value)
public LookupResponse.Builder setDeferred(int index, Key value)
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)
public LookupResponse.Builder setDeferred(int index, Key.Builder builderForValue)
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)
public LookupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
setFound(int index, EntityResult value)
public LookupResponse.Builder setFound(int index, EntityResult value)
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)
public LookupResponse.Builder setFound(int index, EntityResult.Builder builderForValue)
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)
public LookupResponse.Builder setMissing(int index, EntityResult value)
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)
public LookupResponse.Builder setMissing(int index, EntityResult.Builder builderForValue)
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)
public LookupResponse.Builder setReadTime(Timestamp value)
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)
public LookupResponse.Builder setReadTime(Timestamp.Builder builderForValue)
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)
public LookupResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |
setTransaction(ByteString value)
public LookupResponse.Builder setTransaction(ByteString value)
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)
public final LookupResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
LookupResponse.Builder |