Class StorageStubSettings.Builder (2.2.3)

public static class StorageStubSettings.Builder extends StubSettings.Builder<StorageStubSettings,StorageStubSettings.Builder>

Builder for StorageStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > StorageStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(StorageStubSettings settings)

protected Builder(StorageStubSettings settings)
Parameter
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.

Parameter
Name Description
settingsUpdater ApiFunction<Builder<?,?>,Void>
Returns
Type Description
StorageStubSettings.Builder

build()

public StorageStubSettings build()
Returns
Type Description
StorageStubSettings
Overrides Exceptions
Type Description
IOException

queryWriteStatusSettings()

public UnaryCallSettings.Builder<QueryWriteStatusRequest,QueryWriteStatusResponse> queryWriteStatusSettings()

Returns the builder for the settings used for calls to queryWriteStatus.

Returns
Type Description
Builder<QueryWriteStatusRequest,QueryWriteStatusResponse>

readObjectSettings()

public ServerStreamingCallSettings.Builder<ReadObjectRequest,ReadObjectResponse> readObjectSettings()

Returns the builder for the settings used for calls to readObject.

Returns
Type Description
Builder<ReadObjectRequest,ReadObjectResponse>

startResumableWriteSettings()

public UnaryCallSettings.Builder<StartResumableWriteRequest,StartResumableWriteResponse> startResumableWriteSettings()

Returns the builder for the settings used for calls to startResumableWrite.

Returns
Type Description
Builder<StartResumableWriteRequest,StartResumableWriteResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
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.

Returns
Type Description
Builder<WriteObjectRequest,WriteObjectResponse>