Package com.google.cloud.compute.v1.stub
Class HttpJsonSslPoliciesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.SslPoliciesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonSslPoliciesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonSslPoliciesStub extends SslPoliciesStub
REST stub implementation for the SslPolicies service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonSslPoliciesStub, using the given settings.protectedHttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonSslPoliciesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonSslPoliciesStub
protected HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonSslPoliciesStub, 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
-
HttpJsonSslPoliciesStub
protected HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonSslPoliciesStub, 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 HttpJsonSslPoliciesStub create(SslPoliciesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonSslPoliciesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonSslPoliciesStub 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<AggregatedListSslPoliciesRequest,SslPoliciesAggregatedList> aggregatedListCallable()
- Overrides:
aggregatedListCallablein classSslPoliciesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListSslPoliciesRequest,SslPoliciesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallablein classSslPoliciesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSslPolicyRequest,Operation> deleteCallable()
- Overrides:
deleteCallablein classSslPoliciesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSslPolicyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallablein classSslPoliciesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetSslPolicyRequest,SslPolicy> getCallable()
- Overrides:
getCallablein classSslPoliciesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertSslPolicyRequest,Operation> insertCallable()
- Overrides:
insertCallablein classSslPoliciesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertSslPolicyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallablein classSslPoliciesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListSslPoliciesRequest,SslPoliciesList> listCallable()
- Overrides:
listCallablein classSslPoliciesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSslPoliciesRequest,SslPoliciesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallablein classSslPoliciesStub
-
listAvailableFeaturesCallable
public com.google.api.gax.rpc.UnaryCallable<ListAvailableFeaturesSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse> listAvailableFeaturesCallable()
- Overrides:
listAvailableFeaturesCallablein classSslPoliciesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchSslPolicyRequest,Operation> patchCallable()
- Overrides:
patchCallablein classSslPoliciesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchSslPolicyRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallablein classSslPoliciesStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classSslPoliciesStub
-
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
-
-