Class HttpJsonCloudChannelServiceStub (3.14.0)

public class HttpJsonCloudChannelServiceStub extends CloudChannelServiceStub

REST stub implementation for the CloudChannelService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > CloudChannelServiceStub > HttpJsonCloudChannelServiceStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonCloudChannelServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonCloudChannelServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonCloudChannelServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonCloudChannelServiceStub
Exceptions
TypeDescription
IOException

create(CloudChannelServiceStubSettings settings)

public static final HttpJsonCloudChannelServiceStub create(CloudChannelServiceStubSettings settings)
Parameter
NameDescription
settingsCloudChannelServiceStubSettings
Returns
TypeDescription
HttpJsonCloudChannelServiceStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonCloudChannelServiceStub, 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.

Parameters
NameDescription
settingsCloudChannelServiceStubSettings
clientContextClientContext

HttpJsonCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonCloudChannelServiceStub, 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.

Parameters
NameDescription
settingsCloudChannelServiceStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

activateEntitlementCallable()

public UnaryCallable<ActivateEntitlementRequest,Operation> activateEntitlementCallable()
Returns
TypeDescription
UnaryCallable<ActivateEntitlementRequest,Operation>
Overrides

activateEntitlementOperationCallable()

public OperationCallable<ActivateEntitlementRequest,Entitlement,OperationMetadata> activateEntitlementOperationCallable()
Returns
TypeDescription
OperationCallable<ActivateEntitlementRequest,Entitlement,OperationMetadata>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

cancelEntitlementCallable()

public UnaryCallable<CancelEntitlementRequest,Operation> cancelEntitlementCallable()
Returns
TypeDescription
UnaryCallable<CancelEntitlementRequest,Operation>
Overrides

cancelEntitlementOperationCallable()

public OperationCallable<CancelEntitlementRequest,Empty,OperationMetadata> cancelEntitlementOperationCallable()
Returns
TypeDescription
OperationCallable<CancelEntitlementRequest,Empty,OperationMetadata>
Overrides

changeOfferCallable()

public UnaryCallable<ChangeOfferRequest,Operation> changeOfferCallable()
Returns
TypeDescription
UnaryCallable<ChangeOfferRequest,Operation>
Overrides

changeOfferOperationCallable()

public OperationCallable<ChangeOfferRequest,Entitlement,OperationMetadata> changeOfferOperationCallable()
Returns
TypeDescription
OperationCallable<ChangeOfferRequest,Entitlement,OperationMetadata>
Overrides

changeParametersCallable()

public UnaryCallable<ChangeParametersRequest,Operation> changeParametersCallable()
Returns
TypeDescription
UnaryCallable<ChangeParametersRequest,Operation>
Overrides

changeParametersOperationCallable()

public OperationCallable<ChangeParametersRequest,Entitlement,OperationMetadata> changeParametersOperationCallable()
Returns
TypeDescription
OperationCallable<ChangeParametersRequest,Entitlement,OperationMetadata>
Overrides

changeRenewalSettingsCallable()

public UnaryCallable<ChangeRenewalSettingsRequest,Operation> changeRenewalSettingsCallable()
Returns
TypeDescription
UnaryCallable<ChangeRenewalSettingsRequest,Operation>
Overrides

changeRenewalSettingsOperationCallable()

public OperationCallable<ChangeRenewalSettingsRequest,Entitlement,OperationMetadata> changeRenewalSettingsOperationCallable()
Returns
TypeDescription
OperationCallable<ChangeRenewalSettingsRequest,Entitlement,OperationMetadata>
Overrides

checkCloudIdentityAccountsExistCallable()

public UnaryCallable<CheckCloudIdentityAccountsExistRequest,CheckCloudIdentityAccountsExistResponse> checkCloudIdentityAccountsExistCallable()
Returns
TypeDescription
UnaryCallable<CheckCloudIdentityAccountsExistRequest,CheckCloudIdentityAccountsExistResponse>
Overrides

close()

public final void close()
Overrides

createChannelPartnerLinkCallable()

public UnaryCallable<CreateChannelPartnerLinkRequest,ChannelPartnerLink> createChannelPartnerLinkCallable()
Returns
TypeDescription
UnaryCallable<CreateChannelPartnerLinkRequest,ChannelPartnerLink>
Overrides

createChannelPartnerRepricingConfigCallable()

public UnaryCallable<CreateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> createChannelPartnerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig>
Overrides

createCustomerCallable()

public UnaryCallable<CreateCustomerRequest,Customer> createCustomerCallable()
Returns
TypeDescription
UnaryCallable<CreateCustomerRequest,Customer>
Overrides

createCustomerRepricingConfigCallable()

public UnaryCallable<CreateCustomerRepricingConfigRequest,CustomerRepricingConfig> createCustomerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<CreateCustomerRepricingConfigRequest,CustomerRepricingConfig>
Overrides

