Class FileUploadsServiceSettings.Builder (0.8.0)

public static class FileUploadsServiceSettings.Builder extends ClientSettings.Builder<FileUploadsServiceSettings,FileUploadsServiceSettings.Builder>

Builder for FileUploadsServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FileUploadsServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FileUploadsServiceSettings settings)

protected Builder(FileUploadsServiceSettings settings)
Parameter
Name Description
settings FileUploadsServiceSettings

Builder(FileUploadsServiceStubSettings.Builder stubSettings)

protected Builder(FileUploadsServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings FileUploadsServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public FileUploadsServiceSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
FileUploadsServiceSettings.Builder

build()

public FileUploadsServiceSettings build()
Returns
Type Description
FileUploadsServiceSettings
Overrides
Exceptions
Type Description
IOException

getFileUploadSettings()

public UnaryCallSettings.Builder<GetFileUploadRequest,FileUpload> getFileUploadSettings()

Returns the builder for the settings used for calls to getFileUpload.

Returns
Type Description
Builder<GetFileUploadRequest,FileUpload>

getStubSettingsBuilder()

public FileUploadsServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
FileUploadsServiceStubSettings.Builder