public static class StorageSettings.Builder extends ClientSettings.Builder<StorageSettings,StorageSettings.Builder>
Builder for StorageSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(StorageSettings settings)
protected Builder(StorageSettings settings)
Name | Description |
settings | StorageSettings |
Builder(StorageStubSettings.Builder stubSettings)
protected Builder(StorageStubSettings.Builder stubSettings)
Name | Description |
stubSettings | StorageStubSettings.Builder |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,Void> |
Type | Description |
StorageSettings.Builder |
build()
public StorageSettings build()
Type | Description |
StorageSettings |
Type | Description |
IOException |
getStubSettingsBuilder()
public StorageStubSettings.Builder getStubSettingsBuilder()
Type | Description |
StorageStubSettings.Builder |
queryWriteStatusSettings()
public UnaryCallSettings.Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusSettings()
Returns the builder for the settings used for calls to queryWriteStatus.
Type | Description |
Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> |
readObjectSettings()
public ServerStreamingCallSettings.Builder<ReadObjectRequest,ReadObjectResponse> readObjectSettings()
Returns the builder for the settings used for calls to readObject.
Type | Description |
Builder<ReadObjectRequest,ReadObjectResponse> |
startResumableWriteSettings()
public UnaryCallSettings.Builder<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteSettings()
Returns the builder for the settings used for calls to startResumableWrite.
Type | Description |
Builder<StartResumableWriteRequest,StartResumableWriteResponse> |
writeObjectSettings()
public StreamingCallSettings.Builder<WriteObjectRequest,WriteObjectResponse> writeObjectSettings()
Returns the builder for the settings used for calls to writeObject.
Type | Description |
Builder<WriteObjectRequest,WriteObjectResponse> |