Class TagHoldsSettings.Builder (1.45.0)

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

Builder for TagHoldsSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TagHoldsSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TagHoldsSettings settings)

protected Builder(TagHoldsSettings settings)
Parameter
Name Description
settings TagHoldsSettings

Builder(TagHoldsStubSettings.Builder stubSettings)

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

Methods

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

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

build()

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

createTagHoldOperationSettings()

public OperationCallSettings.Builder<CreateTagHoldRequest,TagHold,CreateTagHoldMetadata> createTagHoldOperationSettings()

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

Returns
Type Description
Builder<CreateTagHoldRequest,TagHold,CreateTagHoldMetadata>

createTagHoldSettings()

public UnaryCallSettings.Builder<CreateTagHoldRequest,Operation> createTagHoldSettings()

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

Returns
Type Description
Builder<CreateTagHoldRequest,Operation>

deleteTagHoldOperationSettings()

public OperationCallSettings.Builder<DeleteTagHoldRequest,Empty,DeleteTagHoldMetadata> deleteTagHoldOperationSettings()

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

Returns
Type Description
Builder<DeleteTagHoldRequest,Empty,DeleteTagHoldMetadata>

deleteTagHoldSettings()

public UnaryCallSettings.Builder<DeleteTagHoldRequest,Operation> deleteTagHoldSettings()

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

Returns
Type Description
Builder<DeleteTagHoldRequest,Operation>

getStubSettingsBuilder()

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

listTagHoldsSettings()

public PagedCallSettings.Builder<ListTagHoldsRequest,ListTagHoldsResponse,TagHoldsClient.ListTagHoldsPagedResponse> listTagHoldsSettings()

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

Returns
Type Description
Builder<ListTagHoldsRequest,ListTagHoldsResponse,ListTagHoldsPagedResponse>