## Uses of Class
io.etcd.jetcd.ByteSequence

Packages that use ByteSequence
io.etcd.jetcd
io.etcd.jetcd.auth
io.etcd.jetcd.kv
io.etcd.jetcd.lease
io.etcd.jetcd.lock
io.etcd.jetcd.op
io.etcd.jetcd.options
io.etcd.jetcd.watch

### Uses of ByteSequence in io.etcd.jetcd

Fields in io.etcd.jetcd declared as ByteSequence
`static ByteSequence` ByteSequence.`EMPTY`
`static ByteSequence` ByteSequence.`NAMESPACE_DELIMITER`
`static ByteSequence` Constants.`NULL_KEY`

Methods in io.etcd.jetcd that return ByteSequence
`static ByteSequence` ByteSequence.`from(byte[] source)`
`static ByteSequence` ByteSequence.`from(com.google.protobuf.ByteString source)`
`static ByteSequence` ByteSequence.`from(String source, Charset charset)` Create new ByteSequence from a String.
`ByteSequence` KeyValue.`getKey()`
`ByteSequence` KeyValue.`getValue()`
`ByteSequence` ClientBuilder.`namespace()`
`ByteSequence` ClientBuilder.`password()`
`ByteSequence` ClientBuilder.`user()`

Methods in io.etcd.jetcd with parameters of type ByteSequence
`CompletableFuture<DeleteResponse>` KV.`delete(ByteSequence key)` delete a key.
`CompletableFuture<DeleteResponse>` KV.`delete(ByteSequence key, DeleteOption option)` delete a key or range with option.
`CompletableFuture<GetResponse>` KV.`get(ByteSequence key)` retrieve value for the given key.
`CompletableFuture<GetResponse>` KV.`get(ByteSequence key, GetOption option)` retrieve keys with GetOption.
`CompletableFuture<LockResponse>` Lock.`lock(ByteSequence name, long leaseId)` Acquire a lock with the given name.
`ClientBuilder` ClientBuilder.`namespace(ByteSequence namespace)` config the namespace of keys used in `KV`, `Txn`, `Lock` and `Watch`.
`ClientBuilder` ClientBuilder.`password(ByteSequence password)` config etcd auth password.
`static com.google.protobuf.ByteString` Util.`prefixNamespace(com.google.protobuf.ByteString key, ByteSequence namespace)`
`static com.google.protobuf.ByteString` Util.`prefixNamespaceToRangeEnd(com.google.protobuf.ByteString end, ByteSequence namespace)`
`CompletableFuture<PutResponse>` KV.`put(ByteSequence key, ByteSequence value)` put a key-value pair into etcd.
`CompletableFuture<PutResponse>` KV.`put(ByteSequence key, ByteSequence value, PutOption option)` put a key-value pair into etcd with option.
`CompletableFuture<AuthRoleAddResponse>` Auth.`roleAdd(ByteSequence user)` adds a new role to an etcd cluster.
`CompletableFuture<AuthRoleDeleteResponse>` Auth.`roleDelete(ByteSequence role)` RoleDelete deletes a role.
`CompletableFuture<AuthRoleGetResponse>` Auth.`roleGet(ByteSequence role)` gets a detailed information of a role.
`CompletableFuture<AuthRoleGrantPermissionResponse>` Auth.`roleGrantPermission(ByteSequence role, ByteSequence key, ByteSequence rangeEnd, Permission.Type permType)` grants a permission to a role.
`CompletableFuture<AuthRoleRevokePermissionResponse>` Auth.`roleRevokePermission(ByteSequence role, ByteSequence key, ByteSequence rangeEnd)` revokes a permission from a role.
`boolean` ByteSequence.`startsWith(ByteSequence prefix)`
`CompletableFuture<UnlockResponse>` Lock.`unlock(ByteSequence lockKey)` Release the lock identified by the given key.
`static com.google.protobuf.ByteString` Util.`unprefixNamespace(com.google.protobuf.ByteString key, ByteSequence namespace)`
`ClientBuilder` ClientBuilder.`user(ByteSequence user)` config etcd auth user.
`CompletableFuture<AuthUserAddResponse>` Auth.`userAdd(ByteSequence user, ByteSequence password)` adds a new user to an etcd cluster.
`CompletableFuture<AuthUserChangePasswordResponse>` Auth.`userChangePassword(ByteSequence user, ByteSequence password)` changes a password of a user.
`CompletableFuture<AuthUserDeleteResponse>` Auth.`userDelete(ByteSequence user)` deletes a user from an etcd cluster.
`CompletableFuture<AuthUserGetResponse>` Auth.`userGet(ByteSequence user)` gets a detailed information of a user.
`CompletableFuture<AuthUserGrantRoleResponse>` Auth.`userGrantRole(ByteSequence user, ByteSequence role)` grants a role to a user.
`CompletableFuture<AuthUserRevokeRoleResponse>` Auth.`userRevokeRole(ByteSequence user, ByteSequence role)` revokes a role of a user.
`default Watch.Watcher` Watch.`watch(ByteSequence key, Consumer<WatchResponse> onNext)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, Consumer<WatchResponse> onNext, Consumer<Throwable> onError)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, Consumer<WatchResponse> onNext, Consumer<Throwable> onError, Runnable onCompleted)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, Consumer<WatchResponse> onNext, Runnable onCompleted)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, Watch.Listener listener)` watch on a key.
`default Watch.Watcher` Watch.`watch(ByteSequence key, WatchOption option, Consumer<WatchResponse> onNext)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, WatchOption option, Consumer<WatchResponse> onNext, Consumer<Throwable> onError)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, WatchOption option, Consumer<WatchResponse> onNext, Consumer<Throwable> onError, Runnable onCompleted)`
`default Watch.Watcher` Watch.`watch(ByteSequence key, WatchOption option, Consumer<WatchResponse> onNext, Runnable onCompleted)`
`Watch.Watcher` Watch.`watch(ByteSequence key, WatchOption option, Watch.Listener listener)` watch on a key with option.

