- 3.51.0 (latest)
- 3.50.0
- 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 static final class Metrics.Builder extends GeneratedMessageV3.Builder<Metrics.Builder> implements MetricsOrBuilder
Metrics for a single Key.
Protobuf type google.cloud.recaptchaenterprise.v1.Metrics
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Metrics.BuilderImplements
MetricsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllChallengeMetrics(Iterable<? extends ChallengeMetrics> values)
public Metrics.Builder addAllChallengeMetrics(Iterable<? extends ChallengeMetrics> values)
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;
Name | Description |
values | Iterable<? extends com.google.recaptchaenterprise.v1.ChallengeMetrics> |
Type | Description |
Metrics.Builder |
addAllScoreMetrics(Iterable<? extends ScoreMetrics> values)
public Metrics.Builder addAllScoreMetrics(Iterable<? extends ScoreMetrics> values)
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;
Name | Description |
values | Iterable<? extends com.google.recaptchaenterprise.v1.ScoreMetrics> |
Type | Description |
Metrics.Builder |
addChallengeMetrics(ChallengeMetrics value)
public Metrics.Builder addChallengeMetrics(ChallengeMetrics value)
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;
Name | Description |
value | ChallengeMetrics |
Type | Description |
Metrics.Builder |
addChallengeMetrics(ChallengeMetrics.Builder builderForValue)
public Metrics.Builder addChallengeMetrics(ChallengeMetrics.Builder builderForValue)
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;
Name | Description |
builderForValue | ChallengeMetrics.Builder |
Type | Description |
Metrics.Builder |
addChallengeMetrics(int index, ChallengeMetrics value)
public Metrics.Builder addChallengeMetrics(int index, ChallengeMetrics value)
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;
Name | Description |
index | int |
value | ChallengeMetrics |
Type | Description |
Metrics.Builder |
addChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue)
public Metrics.Builder addChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ChallengeMetrics.Builder |
Type | Description |
Metrics.Builder |
addChallengeMetricsBuilder()
public ChallengeMetrics.Builder addChallengeMetricsBuilder()
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;
Type | Description |
ChallengeMetrics.Builder |
addChallengeMetricsBuilder(int index)
public ChallengeMetrics.Builder addChallengeMetricsBuilder(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;
Name | Description |
index | int |
Type | Description |
ChallengeMetrics.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Metrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Metrics.Builder |
addScoreMetrics(ScoreMetrics value)
public Metrics.Builder addScoreMetrics(ScoreMetrics value)
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;
Name | Description |
value | ScoreMetrics |
Type | Description |
Metrics.Builder |
addScoreMetrics(ScoreMetrics.Builder builderForValue)
public Metrics.Builder addScoreMetrics(ScoreMetrics.Builder builderForValue)
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;
Name | Description |
builderForValue | ScoreMetrics.Builder |
Type | Description |
Metrics.Builder |
addScoreMetrics(int index, ScoreMetrics value)
public Metrics.Builder addScoreMetrics(int index, ScoreMetrics value)
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;
Name | Description |
index | int |
value | ScoreMetrics |
Type | Description |
Metrics.Builder |
addScoreMetrics(int index, ScoreMetrics.Builder builderForValue)
public Metrics.Builder addScoreMetrics(int index, ScoreMetrics.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ScoreMetrics.Builder |
Type | Description |
Metrics.Builder |
addScoreMetricsBuilder()
public ScoreMetrics.Builder addScoreMetricsBuilder()
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;
Type | Description |
ScoreMetrics.Builder |
addScoreMetricsBuilder(int index)
public ScoreMetrics.Builder addScoreMetricsBuilder(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;
Name | Description |
index | int |
Type | Description |
ScoreMetrics.Builder |
build()
public Metrics build()
Type | Description |
Metrics |
buildPartial()
public Metrics buildPartial()
Type | Description |
Metrics |
clear()
public Metrics.Builder clear()
Type | Description |
Metrics.Builder |
clearChallengeMetrics()
public Metrics.Builder clearChallengeMetrics()
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;
Type | Description |
Metrics.Builder |
clearField(Descriptors.FieldDescriptor field)
public Metrics.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Metrics.Builder |
clearName()
public Metrics.Builder clearName()
Output only. The name of the metrics, in the format "projects/{project}/keys/{key}/metrics".
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
Metrics.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Metrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Metrics.Builder |
clearScoreMetrics()
public Metrics.Builder clearScoreMetrics()
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;
Type | Description |
Metrics.Builder |
clearStartTime()
public Metrics.Builder clearStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Metrics.Builder |
clone()
public Metrics.Builder clone()
Type | Description |
Metrics.Builder |
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;
Name | Description |
index | int |
Type | Description |
ChallengeMetrics |
getChallengeMetricsBuilder(int index)
public ChallengeMetrics.Builder getChallengeMetricsBuilder(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;
Name | Description |
index | int |
Type | Description |
ChallengeMetrics.Builder |
getChallengeMetricsBuilderList()
public List<ChallengeMetrics.Builder> getChallengeMetricsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<ChallengeMetrics> |
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;
Name | Description |
index | int |
Type | Description |
ChallengeMetricsOrBuilder |
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;
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.ChallengeMetricsOrBuilder> |
getDefaultInstanceForType()
public Metrics getDefaultInstanceForType()
Type | Description |
Metrics |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String 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];
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];
Type | Description |
ByteString | The bytes for name. |
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;
Name | Description |
index | int |
Type | Description |
ScoreMetrics |
getScoreMetricsBuilder(int index)
public ScoreMetrics.Builder getScoreMetricsBuilder(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;
Name | Description |
index | int |
Type | Description |
ScoreMetrics.Builder |
getScoreMetricsBuilderList()
public List<ScoreMetrics.Builder> getScoreMetricsBuilderList()
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;
Type | Description |
List<Builder> |
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;
Type | Description |
int |
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;
Type | Description |
List<ScoreMetrics> |
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;
Name | Description |
index | int |
Type | Description |
ScoreMetricsOrBuilder |
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;
Type | Description |
List<? extends com.google.recaptchaenterprise.v1.ScoreMetricsOrBuilder> |
getStartTime()
public Timestamp getStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Type | Description |
TimestampOrBuilder |
hasStartTime()
public boolean hasStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Metrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Metrics.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Metrics.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Metrics.Builder |
mergeFrom(Metrics other)
public Metrics.Builder mergeFrom(Metrics other)
Name | Description |
other | Metrics |
Type | Description |
Metrics.Builder |
mergeStartTime(Timestamp value)
public Metrics.Builder mergeStartTime(Timestamp value)
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
Metrics.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Metrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Metrics.Builder |
removeChallengeMetrics(int index)
public Metrics.Builder removeChallengeMetrics(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;
Name | Description |
index | int |
Type | Description |
Metrics.Builder |
removeScoreMetrics(int index)
public Metrics.Builder removeScoreMetrics(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;
Name | Description |
index | int |
Type | Description |
Metrics.Builder |
setChallengeMetrics(int index, ChallengeMetrics value)
public Metrics.Builder setChallengeMetrics(int index, ChallengeMetrics value)
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;
Name | Description |
index | int |
value | ChallengeMetrics |
Type | Description |
Metrics.Builder |
setChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue)
public Metrics.Builder setChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ChallengeMetrics.Builder |
Type | Description |
Metrics.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Metrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Metrics.Builder |
setName(String value)
public Metrics.Builder setName(String value)
Output only. The name of the metrics, in the format "projects/{project}/keys/{key}/metrics".
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
Metrics.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Metrics.Builder setNameBytes(ByteString value)
Output only. The name of the metrics, in the format "projects/{project}/keys/{key}/metrics".
string name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Metrics.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Metrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Metrics.Builder |
setScoreMetrics(int index, ScoreMetrics value)
public Metrics.Builder setScoreMetrics(int index, ScoreMetrics value)
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;
Name | Description |
index | int |
value | ScoreMetrics |
Type | Description |
Metrics.Builder |
setScoreMetrics(int index, ScoreMetrics.Builder builderForValue)
public Metrics.Builder setScoreMetrics(int index, ScoreMetrics.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | ScoreMetrics.Builder |
Type | Description |
Metrics.Builder |
setStartTime(Timestamp value)
public Metrics.Builder setStartTime(Timestamp value)
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Name | Description |
value | Timestamp |
Type | Description |
Metrics.Builder |
setStartTime(Timestamp.Builder builderForValue)
public Metrics.Builder setStartTime(Timestamp.Builder builderForValue)
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Name | Description |
builderForValue | Builder |
Type | Description |
Metrics.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Metrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Metrics.Builder |