public abstract class BaseKey extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BaseKey.Builder<B extends BaseKey.Builder<B>>
Base class for key builders.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<PathElement> |
getAncestors()
Returns an immutable list with the key's ancestors.
|
String |
getKind()
Returns the key's kind.
|
String |
getNamespace()
Returns the key's namespace or
null if not provided. |
String |
getProjectId()
Returns the key's projectId.
|
int |
hashCode() |
String |
toString() |
public String getProjectId()
public String getNamespace()
null
if not provided.public List<PathElement> getAncestors()
public String getKind()
Copyright © 2019 Google LLC. All rights reserved.