Send feedback
Class ScoreMetrics.Builder (3.0.9)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.0.9 keyboard_arrow_down
public static final class ScoreMetrics . Builder extends GeneratedMessageV3 . Builder<ScoreMetrics . Builder > implements ScoreMetricsOrBuilder
Metrics related to scoring.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreMetrics
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScoreMetrics . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ScoreMetrics build ()
Returns
buildPartial()
public ScoreMetrics buildPartial ()
Returns
clear()
public ScoreMetrics . Builder clear ()
Returns
Overrides
clearActionMetrics()
public ScoreMetrics . Builder clearActionMetrics ()
Returns
clearField(Descriptors.FieldDescriptor field)
public ScoreMetrics . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScoreMetrics . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearOverallMetrics()
public ScoreMetrics . Builder clearOverallMetrics ()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
clone()
public ScoreMetrics . Builder clone ()
Returns
Overrides
containsActionMetrics(String key)
public boolean containsActionMetrics ( String key )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
getActionMetrics()
public Map<String , ScoreDistribution > getActionMetrics ()
Returns
getActionMetricsCount()
public int getActionMetricsCount ()
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Returns
getActionMetricsMap()
public Map<String , ScoreDistribution > getActionMetricsMap ()
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Returns
getActionMetricsOrDefault(String key, ScoreDistribution defaultValue)
public ScoreDistribution getActionMetricsOrDefault ( String key , ScoreDistribution defaultValue )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameters
Returns
getActionMetricsOrThrow(String key)
public ScoreDistribution getActionMetricsOrThrow ( String key )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
getDefaultInstanceForType()
public ScoreMetrics getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getMutableActionMetrics()
public Map<String , ScoreDistribution > getMutableActionMetrics ()
Use alternate mutation accessors instead.
Returns
getOverallMetrics()
public ScoreDistribution getOverallMetrics ()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
getOverallMetricsBuilder()
public ScoreDistribution . Builder getOverallMetricsBuilder ()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
getOverallMetricsOrBuilder()
public ScoreDistributionOrBuilder getOverallMetricsOrBuilder ()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
hasOverallMetrics()
public boolean hasOverallMetrics ()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
Type Description boolean Whether the overallMetrics field is set.
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 ScoreMetrics . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ScoreMetrics . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeFrom(ScoreMetrics other)
public ScoreMetrics . Builder mergeFrom ( ScoreMetrics other )
Parameter
Returns
mergeOverallMetrics(ScoreDistribution value)
public ScoreMetrics . Builder mergeOverallMetrics ( ScoreDistribution value )
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScoreMetrics . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
putActionMetrics(String key, ScoreDistribution value)
public ScoreMetrics . Builder putActionMetrics ( String key , ScoreDistribution value )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameters
Returns
putAllActionMetrics(Map<String,ScoreDistribution> values)
public ScoreMetrics . Builder putAllActionMetrics ( Map<String , ScoreDistribution > values )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
removeActionMetrics(String key)
public ScoreMetrics . Builder removeActionMetrics ( String key )
Action-based metrics. The map key is the action name which specified by the
site owners at time of the "execute" client-side call.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ScoreMetrics . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setOverallMetrics(ScoreDistribution value)
public ScoreMetrics . Builder setOverallMetrics ( ScoreDistribution value )
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Parameter
Returns
setOverallMetrics(ScoreDistribution.Builder builderForValue)
public ScoreMetrics . Builder setOverallMetrics ( ScoreDistribution . Builder builderForValue )
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Parameter
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScoreMetrics . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScoreMetrics . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]