public final class SecurityPolicyDdosProtectionConfig extends GeneratedMessage implements SecurityPolicyDdosProtectionConfigOrBuilder
Protobuf type google.cloud.compute.v1.SecurityPolicyDdosProtectionConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
DDOS_ADAPTIVE_PROTECTION_FIELD_NUMBER
public static final int DDOS_ADAPTIVE_PROTECTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DDOS_IMPACTED_BASELINE_THRESHOLD_FIELD_NUMBER
public static final int DDOS_IMPACTED_BASELINE_THRESHOLD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DDOS_PROTECTION_FIELD_NUMBER
public static final int DDOS_PROTECTION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static SecurityPolicyDdosProtectionConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SecurityPolicyDdosProtectionConfig.Builder newBuilder()
newBuilder(SecurityPolicyDdosProtectionConfig prototype)
public static SecurityPolicyDdosProtectionConfig.Builder newBuilder(SecurityPolicyDdosProtectionConfig prototype)
public static SecurityPolicyDdosProtectionConfig parseDelimitedFrom(InputStream input)
public static SecurityPolicyDdosProtectionConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SecurityPolicyDdosProtectionConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyDdosProtectionConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SecurityPolicyDdosProtectionConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyDdosProtectionConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyDdosProtectionConfig parseFrom(CodedInputStream input)
public static SecurityPolicyDdosProtectionConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyDdosProtectionConfig parseFrom(InputStream input)
public static SecurityPolicyDdosProtectionConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SecurityPolicyDdosProtectionConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SecurityPolicyDdosProtectionConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SecurityPolicyDdosProtectionConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDdosAdaptiveProtection()
public String getDdosAdaptiveProtection()
Check the DdosAdaptiveProtection enum for the list of possible values.
optional string ddos_adaptive_protection = 96895463;
| Returns |
| Type |
Description |
String |
The ddosAdaptiveProtection.
|
getDdosAdaptiveProtectionBytes()
public ByteString getDdosAdaptiveProtectionBytes()
Check the DdosAdaptiveProtection enum for the list of possible values.
optional string ddos_adaptive_protection = 96895463;
| Returns |
| Type |
Description |
ByteString |
The bytes for ddosAdaptiveProtection.
|
getDdosImpactedBaselineThreshold()
public float getDdosImpactedBaselineThreshold()
DDoS Protection for Network Load Balancers (and VMs with public IPs)
builds DDoS mitigations that minimize collateral damage. It quantifies
this as the fraction of a non-abuse baseline that's inadvertently
blocked.
Rules whose collateral damage exceeds ddosImpactedBaselineThreshold will
not be deployed. Using a lower value will prioritize keeping collateral
damage low, possibly at the cost of its effectiveness in rate limiting
some or all of the attack. It should typically be unset, so Advanced DDoS
(and Adaptive Protection) uses the best mitigation it can find. Setting
the threshold is advised if there are logs for false positive detections
with high collateral damage, and will cause Advanced DDoS to attempt to
find a less aggressive rule that satisfies the constraint. If a suitable
rule cannot be found, the system falls back to either no mitigation for
smaller attacks or broader network throttles for larger ones.
optional float ddos_impacted_baseline_threshold = 192689584;
| Returns |
| Type |
Description |
float |
The ddosImpactedBaselineThreshold.
|
getDdosProtection()
public String getDdosProtection()
Check the DdosProtection enum for the list of possible values.
optional string ddos_protection = 275173268;
| Returns |
| Type |
Description |
String |
The ddosProtection.
|
getDdosProtectionBytes()
public ByteString getDdosProtectionBytes()
Check the DdosProtection enum for the list of possible values.
optional string ddos_protection = 275173268;
| Returns |
| Type |
Description |
ByteString |
The bytes for ddosProtection.
|
getDefaultInstanceForType()
public SecurityPolicyDdosProtectionConfig getDefaultInstanceForType()
getParserForType()
public Parser<SecurityPolicyDdosProtectionConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasDdosAdaptiveProtection()
public boolean hasDdosAdaptiveProtection()
Check the DdosAdaptiveProtection enum for the list of possible values.
optional string ddos_adaptive_protection = 96895463;
| Returns |
| Type |
Description |
boolean |
Whether the ddosAdaptiveProtection field is set.
|
hasDdosImpactedBaselineThreshold()
public boolean hasDdosImpactedBaselineThreshold()
DDoS Protection for Network Load Balancers (and VMs with public IPs)
builds DDoS mitigations that minimize collateral damage. It quantifies
this as the fraction of a non-abuse baseline that's inadvertently
blocked.
Rules whose collateral damage exceeds ddosImpactedBaselineThreshold will
not be deployed. Using a lower value will prioritize keeping collateral
damage low, possibly at the cost of its effectiveness in rate limiting
some or all of the attack. It should typically be unset, so Advanced DDoS
(and Adaptive Protection) uses the best mitigation it can find. Setting
the threshold is advised if there are logs for false positive detections
with high collateral damage, and will cause Advanced DDoS to attempt to
find a less aggressive rule that satisfies the constraint. If a suitable
rule cannot be found, the system falls back to either no mitigation for
smaller attacks or broader network throttles for larger ones.
optional float ddos_impacted_baseline_threshold = 192689584;
| Returns |
| Type |
Description |
boolean |
Whether the ddosImpactedBaselineThreshold field is set.
|
hasDdosProtection()
public boolean hasDdosProtection()
Check the DdosProtection enum for the list of possible values.
optional string ddos_protection = 275173268;
| Returns |
| Type |
Description |
boolean |
Whether the ddosProtection field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SecurityPolicyDdosProtectionConfig.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SecurityPolicyDdosProtectionConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public SecurityPolicyDdosProtectionConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides