public static class StorageControlSettings.Builder extends ClientSettings.Builder<StorageControlSettings,StorageControlSettings.Builder>
Builder for StorageControlSettings.
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 |
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> |
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> |
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> |