Package com.google.api.gax.rpc
Class ResumableUploadCallSettings
java.lang.Object
com.google.api.gax.rpc.ResumableUploadCallSettings
A settings class to configure a
ResumableUploadCallable for executing resumable uploads.
Encapsulates protocol options such as payload chunk size.-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract intReturns the configured chunk size in bytes (defaults to 8 MB / 8,388,608 bytes).merge(ResumableUploadCallSettings other) Merges anotherResumableUploadCallSettingsinstance with this one.abstract ResumableUploadCallSettings.Builder
-
Constructor Details
-
ResumableUploadCallSettings
public ResumableUploadCallSettings()
-
-
Method Details
-
getChunkSize
public abstract int getChunkSize()Returns the configured chunk size in bytes (defaults to 8 MB / 8,388,608 bytes). -
merge
Merges anotherResumableUploadCallSettingsinstance with this one. Fields set inotheroverride fields in this instance.- Parameters:
other- settings to overlay; may benull- Returns:
- a new, resolved
ResumableUploadCallSettingsinstance
-
toBuilder
-
newBuilder
-