Interface QuotaOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Quota,Quota.Builder
public interface QuotaOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetLimit()Quota limit for this metric.StringgetMetric()Name of the quota metric.com.google.protobuf.ByteStringgetMetricBytes()Name of the quota metric.doublegetUsage()Current usage of this metric.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMetric
String getMetric()
Name of the quota metric.
string metric = 1;- Returns:
- The metric.
-
getMetricBytes
com.google.protobuf.ByteString getMetricBytes()
Name of the quota metric.
string metric = 1;- Returns:
- The bytes for metric.
-
getLimit
double getLimit()
Quota limit for this metric.
double limit = 2;- Returns:
- The limit.
-
getUsage
double getUsage()
Current usage of this metric.
double usage = 3;- Returns:
- The usage.
-
-