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

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

Name Description
ServiceOptionsT
EntityT

Constructors

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

protected BaseState(BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT> builder)
Parameter
Name Description
builder Builder<ServiceOptionsT,EntityT>

Fields

buffer

protected final byte[] buffer
Field Value
Type Description
byte[]

chunkSize

protected final int chunkSize
Field Value
Type Description
int

entity

protected final EntityT entity
Field Value
Type Description
EntityT

isOpen

protected final boolean isOpen
Field Value
Type Description
boolean

position

protected final long position
Field Value
Type Description
long

serviceOptions

protected final ServiceOptionsT serviceOptions
Field Value
Type Description
ServiceOptionsT

uploadId

protected final String uploadId
Field Value
Type Description
String

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

toString()

public String toString()
Returns
Type Description
String
Overrides

toStringHelper()

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