Class LookupResponse.Builder (2.18.5)

public static final class LookupResponse.Builder extends GeneratedMessageV3.Builder<LookupResponse.Builder> implements LookupResponseOrBuilder

The response for Datastore.Lookup.

Protobuf type google.datastore.v1.LookupResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllDeferred(Iterable<? extends Key> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.datastore.v1.Key>
Returns
TypeDescription
LookupResponse.Builder

addAllFound(Iterable<? extends EntityResult> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.datastore.v1.EntityResult>
Returns
TypeDescription
LookupResponse.Builder

addAllMissing(Iterable<? extends EntityResult> values)

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;

Parameter
NameDescription
valuesIterable<? extends com.google.datastore.v1.EntityResult>
Returns
TypeDescription
LookupResponse.Builder

addDeferred(Key value)

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;

Parameter
NameDescription
valueKey
Returns
TypeDescription
LookupResponse.Builder

addDeferred(Key.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueKey.Builder
Returns
TypeDescription
LookupResponse.Builder

addDeferred(int index, Key value)

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;

Parameters
NameDescription
indexint
valueKey
Returns
TypeDescription
LookupResponse.Builder

addDeferred(int index, Key.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueKey.Builder
Returns
TypeDescription
LookupResponse.Builder

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;

Returns
TypeDescription
Key.Builder

addDeferredBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Key.Builder

addFound(EntityResult value)

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;

Parameter
NameDescription
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

addFound(EntityResult.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

addFound(int index, EntityResult value)

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;

Parameters
NameDescription
indexint
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

addFound(int index, EntityResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

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;

Returns
TypeDescription
EntityResult.Builder

addFoundBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityResult.Builder

addMissing(EntityResult value)

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;

Parameter
NameDescription
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

addMissing(EntityResult.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

addMissing(int index, EntityResult value)

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;

Parameters
NameDescription
indexint
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

addMissing(int index, EntityResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

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;

Returns
TypeDescription
EntityResult.Builder

addMissingBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityResult.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupResponse.Builder
Overrides

build()

public LookupResponse build()
Returns
TypeDescription
LookupResponse

buildPartial()

public LookupResponse buildPartial()
Returns
TypeDescription
LookupResponse

clear()

public LookupResponse.Builder clear()
Returns
TypeDescription
LookupResponse.Builder
Overrides

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;

Returns
TypeDescription
LookupResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public LookupResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupResponse.Builder
Overrides

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;

Returns
TypeDescription
LookupResponse.Builder

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;

Returns
TypeDescription
LookupResponse.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LookupResponse.Builder
Overrides

clearReadTime()

public LookupResponse.Builder clearReadTime()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
LookupResponse.Builder

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 was set in LookupRequest.read_options.

bytes transaction = 5;

Returns
TypeDescription
LookupResponse.Builder

This builder for chaining.

clone()

public LookupResponse.Builder clone()
Returns
TypeDescription
LookupResponse.Builder
Overrides

getDefaultInstanceForType()

public LookupResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupResponse

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
NameDescription
indexint
Returns
TypeDescription
Key

getDeferredBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
Key.Builder

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;

Returns
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<Key>

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
NameDescription
indexint
Returns
TypeDescription
KeyOrBuilder

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
TypeDescription
List<? extends com.google.datastore.v1.KeyOrBuilder>

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
NameDescription
indexint
Returns
TypeDescription
EntityResult

getFoundBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityResult.Builder

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;

Returns
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<EntityResult>

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
NameDescription
indexint
Returns
TypeDescription
EntityResultOrBuilder

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
EntityResult

getMissingBuilder(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
EntityResult.Builder

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;

Returns
TypeDescription
List<Builder>

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
TypeDescription
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;

Returns
TypeDescription
List<EntityResult>

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
NameDescription
indexint
Returns
TypeDescription
EntityResultOrBuilder

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
TypeDescription
List<? extends com.google.datastore.v1.EntityResultOrBuilder>

getReadTime()

public Timestamp getReadTime()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
Timestamp

The readTime.

getReadTimeBuilder()

public Timestamp.Builder getReadTimeBuilder()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
Builder

getReadTimeOrBuilder()

public TimestampOrBuilder getReadTimeOrBuilder()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
TimestampOrBuilder

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;

Returns
TypeDescription
ByteString

The transaction.

hasReadTime()

public boolean hasReadTime()

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Returns
TypeDescription
boolean

Whether the readTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupResponse other)

public LookupResponse.Builder mergeFrom(LookupResponse other)
Parameter
NameDescription
otherLookupResponse
Returns
TypeDescription
LookupResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LookupResponse.Builder
Overrides

mergeReadTime(Timestamp value)

public LookupResponse.Builder mergeReadTime(Timestamp value)

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LookupResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupResponse.Builder
Overrides

removeDeferred(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LookupResponse.Builder

removeFound(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LookupResponse.Builder

removeMissing(int index)

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;

Parameter
NameDescription
indexint
Returns
TypeDescription
LookupResponse.Builder

setDeferred(int index, Key value)

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;

Parameters
NameDescription
indexint
valueKey
Returns
TypeDescription
LookupResponse.Builder

setDeferred(int index, Key.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueKey.Builder
Returns
TypeDescription
LookupResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LookupResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupResponse.Builder
Overrides

setFound(int index, EntityResult value)

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;

Parameters
NameDescription
indexint
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

setFound(int index, EntityResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

setMissing(int index, EntityResult value)

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;

Parameters
NameDescription
indexint
valueEntityResult
Returns
TypeDescription
LookupResponse.Builder

setMissing(int index, EntityResult.Builder builderForValue)

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;

Parameters
NameDescription
indexint
builderForValueEntityResult.Builder
Returns
TypeDescription
LookupResponse.Builder

setReadTime(Timestamp value)

public LookupResponse.Builder setReadTime(Timestamp value)

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
LookupResponse.Builder

setReadTime(Timestamp.Builder builderForValue)

public LookupResponse.Builder setReadTime(Timestamp.Builder builderForValue)

The time at which these entities were read or found missing.

.google.protobuf.Timestamp read_time = 7;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
LookupResponse.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LookupResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LookupResponse.Builder
Overrides

setTransaction(ByteString value)

public LookupResponse.Builder setTransaction(ByteString value)

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;

Parameter
NameDescription
valueByteString

The transaction to set.

Returns
TypeDescription
LookupResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupResponse.Builder
Overrides