public static final class ScoreMetrics.Builder extends GeneratedMessageV3.Builder<ScoreMetrics.Builder> implements ScoreMetricsOrBuilder
Metrics related to scoring.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ScoreMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ScoreMetrics build()
buildPartial()
public ScoreMetrics buildPartial()
clear()
public ScoreMetrics.Builder clear()
Overrides
clearActionMetrics()
public ScoreMetrics.Builder clearActionMetrics()
clearField(Descriptors.FieldDescriptor field)
public ScoreMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ScoreMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOverallMetrics()
public ScoreMetrics.Builder clearOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
clone()
public ScoreMetrics.Builder clone()
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.
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 GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ScoreMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ScoreMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ScoreMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ScoreMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides