Class FirewallPolicyAssessment.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
com.google.recaptchaenterprise.v1.FirewallPolicyAssessment.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,FirewallPolicyAssessmentOrBuilder,Cloneable
- Enclosing class:
- FirewallPolicyAssessment
public static final class FirewallPolicyAssessment.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
implements FirewallPolicyAssessmentOrBuilder
Policy config assessment.Protobuf type
google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetError()Output only.Output only.Output only.Output only.Output only.Output only.booleanhasError()Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeError(Status value) Output only.Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Output only.setError(Status.Builder builderForValue) Output only.setFirewallPolicy(FirewallPolicy value) Output only.setFirewallPolicy(FirewallPolicy.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyAssessment.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FirewallPolicyAssessment.Builder>
-
mergeFrom
public FirewallPolicyAssessment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FirewallPolicyAssessment.Builder>- Throws:
IOException
-
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];- Specified by:
hasErrorin interfaceFirewallPolicyAssessmentOrBuilder- Returns:
- Whether the error field is set.
-
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];- Specified by:
getErrorin interfaceFirewallPolicyAssessmentOrBuilder- Returns:
- The error.
-
setError
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]; -
setError
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]; -
mergeError
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]; -
clearError
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]; -
getErrorBuilder
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]; -
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];- Specified by:
getErrorOrBuilderin interfaceFirewallPolicyAssessmentOrBuilder
-
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];- Specified by:
hasFirewallPolicyin interfaceFirewallPolicyAssessmentOrBuilder- Returns:
- Whether the firewallPolicy field is set.
-
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];- Specified by:
getFirewallPolicyin interfaceFirewallPolicyAssessmentOrBuilder- Returns:
- The firewallPolicy.
-
setFirewallPolicy
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]; -
setFirewallPolicy
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]; -
mergeFirewallPolicy
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]; -
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 is left empty.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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 is left empty.
.google.cloud.recaptchaenterprise.v1.FirewallPolicy firewall_policy = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
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];- Specified by:
getFirewallPolicyOrBuilderin interfaceFirewallPolicyAssessmentOrBuilder
-