Class BaseWriteChannel.BaseState<ServiceOptionsT,EntityT> (2.9.4)

protected abstract static class BaseWriteChannel.BaseState<ServiceOptionsT,EntityT> implements RestorableState<WriteChannel>, Serializable

Inheritance

Object > BaseWriteChannel.BaseState<ServiceOptionsT,EntityT>

Implements

com.google.cloud.RestorableState<com.google.cloud.WriteChannel>, Serializable

Type Parameters

NameDescription
ServiceOptionsT
EntityT

Constructors

BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT> builder)

protected BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT> builder)
Parameter
NameDescription
builderBuilder<ServiceOptionsT,EntityT>

Fields

buffer

protected final byte[] buffer
Field Value
TypeDescription
byte[]

chunkSize

protected final int chunkSize
Field Value
TypeDescription
int

entity

protected final EntityT entity
Field Value
TypeDescription
EntityT

isOpen

protected final boolean isOpen
Field Value
TypeDescription
boolean

position

protected final long position
Field Value
TypeDescription
long

serviceOptions

protected final ServiceOptionsT serviceOptions
Field Value
TypeDescription
ServiceOptionsT

uploadId

protected final String uploadId
Field Value
TypeDescription
String

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

toString()

public String toString()
Returns
TypeDescription
String
Overrides

toStringHelper()

protected List<BaseWriteChannel.BaseState.ValueHolder> toStringHelper()
Returns
TypeDescription
List<ValueHolder>