- 3.52.0 (latest)
- 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 ScoreDistribution.Builder extends GeneratedMessageV3.Builder<ScoreDistribution.Builder> implements ScoreDistributionOrBuilder
Score distribution.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreDistribution
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ScoreDistribution.BuilderImplements
ScoreDistributionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScoreDistribution.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ScoreDistribution.Builder |
build()
public ScoreDistribution build()
Type | Description |
ScoreDistribution |
buildPartial()
public ScoreDistribution buildPartial()
Type | Description |
ScoreDistribution |
clear()
public ScoreDistribution.Builder clear()
Type | Description |
ScoreDistribution.Builder |
clearField(Descriptors.FieldDescriptor field)
public ScoreDistribution.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ScoreDistribution.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ScoreDistribution.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ScoreDistribution.Builder |
clearScoreBuckets()
public ScoreDistribution.Builder clearScoreBuckets()
Type | Description |
ScoreDistribution.Builder |
clone()
public ScoreDistribution.Builder clone()
Type | Description |
ScoreDistribution.Builder |
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;
Name | Description |
key | int |
Type | Description |
boolean |
getDefaultInstanceForType()
public ScoreDistribution getDefaultInstanceForType()
Type | Description |
ScoreDistribution |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getMutableScoreBuckets()
public Map<Integer,Long> getMutableScoreBuckets()
Use alternate mutation accessors instead.
Type | Description |
Map<Integer,java.lang.Long> |
getScoreBuckets()
public Map<Integer,Long> getScoreBuckets()
Use #getScoreBucketsMap() instead.
Type | Description |
Map<Integer,java.lang.Long> |
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;
Type | Description |
int |
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;
Type | Description |
Map<Integer,java.lang.Long> |
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;
Name | Description |
key | int |
defaultValue | long |
Type | Description |
long |
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;
Name | Description |
key | int |
Type | Description |
long |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ScoreDistribution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreDistribution.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ScoreDistribution.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ScoreDistribution.Builder |
mergeFrom(ScoreDistribution other)
public ScoreDistribution.Builder mergeFrom(ScoreDistribution other)
Name | Description |
other | ScoreDistribution |
Type | Description |
ScoreDistribution.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScoreDistribution.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ScoreDistribution.Builder |
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;
Name | Description |
values | Map<Integer,java.lang.Long> |
Type | Description |
ScoreDistribution.Builder |
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;
Name | Description |
key | int |
value | long |
Type | Description |
ScoreDistribution.Builder |
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;
Name | Description |
key | int |
Type | Description |
ScoreDistribution.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ScoreDistribution.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ScoreDistribution.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScoreDistribution.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ScoreDistribution.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ScoreDistribution.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ScoreDistribution.Builder |