- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public static final class Assessment.Builder extends GeneratedMessageV3.Builder<Assessment.Builder> implements AssessmentOrBuilder
A recaptcha assessment resource.
Protobuf type google.cloud.recaptchaenterprise.v1beta1.Assessment
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Assessment.BuilderImplements
AssessmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllReasons(Iterable<? extends Assessment.ClassificationReason> values)
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];
Name | Description |
values | Iterable<? extends com.google.recaptchaenterprise.v1beta1.Assessment.ClassificationReason> The reasons to add. |
Type | Description |
Assessment.Builder | This builder for chaining. |
addAllReasonsValue(Iterable<Integer> values)
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];
Name | Description |
values | Iterable<Integer> The enum numeric values on the wire for reasons to add. |
Type | Description |
Assessment.Builder | This builder for chaining. |
addReasons(Assessment.ClassificationReason value)
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];
Name | Description |
value | Assessment.ClassificationReason The reasons to add. |
Type | Description |
Assessment.Builder | This builder for chaining. |
addReasonsValue(int value)
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];
Name | Description |
value | int The enum numeric value on the wire for reasons to add. |
Type | Description |
Assessment.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Assessment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Assessment.Builder |
build()
public Assessment build()
Type | Description |
Assessment |
buildPartial()
public Assessment buildPartial()
Type | Description |
Assessment |
clear()
public Assessment.Builder clear()
Type | Description |
Assessment.Builder |
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;
Type | Description |
Assessment.Builder |
clearEvent()
public Assessment.Builder clearEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Type | Description |
Assessment.Builder |
clearField(Descriptors.FieldDescriptor field)
public Assessment.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Assessment.Builder |
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];
Type | Description |
Assessment.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Assessment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Assessment.Builder |
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;
Type | Description |
Assessment.Builder |
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];
Type | Description |
Assessment.Builder | 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];
Type | Description |
Assessment.Builder | This builder for chaining. |
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];
Type | Description |
Assessment.Builder |
clone()
public Assessment.Builder clone()
Type | Description |
Assessment.Builder |
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;
Type | Description |
AccountDefenderAssessment | The accountDefenderAssessment. |
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;
Type | Description |
AccountDefenderAssessment.Builder |
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;
Type | Description |
AccountDefenderAssessmentOrBuilder |
getDefaultInstanceForType()
public Assessment getDefaultInstanceForType()
Type | Description |
Assessment |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEvent()
public Event getEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Type | Description |
Event | The event. |
getEventBuilder()
public Event.Builder getEventBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Type | Description |
Event.Builder |
getEventOrBuilder()
public EventOrBuilder getEventOrBuilder()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Type | Description |
EventOrBuilder |
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];
Type | Description |
String | The name. |
getNameBytes()
public 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];
Type | Description |
ByteString | The bytes for name. |
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;
Type | Description |
PasswordLeakVerification | The passwordLeakVerification. |
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;
Type | Description |
PasswordLeakVerification.Builder |
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;
Type | Description |
PasswordLeakVerificationOrBuilder |
getReasons(int index)
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];
Name | Description |
index | int The index of the element to return. |
Type | Description |
Assessment.ClassificationReason | The reasons at the given index. |
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];
Type | Description |
int | The count of reasons. |
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];
Type | Description |
List<ClassificationReason> | A list containing the reasons. |
getReasonsValue(int index)
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];
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of reasons at the given index. |
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];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for reasons. |
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];
Type | Description |
float | The score. |
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];
Type | Description |
TokenProperties | The tokenProperties. |
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];
Type | Description |
TokenProperties.Builder |
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];
Type | Description |
TokenPropertiesOrBuilder |
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;
Type | Description |
boolean | Whether the accountDefenderAssessment field is set. |
hasEvent()
public boolean hasEvent()
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Type | Description |
boolean | Whether the event field is set. |
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;
Type | Description |
boolean | Whether the passwordLeakVerification field is set. |
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];
Type | Description |
boolean | Whether the tokenProperties field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeAccountDefenderAssessment(AccountDefenderAssessment value)
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;
Name | Description |
value | AccountDefenderAssessment |
Type | Description |
Assessment.Builder |
mergeEvent(Event value)
public Assessment.Builder mergeEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Name | Description |
value | Event |
Type | Description |
Assessment.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Assessment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Assessment.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Assessment.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Assessment.Builder |
mergeFrom(Assessment other)
public Assessment.Builder mergeFrom(Assessment other)
Name | Description |
other | Assessment |
Type | Description |
Assessment.Builder |
mergePasswordLeakVerification(PasswordLeakVerification value)
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;
Name | Description |
value | PasswordLeakVerification |
Type | Description |
Assessment.Builder |
mergeTokenProperties(TokenProperties value)
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];
Name | Description |
value | TokenProperties |
Type | Description |
Assessment.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Assessment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Assessment.Builder |
setAccountDefenderAssessment(AccountDefenderAssessment value)
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;
Name | Description |
value | AccountDefenderAssessment |
Type | Description |
Assessment.Builder |
setAccountDefenderAssessment(AccountDefenderAssessment.Builder builderForValue)
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;
Name | Description |
builderForValue | AccountDefenderAssessment.Builder |
Type | Description |
Assessment.Builder |
setEvent(Event value)
public Assessment.Builder setEvent(Event value)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Name | Description |
value | Event |
Type | Description |
Assessment.Builder |
setEvent(Event.Builder builderForValue)
public Assessment.Builder setEvent(Event.Builder builderForValue)
The event being assessed.
.google.cloud.recaptchaenterprise.v1beta1.Event event = 2;
Name | Description |
builderForValue | Event.Builder |
Type | Description |
Assessment.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Assessment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Assessment.Builder |
setName(String value)
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];
Name | Description |
value | String The name to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Assessment.Builder setNameBytes(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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setPasswordLeakVerification(PasswordLeakVerification value)
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;
Name | Description |
value | PasswordLeakVerification |
Type | Description |
Assessment.Builder |
setPasswordLeakVerification(PasswordLeakVerification.Builder builderForValue)
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;
Name | Description |
builderForValue | PasswordLeakVerification.Builder |
Type | Description |
Assessment.Builder |
setReasons(int index, Assessment.ClassificationReason value)
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];
Name | Description |
index | int The index to set the value at. |
value | Assessment.ClassificationReason The reasons to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setReasonsValue(int index, int value)
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];
Name | Description |
index | int The index to set the value at. |
value | int The enum numeric value on the wire for reasons to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Assessment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Assessment.Builder |
setScore(float value)
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];
Name | Description |
value | float The score to set. |
Type | Description |
Assessment.Builder | This builder for chaining. |
setTokenProperties(TokenProperties value)
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];
Name | Description |
value | TokenProperties |
Type | Description |
Assessment.Builder |
setTokenProperties(TokenProperties.Builder builderForValue)
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];
Name | Description |
builderForValue | TokenProperties.Builder |
Type | Description |
Assessment.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Assessment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Assessment.Builder |