public static final class LookupResponse.Builder extends GeneratedMessageV3.Builder<LookupResponse.Builder> implements LookupResponseOrBuilder
The response for Datastore.Lookup.
Protobuf type google.datastore.v1.LookupResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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
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
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
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
Returns
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
Returns
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
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
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
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
Returns
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
Returns
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
Returns
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
Returns
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LookupResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public LookupResponse build()
Returns
buildPartial()
public LookupResponse buildPartial()
Returns
clear()
public LookupResponse.Builder clear()
Returns
Overrides
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
clearField(Descriptors.FieldDescriptor field)
public LookupResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
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
clearOneof(Descriptors.OneofDescriptor oneof)
public LookupResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public LookupResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public LookupResponse getDefaultInstanceForType()
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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
Overrides
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
Returns
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
Returns
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
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
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
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
Returns
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
Returns
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
Returns
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
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
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
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
Returns
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(LookupResponse other)
public LookupResponse.Builder mergeFrom(LookupResponse other)
Parameter
Returns
public LookupResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public LookupResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LookupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public LookupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LookupResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final LookupResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides