Class ChunkServiceSettings.Builder (0.43.0)

public static class ChunkServiceSettings.Builder extends ClientSettings.Builder<ChunkServiceSettings,ChunkServiceSettings.Builder>

Builder for ChunkServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > ChunkServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ChunkServiceSettings settings)

protected Builder(ChunkServiceSettings settings)
Parameter
Name Description
settings ChunkServiceSettings

Builder(ChunkServiceStubSettings.Builder stubSettings)

protected Builder(ChunkServiceStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings ChunkServiceStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public ChunkServiceSettings.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<?,?>,java.lang.Void>
Returns
Type Description
ChunkServiceSettings.Builder

build()

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

getChunkSettings()

public UnaryCallSettings.Builder<GetChunkRequest,Chunk> getChunkSettings()

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

Returns
Type Description
Builder<GetChunkRequest,Chunk>

getStubSettingsBuilder()

public ChunkServiceStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
ChunkServiceStubSettings.Builder

listChunksSettings()

public PagedCallSettings.Builder<ListChunksRequest,ListChunksResponse,ChunkServiceClient.ListChunksPagedResponse> listChunksSettings()

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

Returns
Type Description
Builder<ListChunksRequest,ListChunksResponse,ListChunksPagedResponse>