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 |
---|
Type | Description |
int | |
INTERVAL_SEC_FIELD_NUMBER
public static final int INTERVAL_SEC_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static SecurityPolicyRuleRateLimitOptionsThreshold getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder()
newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)
public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityPolicyRuleRateLimitOptionsThreshold> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides