Class IncompleteKey (2.24.3)

publicclass IncompleteKeyextendsBaseKey

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

Inheritance

java.lang.Object > BaseKey > IncompleteKey

Static Methods

newBuilder(IncompleteKey copyFrom)

publicstaticIncompleteKey.BuildernewBuilder(IncompleteKeycopyFrom)
Parameter
Name Description
copyFrom IncompleteKey
Returns
Type Description
IncompleteKey.Builder

newBuilder(Key parent, String kind)

publicstaticIncompleteKey.BuildernewBuilder(Keyparent,Stringkind)
Parameters
Name Description
parent Key
kind String
Returns
Type Description
IncompleteKey.Builder

newBuilder(String projectId, String kind)

publicstaticIncompleteKey.BuildernewBuilder(StringprojectId,Stringkind)
Parameters
Name Description
projectId String
kind String
Returns
Type Description
IncompleteKey.Builder

newBuilderWithDatabaseId(String projectId, String kind, String databaseId)

publicstaticIncompleteKey.BuildernewBuilderWithDatabaseId(StringprojectId,Stringkind,StringdatabaseId)
Parameters
Name Description
projectId String
kind String
databaseId String
Returns
Type Description
IncompleteKey.Builder

Methods

getParent()

publicKeygetParent()

Returns the key's parent.

Returns
Type Description
Key

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.