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
FOUND_FIELD_NUMBER
public static final int FOUND_FIELD_NUMBER
Field Value
MISSING_FIELD_NUMBER
public static final int MISSING_FIELD_NUMBER
Field Value
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static LookupResponse getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static LookupResponse.Builder newBuilder()
Returns
newBuilder(LookupResponse prototype)
public static LookupResponse.Builder newBuilder(LookupResponse prototype)
Parameter
Returns
public static LookupResponse parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static LookupResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static LookupResponse parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static LookupResponse parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LookupResponse parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static LookupResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static LookupResponse parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static LookupResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static LookupResponse parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LookupResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<LookupResponse> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
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
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> | |
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
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
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> | |
getParserForType()
public Parser<LookupResponse> getParserForType()
Returns
Overrides
getReadTime()
public Timestamp getReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
Returns
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public LookupResponse.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LookupResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public LookupResponse.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions