public static class ChunkServiceStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ChunkServiceStubSettings,ChunkServiceStubSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(ChunkServiceStubSettings settings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and Description |
|---|---|
ChunkServiceStubSettings.Builder |
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
ChunkServiceStubSettings |
build() |
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetChunkRequest,Chunk> |
getChunkSettings()
Returns the builder for the settings used for calls to getChunk.
|
String |
getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
|
com.google.api.gax.rpc.PagedCallSettings.Builder<ListChunksRequest,ListChunksResponse,ChunkServiceClient.ListChunksPagedResponse> |
listChunksSettings()
Returns the builder for the settings used for calls to listChunks.
|
com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toStringprotected Builder()
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ChunkServiceStubSettings settings)
public ChunkServiceStubSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetChunkRequest,Chunk> getChunkSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListChunksRequest,ListChunksResponse,ChunkServiceClient.ListChunksPagedResponse> listChunksSettings()
public String getEndpoint()
getEndpoint in class com.google.api.gax.rpc.StubSettings.Builder<ChunkServiceStubSettings,ChunkServiceStubSettings.Builder>public ChunkServiceStubSettings build() throws IOException
build in class com.google.api.gax.rpc.StubSettings.Builder<ChunkServiceStubSettings,ChunkServiceStubSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.