public static class StorageControlStubSettings.Builder extends StubSettings.Builder<StorageControlStubSettings,StorageControlStubSettings.Builder>
Builder for StorageControlStubSettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Builder(StorageControlStubSettings settings)
protected Builder(StorageControlStubSettings settings)
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.
build()
public StorageControlStubSettings build()
Overrides
createFolderSettings()
public UnaryCallSettings.Builder<CreateFolderRequest,Folder> createFolderSettings()
Returns the builder for the settings used for calls to createFolder.
deleteFolderSettings()
public UnaryCallSettings.Builder<DeleteFolderRequest,Empty> deleteFolderSettings()
Returns the builder for the settings used for calls to deleteFolder.
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.
getStorageLayoutSettings()
public UnaryCallSettings.Builder<GetStorageLayoutRequest,StorageLayout> getStorageLayoutSettings()
Returns the builder for the settings used for calls to getStorageLayout.
public PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,StorageControlClient.ListFoldersPagedResponse> listFoldersSettings()
Returns the builder for the settings used for calls to listFolders.
renameFolderOperationSettings()
public OperationCallSettings.Builder<RenameFolderRequest,Folder,RenameFolderMetadata> renameFolderOperationSettings()
Returns the builder for the settings used for calls to renameFolder.
renameFolderSettings()
public UnaryCallSettings.Builder<RenameFolderRequest,Operation> renameFolderSettings()
Returns the builder for the settings used for calls to renameFolder.
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns |
Type |
Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
|