Class ChunkServiceStubSettings.Builder (0.48.0)

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

Builder for ChunkServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > ChunkServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(ChunkServiceStubSettings settings)

protected Builder(ChunkServiceStubSettings settings)
Parameter
Name Description
settings ChunkServiceStubSettings

Methods

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

public ChunkServiceStubSettings.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
ChunkServiceStubSettings.Builder

build()

public ChunkServiceStubSettings build()
Returns
Type Description
ChunkServiceStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
com.google.common.collect.ImmutableList<Builder<?,?>>