Package com.google.appengine.v1.stub
Class HttpJsonFirewallStub
- java.lang.Object
-
- com.google.appengine.v1.stub.FirewallStub
-
- com.google.appengine.v1.stub.HttpJsonFirewallStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonFirewallStub extends FirewallStub
REST stub implementation for the Firewall service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedHttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of HttpJsonFirewallStub, using the given settings.protectedHttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)Constructs an instance of HttpJsonFirewallStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long duration, TimeUnit unit)com.google.api.gax.rpc.UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse>batchUpdateIngressRulesCallable()voidclose()static HttpJsonFirewallStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static HttpJsonFirewallStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)static HttpJsonFirewallStubcreate(FirewallStubSettings settings)com.google.api.gax.rpc.UnaryCallable<CreateIngressRuleRequest,FirewallRule>createIngressRuleCallable()com.google.api.gax.rpc.UnaryCallable<DeleteIngressRuleRequest,com.google.protobuf.Empty>deleteIngressRuleCallable()com.google.api.gax.rpc.UnaryCallable<GetIngressRuleRequest,FirewallRule>getIngressRuleCallable()static List<com.google.api.gax.httpjson.ApiMethodDescriptor>getMethodDescriptors()booleanisShutdown()booleanisTerminated()com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse>listIngressRulesCallable()com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse>listIngressRulesPagedCallable()voidshutdown()voidshutdownNow()com.google.api.gax.rpc.UnaryCallable<UpdateIngressRuleRequest,FirewallRule>updateIngressRuleCallable()
-
-
-
Constructor Detail
-
HttpJsonFirewallStub
protected HttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonFirewallStub, 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
-
HttpJsonFirewallStub
protected HttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonFirewallStub, 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 HttpJsonFirewallStub create(FirewallStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonFirewallStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonFirewallStub 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()
-
listIngressRulesCallable
public com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse> listIngressRulesCallable()
- Overrides:
listIngressRulesCallablein classFirewallStub
-
listIngressRulesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse> listIngressRulesPagedCallable()
- Overrides:
listIngressRulesPagedCallablein classFirewallStub
-
batchUpdateIngressRulesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> batchUpdateIngressRulesCallable()
- Overrides:
batchUpdateIngressRulesCallablein classFirewallStub
-
createIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<CreateIngressRuleRequest,FirewallRule> createIngressRuleCallable()
- Overrides:
createIngressRuleCallablein classFirewallStub
-
getIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<GetIngressRuleRequest,FirewallRule> getIngressRuleCallable()
- Overrides:
getIngressRuleCallablein classFirewallStub
-
updateIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateIngressRuleRequest,FirewallRule> updateIngressRuleCallable()
- Overrides:
updateIngressRuleCallablein classFirewallStub
-
deleteIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteIngressRuleRequest,com.google.protobuf.Empty> deleteIngressRuleCallable()
- Overrides:
deleteIngressRuleCallablein classFirewallStub
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classFirewallStub
-
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
-
-