Class CloudProductRegistryReadServiceSettings.Builder (0.1.0)

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

Builder for CloudProductRegistryReadServiceSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > CloudProductRegistryReadServiceSettings.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(CloudProductRegistryReadServiceSettings settings)

protected Builder(CloudProductRegistryReadServiceSettings settings)
Parameter
Name Description
settings CloudProductRegistryReadServiceSettings

Builder(CloudProductRegistryReadServiceStubSettings.Builder stubSettings)

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

Methods

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

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

build()

public CloudProductRegistryReadServiceSettings build()
Returns
Type Description
CloudProductRegistryReadServiceSettings
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>

getStubSettingsBuilder()

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

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>