publicfinalclass LookupResponseextendsGeneratedMessageV3implementsLookupResponseOrBuilder
The response for Datastore.Lookup.
Protobuf type google.datastore.v1.LookupResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DEFERRED_FIELD_NUMBER
publicstaticfinalintDEFERRED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
FOUND_FIELD_NUMBER
publicstaticfinalintFOUND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MISSING_FIELD_NUMBER
publicstaticfinalintMISSING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
READ_TIME_FIELD_NUMBER
publicstaticfinalintREAD_TIME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
TRANSACTION_FIELD_NUMBER
publicstaticfinalintTRANSACTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticLookupResponsegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticLookupResponse.BuildernewBuilder()
newBuilder(LookupResponse prototype)
publicstaticLookupResponse.BuildernewBuilder(LookupResponseprototype)
publicstaticLookupResponseparseDelimitedFrom(InputStreaminput)
publicstaticLookupResponseparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticLookupResponseparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticLookupResponseparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticLookupResponseparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticLookupResponseparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticLookupResponseparseFrom(CodedInputStreaminput)
publicstaticLookupResponseparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticLookupResponseparseFrom(InputStreaminput)
publicstaticLookupResponseparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticLookupResponseparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticLookupResponseparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<LookupResponse>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
publicLookupResponsegetDefaultInstanceForType()
getDeferred(int index)
publicKeygetDeferred(intindex)
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()
publicintgetDeferredCount()
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()
publicList<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)
publicKeyOrBuildergetDeferredOrBuilder(intindex)
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()
publicList<?extendsKeyOrBuilder>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)
publicEntityResultgetFound(intindex)
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()
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()
publicList<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)
publicEntityResultOrBuildergetFoundOrBuilder(intindex)
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()
publicList<?extendsEntityResultOrBuilder>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)
publicEntityResultgetMissing(intindex)
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()
publicintgetMissingCount()
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()
publicList<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)
publicEntityResultOrBuildergetMissingOrBuilder(intindex)
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()
publicList<?extendsEntityResultOrBuilder>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()
publicParser<LookupResponse>getParserForType()
Overrides
getReadTime()
publicTimestampgetReadTime()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
| Returns |
| Type |
Description |
Timestamp |
The readTime.
|
getReadTimeOrBuilder()
publicTimestampOrBuildergetReadTimeOrBuilder()
The time at which these entities were read or found missing.
.google.protobuf.Timestamp read_time = 7;
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getTransaction()
publicByteStringgetTransaction()
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;
| Returns |
| Type |
Description |
ByteString |
The transaction.
|
hasReadTime()
publicbooleanhasReadTime()
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()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicLookupResponse.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedLookupResponse.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicLookupResponse.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides