B
- the key builder.public 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.
|
protected abstract BaseKey |
build() |
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.
|
public B addAncestor(PathElement ancestor)
public B addAncestors(PathElement ancestor, PathElement... other)
public B addAncestors(Iterable<PathElement> ancestors)
protected abstract BaseKey build()
Copyright © 2019 Google LLC. All rights reserved.