- 1.53.0 (latest)
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
public interface MetricValueOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
map<string, string> labels = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getBoolValue()
public abstract boolean getBoolValue()
A boolean value.
bool bool_value = 4;
Type | Description |
boolean | The boolValue. |
getDistributionValue()
public abstract Distribution getDistributionValue()
A distribution value.
.google.api.servicecontrol.v1.Distribution distribution_value = 8;
Type | Description |
Distribution | The distributionValue. |
getDistributionValueOrBuilder()
public abstract DistributionOrBuilder getDistributionValueOrBuilder()
A distribution value.
.google.api.servicecontrol.v1.Distribution distribution_value = 8;
Type | Description |
DistributionOrBuilder |
getDoubleValue()
public abstract double getDoubleValue()
A double precision floating point value.
double double_value = 6;
Type | Description |
double | The doubleValue. |
getEndTime()
public abstract Timestamp getEndTime()
The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
Timestamp | The endTime. |
getEndTimeOrBuilder()
public abstract TimestampOrBuilder getEndTimeOrBuilder()
The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
TimestampOrBuilder |
getInt64Value()
public abstract long getInt64Value()
A signed 64-bit integer value.
int64 int64_value = 5;
Type | Description |
long | The int64Value. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
map<string, string> labels = 1;
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
map<string, string> labels = 1;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract String getLabelsOrDefault(String key, String defaultValue)
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
map<string, string> labels = 1;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
The labels describing the metric value. See comments on google.api.servicecontrol.v1.Operation.labels for the overriding relationship. Note that this map must not contain monitored resource labels.
map<string, string> labels = 1;
Name | Description |
key | String |
Type | Description |
String |
getStartTime()
public abstract 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. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Timestamp | The startTime. |
getStartTimeOrBuilder()
public abstract 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. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
TimestampOrBuilder |
getStringValue()
public abstract String getStringValue()
A text string value.
string string_value = 7;
Type | Description |
String | The stringValue. |
getStringValueBytes()
public abstract ByteString getStringValueBytes()
A text string value.
string string_value = 7;
Type | Description |
ByteString | The bytes for stringValue. |
getValueCase()
public abstract MetricValue.ValueCase getValueCase()
Type | Description |
MetricValue.ValueCase |
hasBoolValue()
public abstract boolean hasBoolValue()
A boolean value.
bool bool_value = 4;
Type | Description |
boolean | Whether the boolValue field is set. |
hasDistributionValue()
public abstract boolean hasDistributionValue()
A distribution value.
.google.api.servicecontrol.v1.Distribution distribution_value = 8;
Type | Description |
boolean | Whether the distributionValue field is set. |
hasDoubleValue()
public abstract boolean hasDoubleValue()
A double precision floating point value.
double double_value = 6;
Type | Description |
boolean | Whether the doubleValue field is set. |
hasEndTime()
public abstract boolean hasEndTime()
The end of the time period over which this metric value's measurement applies. If not specified, google.api.servicecontrol.v1.Operation.end_time will be used.
.google.protobuf.Timestamp end_time = 3;
Type | Description |
boolean | Whether the endTime field is set. |
hasInt64Value()
public abstract boolean hasInt64Value()
A signed 64-bit integer value.
int64 int64_value = 5;
Type | Description |
boolean | Whether the int64Value field is set. |
hasStartTime()
public abstract 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. If not specified, google.api.servicecontrol.v1.Operation.start_time will be used.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
boolean | Whether the startTime field is set. |
hasStringValue()
public abstract boolean hasStringValue()
A text string value.
string string_value = 7;
Type | Description |
boolean | Whether the stringValue field is set. |