public static final class ScoreDistribution.Builder extends GeneratedMessageV3.Builder<ScoreDistribution.Builder> implements ScoreDistributionOrBuilder
Score distribution.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreDistribution
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScoreDistribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ScoreDistribution build()
Returns
buildPartial()
public ScoreDistribution buildPartial()
Returns
clear()
public ScoreDistribution.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ScoreDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScoreDistribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearScoreBuckets()
public ScoreDistribution.Builder clearScoreBuckets()
Returns
clone()
public ScoreDistribution.Builder clone()
Returns
Overrides
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
getDefaultInstanceForType()
public ScoreDistribution getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getMutableScoreBuckets()
public Map<Integer,Long> getMutableScoreBuckets()
Use alternate mutation accessors instead.
Returns
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public ScoreDistribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ScoreDistribution.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(ScoreDistribution other)
public ScoreDistribution.Builder mergeFrom(ScoreDistribution other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScoreDistribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
putAllScoreBuckets(Map<Integer,Long> values)
public ScoreDistribution.Builder putAllScoreBuckets(Map<Integer,Long> values)
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
putScoreBuckets(int key, long value)
public ScoreDistribution.Builder putScoreBuckets(int key, long value)
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
Returns
removeScoreBuckets(int key)
public ScoreDistribution.Builder removeScoreBuckets(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
setField(Descriptors.FieldDescriptor field, Object value)
public ScoreDistribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScoreDistribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScoreDistribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides