public final class Assessment extends com.google.protobuf.GeneratedMessageV3 implements AssessmentOrBuilder
A reCAPTCHA Enterprise assessment resource.Protobuf type
google.cloud.recaptchaenterprise.v1beta1.Assessment| Modifier and Type | Class and Description |
|---|---|
static class |
Assessment.Builder
A reCAPTCHA Enterprise assessment resource.
|
static class |
Assessment.ClassificationReason
Reasons contributing to the risk analysis verdict.
|
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 |
EVENT_FIELD_NUMBER |
static int |
FRAUD_PREVENTION_ASSESSMENT_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER |
static int |
REASONS_FIELD_NUMBER |
static int |
SCORE_FIELD_NUMBER |
static int |
TOKEN_PROPERTIES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
AccountDefenderAssessment |
getAccountDefenderAssessment()
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.
|
static Assessment |
getDefaultInstance() |
Assessment |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Event |
getEvent()
The event being assessed.
|
EventOrBuilder |
getEventOrBuilder()
The event being assessed.
|
FraudPreventionAssessment |
getFraudPreventionAssessment()
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.
|
com.google.protobuf.Parser<Assessment> |
getParserForType() |
PasswordLeakVerification |
getPasswordLeakVerification()
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.
|
int |
getSerializedSize() |
TokenProperties |
getTokenProperties()
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.
|
int |
hashCode() |
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() |
static Assessment.Builder |
newBuilder() |
static Assessment.Builder |
newBuilder(Assessment prototype) |
Assessment.Builder |
newBuilderForType() |
protected Assessment.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Assessment |
parseDelimitedFrom(InputStream input) |
static Assessment |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(byte[] data) |
static Assessment |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(ByteBuffer data) |
static Assessment |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(com.google.protobuf.ByteString data) |
static Assessment |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Assessment |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Assessment |
parseFrom(InputStream input) |
static Assessment |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Assessment> |
parser() |
Assessment.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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 SCORE_FIELD_NUMBER
public static final int TOKEN_PROPERTIES_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER
public static final int PASSWORD_LEAK_VERIFICATION_FIELD_NUMBER
public static final int ACCOUNT_DEFENDER_ASSESSMENT_FIELD_NUMBER
public static final int FRAUD_PREVENTION_ASSESSMENT_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. The resource name for the Assessment in the format
`projects/{project_number}/assessments/{assessment_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface AssessmentOrBuilderpublic 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];getNameBytes in interface AssessmentOrBuilderpublic boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;hasEvent in interface AssessmentOrBuilderpublic Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;getEvent in interface AssessmentOrBuilderpublic EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;getEventOrBuilder in interface AssessmentOrBuilderpublic 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];getScore in interface AssessmentOrBuilderpublic boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.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.v1beta1.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.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getTokenPropertiesOrBuilder in interface AssessmentOrBuilderpublic 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];
getReasonsList in interface AssessmentOrBuilderpublic 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];
getReasonsCount in interface AssessmentOrBuilderpublic 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];
getReasons in interface AssessmentOrBuilderindex - The index of the element to return.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];
getReasonsValueList in interface AssessmentOrBuilderpublic 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];
getReasonsValue in interface AssessmentOrBuilderindex - The index of the value to return.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;
hasPasswordLeakVerification in interface AssessmentOrBuilderpublic 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;
getPasswordLeakVerification in interface AssessmentOrBuilderpublic 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;
getPasswordLeakVerificationOrBuilder in interface AssessmentOrBuilderpublic boolean hasAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
hasAccountDefenderAssessment in interface AssessmentOrBuilderpublic AccountDefenderAssessment getAccountDefenderAssessment()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
getAccountDefenderAssessment in interface AssessmentOrBuilderpublic AccountDefenderAssessmentOrBuilder getAccountDefenderAssessmentOrBuilder()
Assessment returned by account defender when a hashed_account_id is provided.
.google.cloud.recaptchaenterprise.v1beta1.AccountDefenderAssessment account_defender_assessment = 8;
getAccountDefenderAssessmentOrBuilder in interface AssessmentOrBuilderpublic boolean hasFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
hasFraudPreventionAssessment in interface AssessmentOrBuilderpublic FraudPreventionAssessment getFraudPreventionAssessment()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
getFraudPreventionAssessment in interface AssessmentOrBuilderpublic FraudPreventionAssessmentOrBuilder getFraudPreventionAssessmentOrBuilder()
Assessment returned by Fraud Prevention when TransactionData is provided.
.google.cloud.recaptchaenterprise.v1beta1.FraudPreventionAssessment fraud_prevention_assessment = 11;
getFraudPreventionAssessmentOrBuilder 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 © 2023 Google LLC. All rights reserved.