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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SecurityPolicyRuleRateLimitOptionsThreshold build()
Returns
buildPartial()
public SecurityPolicyRuleRateLimitOptionsThreshold buildPartial()
Returns
clear()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clear()
Returns
Overrides
clearCount()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearCount()
Number of HTTP(S) requests for calculating the threshold.
optional int32 count = 94851343;
Returns
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntervalSec()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearIntervalSec()
Interval over which the threshold is computed.
optional int32 interval_sec = 41084375;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)
Parameter
Returns
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides