public static class AnswerRecordsSettings.Builder extends ClientSettings.Builder<AnswerRecordsSettings,AnswerRecordsSettings.Builder>
Modifier | Constructor and Description |
---|---|
protected |
Builder() |
protected |
Builder(AnswerRecordsSettings settings) |
protected |
Builder(AnswerRecordsStubSettings.Builder stubSettings) |
protected |
Builder(ClientContext clientContext) |
Modifier and Type | Method and Description |
---|---|
AnswerRecordsSettings.Builder |
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.
|
AnswerRecordsSettings |
build() |
UnaryCallSettings.Builder<GetAnswerRecordRequest,AnswerRecord> |
getAnswerRecordSettings()
Deprecated.
This method is deprecated and will be removed in the next major version update.
|
UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
|
AnswerRecordsStubSettings.Builder |
getStubSettingsBuilder() |
PagedCallSettings.Builder<ListAnswerRecordsRequest,ListAnswerRecordsResponse,AnswerRecordsClient.ListAnswerRecordsPagedResponse> |
listAnswerRecordsSettings()
Returns the builder for the settings used for calls to listAnswerRecords.
|
PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AnswerRecordsClient.ListLocationsPagedResponse> |
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
|
UnaryCallSettings.Builder<UpdateAnswerRecordRequest,AnswerRecord> |
updateAnswerRecordSettings()
Returns the builder for the settings used for calls to updateAnswerRecord.
|
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
protected Builder() throws IOException
IOException
protected Builder(ClientContext clientContext)
protected Builder(AnswerRecordsSettings settings)
protected Builder(AnswerRecordsStubSettings.Builder stubSettings)
public AnswerRecordsStubSettings.Builder getStubSettingsBuilder()
public AnswerRecordsSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
@Deprecated public UnaryCallSettings.Builder<GetAnswerRecordRequest,AnswerRecord> getAnswerRecordSettings()
public PagedCallSettings.Builder<ListAnswerRecordsRequest,ListAnswerRecordsResponse,AnswerRecordsClient.ListAnswerRecordsPagedResponse> listAnswerRecordsSettings()
public UnaryCallSettings.Builder<UpdateAnswerRecordRequest,AnswerRecord> updateAnswerRecordSettings()
public PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,AnswerRecordsClient.ListLocationsPagedResponse> listLocationsSettings()
public UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
public AnswerRecordsSettings build() throws IOException
build
in class ClientSettings.Builder<AnswerRecordsSettings,AnswerRecordsSettings.Builder>
IOException
Copyright © 2022 Google LLC. All rights reserved.