protected abstract static class BaseWriteChannel.BaseState<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable> extends Object implements RestorableState<WriteChannel>, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BaseWriteChannel.BaseState.Builder<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
Base builder for a write channel's state.
|
protected static class |
BaseWriteChannel.BaseState.ValueHolder |
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected int |
chunkSize |
protected EntityT |
entity |
protected boolean |
isOpen |
protected long |
position |
protected ServiceOptionsT |
serviceOptions |
protected String |
uploadId |
Modifier | Constructor and Description |
---|---|
protected |
BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT> builder) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
String |
toString() |
protected List<BaseWriteChannel.BaseState.ValueHolder> |
toStringHelper() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
restore
protected final ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT> serviceOptions
protected final EntityT extends Serializable entity
protected final String uploadId
protected final long position
protected final byte[] buffer
protected final boolean isOpen
protected final int chunkSize
@InternalApi(value="This class should only be extended within google-cloud-java") protected BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT> builder)
protected List<BaseWriteChannel.BaseState.ValueHolder> toStringHelper()
Copyright © 2019 Google LLC. All rights reserved.