public final class Assessment extends com.google.protobuf.GeneratedMessageV3 implements AssessmentOrBuilder
A reCAPTCHA Enterprise assessment resource.Protobuf type
google.cloud.recaptchaenterprise.v1.Assessment| Modifier and Type | Class and Description |
|---|---|
static class |
Assessment.Builder
A reCAPTCHA Enterprise assessment resource.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER |
static int |
ACCOUNT_VERIFICATION_FIELD_NUMBER |
static int |
ASSESSMENT_ENVIRONMENT_FIELD_NUMBER |
static int |
EVENT_FIELD_NUMBER |
static int |
FIREWALL_POLICY_ASSESSMENT_FIELD_NUMBER |
static int |
FRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBER |
static int |
FRAUD_SIGNALS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PHONE_FRAUD_ASSESSMENT_FIELD_NUMBER |
static int |
PRIVATE_PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER |
static int |
RISK_ANALYSIS_FIELD_NUMBER |
static int |
TOKEN_PROPERTIES_FIELD_NUMBER |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
public static final int RISK_ANALYSIS_FIELD_NUMBER
public static final int TOKEN_PROPERTIES_FIELD_NUMBER
public static final int ACCOUNT_VERIFICATION_FIELD_NUMBER
public static final int ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
public static final int PRIVATE_PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
public static final int FIREWALL_POLICY_ASSESSMENT_FIELD_NUMBER
public static final int FRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBER
public static final int FRAUD_SIGNALS_FIELD_NUMBER
public static final int PHONE_FRAUD_ASSESSMENT_FIELD_NUMBER
public static final int ASSESSMENT_ENVIRONMENT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getName()
Output only. Identifier. The resource name for the Assessment in the format
`projects/{project}/assessments/{assessment}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
getName in interface AssessmentOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. Identifier. The resource name for the Assessment in the format
`projects/{project}/assessments/{assessment}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IDENTIFIER];
getNameBytes in interface AssessmentOrBuilderpublic boolean hasEvent()
Optional. The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
hasEvent in interface AssessmentOrBuilderpublic Event getEvent()
Optional. The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
getEvent in interface AssessmentOrBuilderpublic EventOrBuilder getEventOrBuilder()
Optional. The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2 [(.google.api.field_behavior) = OPTIONAL];
getEventOrBuilder in interface AssessmentOrBuilderpublic boolean hasRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasRiskAnalysis in interface AssessmentOrBuilderpublic RiskAnalysis getRiskAnalysis()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRiskAnalysis in interface AssessmentOrBuilderpublic RiskAnalysisOrBuilder getRiskAnalysisOrBuilder()
Output only. The risk analysis result for the event being assessed.
.google.cloud.recaptchaenterprise.v1.RiskAnalysis risk_analysis = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getRiskAnalysisOrBuilder in interface AssessmentOrBuilderpublic boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasTokenProperties in interface AssessmentOrBuilderpublic TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTokenProperties in interface AssessmentOrBuilderpublic TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTokenPropertiesOrBuilder in interface AssessmentOrBuilderpublic boolean hasAccountVerification()
Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];
hasAccountVerification in interface AssessmentOrBuilderpublic AccountVerificationInfo getAccountVerification()
Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];
getAccountVerification in interface AssessmentOrBuilderpublic AccountVerificationInfoOrBuilder getAccountVerificationOrBuilder()
Optional. Account verification information for identity verification. The assessment event must include a token and site key to use this feature.
.google.cloud.recaptchaenterprise.v1.AccountVerificationInfo account_verification = 5 [(.google.api.field_behavior) = OPTIONAL];
getAccountVerificationOrBuilder in interface AssessmentOrBuilderpublic boolean hasAccountDefenderAssessment()
Output only. Assessment returned by account defender when an account identifier is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAccountDefenderAssessment in interface AssessmentOrBuilderpublic AccountDefenderAssessment getAccountDefenderAssessment()
Output only. Assessment returned by account defender when an account identifier is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAccountDefenderAssessment in interface AssessmentOrBuilderpublic AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
Output only. Assessment returned by account defender when an account identifier is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAccountDefenderAssessmentOrBuilder in interface AssessmentOrBuilderpublic boolean hasPrivatePasswordLeakVerification()
Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];
hasPrivatePasswordLeakVerification in interface AssessmentOrBuilderpublic PrivatePasswordLeakVerification getPrivatePasswordLeakVerification()
Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];
getPrivatePasswordLeakVerification in interface AssessmentOrBuilderpublic PrivatePasswordLeakVerificationOrBuilder getPrivatePasswordLeakVerificationOrBuilder()
Optional. The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.
.google.cloud.recaptchaenterprise.v1.PrivatePasswordLeakVerification private_password_leak_verification = 8 [(.google.api.field_behavior) = OPTIONAL];
getPrivatePasswordLeakVerificationOrBuilder in interface AssessmentOrBuilderpublic boolean hasFirewallPolicyAssessment()
Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.
.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasFirewallPolicyAssessment in interface AssessmentOrBuilderpublic FirewallPolicyAssessment getFirewallPolicyAssessment()
Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.
.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFirewallPolicyAssessment in interface AssessmentOrBuilderpublic FirewallPolicyAssessmentOrBuilder getFirewallPolicyAssessmentOrBuilder()
Output only. Assessment returned when firewall policies belonging to the project are evaluated using the field firewall_policy_evaluation.
.google.cloud.recaptchaenterprise.v1.FirewallPolicyAssessment firewall_policy_assessment = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFirewallPolicyAssessmentOrBuilder in interface AssessmentOrBuilderpublic boolean hasFraudPreventionAssessment()
Output only. Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasFraudPreventionAssessment in interface AssessmentOrBuilderpublic FraudPreventionAssessment getFraudPreventionAssessment()
Output only. Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFraudPreventionAssessment in interface AssessmentOrBuilderpublic FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()
Output only. Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFraudPreventionAssessmentOrBuilder in interface AssessmentOrBuilderpublic boolean hasFraudSignals()
Output only. Fraud Signals specific to the users involved in a payment transaction.
.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasFraudSignals in interface AssessmentOrBuilderpublic FraudSignals getFraudSignals()
Output only. Fraud Signals specific to the users involved in a payment transaction.
.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFraudSignals in interface AssessmentOrBuilderpublic FraudSignalsOrBuilder getFraudSignalsOrBuilder()
Output only. Fraud Signals specific to the users involved in a payment transaction.
.google.cloud.recaptchaenterprise.v1.FraudSignals fraud_signals = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
getFraudSignalsOrBuilder in interface AssessmentOrBuilderpublic boolean hasPhoneFraudAssessment()
Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.
.google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPhoneFraudAssessment in interface AssessmentOrBuilderpublic PhoneFraudAssessment getPhoneFraudAssessment()
Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.
.google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPhoneFraudAssessment in interface AssessmentOrBuilderpublic PhoneFraudAssessmentOrBuilder getPhoneFraudAssessmentOrBuilder()
Output only. Assessment returned when a site key, a token, and a phone number as `user_id` are provided. Account defender and SMS toll fraud protection need to be enabled.
.google.cloud.recaptchaenterprise.v1.PhoneFraudAssessment phone_fraud_assessment = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPhoneFraudAssessmentOrBuilder in interface AssessmentOrBuilderpublic boolean hasAssessmentEnvironment()
Optional. The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user.
.google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
hasAssessmentEnvironment in interface AssessmentOrBuilderpublic AssessmentEnvironment getAssessmentEnvironment()
Optional. The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user.
.google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
getAssessmentEnvironment in interface AssessmentOrBuilderpublic AssessmentEnvironmentOrBuilder getAssessmentEnvironmentOrBuilder()
Optional. The environment creating the assessment. This describes your environment (the system invoking CreateAssessment), NOT the environment of your user.
.google.cloud.recaptchaenterprise.v1.AssessmentEnvironment assessment_environment = 14 [(.google.api.field_behavior) = OPTIONAL];
getAssessmentEnvironmentOrBuilder in interface AssessmentOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Assessment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Assessment parseFrom(InputStream input) throws IOException
IOExceptionpublic static Assessment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Assessment parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Assessment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Assessment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Assessment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Assessment.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Assessment.Builder newBuilder()
public static Assessment.Builder newBuilder(Assessment prototype)
public Assessment.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Assessment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Assessment getDefaultInstance()
public static com.google.protobuf.Parser<Assessment> parser()
public com.google.protobuf.Parser<Assessment> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Assessment getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.