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
      double getLimit()
      [Output Only] Quota limit for this metric.
      String getMetric()
      [Output Only] Name of the quota metric.
      com.google.protobuf.ByteString getMetricBytes()
      [Output Only] Name of the quota metric.
      String getOwner()
      [Output Only] Owning resource.
      com.google.protobuf.ByteString getOwnerBytes()
      [Output Only] Owning resource.
      double getUsage()
      [Output Only] Current usage of this metric.
      boolean hasLimit()
      [Output Only] Quota limit for this metric.
      boolean hasMetric()
      [Output Only] Name of the quota metric.
      boolean hasOwner()
      [Output Only] Owning resource.
      boolean hasUsage()
      [Output Only] Current usage of this metric.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • 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.