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
-
Method Summary
Modifier and TypeMethodDescriptionReturns the key's parent.static IncompleteKey.Builder
newBuilder
(IncompleteKey copyFrom) static IncompleteKey.Builder
newBuilder
(Key parent, String kind) static IncompleteKey.Builder
newBuilder
(String projectId, String kind) static IncompleteKey.Builder
newBuilderWithDatabaseId
(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
@BetaApi public static IncompleteKey.Builder newBuilderWithDatabaseId(String projectId, String kind, String databaseId) -
newBuilder
-
newBuilder
-