createEntitlementCallable()

public UnaryCallable<CreateEntitlementRequest,Operation> createEntitlementCallable()
Returns
TypeDescription
UnaryCallable<CreateEntitlementRequest,Operation>
Overrides

createEntitlementOperationCallable()

public OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata> createEntitlementOperationCallable()
Returns
TypeDescription
OperationCallable<CreateEntitlementRequest,Entitlement,OperationMetadata>
Overrides

deleteChannelPartnerRepricingConfigCallable()

public UnaryCallable<DeleteChannelPartnerRepricingConfigRequest,Empty> deleteChannelPartnerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteChannelPartnerRepricingConfigRequest,Empty>
Overrides

deleteCustomerCallable()

public UnaryCallable<DeleteCustomerRequest,Empty> deleteCustomerCallable()
Returns
TypeDescription
UnaryCallable<DeleteCustomerRequest,Empty>
Overrides

deleteCustomerRepricingConfigCallable()

public UnaryCallable<DeleteCustomerRepricingConfigRequest,Empty> deleteCustomerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<DeleteCustomerRepricingConfigRequest,Empty>
Overrides

getChannelPartnerLinkCallable()

public UnaryCallable<GetChannelPartnerLinkRequest,ChannelPartnerLink> getChannelPartnerLinkCallable()
Returns
TypeDescription
UnaryCallable<GetChannelPartnerLinkRequest,ChannelPartnerLink>
Overrides

getChannelPartnerRepricingConfigCallable()

public UnaryCallable<GetChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> getChannelPartnerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<GetChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig>
Overrides

getCustomerCallable()

public UnaryCallable<GetCustomerRequest,Customer> getCustomerCallable()
Returns
TypeDescription
UnaryCallable<GetCustomerRequest,Customer>
Overrides

getCustomerRepricingConfigCallable()

public UnaryCallable<GetCustomerRepricingConfigRequest,CustomerRepricingConfig> getCustomerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<GetCustomerRepricingConfigRequest,CustomerRepricingConfig>
Overrides

getEntitlementCallable()

public UnaryCallable<GetEntitlementRequest,Entitlement> getEntitlementCallable()
Returns
TypeDescription
UnaryCallable<GetEntitlementRequest,Entitlement>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

importCustomerCallable()

public UnaryCallable<ImportCustomerRequest,Customer> importCustomerCallable()
Returns
TypeDescription
UnaryCallable<ImportCustomerRequest,Customer>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listChannelPartnerLinksCallable()

public UnaryCallable<ListChannelPartnerLinksRequest,ListChannelPartnerLinksResponse> listChannelPartnerLinksCallable()
Returns
TypeDescription
UnaryCallable<ListChannelPartnerLinksRequest,ListChannelPartnerLinksResponse>
Overrides

listChannelPartnerLinksPagedCallable()

public UnaryCallable<ListChannelPartnerLinksRequest,CloudChannelServiceClient.ListChannelPartnerLinksPagedResponse> listChannelPartnerLinksPagedCallable()
Returns
TypeDescription
UnaryCallable<ListChannelPartnerLinksRequest,ListChannelPartnerLinksPagedResponse>
Overrides

listChannelPartnerRepricingConfigsCallable()

public UnaryCallable<ListChannelPartnerRepricingConfigsRequest,ListChannelPartnerRepricingConfigsResponse> listChannelPartnerRepricingConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListChannelPartnerRepricingConfigsRequest,ListChannelPartnerRepricingConfigsResponse>
Overrides

listChannelPartnerRepricingConfigsPagedCallable()

public UnaryCallable<ListChannelPartnerRepricingConfigsRequest,CloudChannelServiceClient.ListChannelPartnerRepricingConfigsPagedResponse> listChannelPartnerRepricingConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListChannelPartnerRepricingConfigsRequest,ListChannelPartnerRepricingConfigsPagedResponse>
Overrides

listCustomerRepricingConfigsCallable()

public UnaryCallable<ListCustomerRepricingConfigsRequest,ListCustomerRepricingConfigsResponse> listCustomerRepricingConfigsCallable()
Returns
TypeDescription
UnaryCallable<ListCustomerRepricingConfigsRequest,ListCustomerRepricingConfigsResponse>
Overrides

listCustomerRepricingConfigsPagedCallable()

public UnaryCallable<ListCustomerRepricingConfigsRequest,CloudChannelServiceClient.ListCustomerRepricingConfigsPagedResponse> listCustomerRepricingConfigsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCustomerRepricingConfigsRequest,ListCustomerRepricingConfigsPagedResponse>
Overrides

listCustomersCallable()

