Class StorageControlStubSettings.Builder (2.37.0)

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>

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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
Type Description
String
Overrides

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>

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>

unaryMethodSettingsBuilders()

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