Class HubServiceStub (1.47.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
Type Description
UnaryCallable<CreateHubRequest,Operation>

createHubOperationCallable()

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

createSpokeCallable()

public UnaryCallable<CreateSpokeRequest,Operation> createSpokeCallable()
Returns
Type Description
UnaryCallable<CreateSpokeRequest,Operation>

createSpokeOperationCallable()

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

deleteHubCallable()

public UnaryCallable<DeleteHubRequest,Operation> deleteHubCallable()
Returns
Type Description
UnaryCallable<DeleteHubRequest,Operation>

deleteHubOperationCallable()

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

deleteSpokeCallable()

public UnaryCallable<DeleteSpokeRequest,Operation> deleteSpokeCallable()
Returns
Type Description
UnaryCallable<DeleteSpokeRequest,Operation>

deleteSpokeOperationCallable()

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

getHubCallable()

public UnaryCallable<GetHubRequest,Hub> getHubCallable()
Returns
Type Description
UnaryCallable<GetHubRequest,Hub>

getOperationsStub()

public OperationsStub getOperationsStub()
Returns
Type Description
OperationsStub

getSpokeCallable()

public UnaryCallable<GetSpokeRequest,Spoke> getSpokeCallable()
Returns
Type Description
UnaryCallable<GetSpokeRequest,Spoke>

listHubsCallable()

public UnaryCallable<ListHubsRequest,ListHubsResponse> listHubsCallable()
Returns
Type Description
UnaryCallable<ListHubsRequest,ListHubsResponse>

listHubsPagedCallable()

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

listSpokesCallable()

public UnaryCallable<ListSpokesRequest,ListSpokesResponse> listSpokesCallable()
Returns
Type Description
UnaryCallable<ListSpokesRequest,ListSpokesResponse>

listSpokesPagedCallable()

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

updateHubCallable()

public UnaryCallable<UpdateHubRequest,Operation> updateHubCallable()
Returns
Type Description
UnaryCallable<UpdateHubRequest,Operation>

updateHubOperationCallable()

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

updateSpokeCallable()

public UnaryCallable<UpdateSpokeRequest,Operation> updateSpokeCallable()
Returns
Type Description
UnaryCallable<UpdateSpokeRequest,Operation>

updateSpokeOperationCallable()

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