public static final class SecurityPolicyRuleRateLimitOptionsThreshold.Builder extends GeneratedMessage.Builder<SecurityPolicyRuleRateLimitOptionsThreshold.Builder> implements SecurityPolicyRuleRateLimitOptionsThresholdOrBuilder Protobuf type google.cloud.compute.v1.SecurityPolicyRuleRateLimitOptionsThreshold
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SecurityPolicyRuleRateLimitOptionsThreshold.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
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 |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SecurityPolicyRuleRateLimitOptionsThreshold.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyRuleRateLimitOptionsThreshold.Builder |
|
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 |
intThe count to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyRuleRateLimitOptionsThreshold.Builder |
This builder for chaining. |
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 |
intThe intervalSec to set. |
| Returns | |
|---|---|
| Type | Description |
SecurityPolicyRuleRateLimitOptionsThreshold.Builder |
This builder for chaining. |