Class AnswerRecordsSettings.Builder (4.26.0)

public static class AnswerRecordsSettings.Builder extends ClientSettings.Builder<AnswerRecordsSettings,AnswerRecordsSettings.Builder>

Builder for AnswerRecordsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > AnswerRecordsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(AnswerRecordsSettings settings)

protected Builder(AnswerRecordsSettings settings)
Parameter
Name Description
settings AnswerRecordsSettings

Builder(AnswerRecordsStubSettings.Builder stubSettings)

protected Builder(AnswerRecordsStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings AnswerRecordsStubSettings.Builder

Methods

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

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

build()

public AnswerRecordsSettings build()
Returns
Type Description
AnswerRecordsSettings
Overrides
Exceptions
Type Description
IOException

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

Returns the builder for the settings used for calls to getLocation.

Returns
Type Description
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getStubSettingsBuilder()

public AnswerRecordsStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
AnswerRecordsStubSettings.Builder

listAnswerRecordsSettings()

public PagedCallSettings.Builder<ListAnswerRecordsRequest,ListAnswerRecordsResponse,AnswerRecordsClient.ListAnswerRecordsPagedResponse> listAnswerRecordsSettings()

Returns the builder for the settings used for calls to listAnswerRecords.

Returns
Type Description
Builder<ListAnswerRecordsRequest,ListAnswerRecordsResponse,ListAnswerRecordsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,AnswerRecordsClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

updateAnswerRecordSettings()

public UnaryCallSettings.Builder<UpdateAnswerRecordRequest,AnswerRecord> updateAnswerRecordSettings()

Returns the builder for the settings used for calls to updateAnswerRecord.

Returns
Type Description
Builder<UpdateAnswerRecordRequest,AnswerRecord>