Interface LookupRequestOrBuilder (2.22.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface LookupRequestOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getDatabaseId()
publicabstractStringgetDatabaseId()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;
| Returns | |
|---|---|
| Type | Description |
String |
The databaseId. |
getDatabaseIdBytes()
publicabstractByteStringgetDatabaseIdBytes()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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for databaseId. |
getKeys(int index)
publicabstractKeygetKeys(intindex)Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Key |
|
getKeysCount()
publicabstractintgetKeysCount()Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getKeysList()
publicabstractList<Key>getKeysList()Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<Key> |
|
getKeysOrBuilder(int index)
publicabstractKeyOrBuildergetKeysOrBuilder(intindex)Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
KeyOrBuilder |
|
getKeysOrBuilderList()
publicabstractList<?extendsKeyOrBuilder>getKeysOrBuilderList()Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.datastore.v1.KeyOrBuilder> |
|
getProjectId()
publicabstractStringgetProjectId()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
publicabstractByteStringgetProjectIdBytes()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getPropertyMask()
publicabstractPropertyMaskgetPropertyMask()The properties to return. Defaults to returning all properties.
If this field is set and an entity has a property not referenced in the mask, it will be absent from [LookupResponse.found.entity.properties][].
The entity's key is always returned.
.google.datastore.v1.PropertyMask property_mask = 5;
| Returns | |
|---|---|
| Type | Description |
PropertyMask |
The propertyMask. |
getPropertyMaskOrBuilder()
publicabstractPropertyMaskOrBuildergetPropertyMaskOrBuilder()The properties to return. Defaults to returning all properties.
If this field is set and an entity has a property not referenced in the mask, it will be absent from [LookupResponse.found.entity.properties][].
The entity's key is always returned.
.google.datastore.v1.PropertyMask property_mask = 5;
| Returns | |
|---|---|
| Type | Description |
PropertyMaskOrBuilder |
|
getReadOptions()
publicabstractReadOptionsgetReadOptions()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
| Returns | |
|---|---|
| Type | Description |
ReadOptions |
The readOptions. |
getReadOptionsOrBuilder()
publicabstractReadOptionsOrBuildergetReadOptionsOrBuilder()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
| Returns | |
|---|---|
| Type | Description |
ReadOptionsOrBuilder |
|
hasPropertyMask()
publicabstractbooleanhasPropertyMask()The properties to return. Defaults to returning all properties.
If this field is set and an entity has a property not referenced in the mask, it will be absent from [LookupResponse.found.entity.properties][].
The entity's key is always returned.
.google.datastore.v1.PropertyMask property_mask = 5;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the propertyMask field is set. |
hasReadOptions()
publicabstractbooleanhasReadOptions()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the readOptions field is set. |