public static final class ScoreMetrics.Builder extends GeneratedMessage.Builder<ScoreMetrics.Builder> implements ScoreMetricsOrBuilder
Metrics related to scoring.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreMetrics
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public ScoreMetrics build()
buildPartial()
public ScoreMetrics buildPartial()
clear()
public ScoreMetrics.Builder clear()
Overrides
clearActionMetrics()
public ScoreMetrics.Builder clearActionMetrics()
clearOverallMetrics()
public ScoreMetrics.Builder clearOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameter |
| Name |
Description |
key |
String
|
getActionMetrics() (deprecated)
public Map<String,ScoreDistribution> getActionMetrics()
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Returns |
| Type |
Description |
int |
|
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameter |
| Name |
Description |
key |
String
|
getDefaultInstanceForType()
public ScoreMetrics getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getMutableActionMetrics() (deprecated)
public Map<String,ScoreDistribution> getMutableActionMetrics()
Use alternate mutation accessors instead.
getOverallMetrics()
public ScoreDistribution getOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
getOverallMetricsBuilder()
public ScoreDistribution.Builder getOverallMetricsBuilder()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
getOverallMetricsOrBuilder()
public ScoreDistributionOrBuilder getOverallMetricsOrBuilder()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
isInitialized()
public final boolean isInitialized()
Overrides
public ScoreMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ScoreMetrics.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeFrom(ScoreMetrics other)
public ScoreMetrics.Builder mergeFrom(ScoreMetrics other)
mergeOverallMetrics(ScoreDistribution value)
public ScoreMetrics.Builder mergeOverallMetrics(ScoreDistribution value)
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
putActionMetricsBuilderIfAbsent(String key)
public ScoreDistribution.Builder putActionMetricsBuilderIfAbsent(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
|
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
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.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
| Parameter |
| Name |
Description |
key |
String
|
setOverallMetrics(ScoreDistribution value)
public ScoreMetrics.Builder setOverallMetrics(ScoreDistribution value)
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
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;