Class QuotaExceededInfo (1.19.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 1.19.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  QuotaExceededInfo   extends   GeneratedMessageV3   implements   QuotaExceededInfoOrBuilder  
   
   Additional details for quota exceeded error for resource quota.
 Protobuf type google.cloud.compute.v1.QuotaExceededInfo
 
  
  
  
  Static Fields
   
  DIMENSIONS_FIELD_NUMBER 
  
    
public   static   final   int   DIMENSIONS_FIELD_NUMBER  
   
  Field Value 
  
  LIMIT_FIELD_NUMBER 
  
    
public   static   final   int   LIMIT_FIELD_NUMBER  
   
  Field Value 
  
  LIMIT_NAME_FIELD_NUMBER 
  
    
public   static   final   int   LIMIT_NAME_FIELD_NUMBER  
   
  Field Value 
  
  METRIC_NAME_FIELD_NUMBER 
  
    
public   static   final   int   METRIC_NAME_FIELD_NUMBER  
   
  Field Value 
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   QuotaExceededInfo   getDefaultInstance ()  
   
  Returns 
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  Returns 
  
   
  newBuilder() 
  
    
public   static   QuotaExceededInfo . Builder   newBuilder ()  
   
  Returns 
  
   
  newBuilder(QuotaExceededInfo prototype) 
  
    
public   static   QuotaExceededInfo . Builder   newBuilder ( QuotaExceededInfo   prototype )  
   
  Parameter 
  
  Returns 
  
   
  
  
    
public   static   QuotaExceededInfo   parseDelimitedFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   QuotaExceededInfo   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data) 
  
    
public   static   QuotaExceededInfo   parseFrom ( byte []   data )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   QuotaExceededInfo   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data) 
  
    
public   static   QuotaExceededInfo   parseFrom ( ByteString   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   QuotaExceededInfo   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   QuotaExceededInfo   parseFrom ( CodedInputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   QuotaExceededInfo   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   QuotaExceededInfo   parseFrom ( InputStream   input )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  
  
    
public   static   QuotaExceededInfo   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   QuotaExceededInfo   parseFrom ( ByteBuffer   data )  
   
  Parameter 
  
  Returns 
  
  Exceptions 
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   QuotaExceededInfo   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  Parameters 
  
  Returns 
  
  Exceptions 
  
   
  parser() 
  
    
public   static   Parser<QuotaExceededInfo>   parser ()  
   
  Returns 
  
  Methods
   
   
  containsDimensions(String key) 
  
    
public   boolean   containsDimensions ( String   key )  
   
   The map holding related quota dimensions.
 map<string, string> dimensions = 414334925;
 
  Parameter 
  
  Returns 
  
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  getDefaultInstanceForType() 
  
    
public   QuotaExceededInfo   getDefaultInstanceForType ()  
   
  Returns 
  
   
  getDimensions() 
  
    
public   Map<String , String >  getDimensions ()  
   
  
  Returns 
  
   
  getDimensionsCount() 
  
    
public   int   getDimensionsCount ()  
   
   The map holding related quota dimensions.
 map<string, string> dimensions = 414334925;
 
  Returns 
  
   
  getDimensionsMap() 
  
    
public   Map<String , String >  getDimensionsMap ()  
   
   The map holding related quota dimensions.
 map<string, string> dimensions = 414334925;
 
  Returns 
  
   
  getDimensionsOrDefault(String key, String defaultValue) 
  
    
public   String   getDimensionsOrDefault ( String   key ,   String   defaultValue )  
   
   The map holding related quota dimensions.
 map<string, string> dimensions = 414334925;
 
  Parameters 
  
  Returns 
  
   
  getDimensionsOrThrow(String key) 
  
    
public   String   getDimensionsOrThrow ( String   key )  
   
   The map holding related quota dimensions.
 map<string, string> dimensions = 414334925;
 
  Parameter 
  
  Returns 
  
   
  getLimit() 
  
   Current effective quota limit. The limit's unit depends on the quota type or metric.
 optional double limit = 102976443;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        double  
        The limit.
 
       
     
  
   
  getLimitName() 
  
    
public   String   getLimitName ()  
   
   The name of the quota limit.
 optional string limit_name = 398197903;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The limitName.
 
       
     
  
   
  getLimitNameBytes() 
  
    
public   ByteString   getLimitNameBytes ()  
   
   The name of the quota limit.
 optional string limit_name = 398197903;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for limitName.
 
       
     
  
   
  getMetricName() 
  
    
public   String   getMetricName ()  
   
   The Compute Engine quota metric name.
 optional string metric_name = 409881530;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        String  
        The metricName.
 
       
     
  
   
  getMetricNameBytes() 
  
    
public   ByteString   getMetricNameBytes ()  
   
   The Compute Engine quota metric name.
 optional string metric_name = 409881530;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for metricName.
 
       
     
  
   
  getParserForType() 
  
    
public   Parser<QuotaExceededInfo>   getParserForType ()  
   
  Returns 
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  Returns 
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  Returns 
  
  Overrides 
  
   
  hasLimit() 
  
    
public   boolean   hasLimit ()  
   
   Current effective quota limit. The limit's unit depends on the quota type or metric.
 optional double limit = 102976443;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the limit field is set.
 
       
     
  
   
  hasLimitName() 
  
    
public   boolean   hasLimitName ()  
   
   The name of the quota limit.
 optional string limit_name = 398197903;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the limitName field is set.
 
       
     
  
   
  hasMetricName() 
  
    
public   boolean   hasMetricName ()  
   
   The Compute Engine quota metric name.
 optional string metric_name = 409881530;
 
  Returns 
  
    
      
        Type  
        Description  
       
      
        boolean  
        Whether the metricName field is set.
 
       
     
  
   
  hashCode() 
  
  Returns 
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  Returns 
  
  Overrides 
  
   
  internalGetMapField(int number) 
  
    
protected   MapField   internalGetMapField ( int   number )  
   
  Parameter 
  
    
      
        Name  
        Description  
       
      
        number 
        int  
       
     
  
  Returns 
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  Returns 
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   QuotaExceededInfo . Builder   newBuilderForType ()  
   
  Returns 
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   QuotaExceededInfo . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  Parameter 
  
  Returns 
  
  Overrides 
  
   
  toBuilder() 
  
    
public   QuotaExceededInfo . Builder   toBuilder ()  
   
  Returns 
  
   
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  Parameter 
  
  Overrides 
  
  Exceptions 
  
 
     
    
  
  
  
     
  
 
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-30 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]