Class SipTrunksStubSettings.Builder (4.60.0)

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

Builder for SipTrunksStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > SipTrunksStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SipTrunksStubSettings settings)

protected Builder(SipTrunksStubSettings settings)
Parameter
Name Description
settings SipTrunksStubSettings

Methods

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

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

build()

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

createSipTrunkSettings()

public UnaryCallSettings.Builder<CreateSipTrunkRequest,SipTrunk> createSipTrunkSettings()

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

Returns
Type Description
Builder<CreateSipTrunkRequest,SipTrunk>

deleteSipTrunkSettings()

public UnaryCallSettings.Builder<DeleteSipTrunkRequest,Empty> deleteSipTrunkSettings()

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

Returns
Type Description
Builder<DeleteSipTrunkRequest,Empty>

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>

getSipTrunkSettings()

public UnaryCallSettings.Builder<GetSipTrunkRequest,SipTrunk> getSipTrunkSettings()

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

Returns
Type Description
Builder<GetSipTrunkRequest,SipTrunk>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,SipTrunksClient.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>

listSipTrunksSettings()

public PagedCallSettings.Builder<ListSipTrunksRequest,ListSipTrunksResponse,SipTrunksClient.ListSipTrunksPagedResponse> listSipTrunksSettings()

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

Returns
Type Description
Builder<ListSipTrunksRequest,ListSipTrunksResponse,ListSipTrunksPagedResponse>

unaryMethodSettingsBuilders()

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

updateSipTrunkSettings()

public UnaryCallSettings.Builder<UpdateSipTrunkRequest,SipTrunk> updateSipTrunkSettings()

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

Returns
Type Description
Builder<UpdateSipTrunkRequest,SipTrunk>