public final class RiskAnalysis extends GeneratedMessageV3 implements RiskAnalysisOrBuilder
Risk analysis result for an event.
Protobuf type google.cloud.recaptchaenterprise.v1.RiskAnalysis
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXTENDED_VERDICT_REASONS_FIELD_NUMBER
public static final int EXTENDED_VERDICT_REASONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
REASONS_FIELD_NUMBER
public static final int REASONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RiskAnalysis getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RiskAnalysis.Builder newBuilder()
newBuilder(RiskAnalysis prototype)
public static RiskAnalysis.Builder newBuilder(RiskAnalysis prototype)
public static RiskAnalysis parseDelimitedFrom(InputStream input)
public static RiskAnalysis parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RiskAnalysis parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RiskAnalysis parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(CodedInputStream input)
public static RiskAnalysis parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(InputStream input)
public static RiskAnalysis parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RiskAnalysis parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RiskAnalysis parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RiskAnalysis> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RiskAnalysis getDefaultInstanceForType()
getExtendedVerdictReasons(int index)
public String getExtendedVerdictReasons(int index)
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
Returns |
Type |
Description |
String |
The extendedVerdictReasons at the given index.
|
getExtendedVerdictReasonsBytes(int index)
public ByteString getExtendedVerdictReasonsBytes(int index)
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
Type |
Description |
ByteString |
The bytes of the extendedVerdictReasons at the given index.
|
getExtendedVerdictReasonsCount()
public int getExtendedVerdictReasonsCount()
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The count of extendedVerdictReasons.
|
getExtendedVerdictReasonsList()
public ProtocolStringList getExtendedVerdictReasonsList()
Output only. Extended verdict reasons to be used for experimentation only.
The set of possible reasons is subject to change.
repeated string extended_verdict_reasons = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getParserForType()
public Parser<RiskAnalysis> getParserForType()
Overrides
getReasons(int index)
public RiskAnalysis.ClassificationReason getReasons(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the element to return.
|
getReasonsCount()
public int getReasonsCount()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
int |
The count of reasons.
|
getReasonsList()
public List<RiskAnalysis.ClassificationReason> getReasonsList()
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReasonsValue(int index)
public int getReasonsValue(int index)
Output only. Reasons contributing to the risk analysis verdict.
repeated .google.cloud.recaptchaenterprise.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
Name |
Description |
index |
int
The index of the value to return.
|
Returns |
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.v1.RiskAnalysis.ClassificationReason reasons = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
List<Integer> |
A list containing the enum numeric values on the wire for reasons.
|
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 = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
float |
The score.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RiskAnalysis.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RiskAnalysis.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RiskAnalysis.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides