Package com.google.cloud.compute.v1.stub
Class HttpJsonNetworkEdgeSecurityServicesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.NetworkEdgeSecurityServicesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonNetworkEdgeSecurityServicesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonNetworkEdgeSecurityServicesStub extends NetworkEdgeSecurityServicesStub
REST stub implementation for the NetworkEdgeSecurityServices service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonNetworkEdgeSecurityServicesStub(NetworkEdgeSecurityServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, using the given settings.protected
HttpJsonNetworkEdgeSecurityServicesStub(NetworkEdgeSecurityServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonNetworkEdgeSecurityServicesStub
protected HttpJsonNetworkEdgeSecurityServicesStub(NetworkEdgeSecurityServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, 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
-
HttpJsonNetworkEdgeSecurityServicesStub
protected HttpJsonNetworkEdgeSecurityServicesStub(NetworkEdgeSecurityServicesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonNetworkEdgeSecurityServicesStub, 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 HttpJsonNetworkEdgeSecurityServicesStub create(NetworkEdgeSecurityServicesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonNetworkEdgeSecurityServicesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonNetworkEdgeSecurityServicesStub 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()
-
aggregatedListCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNetworkEdgeSecurityServicesRequest,NetworkEdgeSecurityServiceAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallable
in classNetworkEdgeSecurityServicesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListNetworkEdgeSecurityServicesRequest,NetworkEdgeSecurityServicesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classNetworkEdgeSecurityServicesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteNetworkEdgeSecurityServiceRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classNetworkEdgeSecurityServicesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteNetworkEdgeSecurityServiceRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classNetworkEdgeSecurityServicesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetNetworkEdgeSecurityServiceRequest,NetworkEdgeSecurityService> getCallable()
- Overrides:
getCallable
in classNetworkEdgeSecurityServicesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertNetworkEdgeSecurityServiceRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classNetworkEdgeSecurityServicesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertNetworkEdgeSecurityServiceRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classNetworkEdgeSecurityServicesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchNetworkEdgeSecurityServiceRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classNetworkEdgeSecurityServicesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchNetworkEdgeSecurityServiceRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classNetworkEdgeSecurityServicesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classNetworkEdgeSecurityServicesStub
-
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
-
-