@Generated(value="by gapic-generator-java") public class GrpcControlServiceStub extends ControlServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcControlServiceStub(ControlServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcControlServiceStub, using the given settings.
|
protected |
GrpcControlServiceStub(ControlServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcControlServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcControlServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcControlServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcControlServiceStub |
create(ControlServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateControlRequest,Control> |
createControlCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteControlRequest,com.google.protobuf.Empty> |
deleteControlCallable() |
com.google.api.gax.rpc.UnaryCallable<GetControlRequest,Control> |
getControlCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListControlsRequest,ListControlsResponse> |
listControlsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListControlsRequest,ControlServiceClient.ListControlsPagedResponse> |
listControlsPagedCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateControlRequest,Control> |
updateControlCallable() |
protected GrpcControlServiceStub(ControlServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcControlServiceStub(ControlServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcControlServiceStub create(ControlServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcControlServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcControlServiceStub 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<CreateControlRequest,Control> createControlCallable()
createControlCallable in class ControlServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteControlRequest,com.google.protobuf.Empty> deleteControlCallable()
deleteControlCallable in class ControlServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateControlRequest,Control> updateControlCallable()
updateControlCallable in class ControlServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetControlRequest,Control> getControlCallable()
getControlCallable in class ControlServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListControlsRequest,ListControlsResponse> listControlsCallable()
listControlsCallable in class ControlServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListControlsRequest,ControlServiceClient.ListControlsPagedResponse> listControlsPagedCallable()
listControlsPagedCallable in class ControlServiceStubpublic final void close()
close in interface AutoCloseableclose in class ControlServiceStubpublic 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.