Package com.google.appengine.v1.stub
Class GrpcFirewallStub
- java.lang.Object
-
- com.google.appengine.v1.stub.FirewallStub
-
- com.google.appengine.v1.stub.GrpcFirewallStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") public class GrpcFirewallStub extends FirewallStub
gRPC 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 protected
GrpcFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcFirewallStub, using the given settings.protected
GrpcFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcFirewallStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
com.google.api.gax.rpc.UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse>
batchUpdateIngressRulesCallable()
void
close()
static GrpcFirewallStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcFirewallStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcFirewallStub
create(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()
com.google.longrunning.stub.GrpcOperationsStub
getOperationsStub()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse>
listIngressRulesCallable()
com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse>
listIngressRulesPagedCallable()
void
shutdown()
void
shutdownNow()
com.google.api.gax.rpc.UnaryCallable<UpdateIngressRuleRequest,FirewallRule>
updateIngressRuleCallable()
-
-
-
Constructor Detail
-
GrpcFirewallStub
protected GrpcFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcFirewallStub, 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
-
GrpcFirewallStub
protected GrpcFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcFirewallStub, 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 GrpcFirewallStub create(FirewallStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcFirewallStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcFirewallStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listIngressRulesCallable
public com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,ListIngressRulesResponse> listIngressRulesCallable()
- Overrides:
listIngressRulesCallable
in classFirewallStub
-
listIngressRulesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListIngressRulesRequest,FirewallClient.ListIngressRulesPagedResponse> listIngressRulesPagedCallable()
- Overrides:
listIngressRulesPagedCallable
in classFirewallStub
-
batchUpdateIngressRulesCallable
public com.google.api.gax.rpc.UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> batchUpdateIngressRulesCallable()
- Overrides:
batchUpdateIngressRulesCallable
in classFirewallStub
-
createIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<CreateIngressRuleRequest,FirewallRule> createIngressRuleCallable()
- Overrides:
createIngressRuleCallable
in classFirewallStub
-
getIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<GetIngressRuleRequest,FirewallRule> getIngressRuleCallable()
- Overrides:
getIngressRuleCallable
in classFirewallStub
-
updateIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateIngressRuleRequest,FirewallRule> updateIngressRuleCallable()
- Overrides:
updateIngressRuleCallable
in classFirewallStub
-
deleteIngressRuleCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteIngressRuleRequest,com.google.protobuf.Empty> deleteIngressRuleCallable()
- Overrides:
deleteIngressRuleCallable
in classFirewallStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in 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
-
-