Package com.google.cloud.compute.v1.stub
Class HttpJsonBackendServicesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.BackendServicesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonBackendServicesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonBackendServicesStub extends BackendServicesStub
REST stub implementation for the BackendServices service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonBackendServicesStub(BackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonBackendServicesStub, using the given settings.protectedHttpJsonBackendServicesStub(BackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonBackendServicesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonBackendServicesStub
protected HttpJsonBackendServicesStub(BackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonBackendServicesStub, 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
-
HttpJsonBackendServicesStub
protected HttpJsonBackendServicesStub(BackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonBackendServicesStub, 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 HttpJsonBackendServicesStub create(BackendServicesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBackendServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonBackendServicesStub 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()
-
addSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<AddSignedUrlKeyBackendServiceRequest,Operation> addSignedUrlKeyCallable()
- Overrides:
addSignedUrlKeyCallablein classBackendServicesStub
-
addSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddSignedUrlKeyBackendServiceRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
- Overrides:
addSignedUrlKeyOperationCallablein classBackendServicesStub
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListBackendServicesRequest,BackendServiceAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallablein classBackendServicesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListBackendServicesRequest,BackendServicesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classBackendServicesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBackendServiceRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classBackendServicesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteBackendServiceRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classBackendServicesStub
-
deleteSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation> deleteSignedUrlKeyCallable()
- Overrides:
deleteSignedUrlKeyCallablein classBackendServicesStub
-
deleteSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
- Overrides:
deleteSignedUrlKeyOperationCallablein classBackendServicesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetBackendServiceRequest,BackendService> getCallable()
- Overrides:
getCallablein classBackendServicesStub
-
getHealthCallable
public com.google.api.gax.rpc.UnaryCallable<GetHealthBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
- Overrides:
getHealthCallablein classBackendServicesStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyBackendServiceRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallablein classBackendServicesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertBackendServiceRequest,Operation> insertCallable()
- Overrides:
insertCallablein classBackendServicesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertBackendServiceRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classBackendServicesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendServicesRequest,BackendServiceList> listCallable()
- Overrides:
listCallablein classBackendServicesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendServicesRequest,BackendServicesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classBackendServicesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchBackendServiceRequest,Operation> patchCallable()
- Overrides:
patchCallablein classBackendServicesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchBackendServiceRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classBackendServicesStub
-
setEdgeSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation> setEdgeSecurityPolicyCallable()
- Overrides:
setEdgeSecurityPolicyCallablein classBackendServicesStub
-
setEdgeSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
- Overrides:
setEdgeSecurityPolicyOperationCallablein classBackendServicesStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyBackendServiceRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallablein classBackendServicesStub
-
setSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetSecurityPolicyBackendServiceRequest,Operation> setSecurityPolicyCallable()
- Overrides:
setSecurityPolicyCallablein classBackendServicesStub
-
setSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetSecurityPolicyBackendServiceRequest,Operation,Operation> setSecurityPolicyOperationCallable()
- Overrides:
setSecurityPolicyOperationCallablein classBackendServicesStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBackendServiceRequest,Operation> updateCallable()
- Overrides:
updateCallablein classBackendServicesStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBackendServiceRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallablein classBackendServicesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classBackendServicesStub
-
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
-
-