Class HttpJsonSslPoliciesStub (1.22.0)

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.

Inheritance

java.lang.Object > SslPoliciesStub > HttpJsonSslPoliciesStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonSslPoliciesStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonSslPoliciesStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonSslPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonSslPoliciesStub
Exceptions
TypeDescription
IOException

create(SslPoliciesStubSettings settings)

public static final HttpJsonSslPoliciesStub create(SslPoliciesStubSettings settings)
Parameter
NameDescription
settingsSslPoliciesStubSettings
Returns
TypeDescription
HttpJsonSslPoliciesStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, ClientContext clientContext)

protected HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsSslPoliciesStubSettings
clientContextClientContext

HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonSslPoliciesStub(SslPoliciesStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsSslPoliciesStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

aggregatedListCallable()

public UnaryCallable<AggregatedListSslPoliciesRequest,SslPoliciesAggregatedList> aggregatedListCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListSslPoliciesRequest,SslPoliciesAggregatedList>
Overrides

aggregatedListPagedCallable()

public UnaryCallable<AggregatedListSslPoliciesRequest,SslPoliciesClient.AggregatedListPagedResponse> aggregatedListPagedCallable()
Returns
TypeDescription
UnaryCallable<AggregatedListSslPoliciesRequest,AggregatedListPagedResponse>
Overrides

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

public UnaryCallable<DeleteSslPolicyRequest,Operation> deleteCallable()
Returns
TypeDescription
UnaryCallable<DeleteSslPolicyRequest,Operation>
Overrides

deleteOperationCallable()

public OperationCallable<DeleteSslPolicyRequest,Operation,Operation> deleteOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteSslPolicyRequest,Operation,Operation>
Overrides

getCallable()

public UnaryCallable<GetSslPolicyRequest,SslPolicy> getCallable()
Returns
TypeDescription
UnaryCallable<GetSslPolicyRequest,SslPolicy>
Overrides

insertCallable()

public UnaryCallable<InsertSslPolicyRequest,Operation> insertCallable()
Returns
TypeDescription
UnaryCallable<InsertSslPolicyRequest,Operation>
Overrides

insertOperationCallable()

public OperationCallable<InsertSslPolicyRequest,Operation,Operation> insertOperationCallable()
Returns
TypeDescription
OperationCallable<InsertSslPolicyRequest,Operation,Operation>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listAvailableFeaturesCallable()

public UnaryCallable<ListAvailableFeaturesSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse> listAvailableFeaturesCallable()
Returns
TypeDescription
UnaryCallable<ListAvailableFeaturesSslPoliciesRequest,SslPoliciesListAvailableFeaturesResponse>
Overrides

listCallable()

public UnaryCallable<ListSslPoliciesRequest,SslPoliciesList> listCallable()
Returns
TypeDescription
UnaryCallable<ListSslPoliciesRequest,SslPoliciesList>
Overrides

listPagedCallable()

public UnaryCallable<ListSslPoliciesRequest,SslPoliciesClient.ListPagedResponse> listPagedCallable()
Returns
TypeDescription
UnaryCallable<ListSslPoliciesRequest,ListPagedResponse>
Overrides

patchCallable()

public UnaryCallable<PatchSslPolicyRequest,Operation> patchCallable()
Returns
TypeDescription
UnaryCallable<PatchSslPolicyRequest,Operation>
Overrides

patchOperationCallable()

public OperationCallable<PatchSslPolicyRequest,Operation,Operation> patchOperationCallable()
Returns
TypeDescription
OperationCallable<PatchSslPolicyRequest,Operation,Operation>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()