Class CloudProductRegistryReadServiceStubSettings.Builder (0.1.0)

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

Builder for CloudProductRegistryReadServiceStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > CloudProductRegistryReadServiceStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(@Nullable ClientContext clientContext)

protected Builder(@Nullable ClientContext clientContext)
Parameter
Name Description
clientContext @org.jspecify.annotations.Nullable com.google.api.gax.rpc.ClientContext

Builder(CloudProductRegistryReadServiceStubSettings settings)

protected Builder(CloudProductRegistryReadServiceStubSettings settings)
Parameter
Name Description
settings CloudProductRegistryReadServiceStubSettings

Methods

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

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

build()

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

getLogicalProductSettings()

public UnaryCallSettings.Builder<GetLogicalProductRequest,LogicalProduct> getLogicalProductSettings()

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

Returns
Type Description
Builder<GetLogicalProductRequest,LogicalProduct>

getLogicalProductVariantSettings()

public UnaryCallSettings.Builder<GetLogicalProductVariantRequest,LogicalProductVariant> getLogicalProductVariantSettings()

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

Returns
Type Description
Builder<GetLogicalProductVariantRequest,LogicalProductVariant>

getProductSuiteSettings()

public UnaryCallSettings.Builder<GetProductSuiteRequest,ProductSuite> getProductSuiteSettings()

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

Returns
Type Description
Builder<GetProductSuiteRequest,ProductSuite>

listLogicalProductVariantsSettings()

public PagedCallSettings.Builder<ListLogicalProductVariantsRequest,ListLogicalProductVariantsResponse,CloudProductRegistryReadServiceClient.ListLogicalProductVariantsPagedResponse> listLogicalProductVariantsSettings()

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

Returns
Type Description
Builder<ListLogicalProductVariantsRequest,ListLogicalProductVariantsResponse,ListLogicalProductVariantsPagedResponse>

listLogicalProductsSettings()

public PagedCallSettings.Builder<ListLogicalProductsRequest,ListLogicalProductsResponse,CloudProductRegistryReadServiceClient.ListLogicalProductsPagedResponse> listLogicalProductsSettings()

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

Returns
Type Description
Builder<ListLogicalProductsRequest,ListLogicalProductsResponse,ListLogicalProductsPagedResponse>

listProductSuitesSettings()

public PagedCallSettings.Builder<ListProductSuitesRequest,ListProductSuitesResponse,CloudProductRegistryReadServiceClient.ListProductSuitesPagedResponse> listProductSuitesSettings()

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

Returns
Type Description
Builder<ListProductSuitesRequest,ListProductSuitesResponse,ListProductSuitesPagedResponse>

lookupEntitySettings()

public UnaryCallSettings.Builder<LookupEntityRequest,LookupEntityResponse> lookupEntitySettings()

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

Returns
Type Description
Builder<LookupEntityRequest,LookupEntityResponse>

unaryMethodSettingsBuilders()

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