com.google.api.servicecontrol.v1.MetricValueOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of endpoints-management-protos Show documentation
Show all versions of endpoints-management-protos Show documentation
Contains the generated protocol buffer surface used by Endpoints
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/metric_value.proto
package com.google.api.servicecontrol.v1;
public interface MetricValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.MetricValue)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
*/
int 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);
/**
* Use {@link #getLabelsMap()} instead.
*/
@java.lang.Deprecated
java.util.Map
getLabels();
/**
*
* 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.util.Map
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 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.
*
*
* optional .google.protobuf.Timestamp start_time = 2;
*/
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.
*
*
* optional .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.
*
*
* optional .google.protobuf.Timestamp start_time = 2;
*/
com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder();
/**
*
* The end of the time period over which this metric value's measurement
* applies.
*
*
* optional .google.protobuf.Timestamp end_time = 3;
*/
boolean hasEndTime();
/**
*
* The end of the time period over which this metric value's measurement
* applies.
*
*
* optional .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.
*
*
* optional .google.protobuf.Timestamp end_time = 3;
*/
com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder();
/**
*
* A boolean value.
*
*
* optional bool bool_value = 4;
*/
boolean getBoolValue();
/**
*
* A signed 64-bit integer value.
*
*
* optional int64 int64_value = 5;
*/
long getInt64Value();
/**
*
* A double precision floating point value.
*
*
* optional double double_value = 6;
*/
double getDoubleValue();
/**
*
* A text string value.
*
*
* optional string string_value = 7;
*/
java.lang.String getStringValue();
/**
*
* A text string value.
*
*
* optional string string_value = 7;
*/
com.google.protobuf.ByteString
getStringValueBytes();
/**
*
* A distribution value.
*
*
* optional .google.api.servicecontrol.v1.Distribution distribution_value = 8;
*/
com.google.api.servicecontrol.v1.Distribution getDistributionValue();
/**
*
* A distribution value.
*
*
* optional .google.api.servicecontrol.v1.Distribution distribution_value = 8;
*/
com.google.api.servicecontrol.v1.DistributionOrBuilder getDistributionValueOrBuilder();
public com.google.api.servicecontrol.v1.MetricValue.ValueCase getValueCase();
}