public final class LookupResponse extends com.google.protobuf.GeneratedMessageV3 implements LookupResponseOrBuilder
The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].Protobuf type
google.datastore.v1.LookupResponse
Modifier and Type | Class and Description |
---|---|
static class |
LookupResponse.Builder
The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
DEFERRED_FIELD_NUMBER |
static int |
FOUND_FIELD_NUMBER |
static int |
MISSING_FIELD_NUMBER |
static int |
READ_TIME_FIELD_NUMBER |
static int |
TRANSACTION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static LookupResponse |
getDefaultInstance() |
LookupResponse |
getDefaultInstanceForType() |
Key |
getDeferred(int index)
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() |
EntityResult |
getFound(int index)
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.
|
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.Parser<LookupResponse> |
getParserForType() |
com.google.protobuf.Timestamp |
getReadTime()
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.
|
int |
getSerializedSize() |
com.google.protobuf.ByteString |
getTransaction()
The identifier of the transaction that was started as part of this Lookup
request.
|
int |
hashCode() |
boolean |
hasReadTime()
The time at which these entities were read or found missing.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LookupResponse.Builder |
newBuilder() |
static LookupResponse.Builder |
newBuilder(LookupResponse prototype) |
LookupResponse.Builder |
newBuilderForType() |
protected LookupResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LookupResponse |
parseDelimitedFrom(InputStream input) |
static LookupResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LookupResponse |
parseFrom(byte[] data) |
static LookupResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LookupResponse |
parseFrom(ByteBuffer data) |
static LookupResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LookupResponse |
parseFrom(com.google.protobuf.ByteString data) |
static LookupResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LookupResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LookupResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LookupResponse |
parseFrom(InputStream input) |
static LookupResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LookupResponse> |
parser() |
LookupResponse.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int FOUND_FIELD_NUMBER
public static final int MISSING_FIELD_NUMBER
public static final int DEFERRED_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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;
getFoundList
in interface LookupResponseOrBuilder
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;
getFoundOrBuilderList
in interface LookupResponseOrBuilder
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;
getFoundCount
in interface LookupResponseOrBuilder
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;
getFound
in interface LookupResponseOrBuilder
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;
getFoundOrBuilder
in interface LookupResponseOrBuilder
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;
getMissingList
in interface LookupResponseOrBuilder
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;
getMissingOrBuilderList
in interface LookupResponseOrBuilder
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;
getMissingCount
in interface LookupResponseOrBuilder
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;
getMissing
in interface LookupResponseOrBuilder
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;
getMissingOrBuilder
in interface LookupResponseOrBuilder
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;
getDeferredList
in interface LookupResponseOrBuilder
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;
getDeferredOrBuilderList
in interface LookupResponseOrBuilder
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;
getDeferredCount
in interface LookupResponseOrBuilder
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;
getDeferred
in interface LookupResponseOrBuilder
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;
getDeferredOrBuilder
in interface LookupResponseOrBuilder
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;
getTransaction
in interface LookupResponseOrBuilder
public boolean hasReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
hasReadTime
in interface LookupResponseOrBuilder
public com.google.protobuf.Timestamp getReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
getReadTime
in interface LookupResponseOrBuilder
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
getReadTimeOrBuilder
in interface LookupResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LookupResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LookupResponse parseFrom(InputStream input) throws IOException
IOException
public static LookupResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LookupResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static LookupResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LookupResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static LookupResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public LookupResponse.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LookupResponse.Builder newBuilder()
public static LookupResponse.Builder newBuilder(LookupResponse prototype)
public LookupResponse.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LookupResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static LookupResponse getDefaultInstance()
public static com.google.protobuf.Parser<LookupResponse> parser()
public com.google.protobuf.Parser<LookupResponse> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public LookupResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2023 Google LLC. All rights reserved.