public UnaryCallable<ListCustomersRequest,ListCustomersResponse> listCustomersCallable()
Returns
TypeDescription
UnaryCallable<ListCustomersRequest,ListCustomersResponse>
Overrides

listCustomersPagedCallable()

public UnaryCallable<ListCustomersRequest,CloudChannelServiceClient.ListCustomersPagedResponse> listCustomersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListCustomersRequest,ListCustomersPagedResponse>
Overrides

listEntitlementsCallable()

public UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse> listEntitlementsCallable()
Returns
TypeDescription
UnaryCallable<ListEntitlementsRequest,ListEntitlementsResponse>
Overrides

listEntitlementsPagedCallable()

public UnaryCallable<ListEntitlementsRequest,CloudChannelServiceClient.ListEntitlementsPagedResponse> listEntitlementsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEntitlementsRequest,ListEntitlementsPagedResponse>
Overrides

listOffersCallable()

public UnaryCallable<ListOffersRequest,ListOffersResponse> listOffersCallable()
Returns
TypeDescription
UnaryCallable<ListOffersRequest,ListOffersResponse>
Overrides

listOffersPagedCallable()

public UnaryCallable<ListOffersRequest,CloudChannelServiceClient.ListOffersPagedResponse> listOffersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListOffersRequest,ListOffersPagedResponse>
Overrides

listProductsCallable()

public UnaryCallable<ListProductsRequest,ListProductsResponse> listProductsCallable()
Returns
TypeDescription
UnaryCallable<ListProductsRequest,ListProductsResponse>
Overrides

listProductsPagedCallable()

public UnaryCallable<ListProductsRequest,CloudChannelServiceClient.ListProductsPagedResponse> listProductsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListProductsRequest,ListProductsPagedResponse>
Overrides

listPurchasableOffersCallable()

public UnaryCallable<ListPurchasableOffersRequest,ListPurchasableOffersResponse> listPurchasableOffersCallable()
Returns
TypeDescription
UnaryCallable<ListPurchasableOffersRequest,ListPurchasableOffersResponse>
Overrides

listPurchasableOffersPagedCallable()

public UnaryCallable<ListPurchasableOffersRequest,CloudChannelServiceClient.ListPurchasableOffersPagedResponse> listPurchasableOffersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPurchasableOffersRequest,ListPurchasableOffersPagedResponse>
Overrides

listPurchasableSkusCallable()

public UnaryCallable<ListPurchasableSkusRequest,ListPurchasableSkusResponse> listPurchasableSkusCallable()
Returns
TypeDescription
UnaryCallable<ListPurchasableSkusRequest,ListPurchasableSkusResponse>
Overrides

listPurchasableSkusPagedCallable()

public UnaryCallable<ListPurchasableSkusRequest,CloudChannelServiceClient.ListPurchasableSkusPagedResponse> listPurchasableSkusPagedCallable()
Returns
TypeDescription
UnaryCallable<ListPurchasableSkusRequest,ListPurchasableSkusPagedResponse>
Overrides

listSkusCallable()

public UnaryCallable<ListSkusRequest,ListSkusResponse> listSkusCallable()
Returns
TypeDescription
UnaryCallable<ListSkusRequest,ListSkusResponse>
Overrides

listSkusPagedCallable()

public UnaryCallable<ListSkusRequest,CloudChannelServiceClient.ListSkusPagedResponse> listSkusPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSkusRequest,ListSkusPagedResponse>
Overrides

listSubscribersCallable()

public UnaryCallable<ListSubscribersRequest,ListSubscribersResponse> listSubscribersCallable()
Returns
TypeDescription
UnaryCallable<ListSubscribersRequest,ListSubscribersResponse>
Overrides

listSubscribersPagedCallable()

public UnaryCallable<ListSubscribersRequest,CloudChannelServiceClient.ListSubscribersPagedResponse> listSubscribersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSubscribersRequest,ListSubscribersPagedResponse>
Overrides

listTransferableOffersCallable()

public UnaryCallable<ListTransferableOffersRequest,ListTransferableOffersResponse> listTransferableOffersCallable()
Returns
TypeDescription
UnaryCallable<ListTransferableOffersRequest,ListTransferableOffersResponse>
Overrides

listTransferableOffersPagedCallable()

public UnaryCallable<ListTransferableOffersRequest,CloudChannelServiceClient.ListTransferableOffersPagedResponse> listTransferableOffersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTransferableOffersRequest,ListTransferableOffersPagedResponse>
Overrides

listTransferableSkusCallable()

public UnaryCallable<ListTransferableSkusRequest,ListTransferableSkusResponse> listTransferableSkusCallable()
Returns
TypeDescription
UnaryCallable<ListTransferableSkusRequest,ListTransferableSkusResponse>
Overrides

listTransferableSkusPagedCallable()

