Package com.google.datastore.v1
Interface LookupRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LookupRequest,LookupRequest.Builder
public interface LookupRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the database against which to make the request.com.google.protobuf.ByteStringThe ID of the database against which to make the request.getKeys(int index) Required.intRequired.Required.getKeysOrBuilder(int index) Required.List<? extends KeyOrBuilder>Required.Required.com.google.protobuf.ByteStringRequired.The properties to return.The properties to return.The options for this lookup request.The options for this lookup request.booleanThe properties to return.booleanThe options for this lookup request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getProjectId
String getProjectId()Required. The ID of the project against which to make the request.
string project_id = 8 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The projectId.
-
getProjectIdBytes
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];- Returns:
- The bytes for projectId.
-
getDatabaseId
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;- Returns:
- The databaseId.
-
getDatabaseIdBytes
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;- Returns:
- The bytes for databaseId.
-
hasReadOptions
boolean hasReadOptions()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;- Returns:
- Whether the readOptions field is set.
-
getReadOptions
ReadOptions getReadOptions()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1;- Returns:
- The readOptions.
-
getReadOptionsOrBuilder
ReadOptionsOrBuilder getReadOptionsOrBuilder()The options for this lookup request.
.google.datastore.v1.ReadOptions read_options = 1; -
getKeysList
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; -
getKeys
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; -
getKeysCount
int getKeysCount()Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; -
getKeysOrBuilderList
List<? extends KeyOrBuilder> getKeysOrBuilderList()Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; -
getKeysOrBuilder
Required. Keys of entities to look up.
repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; -
hasPropertyMask
boolean hasPropertyMask()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:
- Whether the propertyMask field is set.
-
getPropertyMask
PropertyMask getPropertyMask()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:
- The propertyMask.
-
getPropertyMaskOrBuilder
PropertyMaskOrBuilder getPropertyMaskOrBuilder()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;
-