Class SecurityPolicyRuleRateLimitOptionsThreshold.Builder (1.62.0)

public static final class SecurityPolicyRuleRateLimitOptionsThreshold.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleRateLimitOptionsThreshold.Builder> implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder

Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

build()

public SecurityPolicyRuleRateLimitOptionsThreshold build()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold

buildPartial()

public SecurityPolicyRuleRateLimitOptionsThreshold buildPartial()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold

clear()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clear()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

clearCount()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearCount()

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

optional int32 count = 94851343;

Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

clearIntervalSec()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearIntervalSec()

Interval over which the threshold is computed.

optional int32 interval_sec = 41084375;

Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

clone()

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clone()
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIntervalSec()

public int getIntervalSec()

Interval over which the threshold is computed.

optional int32 interval_sec = 41084375;

Returns
Type Description
int

The intervalSec.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)
Parameter
Name Description
other SecurityPolicyRuleRateLimitOptionsThreshold
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

setCount(int value)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setCount(int value)

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

optional int32 count = 94851343;

Parameter
Name Description
value int

The count to set.

Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

setIntervalSec(int value)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setIntervalSec(int value)

Interval over which the threshold is computed.

optional int32 interval_sec = 41084375;

Parameter
Name Description
value int

The intervalSec to set.

Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SecurityPolicyRuleRateLimitOptionsThreshold.Builder
Overrides