Class FirewallPolicyAssessment (3.49.0)

public final class FirewallPolicyAssessment extends GeneratedMessageV3 implements FirewallPolicyAssessmentOrBuilder

Policy config assessment.

Protobuf type google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment

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()
Returns
Type Description
FirewallPolicyAssessment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static FirewallPolicyAssessment.Builder newBuilder()
Returns
Type Description
FirewallPolicyAssessment.Builder

newBuilder(FirewallPolicyAssessment prototype)

public static FirewallPolicyAssessment.Builder newBuilder(FirewallPolicyAssessment prototype)
Parameter
Name Description
prototype FirewallPolicyAssessment
Returns
Type Description
FirewallPolicyAssessment.Builder

parseDelimitedFrom(InputStream input)

public static FirewallPolicyAssessment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FirewallPolicyAssessment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FirewallPolicyAssessment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FirewallPolicyAssessment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FirewallPolicyAssessment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FirewallPolicyAssessment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FirewallPolicyAssessment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FirewallPolicyAssessment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FirewallPolicyAssessment> parser()
Returns
Type Description
Parser<FirewallPolicyAssessment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public FirewallPolicyAssessment getDefaultInstanceForType()
Returns
Type Description
FirewallPolicyAssessment

getError()

public Status 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];

Returns
Type Description
FirewallPolicy

The firewallPolicy.

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];

Returns
Type Description
FirewallPolicyOrBuilder

getParserForType()

public Parser<FirewallPolicyAssessment> getParserForType()
Returns
Type Description
Parser<FirewallPolicyAssessment>
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FirewallPolicyAssessment.Builder newBuilderForType()
Returns
Type Description
FirewallPolicyAssessment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FirewallPolicyAssessment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FirewallPolicyAssessment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FirewallPolicyAssessment.Builder toBuilder()
Returns
Type Description
FirewallPolicyAssessment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException