public static final class Key.Builder extends BaseKey.Builder<Key.Builder>
Modifier and Type | Method and Description |
---|---|
Key |
build() |
Key.Builder |
setId(long id)
Sets the ID of this key.
|
Key.Builder |
setName(String name)
Sets the name of this key.
|
addAncestor, addAncestors, addAncestors, setKind, setNamespace, setProjectId
public Key.Builder setName(String name)
public Key.Builder setId(long id)
public Key build()
build
in class BaseKey.Builder<Key.Builder>
Copyright © 2019 Google LLC. All rights reserved.