Class TagHoldsStubSettings.Builder (1.32.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
NameDescription
clientContextClientContext

Builder(TagHoldsStubSettings settings)

protected Builder(TagHoldsStubSettings settings)
Parameter
NameDescription
settingsTagHoldsStubSettings

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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
TagHoldsStubSettings.Builder

build()

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

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>

unaryMethodSettingsBuilders()

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