Class SubscriptionsServiceStub (0.1.0)

public abstract class SubscriptionsServiceStub implements BackgroundResource

Base stub class for the SubscriptionsService service API.

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

Inheritance

java.lang.Object > SubscriptionsServiceStub

Implements

BackgroundResource

Constructors

SubscriptionsServiceStub()

public SubscriptionsServiceStub()

Methods

close()

public abstract void close()

createSubscriptionCallable()

public UnaryCallable<CreateSubscriptionRequest,Operation> createSubscriptionCallable()
Returns
TypeDescription
UnaryCallable<CreateSubscriptionRequest,Operation>

createSubscriptionOperationCallable()

public OperationCallable<CreateSubscriptionRequest,Subscription,CreateSubscriptionMetadata> createSubscriptionOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSubscriptionRequest,Subscription,CreateSubscriptionMetadata>

deleteSubscriptionCallable()

public UnaryCallable<DeleteSubscriptionRequest,Operation> deleteSubscriptionCallable()
Returns
TypeDescription
UnaryCallable<DeleteSubscriptionRequest,Operation>

deleteSubscriptionOperationCallable()

public OperationCallable<DeleteSubscriptionRequest,Empty,DeleteSubscriptionMetadata> deleteSubscriptionOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSubscriptionRequest,Empty,DeleteSubscriptionMetadata>

getHttpJsonOperationsStub()

public OperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
OperationsStub

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

getSubscriptionCallable()

public UnaryCallable<GetSubscriptionRequest,Subscription> getSubscriptionCallable()
Returns
TypeDescription
UnaryCallable<GetSubscriptionRequest,Subscription>

listSubscriptionsCallable()

public UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse> listSubscriptionsCallable()
Returns
TypeDescription
UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsResponse>

listSubscriptionsPagedCallable()

public UnaryCallable<ListSubscriptionsRequest,SubscriptionsServiceClient.ListSubscriptionsPagedResponse> listSubscriptionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSubscriptionsRequest,ListSubscriptionsPagedResponse>

reactivateSubscriptionCallable()

public UnaryCallable<ReactivateSubscriptionRequest,Operation> reactivateSubscriptionCallable()
Returns
TypeDescription
UnaryCallable<ReactivateSubscriptionRequest,Operation>

reactivateSubscriptionOperationCallable()

public OperationCallable<ReactivateSubscriptionRequest,Subscription,ReactivateSubscriptionMetadata> reactivateSubscriptionOperationCallable()
Returns
TypeDescription
OperationCallable<ReactivateSubscriptionRequest,Subscription,ReactivateSubscriptionMetadata>

updateSubscriptionCallable()

public UnaryCallable<UpdateSubscriptionRequest,Operation> updateSubscriptionCallable()
Returns
TypeDescription
UnaryCallable<UpdateSubscriptionRequest,Operation>

updateSubscriptionOperationCallable()

public OperationCallable<UpdateSubscriptionRequest,Subscription,UpdateSubscriptionMetadata> updateSubscriptionOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSubscriptionRequest,Subscription,UpdateSubscriptionMetadata>