Constructors in io.etcd.jetcd with parameters of type ByteSequence
Constructor and Description
`KeyValue(KeyValue kv, ByteSequence namespace)`

### Uses of ByteSequence in io.etcd.jetcd.auth

Methods in io.etcd.jetcd.auth that return ByteSequence
`ByteSequence` Permission.`getKey()`
`ByteSequence` Permission.`getRangeEnd()`

Constructors in io.etcd.jetcd.auth with parameters of type ByteSequence
Constructor and Description
`Permission(Permission.Type permType, ByteSequence key, ByteSequence rangeEnd)`

### Uses of ByteSequence in io.etcd.jetcd.kv

Constructors in io.etcd.jetcd.kv with parameters of type ByteSequence
Constructor and Description
`DeleteResponse(DeleteRangeResponse deleteRangeResponse, ByteSequence namespace)`
`GetResponse(RangeResponse rangeResponse, ByteSequence namespace)`
`PutResponse(PutResponse putResponse, ByteSequence namespace)`
`TxnResponse(TxnResponse txnResponse, ByteSequence namespace)`

### Uses of ByteSequence in io.etcd.jetcd.lease

Methods in io.etcd.jetcd.lease that return types with arguments of type ByteSequence
`List<ByteSequence>` LeaseTimeToLiveResponse.`getKeys()` Keys is the list of keys attached to this lease.

### Uses of ByteSequence in io.etcd.jetcd.lock

Methods in io.etcd.jetcd.lock that return ByteSequence
`ByteSequence` LockResponse.`getKey()` key is a key that will exist on etcd for the duration that the Lock caller owns the lock.

Constructors in io.etcd.jetcd.lock with parameters of type ByteSequence
Constructor and Description
`LockResponse(LockResponse response, ByteSequence namespace)`

### Uses of ByteSequence in io.etcd.jetcd.op

Methods in io.etcd.jetcd.op with parameters of type ByteSequence
`static Op.DeleteOp` Op.`delete(ByteSequence key, DeleteOption option)`
`static Op.GetOp` Op.`get(ByteSequence key, GetOption option)`
`static TxnImpl` TxnImpl.`newTxn(Function<TxnRequest,CompletableFuture<TxnResponse>> f, ByteSequence namespace)`
`static Op.PutOp` Op.`put(ByteSequence key, ByteSequence value, PutOption option)`
`static CmpTarget.ValueCmpTarget` CmpTarget.`value(ByteSequence value)` Cmp on the value.

Constructors in io.etcd.jetcd.op with parameters of type ByteSequence
Constructor and Description
`Cmp(ByteSequence key, Cmp.Op compareOp, CmpTarget<?> target)`

### Uses of ByteSequence in io.etcd.jetcd.options

Methods in io.etcd.jetcd.options that return types with arguments of type ByteSequence
`Optional<ByteSequence>` WatchOption.`getEndKey()`
`Optional<ByteSequence>` GetOption.`getEndKey()`
`Optional<ByteSequence>` DeleteOption.`getEndKey()`

Methods in io.etcd.jetcd.options with parameters of type ByteSequence
`WatchOption.Builder` WatchOption.Builder.`withPrefix(ByteSequence prefix)` Enables watch all the keys with matching prefix.
`GetOption.Builder` GetOption.Builder.`withPrefix(ByteSequence prefix)` Enables 'Get' requests to obtain all the keys with matching prefix.
`DeleteOption.Builder` DeleteOption.Builder.`withPrefix(ByteSequence prefix)` Enables 'Delete' requests to delete all the keys with matching prefix.
`WatchOption.Builder` WatchOption.Builder.`withRange(ByteSequence endKey)` Set the end key of the get request.
`GetOption.Builder` GetOption.Builder.`withRange(ByteSequence endKey)` Set the end key of the get request.
`DeleteOption.Builder` DeleteOption.Builder.`withRange(ByteSequence endKey)` Set the end key of the delete request.

### Uses of ByteSequence in io.etcd.jetcd.watch

Constructors in io.etcd.jetcd.watch with parameters of type ByteSequence
Constructor and Description
`WatchResponse(WatchResponse response, ByteSequence namespace)`