- 3.75.0 (latest)
 - 3.73.0
 - 3.72.0
 - 3.71.0
 - 3.70.0
 - 3.69.0
 - 3.67.0
 - 3.65.0
 - 3.64.0
 - 3.61.0
 - 3.60.0
 - 3.59.0
 - 3.57.0
 - 3.56.0
 - 3.55.0
 - 3.54.0
 - 3.53.0
 - 3.52.0
 - 3.51.0
 - 3.50.0
 - 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 RiskAnalysis.Builder extends GeneratedMessageV3.Builder<RiskAnalysis.Builder> implements RiskAnalysisOrBuilderRisk analysis result for an event.
 Protobuf type google.cloud.recaptchaenterprise.v1.RiskAnalysis
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RiskAnalysis.BuilderImplements
RiskAnalysisOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description | 
| Descriptor | 
Methods
addAllReasons(Iterable<? extends RiskAnalysis.ClassificationReason> values)
public RiskAnalysis.Builder addAllReasons(Iterable<? extends RiskAnalysis.ClassificationReason> values)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| values | Iterable<? extends com.google.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason>The reasons to add.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
addAllReasonsValue(Iterable<Integer> values)
public RiskAnalysis.Builder addAllReasonsValue(Iterable<Integer> values)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| values | Iterable<Integer>The enum numeric values on the wire for reasons to add.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
addReasons(RiskAnalysis.ClassificationReason value)
public RiskAnalysis.Builder addReasons(RiskAnalysis.ClassificationReason value)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| value | RiskAnalysis.ClassificationReasonThe reasons to add.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
addReasonsValue(int value)
public RiskAnalysis.Builder addReasonsValue(int value)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| value | intThe enum numeric value on the wire for reasons to add.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RiskAnalysis.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
build()
public RiskAnalysis build()| Type | Description | 
| RiskAnalysis | 
buildPartial()
public RiskAnalysis buildPartial()| Type | Description | 
| RiskAnalysis | 
clear()
public RiskAnalysis.Builder clear()| Type | Description | 
| RiskAnalysis.Builder | 
clearField(Descriptors.FieldDescriptor field)
public RiskAnalysis.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description | 
| field | FieldDescriptor | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
clearOneof(Descriptors.OneofDescriptor oneof)
public RiskAnalysis.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description | 
| oneof | OneofDescriptor | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
clearReasons()
public RiskAnalysis.Builder clearReasons()Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
clearScore()
public RiskAnalysis.Builder clearScore()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 = 1;
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
clone()
public RiskAnalysis.Builder clone()| Type | Description | 
| RiskAnalysis.Builder | 
getDefaultInstanceForType()
public RiskAnalysis getDefaultInstanceForType()| Type | Description | 
| RiskAnalysis | 
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description | 
| Descriptor | 
getReasons(int index)
public RiskAnalysis.ClassificationReason getReasons(int index)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| index | intThe index of the element to return.  | 
      
| Type | Description | 
| RiskAnalysis.ClassificationReason | The reasons at the given index.  | 
      
getReasonsCount()
public int getReasonsCount()Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Type | Description | 
| int | The count of reasons.  | 
      
getReasonsList()
public List<RiskAnalysis.ClassificationReason> getReasonsList()Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Type | Description | 
| List<ClassificationReason> | A list containing the reasons.  | 
      
getReasonsValue(int index)
public int getReasonsValue(int index)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| index | intThe 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()Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Type | Description | 
| List<Integer> | A list containing the enum numeric values on the wire for reasons.  | 
      
getScore()
public float getScore()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 = 1;
| Type | Description | 
| float | The score.  | 
      
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description | 
| FieldAccessorTable | 
isInitialized()
public final boolean isInitialized()| Type | Description | 
| boolean | 
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RiskAnalysis.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description | 
| input | CodedInputStream | 
      
| extensionRegistry | ExtensionRegistryLite | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
| Type | Description | 
| IOException | 
mergeFrom(Message other)
public RiskAnalysis.Builder mergeFrom(Message other)| Name | Description | 
| other | Message | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
mergeFrom(RiskAnalysis other)
public RiskAnalysis.Builder mergeFrom(RiskAnalysis other)| Name | Description | 
| other | RiskAnalysis | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RiskAnalysis.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
setField(Descriptors.FieldDescriptor field, Object value)
public RiskAnalysis.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| value | Object | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
setReasons(int index, RiskAnalysis.ClassificationReason value)
public RiskAnalysis.Builder setReasons(int index, RiskAnalysis.ClassificationReason value)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| index | intThe index to set the value at.  | 
      
| value | RiskAnalysis.ClassificationReasonThe reasons to set.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
setReasonsValue(int index, int value)
public RiskAnalysis.Builder setReasonsValue(int index, int value)Reasons contributing to the risk analysis verdict.
 
 repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2;
 
| Name | Description | 
| index | intThe index of the value to return.  | 
      
| value | int | 
      
| Type | Description | 
| RiskAnalysis.Builder | The enum numeric value on the wire of reasons at the given index.  | 
      
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RiskAnalysis.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description | 
| field | FieldDescriptor | 
      
| index | int | 
      
| value | Object | 
      
| Type | Description | 
| RiskAnalysis.Builder | 
setScore(float value)
public RiskAnalysis.Builder setScore(float value)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 = 1;
| Name | Description | 
| value | floatThe score to set.  | 
      
| Type | Description | 
| RiskAnalysis.Builder | This builder for chaining.  | 
      
setUnknownFields(UnknownFieldSet unknownFields)
public final RiskAnalysis.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description | 
| unknownFields | UnknownFieldSet | 
      
| Type | Description | 
| RiskAnalysis.Builder |