Package com.google.cloud.compute.v1.stub
Class HttpJsonRegionBackendServicesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.RegionBackendServicesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonRegionBackendServicesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonRegionBackendServicesStub extends RegionBackendServicesStub
REST stub implementation for the RegionBackendServices service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonRegionBackendServicesStub, using the given settings.protectedHttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonRegionBackendServicesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonRegionBackendServicesStub
protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonRegionBackendServicesStub, 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.- Throws:
IOException
-
HttpJsonRegionBackendServicesStub
protected HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonRegionBackendServicesStub, 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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonRegionBackendServicesStub create(RegionBackendServicesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionBackendServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonRegionBackendServicesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteRegionBackendServiceRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classRegionBackendServicesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classRegionBackendServicesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetRegionBackendServiceRequest,BackendService> getCallable()
- Overrides:
getCallablein classRegionBackendServicesStub
-
getHealthCallable
public com.google.api.gax.rpc.UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
- Overrides:
getHealthCallablein classRegionBackendServicesStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyRegionBackendServiceRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classRegionBackendServicesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertRegionBackendServiceRequest,Operation> insertCallable()
- Overrides:
insertCallablein classRegionBackendServicesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classRegionBackendServicesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList> listCallable()
- Overrides:
listCallablein classRegionBackendServicesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionBackendServicesRequest,RegionBackendServicesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classRegionBackendServicesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchRegionBackendServiceRequest,Operation> patchCallable()
- Overrides:
patchCallablein classRegionBackendServicesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classRegionBackendServicesStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyRegionBackendServiceRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classRegionBackendServicesStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateRegionBackendServiceRequest,Operation> updateCallable()
- Overrides:
updateCallablein classRegionBackendServicesStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallablein classRegionBackendServicesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classRegionBackendServicesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
-