Class SecurityPolicyRuleRateLimitOptionsThreshold (1.65.0)

public final class SecurityPolicyRuleRateLimitOptionsThreshold extends GeneratedMessageV3 implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > 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()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)

public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)
Parameter
Name Description
prototype SecurityPolicyRuleRateLimitOptionsThreshold
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleRateLimitOptionsThreshold> parser()
Returns
Type Description
Parser<SecurityPolicyRuleRateLimitOptionsThreshold>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCount()

public int 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
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold

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
Type Description
Parser<SecurityPolicyRuleRateLimitOptionsThreshold>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder toBuilder()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException