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 will be
populated and the firewall_policy will be 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 will be
populated and the firewall_policy will be 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 will be 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 will be 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 will be
populated and the firewall_policy will be 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 will be 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)
Overrides
toBuilder()
public FirewallPolicyAssessment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides