Class SecurityPolicyRuleRateLimitOptionsThreshold (1.57.0)

See more code actions.
public final class SecurityPolicyRuleRateLimitOptionsThreshold extends GeneratedMessageV3 implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > SecurityPolicyRuleRateLimitOptionsThreshold
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

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()
Returns
Type Description
Descriptor

newBuilder()

public static SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilder()

newBuilder(SecurityPolicyRuleRateLimitOptionsThreshold prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<SecurityPolicyRuleRateLimitOptionsThreshold> parser()

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()

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

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()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SecurityPolicyRuleRateLimitOptionsThreshold.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
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()

writeTo(CodedOutputStream output)

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