Class AnswerRecordsSettings.Builder (4.7.4)

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
NameDescription
clientContextClientContext

Builder(AnswerRecordsSettings settings)

protected Builder(AnswerRecordsSettings settings)
Parameter
NameDescription
settingsAnswerRecordsSettings

Builder(AnswerRecordsStubSettings.Builder stubSettings)

protected Builder(AnswerRecordsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsAnswerRecordsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
AnswerRecordsSettings.Builder

build()

public AnswerRecordsSettings build()
Returns
TypeDescription
AnswerRecordsSettings
Overrides Exceptions
TypeDescription
IOException

getAnswerRecordSettings() (deprecated)

public UnaryCallSettings.Builder<GetAnswerRecordRequest,AnswerRecord> getAnswerRecordSettings()

Deprecated. This method is deprecated and will be removed in the next major version update.

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

Returns
TypeDescription
Builder<GetAnswerRecordRequest,AnswerRecord>

getStubSettingsBuilder()

public AnswerRecordsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
AnswerRecordsStubSettings.Builder

listAnswerRecordsSettings()

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

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

Returns
TypeDescription
Builder<ListAnswerRecordsRequest,ListAnswerRecordsResponse,ListAnswerRecordsPagedResponse>

updateAnswerRecordSettings()

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

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

Returns
TypeDescription
Builder<UpdateAnswerRecordRequest,AnswerRecord>