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 protected
HttpJsonBackendServicesStub(BackendServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonBackendServicesStub, using the given settings.protected
HttpJsonBackendServicesStub(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:
addSignedUrlKeyCallable
in classBackendServicesStub
-
addSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<AddSignedUrlKeyBackendServiceRequest,Operation,Operation> addSignedUrlKeyOperationCallable()
- Overrides:
addSignedUrlKeyOperationCallable
in classBackendServicesStub
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListBackendServicesRequest,BackendServiceAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classBackendServicesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListBackendServicesRequest,BackendServicesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classBackendServicesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteBackendServiceRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classBackendServicesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteBackendServiceRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classBackendServicesStub
-
deleteSignedUrlKeyCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation> deleteSignedUrlKeyCallable()
- Overrides:
deleteSignedUrlKeyCallable
in classBackendServicesStub
-
deleteSignedUrlKeyOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSignedUrlKeyBackendServiceRequest,Operation,Operation> deleteSignedUrlKeyOperationCallable()
- Overrides:
deleteSignedUrlKeyOperationCallable
in classBackendServicesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetBackendServiceRequest,BackendService> getCallable()
- Overrides:
getCallable
in classBackendServicesStub
-
getHealthCallable
public com.google.api.gax.rpc.UnaryCallable<GetHealthBackendServiceRequest,BackendServiceGroupHealth> getHealthCallable()
- Overrides:
getHealthCallable
in classBackendServicesStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<GetIamPolicyBackendServiceRequest,Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classBackendServicesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertBackendServiceRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classBackendServicesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertBackendServiceRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classBackendServicesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendServicesRequest,BackendServiceList> listCallable()
- Overrides:
listCallable
in classBackendServicesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListBackendServicesRequest,BackendServicesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classBackendServicesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchBackendServiceRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classBackendServicesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchBackendServiceRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classBackendServicesStub
-
setEdgeSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation> setEdgeSecurityPolicyCallable()
- Overrides:
setEdgeSecurityPolicyCallable
in classBackendServicesStub
-
setEdgeSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetEdgeSecurityPolicyBackendServiceRequest,Operation,Operation> setEdgeSecurityPolicyOperationCallable()
- Overrides:
setEdgeSecurityPolicyOperationCallable
in classBackendServicesStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetIamPolicyBackendServiceRequest,Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classBackendServicesStub
-
setSecurityPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<SetSecurityPolicyBackendServiceRequest,Operation> setSecurityPolicyCallable()
- Overrides:
setSecurityPolicyCallable
in classBackendServicesStub
-
setSecurityPolicyOperationCallable
public com.google.api.gax.rpc.OperationCallable<SetSecurityPolicyBackendServiceRequest,Operation,Operation> setSecurityPolicyOperationCallable()
- Overrides:
setSecurityPolicyOperationCallable
in classBackendServicesStub
-
updateCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateBackendServiceRequest,Operation> updateCallable()
- Overrides:
updateCallable
in classBackendServicesStub
-
updateOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateBackendServiceRequest,Operation,Operation> updateOperationCallable()
- Overrides:
updateOperationCallable
in classBackendServicesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-