Class IncompleteKey (2.14.1)

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

Methods

getParent()

public Key getParent()

Returns the key's parent.

Returns
TypeDescription
Key