Class StorageControlStubSettings.Builder (2.32.1)

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

Builder for StorageControlStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StorageControlStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StorageControlStubSettings settings)

protected Builder(StorageControlStubSettings settings)
Parameter
Name Description
settings StorageControlStubSettings

Methods

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

public StorageControlStubSettings.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<?,?>,Void>
Returns
Type Description
StorageControlStubSettings.Builder

build()

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

createFolderSettings()

public UnaryCallSettings.Builder<CreateFolderRequest,Folder> createFolderSettings()

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

Returns
Type Description
Builder<CreateFolderRequest,Folder>

deleteFolderSettings()

public UnaryCallSettings.Builder<DeleteFolderRequest,Empty> deleteFolderSettings()

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

Returns
Type Description
Builder<DeleteFolderRequest,Empty>

getFolderSettings()

public UnaryCallSettings.Builder<GetFolderRequest,Folder> getFolderSettings()

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

Returns
Type Description
Builder<GetFolderRequest,Folder>

getStorageLayoutSettings()

public UnaryCallSettings.Builder<GetStorageLayoutRequest,StorageLayout> getStorageLayoutSettings()

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

Returns
Type Description
Builder<GetStorageLayoutRequest,StorageLayout>

listFoldersSettings()

public PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,StorageControlClient.ListFoldersPagedResponse> listFoldersSettings()

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

Returns
Type Description
Builder<ListFoldersRequest,ListFoldersResponse,ListFoldersPagedResponse>

renameFolderOperationSettings()

public OperationCallSettings.Builder<RenameFolderRequest,Folder,RenameFolderMetadata> renameFolderOperationSettings()

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

Returns
Type Description
Builder<RenameFolderRequest,Folder,RenameFolderMetadata>

renameFolderSettings()

public UnaryCallSettings.Builder<RenameFolderRequest,Operation> renameFolderSettings()

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

Returns
Type Description
Builder<RenameFolderRequest,Operation>

unaryMethodSettingsBuilders()

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