public static final class LookupRequest.Builder extends com.google.protobuf.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(Iterable<? extends Key> values)
Required.
|
LookupRequest.Builder |
addKeys(int index,
Key.Builder builderForValue)
Required.
|
LookupRequest.Builder |
addKeys(int index,
Key value)
Required.
|
LookupRequest.Builder |
addKeys(Key.Builder builderForValue)
Required.
|
LookupRequest.Builder |
addKeys(Key value)
Required.
|
Key.Builder |
addKeysBuilder()
Required.
|
Key.Builder |
addKeysBuilder(int index)
Required.
|
LookupRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LookupRequest |
build() |
LookupRequest |
buildPartial() |
LookupRequest.Builder |
clear() |
LookupRequest.Builder |
clearDatabaseId()
The ID of the database against which to make the request.
|
LookupRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LookupRequest.Builder |
clearKeys()
Required.
|
LookupRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LookupRequest.Builder |
clearProjectId()
Required.
|
LookupRequest.Builder |
clearReadOptions()
The options for this lookup request.
|
LookupRequest.Builder |
clone() |
String |
getDatabaseId()
The ID of the database against which to make the request.
|
com.google.protobuf.ByteString |
getDatabaseIdBytes()
The ID of the database against which to make the request.
|
LookupRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Key |
getKeys(int index)
Required.
|
Key.Builder |
getKeysBuilder(int index)
Required.
|
List<Key.Builder> |
getKeysBuilderList()
Required.
|
int |
getKeysCount()
Required.
|
List<Key> |
getKeysList()
Required.
|
KeyOrBuilder |
getKeysOrBuilder(int index)
Required.
|
List<? extends KeyOrBuilder> |
getKeysOrBuilderList()
Required.
|
String |
getProjectId()
Required.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
Required.
|
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 com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LookupRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LookupRequest.Builder |
mergeFrom(LookupRequest other) |
LookupRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
LookupRequest.Builder |
mergeReadOptions(ReadOptions value)
The options for this lookup request.
|
LookupRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LookupRequest.Builder |
removeKeys(int index)
Required.
|
LookupRequest.Builder |
setDatabaseId(String value)
The ID of the database against which to make the request.
|
LookupRequest.Builder |
setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request.
|
LookupRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LookupRequest.Builder |
setKeys(int index,
Key.Builder builderForValue)
Required.
|
LookupRequest.Builder |
setKeys(int index,
Key value)
Required.
|
LookupRequest.Builder |
setProjectId(String value)
Required.
|
LookupRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
Required.
|
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(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LookupRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LookupRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LookupRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LookupRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(LookupRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public LookupRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LookupRequest.Builder>
IOException
public String getProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectId
in interface LookupRequestOrBuilder
public com.google.protobuf.ByteString getProjectIdBytes()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
getProjectIdBytes
in interface LookupRequestOrBuilder
public LookupRequest.Builder setProjectId(String value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The projectId to set.public LookupRequest.Builder clearProjectId()
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
value
- The bytes for projectId to set.public String getDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseId
in interface LookupRequestOrBuilder
public com.google.protobuf.ByteString getDatabaseIdBytes()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
getDatabaseIdBytes
in interface LookupRequestOrBuilder
public LookupRequest.Builder setDatabaseId(String value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The databaseId to set.public LookupRequest.Builder clearDatabaseId()
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
public LookupRequest.Builder setDatabaseIdBytes(com.google.protobuf.ByteString value)
The ID of the database against which to make the request. '(default)' is not allowed; please use empty string '' to refer the default database.
string database_id = 9;
value
- The bytes for databaseId to set.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 List<Key> getKeysList()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
getKeysList
in interface LookupRequestOrBuilder
public int getKeysCount()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
getKeysCount
in interface LookupRequestOrBuilder
public Key getKeys(int index)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
getKeys
in interface LookupRequestOrBuilder
public LookupRequest.Builder setKeys(int index, Key value)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder setKeys(int index, Key.Builder builderForValue)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder addKeys(Key value)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder addKeys(int index, Key value)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder addKeys(Key.Builder builderForValue)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder addKeys(int index, Key.Builder builderForValue)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder addAllKeys(Iterable<? extends Key> values)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder clearKeys()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public LookupRequest.Builder removeKeys(int index)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder getKeysBuilder(int index)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public KeyOrBuilder getKeysOrBuilder(int index)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilder
in interface LookupRequestOrBuilder
public List<? extends KeyOrBuilder> getKeysOrBuilderList()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
getKeysOrBuilderList
in interface LookupRequestOrBuilder
public Key.Builder addKeysBuilder()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public Key.Builder addKeysBuilder(int index)
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public List<Key.Builder> getKeysBuilderList()
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
public final LookupRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
public final LookupRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LookupRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.