Class GrpcCloudChannelServiceStub

public class GrpcCloudChannelServiceStub extends CloudChannelServiceStub

gRPC stub implementation for the CloudChannelService service API.

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

Inheritance

java.lang.Object > CloudChannelServiceStub > GrpcCloudChannelServiceStub

Constructors

GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext)

protected GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext)

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

GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcCloudChannelServiceStub(CloudChannelServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcCloudChannelServiceStub, 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
callableFactoryGrpcStubCallableFactory

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

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcCloudChannelServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcCloudChannelServiceStub
Exceptions
TypeDescription
IOException

create(CloudChannelServiceStubSettings settings)

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

createChannelPartnerLinkCallable()

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

createCustomerCallable()

public UnaryCallable<CreateCustomerRequest,Customer> createCustomerCallable()
Returns
TypeDescription
UnaryCallable<CreateCustomerRequest,Customer>
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

deleteCustomerCallable()

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

getChannelPartnerLinkCallable()

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

getCustomerCallable()

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

getEntitlementCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub
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

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

updateCustomerCallable()

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