Class Metrics.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
com.google.recaptchaenterprise.v1.Metrics.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,MetricsOrBuilder,Cloneable
- Enclosing class:
- Metrics
public static final class Metrics.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
implements MetricsOrBuilder
Metrics for a single Key.Protobuf type
google.cloud.recaptchaenterprise.v1.Metrics-
Method Summary
Modifier and TypeMethodDescriptionaddAllChallengeMetrics(Iterable<? extends ChallengeMetrics> values) Metrics are continuous and in order by dates, and in the granularity of day.addAllScoreMetrics(Iterable<? extends ScoreMetrics> values) Metrics are continuous and in order by dates, and in the granularity of day.addChallengeMetrics(int index, ChallengeMetrics value) Metrics are continuous and in order by dates, and in the granularity of day.addChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.addChallengeMetrics(ChallengeMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.addChallengeMetricsBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.addScoreMetrics(int index, ScoreMetrics value) Metrics are continuous and in order by dates, and in the granularity of day.addScoreMetrics(int index, ScoreMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.addScoreMetrics(ScoreMetrics value) Metrics are continuous and in order by dates, and in the granularity of day.addScoreMetrics(ScoreMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.addScoreMetricsBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.build()clear()Metrics are continuous and in order by dates, and in the granularity of day.Output only.Metrics are continuous and in order by dates, and in the granularity of day.Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.getChallengeMetrics(int index) Metrics are continuous and in order by dates, and in the granularity of day.getChallengeMetricsBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.intMetrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.getChallengeMetricsOrBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.List<? extends ChallengeMetricsOrBuilder>Metrics are continuous and in order by dates, and in the granularity of day.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Output only.com.google.protobuf.ByteStringOutput only.getScoreMetrics(int index) Metrics are continuous and in order by dates, and in the granularity of day.getScoreMetricsBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.intMetrics are continuous and in order by dates, and in the granularity of day.Metrics are continuous and in order by dates, and in the granularity of day.getScoreMetricsOrBuilder(int index) Metrics are continuous and in order by dates, and in the granularity of day.List<? extends ScoreMetricsOrBuilder>Metrics are continuous and in order by dates, and in the granularity of day.com.google.protobuf.TimestampInclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.com.google.protobuf.Timestamp.BuilderInclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.com.google.protobuf.TimestampOrBuilderInclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.booleanInclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStartTime(com.google.protobuf.Timestamp value) Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.removeChallengeMetrics(int index) Metrics are continuous and in order by dates, and in the granularity of day.removeScoreMetrics(int index) Metrics are continuous and in order by dates, and in the granularity of day.setChallengeMetrics(int index, ChallengeMetrics value) Metrics are continuous and in order by dates, and in the granularity of day.setChallengeMetrics(int index, ChallengeMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setScoreMetrics(int index, ScoreMetrics value) Metrics are continuous and in order by dates, and in the granularity of day.setScoreMetrics(int index, ScoreMetrics.Builder builderForValue) Metrics are continuous and in order by dates, and in the granularity of day.setStartTime(com.google.protobuf.Timestamp value) Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Metrics.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Metrics.Builder>
-
mergeFrom
public Metrics.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Metrics.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceMetricsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceMetricsOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
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:
- This builder for chaining.
-
setNameBytes
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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasStartTime
public boolean hasStartTime()Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1;- Specified by:
hasStartTimein interfaceMetricsOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimein interfaceMetricsOrBuilder- Returns:
- The startTime.
-
setStartTime
Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1; -
setStartTime
Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1; -
mergeStartTime
Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1; -
clearStartTime
Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()Inclusive start time aligned to a day in the America/Los_Angeles (Pacific) timezone.
.google.protobuf.Timestamp start_time = 1;- Specified by:
getStartTimeOrBuilderin interfaceMetricsOrBuilder
-
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;- Specified by:
getScoreMetricsListin interfaceMetricsOrBuilder
-
getScoreMetricsCount
public 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;- Specified by:
getScoreMetricsCountin interfaceMetricsOrBuilder
-
getScoreMetrics
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;- Specified by:
getScoreMetricsin interfaceMetricsOrBuilder
-
setScoreMetrics
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; -
setScoreMetrics
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; -
addScoreMetrics
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; -
addScoreMetrics
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; -
addScoreMetrics
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; -
addScoreMetrics
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; -
addAllScoreMetrics
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; -
clearScoreMetrics
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; -
removeScoreMetrics
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; -
getScoreMetricsBuilder
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; -
getScoreMetricsOrBuilder
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;- Specified by:
getScoreMetricsOrBuilderin interfaceMetricsOrBuilder
-
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;- Specified by:
getScoreMetricsOrBuilderListin interfaceMetricsOrBuilder
-
addScoreMetricsBuilder
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; -
addScoreMetricsBuilder
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; -
getScoreMetricsBuilderList
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; -
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;- Specified by:
getChallengeMetricsListin interfaceMetricsOrBuilder
-
getChallengeMetricsCount
public 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;- Specified by:
getChallengeMetricsCountin interfaceMetricsOrBuilder
-
getChallengeMetrics
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;- Specified by:
getChallengeMetricsin interfaceMetricsOrBuilder
-
setChallengeMetrics
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; -
setChallengeMetrics
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; -
addChallengeMetrics
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; -
addChallengeMetrics
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; -
addChallengeMetrics
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; -
addChallengeMetrics
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; -
addAllChallengeMetrics
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; -
clearChallengeMetrics
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; -
removeChallengeMetrics
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; -
getChallengeMetricsBuilder
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; -
getChallengeMetricsOrBuilder
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;- Specified by:
getChallengeMetricsOrBuilderin interfaceMetricsOrBuilder
-
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;- Specified by:
getChallengeMetricsOrBuilderListin interfaceMetricsOrBuilder
-
addChallengeMetricsBuilder
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; -
addChallengeMetricsBuilder
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; -
getChallengeMetricsBuilderList
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;
-