@BetaApi @Generated(value="by gapic-generator-java") public class HttpJsonControlServiceStub extends ControlServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonControlServiceStub(ControlServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonControlServiceStub, using the given settings.
|
protected |
HttpJsonControlServiceStub(ControlServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonControlServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonControlServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonControlServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonControlServiceStub |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonControlServiceStub(ControlServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonControlServiceStub(ControlServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonControlServiceStub create(ControlServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonControlServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonControlServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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.