public interface ScoreMetricsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getActionMetrics() (deprecated)
public abstract Map<String,ScoreDistribution> getActionMetrics()Use #getActionMetricsMap() instead.
| Returns | |
|---|---|
| Type | Description |
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Returns | |
|---|---|
| Type | Description |
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Returns | |
|---|---|
| Type | Description |
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
ScoreDistribution |
| Returns | |
|---|---|
| Type | Description |
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameter | |
|---|---|
| Name | Description |
key |
String |
| Returns | |
|---|---|
| Type | Description |
ScoreDistribution |
|
getOverallMetrics()
public abstract ScoreDistribution getOverallMetrics()Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
| Returns | |
|---|---|
| Type | Description |
ScoreDistribution |
The overallMetrics. |
getOverallMetricsOrBuilder()
public abstract ScoreDistributionOrBuilder getOverallMetricsOrBuilder()Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
| Returns | |
|---|---|
| Type | Description |
ScoreDistributionOrBuilder |
|
hasOverallMetrics()
public abstract 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. |