Interface ScoreMetricsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ScoreMetrics
,ScoreMetrics.Builder
public interface ScoreMetricsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsActionMetrics(String key)
Action-based metrics.Map<String,ScoreDistribution>
getActionMetrics()
Deprecated.int
getActionMetricsCount()
Action-based metrics.Map<String,ScoreDistribution>
getActionMetricsMap()
Action-based metrics.ScoreDistribution
getActionMetricsOrDefault(String key, ScoreDistribution defaultValue)
Action-based metrics.ScoreDistribution
getActionMetricsOrThrow(String key)
Action-based metrics.ScoreDistribution
getOverallMetrics()
Aggregated score metrics for all traffic.ScoreDistributionOrBuilder
getOverallMetricsOrBuilder()
Aggregated score metrics for all traffic.boolean
hasOverallMetrics()
Aggregated score metrics for all traffic.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasOverallMetrics
boolean hasOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
- Returns:
- Whether the overallMetrics field is set.
-
getOverallMetrics
ScoreDistribution getOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
- Returns:
- The overallMetrics.
-
getOverallMetricsOrBuilder
ScoreDistributionOrBuilder getOverallMetricsOrBuilder()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
-
getActionMetricsCount
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;
-
containsActionMetrics
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;
-
getActionMetrics
@Deprecated Map<String,ScoreDistribution> getActionMetrics()
Deprecated.UsegetActionMetricsMap()
instead.
-
getActionMetricsMap
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;
-
getActionMetricsOrDefault
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;
-
getActionMetricsOrThrow
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;
-
-