Class IncompleteKey (2.20.0)

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
Name Description
copyFrom IncompleteKey
Returns
Type Description
IncompleteKey.Builder

newBuilder(Key parent, String kind)

public static IncompleteKey.Builder newBuilder(Key parent, String kind)
Parameters
Name Description
parent Key
kind String
Returns
Type Description
IncompleteKey.Builder

newBuilder(String projectId, String kind)

public static IncompleteKey.Builder newBuilder(String projectId, String kind)
Parameters
Name Description
projectId String
kind String
Returns
Type Description
IncompleteKey.Builder

newBuilderWithDatabaseId(String projectId, String kind, String databaseId)

public static IncompleteKey.Builder newBuilderWithDatabaseId(String projectId, String kind, String databaseId)
Parameters
Name Description
projectId String
kind String
databaseId String
Returns
Type Description
IncompleteKey.Builder

Methods

getParent()

public Key getParent()

Returns the key's parent.

Returns
Type Description
Key