Class HubServiceStub (1.5.0)

public abstract class HubServiceStub implements BackgroundResource

Base stub class for the HubService service API.

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

Inheritance

java.lang.Object > HubServiceStub

Implements

BackgroundResource

Constructors

HubServiceStub()

public HubServiceStub()

Methods

close()

public abstract void close()

createHubCallable()

public UnaryCallable<CreateHubRequest,Operation> createHubCallable()
Returns
TypeDescription
UnaryCallable<CreateHubRequest,Operation>

createHubOperationCallable()

public OperationCallable<CreateHubRequest,Hub,OperationMetadata> createHubOperationCallable()
Returns
TypeDescription
OperationCallable<CreateHubRequest,Hub,OperationMetadata>

createSpokeCallable()

public UnaryCallable<CreateSpokeRequest,Operation> createSpokeCallable()
Returns
TypeDescription
UnaryCallable<CreateSpokeRequest,Operation>

createSpokeOperationCallable()

public OperationCallable<CreateSpokeRequest,Spoke,OperationMetadata> createSpokeOperationCallable()
Returns
TypeDescription
OperationCallable<CreateSpokeRequest,Spoke,OperationMetadata>

deleteHubCallable()

public UnaryCallable<DeleteHubRequest,Operation> deleteHubCallable()
Returns
TypeDescription
UnaryCallable<DeleteHubRequest,Operation>

deleteHubOperationCallable()

public OperationCallable<DeleteHubRequest,Empty,OperationMetadata> deleteHubOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteHubRequest,Empty,OperationMetadata>

deleteSpokeCallable()

public UnaryCallable<DeleteSpokeRequest,Operation> deleteSpokeCallable()
Returns
TypeDescription
UnaryCallable<DeleteSpokeRequest,Operation>

deleteSpokeOperationCallable()

public OperationCallable<DeleteSpokeRequest,Empty,OperationMetadata> deleteSpokeOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSpokeRequest,Empty,OperationMetadata>

getHubCallable()

public UnaryCallable<GetHubRequest,Hub> getHubCallable()
Returns
TypeDescription
UnaryCallable<GetHubRequest,Hub>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
TypeDescription
OperationsStub

getSpokeCallable()

public UnaryCallable<GetSpokeRequest,Spoke> getSpokeCallable()
Returns
TypeDescription
UnaryCallable<GetSpokeRequest,Spoke>

listHubsCallable()

public UnaryCallable<ListHubsRequest,ListHubsResponse> listHubsCallable()
Returns
TypeDescription
UnaryCallable<ListHubsRequest,ListHubsResponse>

listHubsPagedCallable()

public UnaryCallable<ListHubsRequest,HubServiceClient.ListHubsPagedResponse> listHubsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListHubsRequest,ListHubsPagedResponse>

listSpokesCallable()

public UnaryCallable<ListSpokesRequest,ListSpokesResponse> listSpokesCallable()
Returns
TypeDescription
UnaryCallable<ListSpokesRequest,ListSpokesResponse>

listSpokesPagedCallable()

public UnaryCallable<ListSpokesRequest,HubServiceClient.ListSpokesPagedResponse> listSpokesPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSpokesRequest,ListSpokesPagedResponse>

updateHubCallable()

public UnaryCallable<UpdateHubRequest,Operation> updateHubCallable()
Returns
TypeDescription
UnaryCallable<UpdateHubRequest,Operation>

updateHubOperationCallable()

public OperationCallable<UpdateHubRequest,Hub,OperationMetadata> updateHubOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateHubRequest,Hub,OperationMetadata>

updateSpokeCallable()

public UnaryCallable<UpdateSpokeRequest,Operation> updateSpokeCallable()
Returns
TypeDescription
UnaryCallable<UpdateSpokeRequest,Operation>

updateSpokeOperationCallable()

public OperationCallable<UpdateSpokeRequest,Spoke,OperationMetadata> updateSpokeOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateSpokeRequest,Spoke,OperationMetadata>