public UnaryCallable<ListTransferableSkusRequest,CloudChannelServiceClient.ListTransferableSkusPagedResponse> listTransferableSkusPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTransferableSkusRequest,ListTransferableSkusPagedResponse>
Overrides

lookupOfferCallable()

public UnaryCallable<LookupOfferRequest,Offer> lookupOfferCallable()
Returns
TypeDescription
UnaryCallable<LookupOfferRequest,Offer>
Overrides

provisionCloudIdentityCallable()

public UnaryCallable<ProvisionCloudIdentityRequest,Operation> provisionCloudIdentityCallable()
Returns
TypeDescription
UnaryCallable<ProvisionCloudIdentityRequest,Operation>
Overrides

provisionCloudIdentityOperationCallable()

public OperationCallable<ProvisionCloudIdentityRequest,Customer,OperationMetadata> provisionCloudIdentityOperationCallable()
Returns
TypeDescription
OperationCallable<ProvisionCloudIdentityRequest,Customer,OperationMetadata>
Overrides

registerSubscriberCallable()

public UnaryCallable<RegisterSubscriberRequest,RegisterSubscriberResponse> registerSubscriberCallable()
Returns
TypeDescription
UnaryCallable<RegisterSubscriberRequest,RegisterSubscriberResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

startPaidServiceCallable()

public UnaryCallable<StartPaidServiceRequest,Operation> startPaidServiceCallable()
Returns
TypeDescription
UnaryCallable<StartPaidServiceRequest,Operation>
Overrides

startPaidServiceOperationCallable()

public OperationCallable<StartPaidServiceRequest,Entitlement,OperationMetadata> startPaidServiceOperationCallable()
Returns
TypeDescription
OperationCallable<StartPaidServiceRequest,Entitlement,OperationMetadata>
Overrides

suspendEntitlementCallable()

public UnaryCallable<SuspendEntitlementRequest,Operation> suspendEntitlementCallable()
Returns
TypeDescription
UnaryCallable<SuspendEntitlementRequest,Operation>
Overrides

suspendEntitlementOperationCallable()

public OperationCallable<SuspendEntitlementRequest,Entitlement,OperationMetadata> suspendEntitlementOperationCallable()
Returns
TypeDescription
OperationCallable<SuspendEntitlementRequest,Entitlement,OperationMetadata>
Overrides

transferEntitlementsCallable()

public UnaryCallable<TransferEntitlementsRequest,Operation> transferEntitlementsCallable()
Returns
TypeDescription
UnaryCallable<TransferEntitlementsRequest,Operation>
Overrides

transferEntitlementsOperationCallable()

public OperationCallable<TransferEntitlementsRequest,TransferEntitlementsResponse,OperationMetadata> transferEntitlementsOperationCallable()
Returns
TypeDescription
OperationCallable<TransferEntitlementsRequest,TransferEntitlementsResponse,OperationMetadata>
Overrides

transferEntitlementsToGoogleCallable()

public UnaryCallable<TransferEntitlementsToGoogleRequest,Operation> transferEntitlementsToGoogleCallable()
Returns
TypeDescription
UnaryCallable<TransferEntitlementsToGoogleRequest,Operation>
Overrides

transferEntitlementsToGoogleOperationCallable()

public OperationCallable<TransferEntitlementsToGoogleRequest,Empty,OperationMetadata> transferEntitlementsToGoogleOperationCallable()
Returns
TypeDescription
OperationCallable<TransferEntitlementsToGoogleRequest,Empty,OperationMetadata>
Overrides

unregisterSubscriberCallable()

public UnaryCallable<UnregisterSubscriberRequest,UnregisterSubscriberResponse> unregisterSubscriberCallable()
Returns
TypeDescription
UnaryCallable<UnregisterSubscriberRequest,UnregisterSubscriberResponse>
Overrides

updateChannelPartnerLinkCallable()

public UnaryCallable<UpdateChannelPartnerLinkRequest,ChannelPartnerLink> updateChannelPartnerLinkCallable()
Returns
TypeDescription
UnaryCallable<UpdateChannelPartnerLinkRequest,ChannelPartnerLink>
Overrides

updateChannelPartnerRepricingConfigCallable()

public UnaryCallable<UpdateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig> updateChannelPartnerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateChannelPartnerRepricingConfigRequest,ChannelPartnerRepricingConfig>
Overrides

updateCustomerCallable()

public UnaryCallable<UpdateCustomerRequest,Customer> updateCustomerCallable()
Returns
TypeDescription
UnaryCallable<UpdateCustomerRequest,Customer>
Overrides

updateCustomerRepricingConfigCallable()

public UnaryCallable<UpdateCustomerRepricingConfigRequest,CustomerRepricingConfig> updateCustomerRepricingConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateCustomerRepricingConfigRequest,CustomerRepricingConfig>
Overrides