Class SipTrunksSettings.Builder (4.60.0)

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

Builder for SipTrunksSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > SipTrunksSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(SipTrunksSettings settings)

protected Builder(SipTrunksSettings settings)
Parameter
Name Description
settings SipTrunksSettings

Builder(SipTrunksStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public SipTrunksSettings build()
Returns
Type Description
SipTrunksSettings
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>

getStubSettingsBuilder()

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

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>

updateSipTrunkSettings()

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

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

Returns
Type Description
Builder<UpdateSipTrunkRequest,SipTrunk>