Class Assessment.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
- com.google.recaptchaenterprise.v1beta1.Assessment.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,AssessmentOrBuilder
,Cloneable
- Enclosing class:
- Assessment
public static final class Assessment.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder> implements AssessmentOrBuilder
A reCAPTCHA Enterprise assessment resource.
Protobuf typegoogle.cloud.recaptchaenterprise.v1beta1.Assessment
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Assessment.Builder
addAllReasons(Iterable<? extends Assessment.ClassificationReason> values)
Output only.Assessment.Builder
addAllReasonsValue(Iterable<Integer> values)
Output only.Assessment.Builder
addReasons(Assessment.ClassificationReason value)
Output only.Assessment.Builder
addReasonsValue(int value)
Output only.Assessment.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Assessment
build()
Assessment
buildPartial()
Assessment.Builder
clear()
Assessment.Builder
clearAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.Assessment.Builder
clearEvent()
The event being assessed.Assessment.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Assessment.Builder
clearFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.Assessment.Builder
clearName()
Output only.Assessment.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Assessment.Builder
clearPasswordLeakVerification()
Information about the user's credentials used to check for leaks.Assessment.Builder
clearReasons()
Output only.Assessment.Builder
clearScore()
Output only.Assessment.Builder
clearTokenProperties()
Output only.Assessment.Builder
clone()
AccountDefenderAssessment
getAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.AccountDefenderAssessment.Builder
getAccountDefenderAssessmentBuilder()
Assessment returned by account defender when a hashed_account_id is provided.AccountDefenderAssessmentOrBuilder
getAccountDefenderAssessmentOrBuilder()
Assessment returned by account defender when a hashed_account_id is provided.Assessment
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Event
getEvent()
The event being assessed.Event.Builder
getEventBuilder()
The event being assessed.EventOrBuilder
getEventOrBuilder()
The event being assessed.FraudPreventionAssessment
getFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.FraudPreventionAssessment.Builder
getFraudPreventionAssessmentBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.FraudPreventionAssessmentOrBuilder
getFraudPreventionAssessmentOrBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.PasswordLeakVerification
getPasswordLeakVerification()
Information about the user's credentials used to check for leaks.PasswordLeakVerification.Builder
getPasswordLeakVerificationBuilder()
Information about the user's credentials used to check for leaks.PasswordLeakVerificationOrBuilder
getPasswordLeakVerificationOrBuilder()
Information about the user's credentials used to check for leaks.Assessment.ClassificationReason
getReasons(int index)
Output only.int
getReasonsCount()
Output only.List<Assessment.ClassificationReason>
getReasonsList()
Output only.int
getReasonsValue(int index)
Output only.List<Integer>
getReasonsValueList()
Output only.float
getScore()
Output only.TokenProperties
getTokenProperties()
Output only.TokenProperties.Builder
getTokenPropertiesBuilder()
Output only.TokenPropertiesOrBuilder
getTokenPropertiesOrBuilder()
Output only.boolean
hasAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.boolean
hasEvent()
The event being assessed.boolean
hasFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.boolean
hasPasswordLeakVerification()
Information about the user's credentials used to check for leaks.boolean
hasTokenProperties()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Assessment.Builder
mergeAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by account defender when a hashed_account_id is provided.Assessment.Builder
mergeEvent(Event value)
The event being assessed.Assessment.Builder
mergeFraudPreventionAssessment(FraudPreventionAssessment value)
Assessment returned by Fraud Prevention when TransactionData is provided.Assessment.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Assessment.Builder
mergeFrom(com.google.protobuf.Message other)
Assessment.Builder
mergeFrom(Assessment other)
Assessment.Builder
mergePasswordLeakVerification(PasswordLeakVerification value)
Information about the user's credentials used to check for leaks.Assessment.Builder
mergeTokenProperties(TokenProperties value)
Output only.Assessment.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Assessment.Builder
setAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by account defender when a hashed_account_id is provided.Assessment.Builder
setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)
Assessment returned by account defender when a hashed_account_id is provided.Assessment.Builder
setEvent(Event value)
The event being assessed.Assessment.Builder
setEvent(Event.Builder builderForValue)
The event being assessed.Assessment.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Assessment.Builder
setFraudPreventionAssessment(FraudPreventionAssessment value)
Assessment returned by Fraud Prevention when TransactionData is provided.Assessment.Builder
setFraudPreventionAssessment(FraudPreventionAssessment.Builder builderForValue)
Assessment returned by Fraud Prevention when TransactionData is provided.Assessment.Builder
setName(String value)
Output only.Assessment.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Assessment.Builder
setPasswordLeakVerification(PasswordLeakVerification value)
Information about the user's credentials used to check for leaks.Assessment.Builder
setPasswordLeakVerification(PasswordLeakVerification.Builder builderForValue)
Information about the user's credentials used to check for leaks.Assessment.Builder
setReasons(int index, Assessment.ClassificationReason value)
Output only.Assessment.Builder
setReasonsValue(int index, int value)
Output only.Assessment.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Assessment.Builder
setScore(float value)
Output only.Assessment.Builder
setTokenProperties(TokenProperties value)
Output only.Assessment.Builder
setTokenProperties(TokenProperties.Builder builderForValue)
Output only.Assessment.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
clear
public Assessment.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
getDefaultInstanceForType
public Assessment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Assessment build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Assessment buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Assessment.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
setField
public Assessment.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
clearField
public Assessment.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
clearOneof
public Assessment.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
setRepeatedField
public Assessment.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
addRepeatedField
public Assessment.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
mergeFrom
public Assessment.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Assessment.Builder>
-
mergeFrom
public Assessment.Builder mergeFrom(Assessment other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
mergeFrom
public Assessment.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Assessment.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceAssessmentOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceAssessmentOrBuilder
- Returns:
- The bytes for name.
-
setName
public Assessment.Builder setName(String value)
Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Assessment.Builder clearName()
Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Assessment.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name for the Assessment in the format "projects/{project_number}/assessments/{assessment_id}".
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasEvent
public boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
- Specified by:
hasEvent
in interfaceAssessmentOrBuilder
- Returns:
- Whether the event field is set.
-
getEvent
public Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
- Specified by:
getEvent
in interfaceAssessmentOrBuilder
- Returns:
- The event.
-
setEvent
public Assessment.Builder setEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
-
setEvent
public Assessment.Builder setEvent(Event.Builder builderForValue)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
-
mergeEvent
public Assessment.Builder mergeEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
-
clearEvent
public Assessment.Builder clearEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
-
getEventBuilder
public Event.Builder getEventBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
-
getEventOrBuilder
public EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
- Specified by:
getEventOrBuilder
in interfaceAssessmentOrBuilder
-
getScore
public float getScore()
Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
float score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getScore
in interfaceAssessmentOrBuilder
- Returns:
- The score.
-
setScore
public Assessment.Builder setScore(float value)
Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
float score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The score to set.- Returns:
- This builder for chaining.
-
clearScore
public Assessment.Builder clearScore()
Output only. Legitimate event score from 0.0 to 1.0. (1.0 means very likely legitimate traffic while 0.0 means very likely non-legitimate traffic).
float score = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasTokenProperties
public boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTokenProperties
in interfaceAssessmentOrBuilder
- Returns:
- Whether the tokenProperties field is set.
-
getTokenProperties
public TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTokenProperties
in interfaceAssessmentOrBuilder
- Returns:
- The tokenProperties.
-
setTokenProperties
public Assessment.Builder setTokenProperties(TokenProperties value)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTokenProperties
public Assessment.Builder setTokenProperties(TokenProperties.Builder builderForValue)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeTokenProperties
public Assessment.Builder mergeTokenProperties(TokenProperties value)
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTokenProperties
public Assessment.Builder clearTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTokenPropertiesBuilder
public TokenProperties.Builder getTokenPropertiesBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTokenPropertiesOrBuilder
public TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTokenPropertiesOrBuilder
in interfaceAssessmentOrBuilder
-
getReasonsList
public List<Assessment.ClassificationReason> getReasonsList()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReasonsList
in interfaceAssessmentOrBuilder
- Returns:
- A list containing the reasons.
-
getReasonsCount
public int getReasonsCount()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReasonsCount
in interfaceAssessmentOrBuilder
- Returns:
- The count of reasons.
-
getReasons
public Assessment.ClassificationReason getReasons(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReasons
in interfaceAssessmentOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The reasons at the given index.
-
setReasons
public Assessment.Builder setReasons(int index, Assessment.ClassificationReason value)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index to set the value at.value
- The reasons to set.- Returns:
- This builder for chaining.
-
addReasons
public Assessment.Builder addReasons(Assessment.ClassificationReason value)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The reasons to add.- Returns:
- This builder for chaining.
-
addAllReasons
public Assessment.Builder addAllReasons(Iterable<? extends Assessment.ClassificationReason> values)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The reasons to add.- Returns:
- This builder for chaining.
-
clearReasons
public Assessment.Builder clearReasons()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getReasonsValueList
public List<Integer> getReasonsValueList()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReasonsValueList
in interfaceAssessmentOrBuilder
- Returns:
- A list containing the enum numeric values on the wire for reasons.
-
getReasonsValue
public int getReasonsValue(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReasonsValue
in interfaceAssessmentOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The enum numeric value on the wire of reasons at the given index.
-
setReasonsValue
public Assessment.Builder setReasonsValue(int index, int value)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
index
- The index to set the value at.value
- The enum numeric value on the wire for reasons to set.- Returns:
- This builder for chaining.
-
addReasonsValue
public Assessment.Builder addReasonsValue(int value)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for reasons to add.- Returns:
- This builder for chaining.
-
addAllReasonsValue
public Assessment.Builder addAllReasonsValue(Iterable<Integer> values)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1beta1.Assessment.ClassificationReason reasons = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
values
- The enum numeric values on the wire for reasons to add.- Returns:
- This builder for chaining.
-
hasPasswordLeakVerification
public boolean hasPasswordLeakVerification()
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
- Specified by:
hasPasswordLeakVerification
in interfaceAssessmentOrBuilder
- Returns:
- Whether the passwordLeakVerification field is set.
-
getPasswordLeakVerification
public PasswordLeakVerification getPasswordLeakVerification()
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
- Specified by:
getPasswordLeakVerification
in interfaceAssessmentOrBuilder
- Returns:
- The passwordLeakVerification.
-
setPasswordLeakVerification
public Assessment.Builder setPasswordLeakVerification(PasswordLeakVerification value)
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
-
setPasswordLeakVerification
public Assessment.Builder setPasswordLeakVerification(PasswordLeakVerification.Builder builderForValue)
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
-
mergePasswordLeakVerification
public Assessment.Builder mergePasswordLeakVerification(PasswordLeakVerification value)
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
-
clearPasswordLeakVerification
public Assessment.Builder clearPasswordLeakVerification()
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
-
getPasswordLeakVerificationBuilder
public PasswordLeakVerification.Builder getPasswordLeakVerificationBuilder()
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
-
getPasswordLeakVerificationOrBuilder
public PasswordLeakVerificationOrBuilder getPasswordLeakVerificationOrBuilder()
Information about the user's credentials used to check for leaks. This feature is part of the Early Access Program (EAP). Exercise caution, and do not deploy integrations based on this feature in a production environment.
.google.cloud.recaptchaenterprise.v1beta1.PasswordLeakVerification password_leak_verification = 7;
- Specified by:
getPasswordLeakVerificationOrBuilder
in interfaceAssessmentOrBuilder
-
hasAccountDefenderAssessment
public boolean hasAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
- Specified by:
hasAccountDefenderAssessment
in interfaceAssessmentOrBuilder
- Returns:
- Whether the accountDefenderAssessment field is set.
-
getAccountDefenderAssessment
public AccountDefenderAssessment getAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
- Specified by:
getAccountDefenderAssessment
in interfaceAssessmentOrBuilder
- Returns:
- The accountDefenderAssessment.
-
setAccountDefenderAssessment
public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
-
setAccountDefenderAssessment
public Assessment.Builder setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
-
mergeAccountDefenderAssessment
public Assessment.Builder mergeAccountDefenderAssessment(AccountDefenderAssessment value)
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
-
clearAccountDefenderAssessment
public Assessment.Builder clearAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
-
getAccountDefenderAssessmentBuilder
public AccountDefenderAssessment.Builder getAccountDefenderAssessmentBuilder()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
-
getAccountDefenderAssessmentOrBuilder
public AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
- Specified by:
getAccountDefenderAssessmentOrBuilder
in interfaceAssessmentOrBuilder
-
hasFraudPreventionAssessment
public boolean hasFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
- Specified by:
hasFraudPreventionAssessment
in interfaceAssessmentOrBuilder
- Returns:
- Whether the fraudPreventionAssessment field is set.
-
getFraudPreventionAssessment
public FraudPreventionAssessment getFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
- Specified by:
getFraudPreventionAssessment
in interfaceAssessmentOrBuilder
- Returns:
- The fraudPreventionAssessment.
-
setFraudPreventionAssessment
public Assessment.Builder setFraudPreventionAssessment(FraudPreventionAssessment value)
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
-
setFraudPreventionAssessment
public Assessment.Builder setFraudPreventionAssessment(FraudPreventionAssessment.Builder builderForValue)
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
-
mergeFraudPreventionAssessment
public Assessment.Builder mergeFraudPreventionAssessment(FraudPreventionAssessment value)
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
-
clearFraudPreventionAssessment
public Assessment.Builder clearFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
-
getFraudPreventionAssessmentBuilder
public FraudPreventionAssessment.Builder getFraudPreventionAssessmentBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
-
getFraudPreventionAssessmentOrBuilder
public FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
- Specified by:
getFraudPreventionAssessmentOrBuilder
in interfaceAssessmentOrBuilder
-
setUnknownFields
public final Assessment.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
mergeUnknownFields
public final Assessment.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Assessment.Builder>
-
-