Class CreateQuotaPreferenceRequest (0.44.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.44.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  CreateQuotaPreferenceRequest   extends   GeneratedMessageV3   implements   CreateQuotaPreferenceRequestOrBuilder  
   Message for creating a QuotaPreference
 Protobuf type google.api.cloudquotas.v1.CreateQuotaPreferenceRequest
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  IGNORE_SAFETY_CHECKS_FIELD_NUMBER 
  
    
public   static   final   int   IGNORE_SAFETY_CHECKS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PARENT_FIELD_NUMBER 
  
    
public   static   final   int   PARENT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  QUOTA_PREFERENCE_FIELD_NUMBER 
  
    
public   static   final   int   QUOTA_PREFERENCE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  QUOTA_PREFERENCE_ID_FIELD_NUMBER 
  
    
public   static   final   int   QUOTA_PREFERENCE_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   CreateQuotaPreferenceRequest   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   CreateQuotaPreferenceRequest . Builder   newBuilder ()  
  
  newBuilder(CreateQuotaPreferenceRequest prototype) 
  
    
public   static   CreateQuotaPreferenceRequest . Builder   newBuilder ( CreateQuotaPreferenceRequest   prototype )  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   CreateQuotaPreferenceRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<CreateQuotaPreferenceRequest>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   CreateQuotaPreferenceRequest   getDefaultInstanceForType ()  
  
  getIgnoreSafetyChecks(int index) 
  
    
public   QuotaSafetyCheck   getIgnoreSafetyChecks ( int   index )  
   The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        QuotaSafetyCheck The ignoreSafetyChecks at the given index.
 
     
  
  getIgnoreSafetyChecksCount() 
  
    
public   int   getIgnoreSafetyChecksCount ()  
   The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;
    
      
        Returns  
      
        Type Description  
      
        int The count of ignoreSafetyChecks.
 
     
  
  getIgnoreSafetyChecksList() 
  
    
public   List<QuotaSafetyCheck>   getIgnoreSafetyChecksList ()  
   The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;
getIgnoreSafetyChecksValue(int index) 
  
    
public   int   getIgnoreSafetyChecksValue ( int   index )  
   The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire of ignoreSafetyChecks at the given index.
 
     
  
  getIgnoreSafetyChecksValueList() 
  
    
public   List<Integer>   getIgnoreSafetyChecksValueList ()  
   The list of quota safety checks to be ignored.
 repeated .google.api.cloudquotas.v1.QuotaSafetyCheck ignore_safety_checks = 4;
    
      
        Returns  
      
        Type Description  
      
        List <Integer >A list containing the enum numeric values on the wire for ignoreSafetyChecks.
 
     
  
  getParent() 
  
    
public   String   getParent ()  
   Required. Value for parent.
 Example:
 projects/123/locations/global
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        String The parent.
 
     
  
  getParentBytes() 
  
    
public   ByteString   getParentBytes ()  
   Required. Value for parent.
 Example:
 projects/123/locations/global
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for parent.
 
     
  
  getParserForType() 
  
    
public   Parser<CreateQuotaPreferenceRequest>   getParserForType ()  
  
  Overrides 
  
  getQuotaPreference() 
  
    
public   QuotaPreference   getQuotaPreference ()  
   Required. The resource being created
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];
 
getQuotaPreferenceId() 
  
    
public   String   getQuotaPreferenceId ()  
   Optional. Id of the requesting object, must be unique under its parent.
 If client does not set this field, the service will generate one.
 string quota_preference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        String The quotaPreferenceId.
 
     
  
  getQuotaPreferenceIdBytes() 
  
    
public   ByteString   getQuotaPreferenceIdBytes ()  
   Optional. Id of the requesting object, must be unique under its parent.
 If client does not set this field, the service will generate one.
 string quota_preference_id = 2 [(.google.api.field_behavior) = OPTIONAL];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for quotaPreferenceId.
 
     
  
  getQuotaPreferenceOrBuilder() 
  
    
public   QuotaPreferenceOrBuilder   getQuotaPreferenceOrBuilder ()  
   Required. The resource being created
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];
 
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  hasQuotaPreference() 
  
    
public   boolean   hasQuotaPreference ()  
   Required. The resource being created
 
 .google.api.cloudquotas.v1.QuotaPreference quota_preference = 3 [(.google.api.field_behavior) = REQUIRED];
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the quotaPreference field is set.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   CreateQuotaPreferenceRequest . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   CreateQuotaPreferenceRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   CreateQuotaPreferenceRequest . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-28 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-28 UTC."],[],[]]