Class HostsStub (1.109.0)

public abstract class HostsStub implements BackgroundResource

Base stub class for the Hosts service API.

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

Inheritance

java.lang.Object > HostsStub

Implements

BackgroundResource

Constructors

HostsStub()

public HostsStub()

Methods

close()

public abstract void close()

getCallable()

public UnaryCallable<GetHostRequest,Host> getCallable()
Returns
Type Description
UnaryCallable<GetHostRequest,Host>

getVersionCallable()

public UnaryCallable<GetVersionHostRequest,Operation> getVersionCallable()
Returns
Type Description
UnaryCallable<GetVersionHostRequest,Operation>

getVersionOperationCallable()

public OperationCallable<GetVersionHostRequest,Operation,Operation> getVersionOperationCallable()
Returns
Type Description
OperationCallable<GetVersionHostRequest,Operation,Operation>

listCallable()

public UnaryCallable<ListHostsRequest,HostsListResponse> listCallable()
Returns
Type Description
UnaryCallable<ListHostsRequest,HostsListResponse>

listPagedCallable()

public UnaryCallable<ListHostsRequest,HostsClient.ListPagedResponse> listPagedCallable()
Returns
Type Description
UnaryCallable<ListHostsRequest,ListPagedResponse>