public static class CatalogServiceStubSettings.Builder extends StubSettings.Builder<CatalogServiceStubSettings,CatalogServiceStubSettings.Builder>
Builder for CatalogServiceStubSettings.
Constructors
Builder()
protected Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Name | Description |
clientContext | ClientContext |
Builder(CatalogServiceStubSettings settings)
protected Builder(CatalogServiceStubSettings settings)
Name | Description |
settings | CatalogServiceStubSettings |
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CatalogServiceStubSettings.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.
Name | Description |
settingsUpdater | ApiFunction<Builder<?,?>,java.lang.Void> |
Type | Description |
CatalogServiceStubSettings.Builder |
build()
public CatalogServiceStubSettings build()
Type | Description |
CatalogServiceStubSettings |
Type | Description |
IOException |
createCatalogItemSettings()
public UnaryCallSettings.Builder<CreateCatalogItemRequest,CatalogItem> createCatalogItemSettings()
Returns the builder for the settings used for calls to createCatalogItem.
Type | Description |
Builder<CreateCatalogItemRequest,CatalogItem> |
deleteCatalogItemSettings()
public UnaryCallSettings.Builder<DeleteCatalogItemRequest,Empty> deleteCatalogItemSettings()
Returns the builder for the settings used for calls to deleteCatalogItem.
Type | Description |
Builder<DeleteCatalogItemRequest,Empty> |
getCatalogItemSettings()
public UnaryCallSettings.Builder<GetCatalogItemRequest,CatalogItem> getCatalogItemSettings()
Returns the builder for the settings used for calls to getCatalogItem.
Type | Description |
Builder<GetCatalogItemRequest,CatalogItem> |
importCatalogItemsOperationSettings()
public OperationCallSettings.Builder<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata> importCatalogItemsOperationSettings()
Returns the builder for the settings used for calls to importCatalogItems.
Type | Description |
Builder<ImportCatalogItemsRequest,ImportCatalogItemsResponse,ImportMetadata> |
importCatalogItemsSettings()
public UnaryCallSettings.Builder<ImportCatalogItemsRequest,Operation> importCatalogItemsSettings()
Returns the builder for the settings used for calls to importCatalogItems.
Type | Description |
Builder<ImportCatalogItemsRequest,Operation> |
listCatalogItemsSettings()
public PagedCallSettings.Builder<ListCatalogItemsRequest,ListCatalogItemsResponse,CatalogServiceClient.ListCatalogItemsPagedResponse> listCatalogItemsSettings()
Returns the builder for the settings used for calls to listCatalogItems.
Type | Description |
Builder<ListCatalogItemsRequest,ListCatalogItemsResponse,ListCatalogItemsPagedResponse> |
unaryMethodSettingsBuilders()
public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Type | Description |
com.google.common.collect.ImmutableList<Builder<?,?>> |
updateCatalogItemSettings()
public UnaryCallSettings.Builder<UpdateCatalogItemRequest,CatalogItem> updateCatalogItemSettings()
Returns the builder for the settings used for calls to updateCatalogItem.
Type | Description |
Builder<UpdateCatalogItemRequest,CatalogItem> |