Package com.google.cloud.datastore
Class PathElement
java.lang.Object
com.google.cloud.datastore.PathElement
- All Implemented Interfaces:
Serializable
Represents a single element in a key's path.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
Returns the ID of this path element.getKind()
Returns the kind of this path element.getName()
Returns the name of this path element.int
hashCode()
boolean
hasId()
boolean
hasName()
static PathElement
static PathElement
toString()
-
Method Details
-
getKind
Returns the kind of this path element. -
hasId
public boolean hasId() -
getId
Returns the ID of this path element. -
hasName
public boolean hasName() -
getName
Returns the name of this path element. -
getNameOrId
-
toString
-
hashCode
public int hashCode() -
equals
-
of
-
of
-