- 3.50.0 (latest)
- 3.49.0
- 3.48.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.42.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.30.0
- 3.29.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.14.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.0
- 3.1.0
- 3.0.12
- 2.6.1
- 2.5.0
- 2.4.10
- 2.3.1
public final class ScoreMetrics extends GeneratedMessageV3 implements ScoreMetricsOrBuilder
Metrics related to scoring.
Protobuf type google.cloud.recaptchaenterprise.v1.ScoreMetrics
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ScoreMetricsImplements
ScoreMetricsOrBuilderFields
ACTION_METRICS_FIELD_NUMBER
public static final int ACTION_METRICS_FIELD_NUMBER
Type | Description |
int |
OVERALL_METRICS_FIELD_NUMBER
public static final int OVERALL_METRICS_FIELD_NUMBER
Type | Description |
int |
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;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getActionMetrics()
public Map<String,ScoreDistribution> getActionMetrics()
Use #getActionMetricsMap() instead.
Type | Description |
Map<String,ScoreDistribution> |
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;
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. Populated only for SCORE keys.
map<string, .google.cloud.recaptchaenterprise.v1.ScoreDistribution> action_metrics = 2;
Type | Description |
Map<String,ScoreDistribution> |
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;
Name | Description |
key | String |
defaultValue | ScoreDistribution |
Type | Description |
ScoreDistribution |
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;
Name | Description |
key | String |
Type | Description |
ScoreDistribution |
getDefaultInstance()
public static ScoreMetrics getDefaultInstance()
Type | Description |
ScoreMetrics |
getDefaultInstanceForType()
public ScoreMetrics getDefaultInstanceForType()
Type | Description |
ScoreMetrics |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getOverallMetrics()
public ScoreDistribution getOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Type | Description |
ScoreDistribution | The overallMetrics. |
getOverallMetricsOrBuilder()
public ScoreDistributionOrBuilder getOverallMetricsOrBuilder()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Type | Description |
ScoreDistributionOrBuilder |
getParserForType()
public Parser<ScoreMetrics> getParserForType()
Type | Description |
Parser<ScoreMetrics> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasOverallMetrics()
public boolean hasOverallMetrics()
Aggregated score metrics for all traffic.
.google.cloud.recaptchaenterprise.v1.ScoreDistribution overall_metrics = 1;
Type | Description |
boolean | Whether the overallMetrics field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static ScoreMetrics.Builder newBuilder()
Type | Description |
ScoreMetrics.Builder |
newBuilder(ScoreMetrics prototype)
public static ScoreMetrics.Builder newBuilder(ScoreMetrics prototype)
Name | Description |
prototype | ScoreMetrics |
Type | Description |
ScoreMetrics.Builder |
newBuilderForType()
public ScoreMetrics.Builder newBuilderForType()
Type | Description |
ScoreMetrics.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ScoreMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ScoreMetrics.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static ScoreMetrics parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ScoreMetrics parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ScoreMetrics parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ScoreMetrics parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ScoreMetrics parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ScoreMetrics parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ScoreMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ScoreMetrics |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ScoreMetrics> parser()
Type | Description |
Parser<ScoreMetrics> |
toBuilder()
public ScoreMetrics.Builder toBuilder()
Type | Description |
ScoreMetrics.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |