Send feedback
Class LookupResponse (2.14.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.14.1 keyboard_arrow_down
public final class LookupResponse extends GeneratedMessageV3 implements LookupResponseOrBuilder
The response for Datastore.Lookup .
Protobuf type google.datastore.v1.LookupResponse
Static Fields
DEFERRED_FIELD_NUMBER
public static final int DEFERRED_FIELD_NUMBER
Field Value Type Description int
FOUND_FIELD_NUMBER
public static final int FOUND_FIELD_NUMBER
Field Value Type Description int
MISSING_FIELD_NUMBER
public static final int MISSING_FIELD_NUMBER
Field Value Type Description int
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Field Value Type Description int
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Field Value Type Description int
Static Methods
getDefaultInstance()
public static LookupResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static LookupResponse . Builder newBuilder ()
newBuilder(LookupResponse prototype)
public static LookupResponse . Builder newBuilder ( LookupResponse prototype )
public static LookupResponse parseDelimitedFrom ( InputStream input )
public static LookupResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static LookupResponse parseFrom ( byte [] data )
Parameter Name Description data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static LookupResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static LookupResponse parseFrom ( CodedInputStream input )
public static LookupResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static LookupResponse parseFrom ( InputStream input )
public static LookupResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static LookupResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<LookupResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
getDefaultInstanceForType()
public LookupResponse getDefaultInstanceForType ()
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
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;
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
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 >
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
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;
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
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
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;
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
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 >
getParserForType()
public Parser<LookupResponse> getParserForType ()
Overrides
getReadTime()
public Timestamp getReadTime ()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder ()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
getSerializedSize()
public int getSerializedSize ()
Returns Type Description int
Overrides
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;
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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.
hashCode()
Returns Type Description int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public LookupResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LookupResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
toBuilder()
public LookupResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]