Send feedback
Class FirewallPolicyAssessment (3.48.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.48.0 keyboard_arrow_down
public final class FirewallPolicyAssessment extends GeneratedMessageV3 implements FirewallPolicyAssessmentOrBuilder
Policy config assessment.
Protobuf type google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
Field Value
Type
Description
int
FIREWALL_POLICY_FIELD_NUMBER
public static final int FIREWALL_POLICY_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static FirewallPolicyAssessment getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static FirewallPolicyAssessment . Builder newBuilder ()
newBuilder(FirewallPolicyAssessment prototype)
public static FirewallPolicyAssessment . Builder newBuilder ( FirewallPolicyAssessment prototype )
public static FirewallPolicyAssessment parseDelimitedFrom ( InputStream input )
public static FirewallPolicyAssessment parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static FirewallPolicyAssessment parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssessment parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static FirewallPolicyAssessment parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssessment parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static FirewallPolicyAssessment parseFrom ( CodedInputStream input )
public static FirewallPolicyAssessment parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static FirewallPolicyAssessment parseFrom ( InputStream input )
public static FirewallPolicyAssessment parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static FirewallPolicyAssessment parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static FirewallPolicyAssessment parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<FirewallPolicyAssessment> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public FirewallPolicyAssessment getDefaultInstanceForType ()
getError()
Output only. If the processing of a policy config fails, an error is
populated and the firewall_policy is left empty.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
com.google.rpc.Status
The error.
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder ()
Output only. If the processing of a policy config fails, an error is
populated and the firewall_policy is left empty.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
com.google.rpc.StatusOrBuilder
getFirewallPolicy()
public 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 is left empty.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFirewallPolicyOrBuilder()
public 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 is left empty.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<FirewallPolicyAssessment> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hasError()
public boolean hasError ()
Output only. If the processing of a policy config fails, an error is
populated and the firewall_policy is left empty.
.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the error field is set.
hasFirewallPolicy()
public 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 is left empty.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the firewallPolicy field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public FirewallPolicyAssessment . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected FirewallPolicyAssessment . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public FirewallPolicyAssessment . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]