public final class Metrics extends GeneratedMessageV3 implements MetricsOrBuilder
Metrics for a single Key.
Protobuf type google.cloud.recaptchaenterprise.v1.Metrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CHALLENGE_METRICS_FIELD_NUMBER
public static final int CHALLENGE_METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SCORE_METRICS_FIELD_NUMBER
public static final int SCORE_METRICS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
START_TIME_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Metrics getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Metrics.Builder newBuilder()
newBuilder(Metrics prototype)
public static Metrics.Builder newBuilder(Metrics prototype)
Parameter |
---|
Name | Description |
prototype | Metrics
|
public static Metrics parseDelimitedFrom(InputStream input)
public static Metrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Metrics parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Metrics parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(CodedInputStream input)
public static Metrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(InputStream input)
public static Metrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Metrics parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Metrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Metrics> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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 |
---|
Name | Description |
index | int
|
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 |
---|
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;
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 |
---|
Name | Description |
index | int
|
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> | |
getDefaultInstanceForType()
public Metrics getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for name.
|
getParserForType()
public Parser<Metrics> getParserForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
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;
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
Overrides
getStartTime()
public Timestamp getStartTime()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
Returns |
---|
Type | Description |
Timestamp | The startTime.
|
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
Inclusive start time aligned to a day (UTC).
.google.protobuf.Timestamp start_time = 1;
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Metrics.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Metrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Metrics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides