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 protected
HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonSslPoliciesStub, using the given settings.protected
HttpJsonSslPoliciesStub(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:
aggregatedListCallable
in classSslPoliciesStub
-
aggregatedListPagedCallable
public com.google.api.gax.rpc.UnaryCallable<AggregatedListSslPoliciesRequest,SslPoliciesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
- Overrides:
aggregatedListPagedCallable
in classSslPoliciesStub
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteSslPolicyRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classSslPoliciesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteSslPolicyRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classSslPoliciesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetSslPolicyRequest,SslPolicy> getCallable()
- Overrides:
getCallable
in classSslPoliciesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertSslPolicyRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classSslPoliciesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertSslPolicyRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classSslPoliciesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListSslPoliciesRequest,SslPoliciesList> listCallable()
- Overrides:
listCallable
in classSslPoliciesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListSslPoliciesRequest,SslPoliciesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classSslPoliciesStub
-
listAvailableFeaturesCallable
public com.google.api.gax.rpc.UnaryCallable<ListAvailableFeaturesSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse> listAvailableFeaturesCallable()
- Overrides:
listAvailableFeaturesCallable
in classSslPoliciesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchSslPolicyRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classSslPoliciesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchSslPolicyRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classSslPoliciesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-