Class CatalogServiceSettings.Builder (0.19.0)

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

Builder for CatalogServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CatalogServiceSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(CatalogServiceSettings settings)

protected Builder(CatalogServiceSettings settings)
Parameter
NameDescription
settingsCatalogServiceSettings

Builder(CatalogServiceStubSettings.Builder stubSettings)

protected Builder(CatalogServiceStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsCatalogServiceStubSettings.Builder

Methods

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

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

build()

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

createCatalogItemSettings()

public UnaryCallSettings.Builder<CreateCatalogItemRequest,CatalogItem> createCatalogItemSettings()

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

Returns
TypeDescription
Builder<CreateCatalogItemRequest,CatalogItem>

deleteCatalogItemSettings()

public UnaryCallSettings.Builder<DeleteCatalogItemRequest,Empty> deleteCatalogItemSettings()

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

Returns
TypeDescription
Builder<DeleteCatalogItemRequest,Empty>

getCatalogItemSettings()

public UnaryCallSettings.Builder<GetCatalogItemRequest,CatalogItem> getCatalogItemSettings()

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

Returns
TypeDescription
Builder<GetCatalogItemRequest,CatalogItem>

getStubSettingsBuilder()

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

importCatalogItemsOperationSettings()

public OperationCallSettings.Builder<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata> importCatalogItemsOperationSettings()

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

Returns
TypeDescription
Builder<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata>

importCatalogItemsSettings()

public UnaryCallSettings.Builder<ImportCatalogItemsRequest,Operation> importCatalogItemsSettings()

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

Returns
TypeDescription
Builder<ImportCatalogItemsRequest,Operation>

listCatalogItemsSettings()

public PagedCallSettings.Builder<ListCatalogItemsRequest,ListCatalogItemsResponse,CatalogServiceClient.ListCatalogItemsPagedResponse> listCatalogItemsSettings()

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

Returns
TypeDescription
Builder<ListCatalogItemsRequest,ListCatalogItemsResponse,ListCatalogItemsPagedResponse>

updateCatalogItemSettings()

public UnaryCallSettings.Builder<UpdateCatalogItemRequest,CatalogItem> updateCatalogItemSettings()

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

Returns
TypeDescription
Builder<UpdateCatalogItemRequest,CatalogItem>