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 protectedGrpcFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)Constructs an instance of GrpcFirewallStub, using the given settings.protectedGrpcFirewallStub(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 booleanawaitTermination(long duration, TimeUnit unit)com.google.api.gax.rpc.UnaryCallable<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse>batchUpdateIngressRulesCallable()voidclose()static GrpcFirewallStubcreate(com.google.api.gax.rpc.ClientContext clientContext)static GrpcFirewallStubcreate(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)static GrpcFirewallStubcreate(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.GrpcOperationsStubgetOperationsStub()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
-
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:
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
-
-