Class SecurityPolicyRuleRateLimitOptionsThreshold.Builder (1.63.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 1.63.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  SecurityPolicyRuleRateLimitOptionsThreshold . Builder   extends   GeneratedMessageV3 . Builder<SecurityPolicyRuleRateLimitOptionsThreshold . Builder >  implements   SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder  
   Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold   build ()  
  
  buildPartial() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold   buildPartial ()  
  
  clear() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clear ()  
  
  Overrides 
  
  clearCount() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clearCount ()  
   Number of HTTP(S) requests for calculating the threshold.
 optional int32 count = 94851343;
clearField(Descriptors.FieldDescriptor field) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearIntervalSec() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clearIntervalSec ()  
   Interval over which the threshold is computed.
 optional int32 interval_sec = 41084375;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   clone ()  
  
  Overrides 
  
  getCount() 
  
   Number of HTTP(S) requests for calculating the threshold.
 optional int32 count = 94851343;
    
      
        Returns  
      
        Type Description  
      
        int The count.
 
     
  
  getDefaultInstanceForType() 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getIntervalSec() 
  
    
public   int   getIntervalSec ()  
   Interval over which the threshold is computed.
 optional int32 interval_sec = 41084375;
    
      
        Returns  
      
        Type Description  
      
        int The intervalSec.
 
     
  
  hasCount() 
  
    
public   boolean   hasCount ()  
   Number of HTTP(S) requests for calculating the threshold.
 optional int32 count = 94851343;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the count field is set.
 
     
  
  hasIntervalSec() 
  
    
public   boolean   hasIntervalSec ()  
   Interval over which the threshold is computed.
 optional int32 interval_sec = 41084375;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the intervalSec field is set.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   mergeFrom ( SecurityPolicyRuleRateLimitOptionsThreshold   other )  
  
  
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setCount(int value) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   setCount ( int   value )  
   Number of HTTP(S) requests for calculating the threshold.
 optional int32 count = 94851343;
    
      
        Parameter  
      
        Name Description  
      
        valueint The count to set.
 
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setIntervalSec(int value) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   setIntervalSec ( int   value )  
   Interval over which the threshold is computed.
 optional int32 interval_sec = 41084375;
    
      
        Parameter  
      
        Name Description  
      
        valueint The intervalSec to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   SecurityPolicyRuleRateLimitOptionsThreshold . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  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-11 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-11 UTC."],[],[]]