Class TaxonomyCategoryServiceSettings.Builder (0.13.0)

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

Builder for TaxonomyCategoryServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > TaxonomyCategoryServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(TaxonomyCategoryServiceSettings settings)

protected Builder(TaxonomyCategoryServiceSettings settings)
Parameter
Name Description
settings TaxonomyCategoryServiceSettings

Builder(TaxonomyCategoryServiceStubSettings.Builder stubSettings)

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

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Methods

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

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

build()

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

getStubSettingsBuilder()

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

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>