@BetaApi @Generated(value="by gapic-generator-java") public class GrpcTemplatesServiceStub extends TemplatesServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcTemplatesServiceStub, using the given settings.
|
protected |
GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcTemplatesServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcTemplatesServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcTemplatesServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcTemplatesServiceStub |
create(TemplatesServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateJobFromTemplateRequest,Job> |
createJobFromTemplateCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
com.google.api.gax.rpc.UnaryCallable<GetTemplateRequest,GetTemplateResponse> |
getTemplateCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<LaunchTemplateRequest,LaunchTemplateResponse> |
launchTemplateCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcTemplatesServiceStub(TemplatesServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcTemplatesServiceStub create(TemplatesServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcTemplatesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcTemplatesServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateJobFromTemplateRequest,Job> createJobFromTemplateCallable()
createJobFromTemplateCallable in class TemplatesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<LaunchTemplateRequest,LaunchTemplateResponse> launchTemplateCallable()
launchTemplateCallable in class TemplatesServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetTemplateRequest,GetTemplateResponse> getTemplateCallable()
getTemplateCallable in class TemplatesServiceStubpublic final void close()
close in interface AutoCloseableclose in class TemplatesServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2024 Google LLC. All rights reserved.