public class GrpcTemplatesServiceStub extends TemplatesServiceStub
gRPC stub implementation for the TemplatesService service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final GrpcTemplatesServiceStub create(ClientContext clientContext)
create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
public static final GrpcTemplatesServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
create(TemplatesServiceStubSettings settings)
public static final GrpcTemplatesServiceStub create(TemplatesServiceStubSettings settings)
Constructors
GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, ClientContext clientContext)
protected GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, ClientContext clientContext)
Constructs an instance of GrpcTemplatesServiceStub, 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.
GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
protected GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTemplatesServiceStub, 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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
createJobFromTemplateCallable()
public UnaryCallable<CreateJobFromTemplateRequest,Job> createJobFromTemplateCallable()
Overrides
getOperationsStub()
public GrpcOperationsStub getOperationsStub()
getTemplateCallable()
public UnaryCallable<GetTemplateRequest,GetTemplateResponse> getTemplateCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
launchTemplateCallable()
public UnaryCallable<LaunchTemplateRequest,LaunchTemplateResponse> launchTemplateCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()