Class ContextsStub (4.40.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
Type Description
UnaryCallable<CreateContextRequest,Context>

deleteAllContextsCallable()

public UnaryCallable<DeleteAllContextsRequest,Empty> deleteAllContextsCallable()
Returns
Type Description
UnaryCallable<DeleteAllContextsRequest,Empty>

deleteContextCallable()

public UnaryCallable<DeleteContextRequest,Empty> deleteContextCallable()
Returns
Type Description
UnaryCallable<DeleteContextRequest,Empty>

getContextCallable()

public UnaryCallable<GetContextRequest,Context> getContextCallable()
Returns
Type Description
UnaryCallable<GetContextRequest,Context>

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
Type Description
UnaryCallable<ListContextsRequest,ListContextsResponse>

listContextsPagedCallable()

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

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
Type Description
UnaryCallable<UpdateContextRequest,Context>