Class QuotaExceededInfo

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.QuotaExceededInfo
All Implemented Interfaces:
QuotaExceededInfoOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class QuotaExceededInfo extends com.google.protobuf.GeneratedMessage implements QuotaExceededInfoOrBuilder
 Additional details for quota exceeded error for resource quota.
 
Protobuf type google.cloud.compute.v1.QuotaExceededInfo
See Also:
  • Field Details

    • DIMENSIONS_FIELD_NUMBER

      public static final int DIMENSIONS_FIELD_NUMBER
      See Also:
    • FUTURE_LIMIT_FIELD_NUMBER

      public static final int FUTURE_LIMIT_FIELD_NUMBER
      See Also:
    • LIMIT_FIELD_NUMBER

      public static final int LIMIT_FIELD_NUMBER
      See Also:
    • LIMIT_NAME_FIELD_NUMBER

      public static final int LIMIT_NAME_FIELD_NUMBER
      See Also:
    • METRIC_NAME_FIELD_NUMBER

      public static final int METRIC_NAME_FIELD_NUMBER
      See Also:
    • ROLLOUT_STATUS_FIELD_NUMBER

      public static final int ROLLOUT_STATUS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getDimensionsCount

      public int getDimensionsCount()
      Description copied from interface: QuotaExceededInfoOrBuilder
       The map holding related quota dimensions.
       
      map<string, string> dimensions = 414334925;
      Specified by:
      getDimensionsCount in interface QuotaExceededInfoOrBuilder
    • containsDimensions

      public boolean containsDimensions(String key)
       The map holding related quota dimensions.
       
      map<string, string> dimensions = 414334925;
      Specified by:
      containsDimensions in interface QuotaExceededInfoOrBuilder
    • getDimensions

      @Deprecated public Map<String,String> getDimensions()
      Deprecated.
      Use getDimensionsMap() instead.
      Specified by:
      getDimensions in interface QuotaExceededInfoOrBuilder
    • getDimensionsMap

      public Map<String,String> getDimensionsMap()
       The map holding related quota dimensions.
       
      map<string, string> dimensions = 414334925;
      Specified by:
      getDimensionsMap in interface QuotaExceededInfoOrBuilder
    • getDimensionsOrDefault

      public String getDimensionsOrDefault(String key, String defaultValue)
       The map holding related quota dimensions.
       
      map<string, string> dimensions = 414334925;
      Specified by:
      getDimensionsOrDefault in interface QuotaExceededInfoOrBuilder
    • getDimensionsOrThrow

      public String getDimensionsOrThrow(String key)
       The map holding related quota dimensions.
       
      map<string, string> dimensions = 414334925;
      Specified by:
      getDimensionsOrThrow in interface QuotaExceededInfoOrBuilder
    • hasFutureLimit

      public boolean hasFutureLimit()
       Future quota limit being rolled out. The limit's unit depends on the quota
       type or metric.
       
      optional double future_limit = 456564287;
      Specified by:
      hasFutureLimit in interface QuotaExceededInfoOrBuilder
      Returns:
      Whether the futureLimit field is set.
    • getFutureLimit

      public double getFutureLimit()
       Future quota limit being rolled out. The limit's unit depends on the quota
       type or metric.
       
      optional double future_limit = 456564287;
      Specified by:
      getFutureLimit in interface QuotaExceededInfoOrBuilder
      Returns:
      The futureLimit.
    • hasLimit

      public boolean hasLimit()
       Current effective quota limit. The limit's unit depends on the quota type
       or metric.
       
      optional double limit = 102976443;
      Specified by:
      hasLimit in interface QuotaExceededInfoOrBuilder
      Returns:
      Whether the limit field is set.
    • getLimit

      public double getLimit()
       Current effective quota limit. The limit's unit depends on the quota type
       or metric.
       
      optional double limit = 102976443;
      Specified by:
      getLimit in interface QuotaExceededInfoOrBuilder
      Returns:
      The limit.
    • hasLimitName

      public boolean hasLimitName()
       The name of the quota limit.
       
      optional string limit_name = 398197903;
      Specified by:
      hasLimitName in interface QuotaExceededInfoOrBuilder
      Returns:
      Whether the limitName field is set.
    • getLimitName

      public String getLimitName()
       The name of the quota limit.
       
      optional string limit_name = 398197903;
      Specified by:
      getLimitName in interface QuotaExceededInfoOrBuilder
      Returns:
      The limitName.
    • getLimitNameBytes

      public com.google.protobuf.ByteString getLimitNameBytes()
       The name of the quota limit.
       
      optional string limit_name = 398197903;
      Specified by:
      getLimitNameBytes in interface QuotaExceededInfoOrBuilder
      Returns:
      The bytes for limitName.
    • hasMetricName

      public boolean hasMetricName()
       The Compute Engine quota metric name.
       
      optional string metric_name = 409881530;
      Specified by:
      hasMetricName in interface QuotaExceededInfoOrBuilder
      Returns:
      Whether the metricName field is set.
    • getMetricName

      public String getMetricName()
       The Compute Engine quota metric name.
       
      optional string metric_name = 409881530;
      Specified by:
      getMetricName in interface QuotaExceededInfoOrBuilder
      Returns:
      The metricName.
    • getMetricNameBytes

      public com.google.protobuf.ByteString getMetricNameBytes()
       The Compute Engine quota metric name.
       
      optional string metric_name = 409881530;
      Specified by:
      getMetricNameBytes in interface QuotaExceededInfoOrBuilder
      Returns:
      The bytes for metricName.
    • hasRolloutStatus

      public boolean hasRolloutStatus()
       Rollout status of the future quota limit.
       Check the RolloutStatus enum for the list of possible values.
       
      optional string rollout_status = 476426816;
      Specified by:
      hasRolloutStatus in interface QuotaExceededInfoOrBuilder
      Returns:
      Whether the rolloutStatus field is set.
    • getRolloutStatus

      public String getRolloutStatus()
       Rollout status of the future quota limit.
       Check the RolloutStatus enum for the list of possible values.
       
      optional string rollout_status = 476426816;
      Specified by:
      getRolloutStatus in interface QuotaExceededInfoOrBuilder
      Returns:
      The rolloutStatus.
    • getRolloutStatusBytes

      public com.google.protobuf.ByteString getRolloutStatusBytes()
       Rollout status of the future quota limit.
       Check the RolloutStatus enum for the list of possible values.
       
      optional string rollout_status = 476426816;
      Specified by:
      getRolloutStatusBytes in interface QuotaExceededInfoOrBuilder
      Returns:
      The bytes for rolloutStatus.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static QuotaExceededInfo parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static QuotaExceededInfo parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QuotaExceededInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QuotaExceededInfo parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static QuotaExceededInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QuotaExceededInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static QuotaExceededInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public QuotaExceededInfo.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static QuotaExceededInfo.Builder newBuilder()
    • newBuilder

      public static QuotaExceededInfo.Builder newBuilder(QuotaExceededInfo prototype)
    • toBuilder

      public QuotaExceededInfo.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected QuotaExceededInfo.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static QuotaExceededInfo getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<QuotaExceededInfo> parser()
    • getParserForType

      public com.google.protobuf.Parser<QuotaExceededInfo> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public QuotaExceededInfo getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder