B - the key builder.protected abstract static class BaseKey.Builder<B extends BaseKey.Builder<B>> extends Object
| Modifier and Type | Method and Description |
|---|---|
B |
addAncestor(PathElement ancestor)
Adds an ancestor for this key.
|
B |
addAncestors(Iterable<PathElement> ancestors)
Adds the provided ancestors to the key.
|
B |
addAncestors(PathElement ancestor,
PathElement... other)
Adds the provided ancestors to the key.
|
B |
ancestors(Iterable<PathElement> ancestors)
Deprecated.
|
B |
ancestors(PathElement ancestor)
Deprecated.
|
B |
ancestors(PathElement ancestor,
PathElement... other)
Deprecated.
|
protected abstract BaseKey |
build() |
B |
kind(String kind)
Deprecated.
|
B |
namespace(String namespace)
Deprecated.
|
B |
projectId(String projectId)
Deprecated.
|
B |
setKind(String kind)
Sets the kind of the key.
|
B |
setNamespace(String namespace)
Sets the namespace of the key.
|
B |
setProjectId(String projectId)
Sets the project ID of the key.
|
@Deprecated public B ancestors(PathElement ancestor)
public B addAncestor(PathElement ancestor)
@Deprecated public B ancestors(PathElement ancestor, PathElement... other)
public B addAncestors(PathElement ancestor, PathElement... other)
@Deprecated public B ancestors(Iterable<PathElement> ancestors)
public B addAncestors(Iterable<PathElement> ancestors)
@Deprecated public B kind(String kind)
@Deprecated public B projectId(String projectId)
@Deprecated public B namespace(String namespace)
protected abstract BaseKey build()
Copyright © 2017 Google. All rights reserved.