Class CommerceTransactionSettings.Builder (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static class CommerceTransactionSettings.Builder extends ClientSettings.Builder<CommerceTransactionSettings,CommerceTransactionSettings.Builder>
Builder for CommerceTransactionSettings.
Inherited Members
com.google.api.gax.rpc.ClientSettings.Builder.setGdchApiAudience(java.lang.String)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckInterval(org.threeten.bp.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogCheckIntervalDuration(java.time.Duration)
com.google.api.gax.rpc.ClientSettings.Builder.setWatchdogProvider(com.google.api.gax.rpc.WatchdogProvider)
Constructors
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(CommerceTransactionSettings settings)
protected Builder(CommerceTransactionSettings settings)
Builder(CommerceTransactionStubSettings.Builder stubSettings)
protected Builder(CommerceTransactionStubSettings.Builder stubSettings)
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public CommerceTransactionSettings.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.
build()
public CommerceTransactionSettings build()
Overrides
cancelPrivateOfferSettings()
public UnaryCallSettings.Builder<CancelPrivateOfferRequest,PrivateOffer> cancelPrivateOfferSettings()
Returns the builder for the settings used for calls to cancelPrivateOffer.
createPrivateOfferDocumentSettings()
public UnaryCallSettings.Builder<CreatePrivateOfferDocumentRequest,PrivateOfferDocument> createPrivateOfferDocumentSettings()
Returns the builder for the settings used for calls to createPrivateOfferDocument.
createPrivateOfferSettings()
public UnaryCallSettings.Builder<CreatePrivateOfferRequest,PrivateOffer> createPrivateOfferSettings()
Returns the builder for the settings used for calls to createPrivateOffer.
deletePrivateOfferDocumentSettings()
public UnaryCallSettings.Builder<DeletePrivateOfferDocumentRequest,Empty> deletePrivateOfferDocumentSettings()
Returns the builder for the settings used for calls to deletePrivateOfferDocument.
deletePrivateOfferSettings()
public UnaryCallSettings.Builder<DeletePrivateOfferRequest,Empty> deletePrivateOfferSettings()
Returns the builder for the settings used for calls to deletePrivateOffer.
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
| Returns |
| Type |
Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
|
getPrivateOfferDocumentSettings()
public UnaryCallSettings.Builder<GetPrivateOfferDocumentRequest,PrivateOfferDocument> getPrivateOfferDocumentSettings()
Returns the builder for the settings used for calls to getPrivateOfferDocument.
getPrivateOfferSettings()
public UnaryCallSettings.Builder<GetPrivateOfferRequest,PrivateOffer> getPrivateOfferSettings()
Returns the builder for the settings used for calls to getPrivateOffer.
getServiceSettings()
public UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
getSkuGroupSettings()
public UnaryCallSettings.Builder<GetSkuGroupRequest,SkuGroup> getSkuGroupSettings()
Returns the builder for the settings used for calls to getSkuGroup.
getSkuSettings()
public UnaryCallSettings.Builder<GetSkuRequest,Sku> getSkuSettings()
Returns the builder for the settings used for calls to getSku.
getStandardOfferSettings()
public UnaryCallSettings.Builder<GetStandardOfferRequest,StandardOffer> getStandardOfferSettings()
Returns the builder for the settings used for calls to getStandardOffer.
getStubSettingsBuilder()
public CommerceTransactionStubSettings.Builder getStubSettingsBuilder()
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,CommerceTransactionClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
listPrivateOfferDocumentsSettings()
public PagedCallSettings.Builder<ListPrivateOfferDocumentsRequest,ListPrivateOfferDocumentsResponse,CommerceTransactionClient.ListPrivateOfferDocumentsPagedResponse> listPrivateOfferDocumentsSettings()
Returns the builder for the settings used for calls to listPrivateOfferDocuments.
public PagedCallSettings.Builder<ListPrivateOffersRequest,ListPrivateOffersResponse,CommerceTransactionClient.ListPrivateOffersPagedResponse> listPrivateOffersSettings()
Returns the builder for the settings used for calls to listPrivateOffers.
listServicesSettings()
public PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,CommerceTransactionClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
listSkuGroupsSettings()
public PagedCallSettings.Builder<ListSkuGroupsRequest,ListSkuGroupsResponse,CommerceTransactionClient.ListSkuGroupsPagedResponse> listSkuGroupsSettings()
Returns the builder for the settings used for calls to listSkuGroups.
listSkusSettings()
public PagedCallSettings.Builder<ListSkusRequest,ListSkusResponse,CommerceTransactionClient.ListSkusPagedResponse> listSkusSettings()
Returns the builder for the settings used for calls to listSkus.
listStandardOffersSettings()
public PagedCallSettings.Builder<ListStandardOffersRequest,ListStandardOffersResponse,CommerceTransactionClient.ListStandardOffersPagedResponse> listStandardOffersSettings()
Returns the builder for the settings used for calls to listStandardOffers.
publishPrivateOfferSettings()
public UnaryCallSettings.Builder<PublishPrivateOfferRequest,PrivateOffer> publishPrivateOfferSettings()
Returns the builder for the settings used for calls to publishPrivateOffer.
resolveAmendmentTargetSettings()
public UnaryCallSettings.Builder<ResolveAmendmentTargetRequest,ResolveAmendmentTargetResponse> resolveAmendmentTargetSettings()
Returns the builder for the settings used for calls to resolveAmendmentTarget.
updatePrivateOfferDocumentSettings()
public UnaryCallSettings.Builder<UpdatePrivateOfferDocumentRequest,PrivateOfferDocument> updatePrivateOfferDocumentSettings()
Returns the builder for the settings used for calls to updatePrivateOfferDocument.
updatePrivateOfferSettings()
public UnaryCallSettings.Builder<UpdatePrivateOfferRequest,PrivateOffer> updatePrivateOfferSettings()
Returns the builder for the settings used for calls to updatePrivateOffer.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-08-06 UTC.
[null,null,["Last updated 2026-08-06 UTC."],[],[]]