Class HttpJsonSslPoliciesStub (1.52.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
Name Description
clientContext ClientContext
Returns
Type Description
HttpJsonSslPoliciesStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonSslPoliciesStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory
Returns
Type Description
HttpJsonSslPoliciesStub
Exceptions
Type Description
IOException

create(SslPoliciesStubSettings settings)

public static final HttpJsonSslPoliciesStub create(SslPoliciesStubSettings settings)
Parameter
Name Description
settings SslPoliciesStubSettings
Returns
Type Description
HttpJsonSslPoliciesStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
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
Name Description
settings SslPoliciesStubSettings
clientContext ClientContext

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
Name Description
settings SslPoliciesStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

Methods

aggregatedListCallable()

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

aggregatedListPagedCallable()

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

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

deleteCallable()

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

deleteOperationCallable()

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

getCallable()

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

insertCallable()

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

insertOperationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listAvailableFeaturesCallable()

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

listCallable()

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

listPagedCallable()

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

patchCallable()

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

patchOperationCallable()

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

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()