Class TagHoldsSettings.Builder (1.19.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
NameDescription
clientContextClientContext

Builder(TagHoldsSettings settings)

protected Builder(TagHoldsSettings settings)
Parameter
NameDescription
settingsTagHoldsSettings

Builder(TagHoldsStubSettings.Builder stubSettings)

protected Builder(TagHoldsStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsTagHoldsStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TagHoldsSettings.Builder

build()

public TagHoldsSettings build()
Returns
TypeDescription
TagHoldsSettings
Overrides
Exceptions
TypeDescription
IOException

createTagHoldOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateTagHoldRequest,TagHold,CreateTagHoldMetadata>

createTagHoldSettings()

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

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

Returns
TypeDescription
Builder<CreateTagHoldRequest,Operation>

deleteTagHoldOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteTagHoldRequest,Empty,DeleteTagHoldMetadata>

deleteTagHoldSettings()

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

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

Returns
TypeDescription
Builder<DeleteTagHoldRequest,Operation>

getStubSettingsBuilder()

public TagHoldsStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
TagHoldsStubSettings.Builder

listTagHoldsSettings()

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

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

Returns
TypeDescription
Builder<ListTagHoldsRequest,ListTagHoldsResponse,ListTagHoldsPagedResponse>