Class SecurityPolicyRuleRateLimitOptionsThreshold (1.24.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
TypeDescription
int

INTERVAL_SEC_FIELD_NUMBER

public static final int INTERVAL_SEC_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SecurityPolicyRuleRateLimitOptionsThreshold getDefaultInstance()
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder()
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)

public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)
Parameter
NameDescription
prototypeSecurityPolicyRuleRateLimitOptionsThreshold
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

parseDelimitedFrom(InputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SecurityPolicyRuleRateLimitOptionsThreshold parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SecurityPolicyRuleRateLimitOptionsThreshold> parser()
Returns
TypeDescription
Parser<SecurityPolicyRuleRateLimitOptionsThreshold>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCount()

public int getCount()

Number of HTTP(S) requests for calculating the threshold.

optional int32 count = 94851343;

Returns
TypeDescription
int

The count.

getDefaultInstanceForType()

public SecurityPolicyRuleRateLimitOptionsThreshold getDefaultInstanceForType()
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold

getIntervalSec()

public int getIntervalSec()

Interval over which the threshold is computed.

optional int32 interval_sec = 41084375;

Returns
TypeDescription
int

The intervalSec.

getParserForType()

public Parser<SecurityPolicyRuleRateLimitOptionsThreshold> getParserForType()
Returns
TypeDescription
Parser<SecurityPolicyRuleRateLimitOptionsThreshold>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasCount()

public boolean hasCount()

Number of HTTP(S) requests for calculating the threshold.

optional int32 count = 94851343;

Returns
TypeDescription
boolean

Whether the count field is set.

hasIntervalSec()

public boolean hasIntervalSec()

Interval over which the threshold is computed.

optional int32 interval_sec = 41084375;

Returns
TypeDescription
boolean

Whether the intervalSec field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType()
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder toBuilder()
Returns
TypeDescription
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException