Interface MetricsOrBuilder (3.51.0)

public interface MetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChallengeMetrics(int index)

public abstract ChallengeMetrics getChallengeMetrics(int index)

Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
ChallengeMetrics

getChallengeMetricsCount()

public abstract int getChallengeMetricsCount()

Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;

Returns
Type Description
int

getChallengeMetricsList()

public abstract List<ChallengeMetrics> getChallengeMetricsList()

Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;

Returns
Type Description
List<ChallengeMetrics>

getChallengeMetricsOrBuilder(int index)

public abstract ChallengeMetricsOrBuilder getChallengeMetricsOrBuilder(int index)

Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;

Parameter
Name Description
index int
Returns
Type Description
ChallengeMetricsOrBuilder

getChallengeMetricsOrBuilderList()

public abstract List<? extends ChallengeMetricsOrBuilder> getChallengeMetricsOrBuilderList()

Metrics are continuous and in order by dates, and in the granularity of day. Only challenge-based keys (CHECKBOX, INVISIBLE) have challenge-based data.

repeated .google.cloud.recaptchaenterprise.v1.ChallengeMetrics challenge_metrics = 3;

Returns
Type Description
List<? extends com.google.recaptchaenterprise.v1.ChallengeMetricsOrBuilder>

getName()

public abstract String getName()

Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics.

string name = 4 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Identifier. The name of the metrics, in the format projects/{project}/keys/{key}/metrics.

string name = 4 [(.google.api.field_behavior) = IDENTIFIER, (.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getScoreMetrics(int index)

public abstract ScoreMetrics getScoreMetrics(int index)

Metrics are 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
Name Description
index int
Returns
Type Description
ScoreMetrics

getScoreMetricsCount()

public abstract int getScoreMetricsCount()

Metrics are 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
int

getScoreMetricsList()

public abstract List<ScoreMetrics> getScoreMetricsList()

Metrics are 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<ScoreMetrics>

getScoreMetricsOrBuilder(int index)

public abstract ScoreMetricsOrBuilder getScoreMetricsOrBuilder(int index)

Metrics are 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
Name Description
index int
Returns
Type Description
ScoreMetricsOrBuilder

getScoreMetricsOrBuilderList()

public abstract List<? extends ScoreMetricsOrBuilder> getScoreMetricsOrBuilderList()

Metrics are 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>

getStartTime()

public abstract Timestamp getStartTime()

Inclusive start time aligned to a day (UTC).

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
Timestamp

The startTime.

getStartTimeOrBuilder()

public abstract TimestampOrBuilder getStartTimeOrBuilder()

Inclusive start time aligned to a day (UTC).

.google.protobuf.Timestamp start_time = 1;

Returns
Type Description
TimestampOrBuilder

hasStartTime()

public abstract 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.