public static final class FirewallPolicyAssessment.Builder extends GeneratedMessageV3.Builder<FirewallPolicyAssessment.Builder> implements FirewallPolicyAssessmentOrBuilder
Policy config assessment.
Protobuf type google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyAssessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public FirewallPolicyAssessment build()
buildPartial()
public FirewallPolicyAssessment buildPartial()
clear()
public FirewallPolicyAssessment.Builder clear()
Overrides
clearError()
public FirewallPolicyAssessment.Builder clearError()
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;
clearField(Descriptors.FieldDescriptor field)
public FirewallPolicyAssessment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFirewallPolicy()
public FirewallPolicyAssessment.Builder clearFirewallPolicy()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public FirewallPolicyAssessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public FirewallPolicyAssessment.Builder clone()
Overrides
getDefaultInstanceForType()
public FirewallPolicyAssessment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getError()
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;
Returns |
---|
Type | Description |
com.google.rpc.Status | The error.
|
getErrorBuilder()
public Status.Builder getErrorBuilder()
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;
Returns |
---|
Type | Description |
com.google.rpc.Status.Builder | |
getErrorOrBuilder()
public StatusOrBuilder getErrorOrBuilder()
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;
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];
getFirewallPolicyBuilder()
public FirewallPolicy.Builder getFirewallPolicyBuilder()
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];
hasError()
public boolean hasError()
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;
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeError(Status value)
public FirewallPolicyAssessment.Builder mergeError(Status value)
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;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
mergeFirewallPolicy(FirewallPolicy value)
public FirewallPolicyAssessment.Builder mergeFirewallPolicy(FirewallPolicy value)
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];
public FirewallPolicyAssessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public FirewallPolicyAssessment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(FirewallPolicyAssessment other)
public FirewallPolicyAssessment.Builder mergeFrom(FirewallPolicyAssessment other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyAssessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setError(Status value)
public FirewallPolicyAssessment.Builder setError(Status value)
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;
Parameter |
---|
Name | Description |
value | com.google.rpc.Status
|
setError(Status.Builder builderForValue)
public FirewallPolicyAssessment.Builder setError(Status.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | com.google.rpc.Status.Builder
|
setField(Descriptors.FieldDescriptor field, Object value)
public FirewallPolicyAssessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setFirewallPolicy(FirewallPolicy value)
public FirewallPolicyAssessment.Builder setFirewallPolicy(FirewallPolicy value)
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];
setFirewallPolicy(FirewallPolicy.Builder builderForValue)
public FirewallPolicyAssessment.Builder setFirewallPolicy(FirewallPolicy.Builder builderForValue)
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public FirewallPolicyAssessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final FirewallPolicyAssessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides