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 protected
HttpJsonRegionBackendServicesStub(RegionBackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonRegionBackendServicesStub, using the given settings.protected
HttpJsonRegionBackendServicesStub(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:
deleteCallable
in classRegionBackendServicesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteRegionBackendServiceRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classRegionBackendServicesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetRegionBackendServiceRequest,BackendService> getCallable()
- Overrides:
getCallable
in classRegionBackendServicesStub
-
getHealthCallable
public com.google.api.gax.rpc.UnaryCallable<GetHealthRegionBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
- Overrides:
getHealthCallable
in classRegionBackendServicesStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyRegionBackendServiceRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classRegionBackendServicesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertRegionBackendServiceRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classRegionBackendServicesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertRegionBackendServiceRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classRegionBackendServicesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionBackendServicesRequest,BackendServiceList> listCallable()
- Overrides:
listCallable
in classRegionBackendServicesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListRegionBackendServicesRequest,RegionBackendServicesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classRegionBackendServicesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchRegionBackendServiceRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classRegionBackendServicesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchRegionBackendServiceRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classRegionBackendServicesStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyRegionBackendServiceRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classRegionBackendServicesStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateRegionBackendServiceRequest,Operation> updateCallable()
- Overrides:
updateCallable
in classRegionBackendServicesStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateRegionBackendServiceRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallable
in classRegionBackendServicesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-