Class TagHoldsStubSettings.Builder (1.48.0)

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

Builder for TagHoldsStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TagHoldsStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(TagHoldsStubSettings settings)

protected Builder(TagHoldsStubSettings settings)
Parameter
Name Description
settings TagHoldsStubSettings

Methods

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

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

build()

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

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>

unaryMethodSettingsBuilders()

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