public static class VersionsStubSettings.Builder extends StubSettings.Builder<VersionsStubSettings,VersionsStubSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(ClientContext clientContext) |
protected |
Builder(VersionsStubSettings settings) |
Modifier and Type | Method and Description |
---|---|
VersionsStubSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
VersionsStubSettings |
build() |
UnaryCallSettings.Builder<CreateVersionRequest,Version> |
createVersionSettings()
Returns the builder for the settings used for calls to createVersion.
|
UnaryCallSettings.Builder<DeleteVersionRequest,Empty> |
deleteVersionSettings()
Returns the builder for the settings used for calls to deleteVersion.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
UnaryCallSettings.Builder<GetVersionRequest,Version> |
getVersionSettings()
Returns the builder for the settings used for calls to getVersion.
|
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,VersionsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,VersionsClient.ListVersionsPagedResponse> |
listVersionsSettings()
Returns the builder for the settings used for calls to listVersions.
|
com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> |
unaryMethodSettingsBuilders() |
UnaryCallSettings.Builder<UpdateVersionRequest,Version> |
updateVersionSettings()
Returns the builder for the settings used for calls to updateVersion.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
protected Builder()
protected Builder(ClientContext clientContext)
protected Builder(VersionsStubSettings settings)
public VersionsStubSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
public PagedCallSettings.Builder<ListVersionsRequest,ListVersionsResponse,VersionsClient.ListVersionsPagedResponse> listVersionsSettings()
public UnaryCallSettings.Builder<GetVersionRequest,Version> getVersionSettings()
public UnaryCallSettings.Builder<CreateVersionRequest,Version> createVersionSettings()
public UnaryCallSettings.Builder<UpdateVersionRequest,Version> updateVersionSettings()
public UnaryCallSettings.Builder<DeleteVersionRequest,Empty> deleteVersionSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,VersionsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public VersionsStubSettings build() throws IOException
build
in class StubSettings.Builder<VersionsStubSettings,VersionsStubSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.