Package com.google.cloud.datastore
Class IncompleteKey
java.lang.Object
com.google.cloud.datastore.BaseKey
com.google.cloud.datastore.IncompleteKey
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Key
An incomplete key (without a name or id). This class is immutable.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the key's parent.static IncompleteKey.BuildernewBuilder(IncompleteKey copyFrom) static IncompleteKey.BuildernewBuilder(Key parent, String kind) static IncompleteKey.BuildernewBuilder(String projectId, String kind) static IncompleteKey.BuildernewBuilderWithDatabaseId(String projectId, String kind, String databaseId) Methods inherited from class com.google.cloud.datastore.BaseKey
equals, getAncestors, getDatabaseId, getKind, getNamespace, getProjectId, hashCode, toString
-
Method Details
-
getParent
Returns the key's parent. -
newBuilder
-
newBuilderWithDatabaseId
public static IncompleteKey.Builder newBuilderWithDatabaseId(String projectId, String kind, String databaseId) -
newBuilder
-
newBuilder
-