Class GrpcCommerceTransactionStub (0.1.0)
Stay organized with collections
Save and categorize content based on your preferences.
Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
public class GrpcCommerceTransactionStub extends CommerceTransactionStub
gRPC stub implementation for the CommerceTransaction service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcCommerceTransactionStub create ( ClientContext clientContext )
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcCommerceTransactionStub create ( ClientContext clientContext , GrpcStubCallableFactory callableFactory )
create(CommerceTransactionStubSettings settings)
public static final GrpcCommerceTransactionStub create ( CommerceTransactionStubSettings settings )
Constructors
GrpcCommerceTransactionStub(CommerceTransactionStubSettings settings, ClientContext clientContext)
protected GrpcCommerceTransactionStub ( CommerceTransactionStubSettings settings , ClientContext clientContext )
Constructs an instance of GrpcCommerceTransactionStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
GrpcCommerceTransactionStub(CommerceTransactionStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcCommerceTransactionStub ( CommerceTransactionStubSettings settings , ClientContext clientContext , GrpcStubCallableFactory callableFactory )
Constructs an instance of GrpcCommerceTransactionStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination ( long duration , TimeUnit unit )
cancelPrivateOfferCallable()
public UnaryCallable<CancelPrivateOfferRequest , PrivateOffer > cancelPrivateOfferCallable ()
Overrides
close()
public final void close ()
Overrides
createPrivateOfferCallable()
public UnaryCallable<CreatePrivateOfferRequest , PrivateOffer > createPrivateOfferCallable ()
Overrides
createPrivateOfferDocumentCallable()
public UnaryCallable<CreatePrivateOfferDocumentRequest , PrivateOfferDocument > createPrivateOfferDocumentCallable ()
Overrides
deletePrivateOfferCallable()
public UnaryCallable<DeletePrivateOfferRequest , Empty > deletePrivateOfferCallable ()
Overrides
deletePrivateOfferDocumentCallable()
public UnaryCallable<DeletePrivateOfferDocumentRequest , Empty > deletePrivateOfferDocumentCallable ()
Overrides
getLocationCallable()
public UnaryCallable<GetLocationRequest , Location > getLocationCallable ()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.GetLocationRequest ,com.google.cloud.location.Location >
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub ()
getPrivateOfferCallable()
public UnaryCallable<GetPrivateOfferRequest , PrivateOffer > getPrivateOfferCallable ()
Overrides
getPrivateOfferDocumentCallable()
public UnaryCallable<GetPrivateOfferDocumentRequest , PrivateOfferDocument > getPrivateOfferDocumentCallable ()
Overrides
getServiceCallable()
public UnaryCallable<GetServiceRequest , Service > getServiceCallable ()
Overrides
getSkuCallable()
public UnaryCallable<GetSkuRequest , Sku > getSkuCallable ()
Overrides
getSkuGroupCallable()
public UnaryCallable<GetSkuGroupRequest , SkuGroup > getSkuGroupCallable ()
Overrides
getStandardOfferCallable()
public UnaryCallable<GetStandardOfferRequest , StandardOffer > getStandardOfferCallable ()
Overrides
isShutdown()
public boolean isShutdown ()
isTerminated()
public boolean isTerminated ()
listLocationsCallable()
public UnaryCallable<ListLocationsRequest , ListLocationsResponse > listLocationsCallable ()
Returns
Type
Description
UnaryCallable <com.google.cloud.location.ListLocationsRequest ,com.google.cloud.location.ListLocationsResponse >
Overrides
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest , CommerceTransactionClient . ListLocationsPagedResponse > listLocationsPagedCallable ()
Overrides
listPrivateOfferDocumentsCallable()
public UnaryCallable<ListPrivateOfferDocumentsRequest , ListPrivateOfferDocumentsResponse > listPrivateOfferDocumentsCallable ()
Overrides
listPrivateOfferDocumentsPagedCallable()
public UnaryCallable<ListPrivateOfferDocumentsRequest , CommerceTransactionClient . ListPrivateOfferDocumentsPagedResponse > listPrivateOfferDocumentsPagedCallable ()
Overrides
listPrivateOffersCallable()
public UnaryCallable<ListPrivateOffersRequest , ListPrivateOffersResponse > listPrivateOffersCallable ()
Overrides
listPrivateOffersPagedCallable()
public UnaryCallable<ListPrivateOffersRequest , CommerceTransactionClient . ListPrivateOffersPagedResponse > listPrivateOffersPagedCallable ()
Overrides
listServicesCallable()
public UnaryCallable<ListServicesRequest , ListServicesResponse > listServicesCallable ()
Overrides
listServicesPagedCallable()
public UnaryCallable<ListServicesRequest , CommerceTransactionClient . ListServicesPagedResponse > listServicesPagedCallable ()
Overrides
listSkuGroupsCallable()
public UnaryCallable<ListSkuGroupsRequest , ListSkuGroupsResponse > listSkuGroupsCallable ()
Overrides
listSkuGroupsPagedCallable()
public UnaryCallable<ListSkuGroupsRequest , CommerceTransactionClient . ListSkuGroupsPagedResponse > listSkuGroupsPagedCallable ()
Overrides
listSkusCallable()
public UnaryCallable<ListSkusRequest , ListSkusResponse > listSkusCallable ()
Overrides
listSkusPagedCallable()
public UnaryCallable<ListSkusRequest , CommerceTransactionClient . ListSkusPagedResponse > listSkusPagedCallable ()
Overrides
listStandardOffersCallable()
public UnaryCallable<ListStandardOffersRequest , ListStandardOffersResponse > listStandardOffersCallable ()
Overrides
listStandardOffersPagedCallable()
public UnaryCallable<ListStandardOffersRequest , CommerceTransactionClient . ListStandardOffersPagedResponse > listStandardOffersPagedCallable ()
Overrides
publishPrivateOfferCallable()
public UnaryCallable<PublishPrivateOfferRequest , PrivateOffer > publishPrivateOfferCallable ()
Overrides
resolveAmendmentTargetCallable()
public UnaryCallable<ResolveAmendmentTargetRequest , ResolveAmendmentTargetResponse > resolveAmendmentTargetCallable ()
Overrides
shutdown()
shutdownNow()
public void shutdownNow ()
updatePrivateOfferCallable()
public UnaryCallable<UpdatePrivateOfferRequest , PrivateOffer > updatePrivateOfferCallable ()
Overrides
updatePrivateOfferDocumentCallable()
public UnaryCallable<UpdatePrivateOfferDocumentRequest , PrivateOfferDocument > updatePrivateOfferDocumentCallable ()
Overrides
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."],[],[]]