Interface FirewallPolicyAssessmentOrBuilder (3.32.0)

public interface FirewallPolicyAssessmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getFirewallPolicy()

public abstract FirewallPolicy getFirewallPolicy()

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FirewallPolicy

The firewallPolicy.

getFirewallPolicyOrBuilder()

public abstract FirewallPolicyOrBuilder getFirewallPolicyOrBuilder()

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
FirewallPolicyOrBuilder

hasError()

public abstract boolean hasError()

Output only. If the processing of a policy config fails, an error will be populated and the firewall_policy will be left empty.

.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the error field is set.

hasFirewallPolicy()

public abstract boolean hasFirewallPolicy()

Output only. The policy that matched the request. If more than one policy may match, this is the first match. If no policy matches the incoming request, the policy field will be left empty.

.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
boolean

Whether the firewallPolicy field is set.