public final class ScoreMetrics extends GeneratedMessageV3 implements ScoreMetricsOrBuilder
Metrics related to scoring.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreMetrics
Fields
ACTION_METRICS_FIELD_NUMBER
public static final int ACTION_METRICS_FIELD_NUMBER
Field Value
OVERALL_METRICS_FIELD_NUMBER
public static final int OVERALL_METRICS_FIELD_NUMBER
Field Value
Methods
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.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getActionMetrics()
public Map<String,ScoreDistribution> getActionMetrics()
Returns
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.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Returns
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.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Returns
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.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameters
Returns
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.
Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Parameter
Returns
getDefaultInstance()
public static ScoreMetrics getDefaultInstance()
Returns
getDefaultInstanceForType()
public ScoreMetrics getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getOverallMetrics()
public ScoreDistribution getOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
getOverallMetricsOrBuilder()
public ScoreDistributionOrBuilder getOverallMetricsOrBuilder()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Returns
getParserForType()
public Parser<ScoreMetrics> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static ScoreMetrics.Builder newBuilder()
Returns
newBuilder(ScoreMetrics prototype)
public static ScoreMetrics.Builder newBuilder(ScoreMetrics prototype)
Parameter
Returns
newBuilderForType()
public ScoreMetrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScoreMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static ScoreMetrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScoreMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ScoreMetrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ScoreMetrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScoreMetrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static ScoreMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static ScoreMetrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static ScoreMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ScoreMetrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<ScoreMetrics> parser()
Returns
toBuilder()
public ScoreMetrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions