Class Assessment
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.recaptchaenterprise.v1.Assessment
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,AssessmentOrBuilder,Serializable
public final class Assessment extends com.google.protobuf.GeneratedMessageV3 implements AssessmentOrBuilder
A reCAPTCHA Enterprise assessment resource.
Protobuf typegoogle.cloud.recaptchaenterprise.v1.Assessment- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssessment.BuilderA reCAPTCHA Enterprise assessment resource.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBERstatic intACCOUNT_VERIFICATION_FIELD_NUMBERstatic intEVENT_FIELD_NUMBERstatic intFRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPRIVATE_PASSWORD_LEAK_VERIFICATION_FIELD_NUMBERstatic intRISK_ANALYSIS_FIELD_NUMBERstatic intTOKEN_PROPERTIES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)AccountDefenderAssessmentgetAccountDefenderAssessment()Assessment returned by account defender when a hashed_account_id is provided.AccountDefenderAssessmentOrBuildergetAccountDefenderAssessmentOrBuilder()Assessment returned by account defender when a hashed_account_id is provided.AccountVerificationInfogetAccountVerification()Account verification information for identity verification.AccountVerificationInfoOrBuildergetAccountVerificationOrBuilder()Account verification information for identity verification.static AssessmentgetDefaultInstance()AssessmentgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()EventgetEvent()The event being assessed.EventOrBuildergetEventOrBuilder()The event being assessed.FraudPreventionAssessmentgetFraudPreventionAssessment()Assessment returned by Fraud Prevention when TransactionData is provided.FraudPreventionAssessmentOrBuildergetFraudPreventionAssessmentOrBuilder()Assessment returned by Fraud Prevention when TransactionData is provided.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<Assessment>getParserForType()PrivatePasswordLeakVerificationgetPrivatePasswordLeakVerification()The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.PrivatePasswordLeakVerificationOrBuildergetPrivatePasswordLeakVerificationOrBuilder()The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.RiskAnalysisgetRiskAnalysis()Output only.RiskAnalysisOrBuildergetRiskAnalysisOrBuilder()Output only.intgetSerializedSize()TokenPropertiesgetTokenProperties()Output only.TokenPropertiesOrBuildergetTokenPropertiesOrBuilder()Output only.booleanhasAccountDefenderAssessment()Assessment returned by account defender when a hashed_account_id is provided.booleanhasAccountVerification()Account verification information for identity verification.booleanhasEvent()The event being assessed.booleanhasFraudPreventionAssessment()Assessment returned by Fraud Prevention when TransactionData is provided.inthashCode()booleanhasPrivatePasswordLeakVerification()The private password leak verification field contains the parameters that are used to to check for leaks privately without sharing user credentials.booleanhasRiskAnalysis()Output only.booleanhasTokenProperties()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Assessment.BuildernewBuilder()static Assessment.BuildernewBuilder(Assessment prototype)Assessment.BuildernewBuilderForType()protected Assessment.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AssessmentparseDelimitedFrom(InputStream input)static AssessmentparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssessmentparseFrom(byte[] data)static AssessmentparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssessmentparseFrom(com.google.protobuf.ByteString data)static AssessmentparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssessmentparseFrom(com.google.protobuf.CodedInputStream input)static AssessmentparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssessmentparseFrom(InputStream input)static AssessmentparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AssessmentparseFrom(ByteBuffer data)static AssessmentparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Assessment>parser()Assessment.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RISK_ANALYSIS_FIELD_NUMBER
public static final int RISK_ANALYSIS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOKEN_PROPERTIES_FIELD_NUMBER
public static final int TOKEN_PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_VERIFICATION_FIELD_NUMBER
public static final int ACCOUNT_VERIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
public static final int ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
public static final int PRIVATE_PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBER
public static final int FRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceAssessmentOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name for the Assessment in the format "projects/{project}/assessments/{assessment}".string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceAssessmentOrBuilder- Returns:
- The bytes for name.
-
hasEvent
public boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;- Specified by:
hasEventin interfaceAssessmentOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
public Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;- Specified by:
getEventin interfaceAssessmentOrBuilder- Returns:
- The event.
-
getEventOrBuilder
public EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1.Event event = 2;- Specified by:
getEventOrBuilderin interfaceAssessmentOrBuilder
-
hasRiskAnalysis
public 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];- Specified by:
hasRiskAnalysisin interfaceAssessmentOrBuilder- Returns:
- Whether the riskAnalysis field is set.
-
getRiskAnalysis
public 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];- Specified by:
getRiskAnalysisin interfaceAssessmentOrBuilder- Returns:
- The riskAnalysis.
-
getRiskAnalysisOrBuilder
public 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];- Specified by:
getRiskAnalysisOrBuilderin interfaceAssessmentOrBuilder
-
hasTokenProperties
public boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasTokenPropertiesin interfaceAssessmentOrBuilder- Returns:
- Whether the tokenProperties field is set.
-
getTokenProperties
public TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenPropertiesin interfaceAssessmentOrBuilder- Returns:
- The tokenProperties.
-
getTokenPropertiesOrBuilder
public TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getTokenPropertiesOrBuilderin interfaceAssessmentOrBuilder
-
hasAccountVerification
public boolean hasAccountVerification()
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;- Specified by:
hasAccountVerificationin interfaceAssessmentOrBuilder- Returns:
- Whether the accountVerification field is set.
-
getAccountVerification
public AccountVerificationInfo getAccountVerification()
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;- Specified by:
getAccountVerificationin interfaceAssessmentOrBuilder- Returns:
- The accountVerification.
-
getAccountVerificationOrBuilder
public AccountVerificationInfoOrBuilder getAccountVerificationOrBuilder()
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;- Specified by:
getAccountVerificationOrBuilderin interfaceAssessmentOrBuilder
-
hasAccountDefenderAssessment
public boolean hasAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;- Specified by:
hasAccountDefenderAssessmentin 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.v1.AccountDefenderAssessment account_defender_assessment = 6;- Specified by:
getAccountDefenderAssessmentin interfaceAssessmentOrBuilder- Returns:
- The accountDefenderAssessment.
-
getAccountDefenderAssessmentOrBuilder
public AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1.AccountDefenderAssessment account_defender_assessment = 6;- Specified by:
getAccountDefenderAssessmentOrBuilderin interfaceAssessmentOrBuilder
-
hasPrivatePasswordLeakVerification
public boolean hasPrivatePasswordLeakVerification()
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;- Specified by:
hasPrivatePasswordLeakVerificationin interfaceAssessmentOrBuilder- Returns:
- Whether the privatePasswordLeakVerification field is set.
-
getPrivatePasswordLeakVerification
public PrivatePasswordLeakVerification getPrivatePasswordLeakVerification()
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;- Specified by:
getPrivatePasswordLeakVerificationin interfaceAssessmentOrBuilder- Returns:
- The privatePasswordLeakVerification.
-
getPrivatePasswordLeakVerificationOrBuilder
public PrivatePasswordLeakVerificationOrBuilder getPrivatePasswordLeakVerificationOrBuilder()
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;- Specified by:
getPrivatePasswordLeakVerificationOrBuilderin interfaceAssessmentOrBuilder
-
hasFraudPreventionAssessment
public boolean hasFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11;- Specified by:
hasFraudPreventionAssessmentin interfaceAssessmentOrBuilder- Returns:
- Whether the fraudPreventionAssessment field is set.
-
getFraudPreventionAssessment
public FraudPreventionAssessment getFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11;- Specified by:
getFraudPreventionAssessmentin interfaceAssessmentOrBuilder- Returns:
- The fraudPreventionAssessment.
-
getFraudPreventionAssessmentOrBuilder
public FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1.FraudPreventionAssessment fraud_prevention_assessment = 11;- Specified by:
getFraudPreventionAssessmentOrBuilderin interfaceAssessmentOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Assessment parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Assessment parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Assessment parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Assessment parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Assessment parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Assessment parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Assessment parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Assessment.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Assessment.Builder newBuilder()
-
newBuilder
public static Assessment.Builder newBuilder(Assessment prototype)
-
toBuilder
public Assessment.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Assessment.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Assessment getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Assessment> parser()
-
getParserForType
public com.google.protobuf.Parser<Assessment> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Assessment getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-