public static final class SecurityPolicyRuleRateLimitOptionsThreshold.Builder extends GeneratedMessageV3.Builder<SecurityPolicyRuleRateLimitOptionsThreshold.Builder> implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SecurityPolicyRuleRateLimitOptionsThreshold build()
buildPartial()
public SecurityPolicyRuleRateLimitOptionsThreshold buildPartial()
clear()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clear()
Overrides
clearCount()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearCount()
Number of HTTP(S) requests for calculating the threshold.
optional int32 count = 94851343;
clearField(Descriptors.FieldDescriptor field)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearIntervalSec()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearIntervalSec()
Interval over which the threshold is computed.
optional int32 interval_sec = 41084375;
clearOneof(Descriptors.OneofDescriptor oneof)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(SecurityPolicyRuleRateLimitOptionsThreshold other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SecurityPolicyRuleRateLimitOptionsThreshold.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides