Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class SecurityPolicyRuleRateLimitOptionsThreshold (1.22.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 1.22.0keyboard_arrow_down
public final class SecurityPolicyRuleRateLimitOptionsThreshold extends GeneratedMessageV3 implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold
Static Fields
COUNT_FIELD_NUMBER
public static final int COUNT_FIELD_NUMBER
Field Value
INTERVAL_SEC_FIELD_NUMBER
public static final int INTERVAL_SEC_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SecurityPolicyRuleRateLimitOptionsThreshold getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static SecurityPolicyRuleRateLimitOptionsThreshold . Builder newBuilder ()
Returns
newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)
public static SecurityPolicyRuleRateLimitOptionsThreshold . Builder newBuilder ( SecurityPolicyRuleRateLimitOptionsThreshold prototype )
Parameter
Returns
public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<SecurityPolicyRuleRateLimitOptionsThreshold> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
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 ()
Returns
getIntervalSec()
public int getIntervalSec ()
Interval over which the threshold is computed.
optional int32 interval_sec = 41084375;
Returns
Type
Description
int
The intervalSec.
getParserForType()
public Parser<SecurityPolicyRuleRateLimitOptionsThreshold> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
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.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public SecurityPolicyRuleRateLimitOptionsThreshold . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyRuleRateLimitOptionsThreshold . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public SecurityPolicyRuleRateLimitOptionsThreshold . 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-08-07 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-08-07 UTC."],[],[]]