public class HttpJsonFirewallsStub extends FirewallsStub
REST stub implementation for the Firewalls service API.
This class is for advanced usage and reflects the underlying API directly.
Static Methods
create(ClientContext clientContext)
public static final HttpJsonFirewallsStub create(ClientContext clientContext)
Parameter
Returns
Exceptions
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
Returns
Exceptions
create(FirewallsStubSettings settings)
public static final HttpJsonFirewallsStub create(FirewallsStubSettings settings)
Parameter
Returns
Exceptions
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Constructors
HttpJsonFirewallsStub(FirewallsStubSettings settings, ClientContext clientContext)
protected HttpJsonFirewallsStub(FirewallsStubSettings settings, ClientContext clientContext)
Constructs an instance of HttpJsonFirewallsStub, 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
HttpJsonFirewallsStub(FirewallsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
protected HttpJsonFirewallsStub(FirewallsStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirewallsStub, 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
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Returns
Exceptions
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteFirewallRequest,Operation> deleteCallable()
Returns
Overrides
deleteOperationCallable()
public OperationCallable<DeleteFirewallRequest,Operation,Operation> deleteOperationCallable()
Returns
Overrides
getCallable()
public UnaryCallable<GetFirewallRequest,Firewall> getCallable()
Returns
Overrides
insertCallable()
public UnaryCallable<InsertFirewallRequest,Operation> insertCallable()
Returns
Overrides
insertOperationCallable()
public OperationCallable<InsertFirewallRequest,Operation,Operation> insertOperationCallable()
Returns
Overrides
isShutdown()
public boolean isShutdown()
Returns
isTerminated()
public boolean isTerminated()
Returns
listCallable()
public UnaryCallable<ListFirewallsRequest,FirewallList> listCallable()
Returns
Overrides
listPagedCallable()
public UnaryCallable<ListFirewallsRequest,FirewallsClient.ListPagedResponse> listPagedCallable()
Returns
Overrides
patchCallable()
public UnaryCallable<PatchFirewallRequest,Operation> patchCallable()
Returns
Overrides
patchOperationCallable()
public OperationCallable<PatchFirewallRequest,Operation,Operation> patchOperationCallable()
Returns
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCallable()
public UnaryCallable<UpdateFirewallRequest,Operation> updateCallable()
Returns
Overrides
updateOperationCallable()
public OperationCallable<UpdateFirewallRequest,Operation,Operation> updateOperationCallable()
Returns
Overrides