public static class StorageStubSettings.Builder extends StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>
Builder for StorageStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(StorageStubSettings settings)
protected Builder(StorageStubSettings settings)
Name | Description |
settings | StorageStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public StorageStubSettings.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 |
StorageStubSettings.Builder |
build()
public StorageStubSettings build()
Type | Description |
StorageStubSettings |
Type | Description |
IOException |
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> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
writeObjectSettings()
public StreamingCallSettings.Builder<WriteObjectRequest,WriteObjectResponse> writeObjectSettings()
Returns the builder for the settings used for calls to writeObject.
Type | Description |
Builder<WriteObjectRequest,WriteObjectResponse> |