public interface MetricValueOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(java.lang.String key)
The labels describing the metric value.
|
boolean |
getBoolValue()
A boolean value.
|
Distribution |
getDistributionValue()
A distribution value.
|
DistributionOrBuilder |
getDistributionValueOrBuilder()
A distribution value.
|
double |
getDoubleValue()
A double precision floating point value.
|
com.google.protobuf.Timestamp |
getEndTime()
The end of the time period over which this metric value's measurement
applies.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end of the time period over which this metric value's measurement
applies.
|
long |
getInt64Value()
A signed 64-bit integer value.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
The labels describing the metric value.
|
java.util.Map<java.lang.String,java.lang.String> |
getLabelsMap()
The labels describing the metric value.
|
java.lang.String |
getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The labels describing the metric value.
|
java.lang.String |
getLabelsOrThrow(java.lang.String key)
The labels describing the metric value.
|
com.google.protobuf.Timestamp |
getStartTime()
The start of the time period over which this metric value's measurement
applies.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start of the time period over which this metric value's measurement
applies.
|
java.lang.String |
getStringValue()
A text string value.
|
com.google.protobuf.ByteString |
getStringValueBytes()
A text string value.
|
MetricValue.ValueCase |
getValueCase() |
boolean |
hasEndTime()
The end of the time period over which this metric value's measurement
applies.
|
boolean |
hasStartTime()
The start of the time period over which this metric value's measurement
applies.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getLabelsCount()
The labels describing the metric value. See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for the overriding relationship.
map<string, string> labels = 1;boolean containsLabels(java.lang.String key)
The labels describing the metric value. See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for the overriding relationship.
map<string, string> labels = 1;@Deprecated java.util.Map<java.lang.String,java.lang.String> getLabels()
getLabelsMap() instead.java.util.Map<java.lang.String,java.lang.String> getLabelsMap()
The labels describing the metric value. See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for the overriding relationship.
map<string, string> labels = 1;java.lang.String getLabelsOrDefault(java.lang.String key,
java.lang.String defaultValue)
The labels describing the metric value. See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for the overriding relationship.
map<string, string> labels = 1;java.lang.String getLabelsOrThrow(java.lang.String key)
The labels describing the metric value. See comments on [google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels] for the overriding relationship.
map<string, string> labels = 1;boolean hasStartTime()
The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.
.google.protobuf.Timestamp start_time = 2;com.google.protobuf.Timestamp getStartTime()
The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.
.google.protobuf.Timestamp start_time = 2;com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The start of the time period over which this metric value's measurement applies. The time period has different semantics for different metric types (cumulative, delta, and gauge). See the metric definition documentation in the service configuration for details.
.google.protobuf.Timestamp start_time = 2;boolean hasEndTime()
The end of the time period over which this metric value's measurement applies.
.google.protobuf.Timestamp end_time = 3;com.google.protobuf.Timestamp getEndTime()
The end of the time period over which this metric value's measurement applies.
.google.protobuf.Timestamp end_time = 3;com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end of the time period over which this metric value's measurement applies.
.google.protobuf.Timestamp end_time = 3;boolean getBoolValue()
A boolean value.
bool bool_value = 4;long getInt64Value()
A signed 64-bit integer value.
int64 int64_value = 5;double getDoubleValue()
A double precision floating point value.
double double_value = 6;java.lang.String getStringValue()
A text string value.
string string_value = 7;com.google.protobuf.ByteString getStringValueBytes()
A text string value.
string string_value = 7;Distribution getDistributionValue()
A distribution value.
.google.api.servicecontrol.v1.Distribution distribution_value = 8;DistributionOrBuilder getDistributionValueOrBuilder()
A distribution value.
.google.api.servicecontrol.v1.Distribution distribution_value = 8;MetricValue.ValueCase getValueCase()