Package com.google.cloud.compute.v1
Interface QuotaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Quota,Quota.Builder
@Generated
public interface QuotaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetLimit()[Output Only] Quota limit for this metric.[Output Only] Name of the quota metric.com.google.protobuf.ByteString[Output Only] Name of the quota metric.getOwner()[Output Only] Owning resource.com.google.protobuf.ByteString[Output Only] Owning resource.doublegetUsage()[Output Only] Current usage of this metric.booleanhasLimit()[Output Only] Quota limit for this metric.boolean[Output Only] Name of the quota metric.booleanhasOwner()[Output Only] Owning resource.booleanhasUsage()[Output Only] Current usage of this metric.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasLimit
boolean hasLimit()[Output Only] Quota limit for this metric.
optional double limit = 102976443;- Returns:
- Whether the limit field is set.
-
getLimit
double getLimit()[Output Only] Quota limit for this metric.
optional double limit = 102976443;- Returns:
- The limit.
-
hasMetric
boolean hasMetric()[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;- Returns:
- Whether the metric field is set.
-
getMetric
String getMetric()[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;- Returns:
- The metric.
-
getMetricBytes
com.google.protobuf.ByteString getMetricBytes()[Output Only] Name of the quota metric. Check the Metric enum for the list of possible values.
optional string metric = 533067184;- Returns:
- The bytes for metric.
-
hasOwner
boolean hasOwner()[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;- Returns:
- Whether the owner field is set.
-
getOwner
String getOwner()[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;- Returns:
- The owner.
-
getOwnerBytes
com.google.protobuf.ByteString getOwnerBytes()[Output Only] Owning resource. This is the resource on which this quota is applied.
optional string owner = 106164915;- Returns:
- The bytes for owner.
-
hasUsage
boolean hasUsage()[Output Only] Current usage of this metric.
optional double usage = 111574433;- Returns:
- Whether the usage field is set.
-
getUsage
double getUsage()[Output Only] Current usage of this metric.
optional double usage = 111574433;- Returns:
- The usage.
-