Class FileUploadsServiceStubSettings.Builder (0.11.0)

public static class FileUploadsServiceStubSettings.Builder extends StubSettings.Builder<FileUploadsServiceStubSettings,FileUploadsServiceStubSettings.Builder>

Builder for FileUploadsServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FileUploadsServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FileUploadsServiceStubSettings settings)

protected Builder(FileUploadsServiceStubSettings settings)
Parameter
Name Description
settings FileUploadsServiceStubSettings

Methods

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

public FileUploadsServiceStubSettings.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
FileUploadsServiceStubSettings.Builder

build()

public FileUploadsServiceStubSettings build()
Returns
Type Description
FileUploadsServiceStubSettings
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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>