public final class ScoreDistribution extends GeneratedMessageV3 implements ScoreDistributionOrBuilder
Score distribution.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreDistribution
Fields
SCORE_BUCKETS_FIELD_NUMBER
public static final int SCORE_BUCKETS_FIELD_NUMBER
Field Value
Methods
containsScoreBuckets(int key)
public boolean containsScoreBuckets(int key)
Map key is score value multiplied by 100. The scores are discrete values
between [0, 1]. The maximum number of buckets is on order of a few dozen,
but typically much lower (ie. 10).
map<int32, int64> score_buckets = 1;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstance()
public static ScoreDistribution getDefaultInstance()
Returns
getDefaultInstanceForType()
public ScoreDistribution getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getParserForType()
public Parser<ScoreDistribution> getParserForType()
Returns
Overrides
getScoreBuckets()
public Map<Integer,Long> getScoreBuckets()
Returns
getScoreBucketsCount()
public int getScoreBucketsCount()
Map key is score value multiplied by 100. The scores are discrete values
between [0, 1]. The maximum number of buckets is on order of a few dozen,
but typically much lower (ie. 10).
map<int32, int64> score_buckets = 1;
Returns
getScoreBucketsMap()
public Map<Integer,Long> getScoreBucketsMap()
Map key is score value multiplied by 100. The scores are discrete values
between [0, 1]. The maximum number of buckets is on order of a few dozen,
but typically much lower (ie. 10).
map<int32, int64> score_buckets = 1;
Returns
getScoreBucketsOrDefault(int key, long defaultValue)
public long getScoreBucketsOrDefault(int key, long defaultValue)
Map key is score value multiplied by 100. The scores are discrete values
between [0, 1]. The maximum number of buckets is on order of a few dozen,
but typically much lower (ie. 10).
map<int32, int64> score_buckets = 1;
Parameters
Name | Description |
key | int
|
defaultValue | long
|
Returns
getScoreBucketsOrThrow(int key)
public long getScoreBucketsOrThrow(int key)
Map key is score value multiplied by 100. The scores are discrete values
between [0, 1]. The maximum number of buckets is on order of a few dozen,
but typically much lower (ie. 10).
map<int32, int64> score_buckets = 1;
Parameter
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ScoreDistribution.Builder newBuilder()
Returns
newBuilder(ScoreDistribution prototype)
public static ScoreDistribution.Builder newBuilder(ScoreDistribution prototype)
Parameter
Returns
newBuilderForType()
public ScoreDistribution.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScoreDistribution.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ScoreDistribution parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScoreDistribution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScoreDistribution parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScoreDistribution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScoreDistribution parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScoreDistribution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScoreDistribution parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScoreDistribution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScoreDistribution parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScoreDistribution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScoreDistribution parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScoreDistribution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScoreDistribution> parser()
Returns
toBuilder()
public ScoreDistribution.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions