public interface AssessmentOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Event |
getEvent()
The event being assessed.
|
EventOrBuilder |
getEventOrBuilder()
The event being assessed.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
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.
|
TokenPropertiesOrBuilder |
getTokenPropertiesOrBuilder()
Output only.
|
boolean |
hasEvent()
The event being assessed.
|
boolean |
hasTokenProperties()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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];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];boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;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];boolean hasTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
TokenProperties getTokenProperties()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
TokenPropertiesOrBuilder getTokenPropertiesOrBuilder()
Output only. Properties of the provided event token.
.google.cloud.recaptchaenterprise.v1beta1.TokenProperties token_properties = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
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];
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];
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];
index - The index of the element to return.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];
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];
index - The index of the value to return.Copyright © 2022 Google LLC. All rights reserved.