Class StorageControlSettings.Builder (2.37.0)

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

Builder for StorageControlSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > StorageControlSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StorageControlSettings settings)

protected Builder(StorageControlSettings settings)
Parameter
Name Description
settings StorageControlSettings

Builder(StorageControlStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createManagedFolderSettings()

public UnaryCallSettings.Builder<CreateManagedFolderRequest,ManagedFolder> createManagedFolderSettings()

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

Returns
Type Description
Builder<CreateManagedFolderRequest,ManagedFolder>

deleteFolderSettings()

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

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

Returns
Type Description
Builder<DeleteFolderRequest,Empty>

deleteManagedFolderSettings()

public UnaryCallSettings.Builder<DeleteManagedFolderRequest,Empty> deleteManagedFolderSettings()

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

Returns
Type Description
Builder<DeleteManagedFolderRequest,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>

getManagedFolderSettings()

public UnaryCallSettings.Builder<GetManagedFolderRequest,ManagedFolder> getManagedFolderSettings()

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

Returns
Type Description
Builder<GetManagedFolderRequest,ManagedFolder>

getStorageLayoutSettings()

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

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

Returns
Type Description
Builder<GetStorageLayoutRequest,StorageLayout>

getStubSettingsBuilder()

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

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>

listManagedFoldersSettings()

public PagedCallSettings.Builder<ListManagedFoldersRequest,ListManagedFoldersResponse,StorageControlClient.ListManagedFoldersPagedResponse> listManagedFoldersSettings()

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

Returns
Type Description
Builder<ListManagedFoldersRequest,ListManagedFoldersResponse,ListManagedFoldersPagedResponse>

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>