public final class Metrics extends GeneratedMessageV3 implements MetricsOrBuilder
Metrics for a single Key.
Protobuf type google.cloud.recaptchaenterprise.v1.Metrics
Fields
CHALLENGE_METRICS_FIELD_NUMBER
public static final int CHALLENGE_METRICS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
SCORE_METRICS_FIELD_NUMBER
public static final int SCORE_METRICS_FIELD_NUMBER
Field Value
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getChallengeMetrics(int index)
public ChallengeMetrics getChallengeMetrics(int index)
Metrics will be continuous and in order by dates, and in the granularity
of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
challenge-based data.
repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;
Parameter
Returns
getChallengeMetricsCount()
public int getChallengeMetricsCount()
Metrics will be continuous and in order by dates, and in the granularity
of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
challenge-based data.
repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;
Returns
getChallengeMetricsList()
public List<ChallengeMetrics> getChallengeMetricsList()
Metrics will be continuous and in order by dates, and in the granularity
of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
challenge-based data.
repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;
Returns
getChallengeMetricsOrBuilder(int index)
public ChallengeMetricsOrBuilder getChallengeMetricsOrBuilder(int index)
Metrics will be continuous and in order by dates, and in the granularity
of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
challenge-based data.
repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;
Parameter
Returns
getChallengeMetricsOrBuilderList()
public List<? extends ChallengeMetricsOrBuilder> getChallengeMetricsOrBuilderList()
Metrics will be continuous and in order by dates, and in the granularity
of day. Only challenge-based keys (CHECKBOX, INVISIBLE), will have
challenge-based data.
repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;
Returns
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.ChallengeMetricsOrBuilder> | |
getDefaultInstance()
public static Metrics getDefaultInstance()
Returns
getDefaultInstanceForType()
public Metrics getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getName()
Output only. The name of the metrics, in the format
"projects/{project}/keys/{key}/metrics".
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the metrics, in the format
"projects/{project}/keys/{key}/metrics".
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
getParserForType()
public Parser<Metrics> getParserForType()
Returns
Overrides
getScoreMetrics(int index)
public ScoreMetrics getScoreMetrics(int index)
Metrics will be continuous and in order by dates, and in the granularity
of day. All Key types should have score-based data.
repeated .google.cloud.recaptchaenterprise.v1.ScoreMetrics score_metrics = 2;
Parameter
Returns
getScoreMetricsCount()
public int getScoreMetricsCount()
Metrics will be continuous and in order by dates, and in the granularity
of day. All Key types should have score-based data.
repeated .google.cloud.recaptchaenterprise.v1.ScoreMetrics score_metrics = 2;
Returns
getScoreMetricsList()
public List<ScoreMetrics> getScoreMetricsList()
Metrics will be continuous and in order by dates, and in the granularity
of day. All Key types should have score-based data.
repeated .google.cloud.recaptchaenterprise.v1.ScoreMetrics score_metrics = 2;
Returns
getScoreMetricsOrBuilder(int index)
public ScoreMetricsOrBuilder getScoreMetricsOrBuilder(int index)
Metrics will be continuous and in order by dates, and in the granularity
of day. All Key types should have score-based data.
repeated .google.cloud.recaptchaenterprise.v1.ScoreMetrics score_metrics = 2;
Parameter
Returns
getScoreMetricsOrBuilderList()
public List<? extends ScoreMetricsOrBuilder> getScoreMetricsOrBuilderList()
Metrics will be continuous and in order by dates, and in the granularity
of day. All Key types should have score-based data.
repeated .google.cloud.recaptchaenterprise.v1.ScoreMetrics score_metrics = 2;
Returns
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.ScoreMetricsOrBuilder> | |
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStartTime()
public Timestamp getStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Returns
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasStartTime()
public boolean hasStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Returns
Type | Description |
boolean | Whether the startTime field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static Metrics.Builder newBuilder()
Returns
newBuilder(Metrics prototype)
public static Metrics.Builder newBuilder(Metrics prototype)
Parameter
Returns
newBuilderForType()
public Metrics.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Metrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static Metrics parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static Metrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static Metrics parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static Metrics parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metrics parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static Metrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Metrics parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static Metrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static Metrics parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<Metrics> parser()
Returns
toBuilder()
public Metrics.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions