Class IncompleteKey (2.17.6)

public class IncompleteKey extends BaseKey

An incomplete key (without a name or id). This class is immutable.

Inheritance

java.lang.Object > BaseKey > IncompleteKey

Static Methods

newBuilder(IncompleteKey copyFrom)

public static IncompleteKey.Builder newBuilder(IncompleteKey copyFrom)
Parameter
NameDescription
copyFromIncompleteKey
Returns
TypeDescription
IncompleteKey.Builder

newBuilder(Key parent, String kind)

public static IncompleteKey.Builder newBuilder(Key parent, String kind)
Parameters
NameDescription
parentKey
kindString
Returns
TypeDescription
IncompleteKey.Builder

newBuilder(String projectId, String kind)

public static IncompleteKey.Builder newBuilder(String projectId, String kind)
Parameters
NameDescription
projectIdString
kindString
Returns
TypeDescription
IncompleteKey.Builder

newBuilderWithDatabaseId(String projectId, String kind, String databaseId)

public static IncompleteKey.Builder newBuilderWithDatabaseId(String projectId, String kind, String databaseId)
Parameters
NameDescription
projectIdString
kindString
databaseIdString
Returns
TypeDescription
IncompleteKey.Builder

Methods

getParent()

public Key getParent()

Returns the key's parent.

Returns
TypeDescription
Key