Package com.google.api.gax.resumable
Class ChunkUploadRequest
java.lang.Object
com.google.api.gax.resumable.ChunkUploadRequest
Request value object for uploading a chunk to an active resumable upload session.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract longThe byte offset of this chunk in the overall stream.abstract byte[]The binary chunk payload to upload.abstract StringThe upload session URL returned during session initialization.abstract booleanisFinal()Whether this is the final chunk in the stream.static ChunkUploadRequest.Builderabstract ChunkUploadRequest.Builder
-
Constructor Details
-
ChunkUploadRequest
public ChunkUploadRequest()
-
-
Method Details
-
getUploadUrl
The upload session URL returned during session initialization. -
getPayload
public abstract byte[] getPayload()The binary chunk payload to upload. -
getOffset
public abstract long getOffset()The byte offset of this chunk in the overall stream. -
isFinal
public abstract boolean isFinal()Whether this is the final chunk in the stream. -
toBuilder
-
newBuilder
-