Class AnswerRecordsStubSettings.Builder (4.61.0)

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
Name Description
clientContext ClientContext

Builder(AnswerRecordsStubSettings settings)

protected Builder(AnswerRecordsStubSettings settings)
Parameter
Name Description
settings AnswerRecordsStubSettings

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
AnswerRecordsStubSettings.Builder

build()

public AnswerRecordsStubSettings build()
Returns
Type Description
AnswerRecordsStubSettings
Overrides
Exceptions
Type Description
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
Type Description
Builder<GetAnswerRecordRequest,AnswerRecord>

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>

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>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
Type Description
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
Type Description
Builder<UpdateAnswerRecordRequest,AnswerRecord>