Class ContextsStub (4.18.0)

public abstract class ContextsStub implements BackgroundResource

Base stub class for the Contexts service API.

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

Inheritance

java.lang.Object > ContextsStub

Implements

BackgroundResource

Constructors

ContextsStub()

public ContextsStub()

Methods

close()

public abstract void close()

createContextCallable()

public UnaryCallable<CreateContextRequest,Context> createContextCallable()
Returns

deleteAllContextsCallable()

public UnaryCallable<DeleteAllContextsRequest,Empty> deleteAllContextsCallable()
Returns

deleteContextCallable()

public UnaryCallable<DeleteContextRequest,Empty> deleteContextCallable()
Returns

getContextCallable()

public UnaryCallable<GetContextRequest,Context> getContextCallable()
Returns

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

listContextsCallable()

public UnaryCallable<ListContextsRequest,ListContextsResponse> listContextsCallable()
Returns

listContextsPagedCallable()

public UnaryCallable<ListContextsRequest,ContextsClient.ListContextsPagedResponse> listContextsPagedCallable()
Returns

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ContextsClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>

updateContextCallable()

public UnaryCallable<UpdateContextRequest,Context> updateContextCallable()
Returns