public static final class LookupRequest.Builder extends GeneratedMessageV3.Builder<LookupRequest.Builder> implements LookupRequestOrBuilder
The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].Protobuf type
google.datastore.v1.LookupRequest
Modifier and Type | Method and Description |
---|---|
LookupRequest.Builder |
addAllKeys(java.lang.Iterable<? extends Key> values)
Keys of entities to look up.
|
LookupRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
Keys of entities to look up.
|
LookupRequest.Builder |
addKeys(int index,
Key value)
Keys of entities to look up.
|
LookupRequest.Builder |
addKeys(Key.Builder builderForValue)
Keys of entities to look up.
|
LookupRequest.Builder |
addKeys(Key value)
Keys of entities to look up.
|
Key.Builder |
addKeysBuilder()
Keys of entities to look up.
|
Key.Builder |
addKeysBuilder(int index)
Keys of entities to look up.
|
LookupRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LookupRequest |
build() |
LookupRequest |
buildPartial() |
LookupRequest.Builder |
clear() |
LookupRequest.Builder |
clearField(Descriptors.FieldDescriptor field) |
LookupRequest.Builder |
clearKeys()
Keys of entities to look up.
|
LookupRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
LookupRequest.Builder |
clearProjectId()
The ID of the project against which to make the request.
|
LookupRequest.Builder |
clearReadOptions()
The options for this lookup request.
|
LookupRequest.Builder |
clone() |
LookupRequest |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
Keys of entities to look up.
|
Key.Builder |
getKeysBuilder(int index)
Keys of entities to look up.
|
java.util.List<Key.Builder> |
getKeysBuilderList()
Keys of entities to look up.
|
int |
getKeysCount()
Keys of entities to look up.
|
java.util.List<Key> |
getKeysList()
Keys of entities to look up.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
Keys of entities to look up.
|
java.util.List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
Keys of entities to look up.
|
java.lang.String |
getProjectId()
The ID of the project against which to make the request.
|
ByteString |
getProjectIdBytes()
The ID of the project against which to make the request.
|
ReadOptions |
getReadOptions()
The options for this lookup request.
|
ReadOptions.Builder |
getReadOptionsBuilder()
The options for this lookup request.
|
ReadOptionsOrBuilder |
getReadOptionsOrBuilder()
The options for this lookup request.
|
boolean |
hasReadOptions()
The options for this lookup request.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LookupRequest.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
LookupRequest.Builder |
mergeFrom(LookupRequest other) |
LookupRequest.Builder |
mergeFrom(Message other) |
LookupRequest.Builder |
mergeReadOptions(ReadOptions value)
The options for this lookup request.
|
LookupRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
LookupRequest.Builder |
removeKeys(int index)
Keys of entities to look up.
|
LookupRequest.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
LookupRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
Keys of entities to look up.
|
LookupRequest.Builder |
setKeys(int index,
Key value)
Keys of entities to look up.
|
LookupRequest.Builder |
setProjectId(java.lang.String value)
The ID of the project against which to make the request.
|
LookupRequest.Builder |
setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
|
LookupRequest.Builder |
setReadOptions(ReadOptions.Builder builderForValue)
The options for this lookup request.
|
LookupRequest.Builder |
setReadOptions(ReadOptions value)
The options for this lookup request.
|
LookupRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
LookupRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public LookupRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public LookupRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public LookupRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(LookupRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<LookupRequest.Builder>
java.io.IOException
public java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;
getProjectId
in interface LookupRequestOrBuilder
public ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;
getProjectIdBytes
in interface LookupRequestOrBuilder
public LookupRequest.Builder setProjectId(java.lang.String value)
The ID of the project against which to make the request.
string project_id = 8;
public LookupRequest.Builder clearProjectId()
The ID of the project against which to make the request.
string project_id = 8;
public LookupRequest.Builder setProjectIdBytes(ByteString value)
The ID of the project against which to make the request.
string project_id = 8;
public boolean hasReadOptions()
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
hasReadOptions
in interface LookupRequestOrBuilder
public ReadOptions getReadOptions()
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
getReadOptions
in interface LookupRequestOrBuilder
public LookupRequest.Builder setReadOptions(ReadOptions value)
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
public LookupRequest.Builder setReadOptions(ReadOptions.Builder builderForValue)
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
public LookupRequest.Builder mergeReadOptions(ReadOptions value)
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
public LookupRequest.Builder clearReadOptions()
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
public ReadOptions.Builder getReadOptionsBuilder()
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
public ReadOptionsOrBuilder getReadOptionsOrBuilder()
The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
getReadOptionsOrBuilder
in interface LookupRequestOrBuilder
public java.util.List<Key> getKeysList()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
getKeysList
in interface LookupRequestOrBuilder
public int getKeysCount()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
getKeysCount
in interface LookupRequestOrBuilder
public Key getKeys(int index)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
getKeys
in interface LookupRequestOrBuilder
public LookupRequest.Builder setKeys(int index, Key value)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder setKeys(int index, Key.Builder builderForValue)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder addKeys(Key value)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder addKeys(int index, Key value)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder addKeys(Key.Builder builderForValue)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder addKeys(int index, Key.Builder builderForValue)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder addAllKeys(java.lang.Iterable<? extends Key> values)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder clearKeys()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public LookupRequest.Builder removeKeys(int index)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public Key.Builder getKeysBuilder(int index)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public KeyOrBuilder getKeysOrBuilder(int index)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
getKeysOrBuilder
in interface LookupRequestOrBuilder
public java.util.List<? extends KeyOrBuilder> getKeysOrBuilderList()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
getKeysOrBuilderList
in interface LookupRequestOrBuilder
public Key.Builder addKeysBuilder()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public Key.Builder addKeysBuilder(int index)
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public java.util.List<Key.Builder> getKeysBuilderList()
Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3;
public final LookupRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<LookupRequest.Builder>
public final LookupRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<LookupRequest.Builder>