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)
create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
public static final HttpJsonFirewallsStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
create(FirewallsStubSettings settings)
public static final HttpJsonFirewallsStub create(FirewallsStubSettings settings)
getMethodDescriptors()
public static List<ApiMethodDescriptor> getMethodDescriptors()
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.
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.
Methods
awaitTermination(long duration, TimeUnit unit)
public boolean awaitTermination(long duration, TimeUnit unit)
close()
public final void close()
Overrides
deleteCallable()
public UnaryCallable<DeleteFirewallRequest,Operation> deleteCallable()
Overrides
deleteOperationCallable()
public OperationCallable<DeleteFirewallRequest,Operation,Operation> deleteOperationCallable()
Overrides
getCallable()
public UnaryCallable<GetFirewallRequest,Firewall> getCallable()
Overrides
insertCallable()
public UnaryCallable<InsertFirewallRequest,Operation> insertCallable()
Overrides
insertOperationCallable()
public OperationCallable<InsertFirewallRequest,Operation,Operation> insertOperationCallable()
Overrides
isShutdown()
public boolean isShutdown()
isTerminated()
public boolean isTerminated()
listCallable()
public UnaryCallable<ListFirewallsRequest,FirewallList> listCallable()
Overrides
listPagedCallable()
public UnaryCallable<ListFirewallsRequest,FirewallsClient.ListPagedResponse> listPagedCallable()
Overrides
patchCallable()
public UnaryCallable<PatchFirewallRequest,Operation> patchCallable()
Overrides
patchOperationCallable()
public OperationCallable<PatchFirewallRequest,Operation,Operation> patchOperationCallable()
Overrides
shutdown()
shutdownNow()
public void shutdownNow()
updateCallable()
public UnaryCallable<UpdateFirewallRequest,Operation> updateCallable()
Overrides
updateOperationCallable()
public OperationCallable<UpdateFirewallRequest,Operation,Operation> updateOperationCallable()
Overrides