Package com.google.cloud
Class BaseWriteChannel.BaseState.Builder<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
java.lang.Object
com.google.cloud.BaseWriteChannel.BaseState.Builder<ServiceOptionsT,EntityT>
- Type Parameters:
ServiceOptionsT
- the service options used by the channel to issue RPC requestsEntityT
- the entity this channel writes data to. Possibly with additional configuration
- Enclosing class:
- BaseWriteChannel.BaseState<ServiceOptionsT extends ServiceOptions<?,
ServiceOptionsT>, EntityT extends Serializable>
public abstract static class BaseWriteChannel.BaseState.Builder<ServiceOptionsT extends ServiceOptions<?,ServiceOptionsT>,EntityT extends Serializable>
extends Object
Base builder for a write channel's state. Users are not supposed to access this class
directly.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Builder
(ServiceOptionsT options, EntityT entity, String uploadId) -
Method Summary
Modifier and TypeMethodDescriptionabstract RestorableState<WriteChannel>
build()
setBuffer
(byte[] buffer) setChunkSize
(int chunkSize) setIsOpen
(boolean isOpen) setPosition
(long position)
-
Constructor Details
-
Builder
@InternalApi("This class should only be extended within google-cloud-java") protected Builder(ServiceOptionsT options, EntityT entity, String uploadId)
-
-
Method Details
-
setPosition
-
setBuffer
-
setIsOpen
-
setChunkSize
-
build
-