Class TaxonomyCategoryServiceStubSettings.Builder (0.13.0)

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

Builder for TaxonomyCategoryServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > TaxonomyCategoryServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(TaxonomyCategoryServiceStubSettings settings)

protected Builder(TaxonomyCategoryServiceStubSettings settings)
Parameter
Name Description
settings TaxonomyCategoryServiceStubSettings

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getTaxonomyCategorySettings()

public UnaryCallSettings.Builder<GetTaxonomyCategoryRequest,TaxonomyCategory> getTaxonomyCategorySettings()

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

Returns
Type Description
Builder<GetTaxonomyCategoryRequest,TaxonomyCategory>

listTaxonomyCategoriesSettings()

public PagedCallSettings.Builder<ListTaxonomyCategoriesRequest,ListTaxonomyCategoriesResponse,TaxonomyCategoryServiceClient.ListTaxonomyCategoriesPagedResponse> listTaxonomyCategoriesSettings()

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

Returns
Type Description
Builder<ListTaxonomyCategoriesRequest,ListTaxonomyCategoriesResponse,ListTaxonomyCategoriesPagedResponse>

unaryMethodSettingsBuilders()

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