Class FirewallGrpc (2.42.0)

public final class FirewallGrpc

Firewall resources are used to define a collection of access control rules for an Application. Each rule is defined with a position which specifies the rule's order in the sequence of rules, an IP range to be matched against requests, and an action to take upon matching requests. Every request is evaluated against the Firewall rules in priority order. Processesing stops at the first rule which matches the request's IP address. A final rule always specifies an action that applies to all remaining IP addresses. The default final rule for a newly-created application will be set to "allow" if not otherwise specified by the user.

Inheritance

java.lang.Object > FirewallGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(FirewallGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(FirewallGrpc.AsyncService service)
Parameter
Name Description
service FirewallGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getBatchUpdateIngressRulesMethod()

public static MethodDescriptor<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse> getBatchUpdateIngressRulesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<BatchUpdateIngressRulesRequest,BatchUpdateIngressRulesResponse>

getCreateIngressRuleMethod()

public static MethodDescriptor<CreateIngressRuleRequest,FirewallRule> getCreateIngressRuleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateIngressRuleRequest,FirewallRule>

getDeleteIngressRuleMethod()

public static MethodDescriptor<DeleteIngressRuleRequest,Empty> getDeleteIngressRuleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteIngressRuleRequest,Empty>

getGetIngressRuleMethod()

public static MethodDescriptor<GetIngressRuleRequest,FirewallRule> getGetIngressRuleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetIngressRuleRequest,FirewallRule>

getListIngressRulesMethod()

public static MethodDescriptor<ListIngressRulesRequest,ListIngressRulesResponse> getListIngressRulesMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListIngressRulesRequest,ListIngressRulesResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getUpdateIngressRuleMethod()

public static MethodDescriptor<UpdateIngressRuleRequest,FirewallRule> getUpdateIngressRuleMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateIngressRuleRequest,FirewallRule>

newBlockingStub(Channel channel)

public static FirewallGrpc.FirewallBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
FirewallGrpc.FirewallBlockingStub

newFutureStub(Channel channel)

public static FirewallGrpc.FirewallFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
FirewallGrpc.FirewallFutureStub

newStub(Channel channel)

public static FirewallGrpc.FirewallStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
FirewallGrpc.FirewallStub