Interface ScoreMetricsOrBuilder (3.1.0)

public interface ScoreMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsActionMetrics(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
boolean

getActionMetrics()

public abstract Map<String,ScoreDistribution> getActionMetrics()
Returns
TypeDescription
Map<String,ScoreDistribution>

getActionMetricsCount()

public abstract 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
TypeDescription
int

getActionMetricsMap()

public abstract 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
TypeDescription
Map<String,ScoreDistribution>

getActionMetricsOrDefault(String key, ScoreDistribution defaultValue)

public abstract 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
NameDescription
keyString
defaultValueScoreDistribution
Returns
TypeDescription
ScoreDistribution

getActionMetricsOrThrow(String key)

public abstract 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
NameDescription
keyString
Returns
TypeDescription
ScoreDistribution

getOverallMetrics()

public abstract ScoreDistribution getOverallMetrics()

Aggregated score metrics for all traffic.

.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;

Returns
TypeDescription
ScoreDistribution

The overallMetrics.

getOverallMetricsOrBuilder()

public abstract ScoreDistributionOrBuilder getOverallMetricsOrBuilder()

Aggregated score metrics for all traffic.

.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;

Returns
TypeDescription
ScoreDistributionOrBuilder

hasOverallMetrics()

public abstract boolean hasOverallMetrics()

Aggregated score metrics for all traffic.

.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;

Returns
TypeDescription
boolean

Whether the overallMetrics field is set.