public class GrpcApplicationServiceStub extends ApplicationServiceStub
gRPC stub implementation for the ApplicationService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcApplicationServiceStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcApplicationServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(ApplicationServiceStubSettings settings)
public static final GrpcApplicationServiceStub create(ApplicationServiceStubSettings settings)
Parameter
Returns
Exceptions
Constructors
GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, ClientContext clientContext)
protected GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcApplicationServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcApplicationServiceStub(ApplicationServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcApplicationServiceStub, using the given settings. This is
protected so that it is easy to make a subclass, but otherwise, the static factory methods
should be preferred.
Parameters
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
createApplicationCallable()
public UnaryCallable<CreateApplicationRequest,Application> createApplicationCallable()
Returns
Overrides
deleteApplicationCallable()
public UnaryCallable<DeleteApplicationRequest,Empty> deleteApplicationCallable()
Returns
Overrides
getApplicationCallable()
public UnaryCallable<GetApplicationRequest,Application> getApplicationCallable()
Returns
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
Returns
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listApplicationsCallable()
public UnaryCallable<ListApplicationsRequest,ListApplicationsResponse> listApplicationsCallable()
Returns
Overrides
listApplicationsPagedCallable()
public UnaryCallable<ListApplicationsRequest,ApplicationServiceClient.ListApplicationsPagedResponse> listApplicationsPagedCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateApplicationCallable()
public UnaryCallable<UpdateApplicationRequest,Application> updateApplicationCallable()
Returns
Overrides