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