Package com.google.datastore.v1
Class LookupResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
- com.google.datastore.v1.LookupResponse.Builder
-
- All Implemented Interfaces:
LookupResponseOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- LookupResponse
public static final class LookupResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder> implements LookupResponseOrBuilder
The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
Protobuf typegoogle.datastore.v1.LookupResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LookupResponse.Builder
addAllDeferred(Iterable<? extends Key> values)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
addAllFound(Iterable<? extends EntityResult> values)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
addAllMissing(Iterable<? extends EntityResult> values)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
addDeferred(int index, Key value)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
addDeferred(int index, Key.Builder builderForValue)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
addDeferred(Key value)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
addDeferred(Key.Builder builderForValue)
A list of keys that were not looked up due to resource constraints.Key.Builder
addDeferredBuilder()
A list of keys that were not looked up due to resource constraints.Key.Builder
addDeferredBuilder(int index)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
addFound(int index, EntityResult value)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
addFound(int index, EntityResult.Builder builderForValue)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
addFound(EntityResult value)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
addFound(EntityResult.Builder builderForValue)
Entities found as `ResultType.FULL` entities.EntityResult.Builder
addFoundBuilder()
Entities found as `ResultType.FULL` entities.EntityResult.Builder
addFoundBuilder(int index)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
addMissing(int index, EntityResult value)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
addMissing(int index, EntityResult.Builder builderForValue)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
addMissing(EntityResult value)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
addMissing(EntityResult.Builder builderForValue)
Entities not found as `ResultType.KEY_ONLY` entities.EntityResult.Builder
addMissingBuilder()
Entities not found as `ResultType.KEY_ONLY` entities.EntityResult.Builder
addMissingBuilder(int index)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LookupResponse
build()
LookupResponse
buildPartial()
LookupResponse.Builder
clear()
LookupResponse.Builder
clearDeferred()
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LookupResponse.Builder
clearFound()
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
clearMissing()
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LookupResponse.Builder
clearReadTime()
The time at which these entities were read or found missing.LookupResponse.Builder
clearTransaction()
The identifier of the transaction that was started as part of this Lookup request.LookupResponse.Builder
clone()
LookupResponse
getDefaultInstanceForType()
Key
getDeferred(int index)
A list of keys that were not looked up due to resource constraints.Key.Builder
getDeferredBuilder(int index)
A list of keys that were not looked up due to resource constraints.List<Key.Builder>
getDeferredBuilderList()
A list of keys that were not looked up due to resource constraints.int
getDeferredCount()
A list of keys that were not looked up due to resource constraints.List<Key>
getDeferredList()
A list of keys that were not looked up due to resource constraints.KeyOrBuilder
getDeferredOrBuilder(int index)
A list of keys that were not looked up due to resource constraints.List<? extends KeyOrBuilder>
getDeferredOrBuilderList()
A list of keys that were not looked up due to resource constraints.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
EntityResult
getFound(int index)
Entities found as `ResultType.FULL` entities.EntityResult.Builder
getFoundBuilder(int index)
Entities found as `ResultType.FULL` entities.List<EntityResult.Builder>
getFoundBuilderList()
Entities found as `ResultType.FULL` entities.int
getFoundCount()
Entities found as `ResultType.FULL` entities.List<EntityResult>
getFoundList()
Entities found as `ResultType.FULL` entities.EntityResultOrBuilder
getFoundOrBuilder(int index)
Entities found as `ResultType.FULL` entities.List<? extends EntityResultOrBuilder>
getFoundOrBuilderList()
Entities found as `ResultType.FULL` entities.EntityResult
getMissing(int index)
Entities not found as `ResultType.KEY_ONLY` entities.EntityResult.Builder
getMissingBuilder(int index)
Entities not found as `ResultType.KEY_ONLY` entities.List<EntityResult.Builder>
getMissingBuilderList()
Entities not found as `ResultType.KEY_ONLY` entities.int
getMissingCount()
Entities not found as `ResultType.KEY_ONLY` entities.List<EntityResult>
getMissingList()
Entities not found as `ResultType.KEY_ONLY` entities.EntityResultOrBuilder
getMissingOrBuilder(int index)
Entities not found as `ResultType.KEY_ONLY` entities.List<? extends EntityResultOrBuilder>
getMissingOrBuilderList()
Entities not found as `ResultType.KEY_ONLY` entities.com.google.protobuf.Timestamp
getReadTime()
The time at which these entities were read or found missing.com.google.protobuf.Timestamp.Builder
getReadTimeBuilder()
The time at which these entities were read or found missing.com.google.protobuf.TimestampOrBuilder
getReadTimeOrBuilder()
The time at which these entities were read or found missing.com.google.protobuf.ByteString
getTransaction()
The identifier of the transaction that was started as part of this Lookup request.boolean
hasReadTime()
The time at which these entities were read or found missing.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LookupResponse.Builder
mergeFrom(LookupResponse other)
LookupResponse.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LookupResponse.Builder
mergeFrom(com.google.protobuf.Message other)
LookupResponse.Builder
mergeReadTime(com.google.protobuf.Timestamp value)
The time at which these entities were read or found missing.LookupResponse.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LookupResponse.Builder
removeDeferred(int index)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
removeFound(int index)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
removeMissing(int index)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
setDeferred(int index, Key value)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
setDeferred(int index, Key.Builder builderForValue)
A list of keys that were not looked up due to resource constraints.LookupResponse.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LookupResponse.Builder
setFound(int index, EntityResult value)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
setFound(int index, EntityResult.Builder builderForValue)
Entities found as `ResultType.FULL` entities.LookupResponse.Builder
setMissing(int index, EntityResult value)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
setMissing(int index, EntityResult.Builder builderForValue)
Entities not found as `ResultType.KEY_ONLY` entities.LookupResponse.Builder
setReadTime(com.google.protobuf.Timestamp value)
The time at which these entities were read or found missing.LookupResponse.Builder
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which these entities were read or found missing.LookupResponse.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
LookupResponse.Builder
setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction that was started as part of this Lookup request.LookupResponse.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
clear
public LookupResponse.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
getDefaultInstanceForType
public LookupResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LookupResponse build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LookupResponse buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LookupResponse.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
setField
public LookupResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
clearField
public LookupResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
clearOneof
public LookupResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
setRepeatedField
public LookupResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
addRepeatedField
public LookupResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
mergeFrom
public LookupResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupResponse.Builder>
-
mergeFrom
public LookupResponse.Builder mergeFrom(LookupResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
mergeFrom
public LookupResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LookupResponse.Builder>
- Throws:
IOException
-
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;
- Specified by:
getFoundList
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getFoundCount
in interfaceLookupResponseOrBuilder
-
getFound
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;
- Specified by:
getFound
in interfaceLookupResponseOrBuilder
-
setFound
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;
-
setFound
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;
-
addFound
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;
-
addFound
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;
-
addFound
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;
-
addFound
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;
-
addAllFound
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;
-
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;
-
removeFound
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;
-
getFoundBuilder
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;
-
getFoundOrBuilder
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;
- Specified by:
getFoundOrBuilder
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getFoundOrBuilderList
in interfaceLookupResponseOrBuilder
-
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;
-
addFoundBuilder
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;
-
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;
-
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;
- Specified by:
getMissingList
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getMissingCount
in interfaceLookupResponseOrBuilder
-
getMissing
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;
- Specified by:
getMissing
in interfaceLookupResponseOrBuilder
-
setMissing
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;
-
setMissing
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;
-
addMissing
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;
-
addMissing
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;
-
addMissing
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;
-
addMissing
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;
-
addAllMissing
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;
-
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;
-
removeMissing
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;
-
getMissingBuilder
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;
-
getMissingOrBuilder
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;
- Specified by:
getMissingOrBuilder
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getMissingOrBuilderList
in interfaceLookupResponseOrBuilder
-
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;
-
addMissingBuilder
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;
-
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;
-
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;
- Specified by:
getDeferredList
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getDeferredCount
in interfaceLookupResponseOrBuilder
-
getDeferred
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;
- Specified by:
getDeferred
in interfaceLookupResponseOrBuilder
-
setDeferred
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;
-
setDeferred
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;
-
addDeferred
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;
-
addDeferred
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;
-
addDeferred
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;
-
addDeferred
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;
-
addAllDeferred
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;
-
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;
-
removeDeferred
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;
-
getDeferredBuilder
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;
-
getDeferredOrBuilder
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;
- Specified by:
getDeferredOrBuilder
in interfaceLookupResponseOrBuilder
-
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;
- Specified by:
getDeferredOrBuilderList
in interfaceLookupResponseOrBuilder
-
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;
-
addDeferredBuilder
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;
-
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;
-
getTransaction
public com.google.protobuf.ByteString getTransaction()
The identifier of the transaction that was started as part of this Lookup request. Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [LookupRequest.read_options][google.datastore.v1.LookupRequest.read_options].
bytes transaction = 5;
- Specified by:
getTransaction
in interfaceLookupResponseOrBuilder
- Returns:
- The transaction.
-
setTransaction
public LookupResponse.Builder setTransaction(com.google.protobuf.ByteString value)
The identifier of the transaction that was started as part of this Lookup request. Set only when [ReadOptions.new_transaction][google.datastore.v1.ReadOptions.new_transaction] was set in [LookupRequest.read_options][google.datastore.v1.LookupRequest.read_options].
bytes transaction = 5;
- Parameters:
value
- The transaction to set.- Returns:
- This builder for chaining.
-
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][google.datastore.v1.ReadOptions.new_transaction] was set in [LookupRequest.read_options][google.datastore.v1.LookupRequest.read_options].
bytes transaction = 5;
- Returns:
- This builder for chaining.
-
hasReadTime
public boolean hasReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
- Specified by:
hasReadTime
in interfaceLookupResponseOrBuilder
- Returns:
- Whether the readTime field is set.
-
getReadTime
public com.google.protobuf.Timestamp getReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
- Specified by:
getReadTime
in interfaceLookupResponseOrBuilder
- Returns:
- The readTime.
-
setReadTime
public LookupResponse.Builder setReadTime(com.google.protobuf.Timestamp value)
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
-
setReadTime
public LookupResponse.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
-
mergeReadTime
public LookupResponse.Builder mergeReadTime(com.google.protobuf.Timestamp value)
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
-
clearReadTime
public LookupResponse.Builder clearReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
-
getReadTimeBuilder
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
-
getReadTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
- Specified by:
getReadTimeOrBuilder
in interfaceLookupResponseOrBuilder
-
setUnknownFields
public final LookupResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
mergeUnknownFields
public final LookupResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LookupResponse.Builder>
-
-