public static class ChunkServiceStubSettings.Builder extends StubSettings.Builder<ChunkServiceStubSettings,ChunkServiceStubSettings.Builder>
Builder for ChunkServiceStubSettings.
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 |
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<?,?>> |