Class AllocateQuotaRequest (1.5.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.5.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  AllocateQuotaRequest   extends   GeneratedMessageV3   implements   AllocateQuotaRequestOrBuilder  
   Request message for the AllocateQuota method.
 Protobuf type google.api.servicecontrol.v1.AllocateQuotaRequest
Static Fields
   
  ALLOCATE_OPERATION_FIELD_NUMBER 
  
    
public   static   final   int   ALLOCATE_OPERATION_FIELD_NUMBER  
  Field Value 
  
  SERVICE_CONFIG_ID_FIELD_NUMBER 
  
    
public   static   final   int   SERVICE_CONFIG_ID_FIELD_NUMBER  
  Field Value 
  
  SERVICE_NAME_FIELD_NUMBER 
  
    
public   static   final   int   SERVICE_NAME_FIELD_NUMBER  
  Field Value 
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   AllocateQuotaRequest   getDefaultInstance ()  
  Returns 
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  Returns 
  
  newBuilder() 
  
    
public   static   AllocateQuotaRequest . Builder   newBuilder ()  
  Returns 
  
  newBuilder(AllocateQuotaRequest prototype) 
  
    
public   static   AllocateQuotaRequest . Builder   newBuilder ( AllocateQuotaRequest   prototype )  
  Parameter 
  
  Returns 
  
  
    
public   static   AllocateQuotaRequest   parseDelimitedFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   AllocateQuotaRequest   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( byte []   data )  
  Parameter 
  
    
      
        Name Description  
      
        data byte [] 
     
  
  Returns 
  
  Exceptions 
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( ByteString   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   AllocateQuotaRequest   parseFrom ( CodedInputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   AllocateQuotaRequest   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   AllocateQuotaRequest   parseFrom ( InputStream   input )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  
    
public   static   AllocateQuotaRequest   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( ByteBuffer   data )  
  Parameter 
  
  Returns 
  
  Exceptions 
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   AllocateQuotaRequest   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  Parameters 
  
  Returns 
  
  Exceptions 
  
  parser() 
  
    
public   static   Parser<AllocateQuotaRequest>   parser ()  
  Returns 
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  getAllocateOperation() 
  
    
public   QuotaOperation   getAllocateOperation ()  
   Operation that describes the quota allocation.
 .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns 
  
  getAllocateOperationOrBuilder() 
  
    
public   QuotaOperationOrBuilder   getAllocateOperationOrBuilder ()  
   Operation that describes the quota allocation.
 .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns 
  
  getDefaultInstanceForType() 
  
    
public   AllocateQuotaRequest   getDefaultInstanceForType ()  
  Returns 
  
  getParserForType() 
  
    
public   Parser<AllocateQuotaRequest>   getParserForType ()  
  Returns 
  
  Overrides 
  
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  Returns 
  
  Overrides 
  
  getServiceConfigId() 
  
    
public   String   getServiceConfigId ()  
   Specifies which version of service configuration should be used to process
 the request. If unspecified or no matching version can be found, the latest
 one will be used.
 string service_config_id = 4;
Returns 
  
    
      
        Type Description  
      
        String The serviceConfigId.
 
     
  
  getServiceConfigIdBytes() 
  
    
public   ByteString   getServiceConfigIdBytes ()  
   Specifies which version of service configuration should be used to process
 the request. If unspecified or no matching version can be found, the latest
 one will be used.
 string service_config_id = 4;
Returns 
  
    
      
        Type Description  
      
        ByteString The bytes for serviceConfigId.
 
     
  
  getServiceName() 
  
    
public   String   getServiceName ()  
   Name of the service as specified in the service configuration. For example,
 "pubsub.googleapis.com".
 See google.api.Service  for the definition of a service name.
 string service_name = 1;
Returns 
  
    
      
        Type Description  
      
        String The serviceName.
 
     
  
  getServiceNameBytes() 
  
    
public   ByteString   getServiceNameBytes ()  
   Name of the service as specified in the service configuration. For example,
 "pubsub.googleapis.com".
 See google.api.Service  for the definition of a service name.
 string service_name = 1;
Returns 
  
    
      
        Type Description  
      
        ByteString The bytes for serviceName.
 
     
  
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
  Returns 
  
  Overrides 
  
  hasAllocateOperation() 
  
    
public   boolean   hasAllocateOperation ()  
   Operation that describes the quota allocation.
 .google.api.servicecontrol.v1.QuotaOperation allocate_operation = 2;
Returns 
  
    
      
        Type Description  
      
        boolean Whether the allocateOperation field is set.
 
     
  
  hashCode() 
  
  Returns 
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  Returns 
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  Returns 
  
  Overrides 
  
  newBuilderForType() 
  
    
public   AllocateQuotaRequest . Builder   newBuilderForType ()  
  Returns 
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   AllocateQuotaRequest . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  Parameter 
  
  Returns 
  
  Overrides 
  
  toBuilder() 
  
    
public   AllocateQuotaRequest . 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-29 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-29 UTC."],[],[]]