Class AnswerRecordsStubSettings.Builder (4.5.11)

public static class AnswerRecordsStubSettings.Builder extends StubSettings.Builder<AnswerRecordsStubSettings,AnswerRecordsStubSettings.Builder>

Builder for AnswerRecordsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > AnswerRecordsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(AnswerRecordsStubSettings settings)

protected Builder(AnswerRecordsStubSettings settings)
Parameter
NameDescription
settingsAnswerRecordsStubSettings

Methods

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

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

build()

public AnswerRecordsStubSettings build()
Returns
TypeDescription
AnswerRecordsStubSettings
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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

updateAnswerRecordSettings()

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

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

Returns
TypeDescription
Builder<UpdateAnswerRecordRequest,AnswerRecord>