public static final class ThreatPreventionProfile.Builder extends GeneratedMessage.Builder<ThreatPreventionProfile.Builder> implements ThreatPreventionProfileOrBuilderThreatPreventionProfile defines an action for specific threat signatures or severity levels.
Protobuf type google.cloud.networksecurity.v1.ThreatPreventionProfile
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ThreatPreventionProfile.BuilderImplements
ThreatPreventionProfileOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllAntivirusOverrides(Iterable<? extends AntivirusOverride> values)
public ThreatPreventionProfile.Builder addAllAntivirusOverrides(Iterable<? extends AntivirusOverride> values)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.AntivirusOverride> |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAllSeverityOverrides(Iterable<? extends SeverityOverride> values)
public ThreatPreventionProfile.Builder addAllSeverityOverrides(Iterable<? extends SeverityOverride> values)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.SeverityOverride> |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAllThreatOverrides(Iterable<? extends ThreatOverride> values)
public ThreatPreventionProfile.Builder addAllThreatOverrides(Iterable<? extends ThreatOverride> values)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.networksecurity.v1.ThreatOverride> |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAntivirusOverrides(AntivirusOverride value)
public ThreatPreventionProfile.Builder addAntivirusOverrides(AntivirusOverride value)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AntivirusOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAntivirusOverrides(AntivirusOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addAntivirusOverrides(AntivirusOverride.Builder builderForValue)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AntivirusOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAntivirusOverrides(int index, AntivirusOverride value)
public ThreatPreventionProfile.Builder addAntivirusOverrides(int index, AntivirusOverride value)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AntivirusOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAntivirusOverrides(int index, AntivirusOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addAntivirusOverrides(int index, AntivirusOverride.Builder builderForValue)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AntivirusOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addAntivirusOverridesBuilder()
public AntivirusOverride.Builder addAntivirusOverridesBuilder()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AntivirusOverride.Builder |
|
addAntivirusOverridesBuilder(int index)
public AntivirusOverride.Builder addAntivirusOverridesBuilder(int index)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AntivirusOverride.Builder |
|
addSeverityOverrides(SeverityOverride value)
public ThreatPreventionProfile.Builder addSeverityOverrides(SeverityOverride value)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SeverityOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addSeverityOverrides(SeverityOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addSeverityOverrides(SeverityOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SeverityOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addSeverityOverrides(int index, SeverityOverride value)
public ThreatPreventionProfile.Builder addSeverityOverrides(int index, SeverityOverride value)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SeverityOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addSeverityOverrides(int index, SeverityOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addSeverityOverrides(int index, SeverityOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SeverityOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addSeverityOverridesBuilder()
public SeverityOverride.Builder addSeverityOverridesBuilder()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SeverityOverride.Builder |
|
addSeverityOverridesBuilder(int index)
public SeverityOverride.Builder addSeverityOverridesBuilder(int index)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SeverityOverride.Builder |
|
addThreatOverrides(ThreatOverride value)
public ThreatPreventionProfile.Builder addThreatOverrides(ThreatOverride value)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ThreatOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addThreatOverrides(ThreatOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addThreatOverrides(ThreatOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ThreatOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addThreatOverrides(int index, ThreatOverride value)
public ThreatPreventionProfile.Builder addThreatOverrides(int index, ThreatOverride value)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ThreatOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addThreatOverrides(int index, ThreatOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder addThreatOverrides(int index, ThreatOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ThreatOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
addThreatOverridesBuilder()
public ThreatOverride.Builder addThreatOverridesBuilder()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThreatOverride.Builder |
|
addThreatOverridesBuilder(int index)
public ThreatOverride.Builder addThreatOverridesBuilder(int index)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatOverride.Builder |
|
build()
public ThreatPreventionProfile build()| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile |
|
buildPartial()
public ThreatPreventionProfile buildPartial()| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile |
|
clear()
public ThreatPreventionProfile.Builder clear()| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
clearAntivirusOverrides()
public ThreatPreventionProfile.Builder clearAntivirusOverrides()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
clearSeverityOverrides()
public ThreatPreventionProfile.Builder clearSeverityOverrides()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
clearThreatOverrides()
public ThreatPreventionProfile.Builder clearThreatOverrides()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
getAntivirusOverrides(int index)
public AntivirusOverride getAntivirusOverrides(int index)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AntivirusOverride |
|
getAntivirusOverridesBuilder(int index)
public AntivirusOverride.Builder getAntivirusOverridesBuilder(int index)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AntivirusOverride.Builder |
|
getAntivirusOverridesBuilderList()
public List<AntivirusOverride.Builder> getAntivirusOverridesBuilderList()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getAntivirusOverridesCount()
public int getAntivirusOverridesCount()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getAntivirusOverridesList()
public List<AntivirusOverride> getAntivirusOverridesList()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<AntivirusOverride> |
|
getAntivirusOverridesOrBuilder(int index)
public AntivirusOverrideOrBuilder getAntivirusOverridesOrBuilder(int index)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AntivirusOverrideOrBuilder |
|
getAntivirusOverridesOrBuilderList()
public List<? extends AntivirusOverrideOrBuilder> getAntivirusOverridesOrBuilderList()Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.AntivirusOverrideOrBuilder> |
|
getDefaultInstanceForType()
public ThreatPreventionProfile getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSeverityOverrides(int index)
public SeverityOverride getSeverityOverrides(int index)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SeverityOverride |
|
getSeverityOverridesBuilder(int index)
public SeverityOverride.Builder getSeverityOverridesBuilder(int index)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SeverityOverride.Builder |
|
getSeverityOverridesBuilderList()
public List<SeverityOverride.Builder> getSeverityOverridesBuilderList()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSeverityOverridesCount()
public int getSeverityOverridesCount()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSeverityOverridesList()
public List<SeverityOverride> getSeverityOverridesList()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SeverityOverride> |
|
getSeverityOverridesOrBuilder(int index)
public SeverityOverrideOrBuilder getSeverityOverridesOrBuilder(int index)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SeverityOverrideOrBuilder |
|
getSeverityOverridesOrBuilderList()
public List<? extends SeverityOverrideOrBuilder> getSeverityOverridesOrBuilderList()Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.SeverityOverrideOrBuilder> |
|
getThreatOverrides(int index)
public ThreatOverride getThreatOverrides(int index)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatOverride |
|
getThreatOverridesBuilder(int index)
public ThreatOverride.Builder getThreatOverridesBuilder(int index)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatOverride.Builder |
|
getThreatOverridesBuilderList()
public List<ThreatOverride.Builder> getThreatOverridesBuilderList()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getThreatOverridesCount()
public int getThreatOverridesCount()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getThreatOverridesList()
public List<ThreatOverride> getThreatOverridesList()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<ThreatOverride> |
|
getThreatOverridesOrBuilder(int index)
public ThreatOverrideOrBuilder getThreatOverridesOrBuilder(int index)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatOverrideOrBuilder |
|
getThreatOverridesOrBuilderList()
public List<? extends ThreatOverrideOrBuilder> getThreatOverridesOrBuilderList()Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.networksecurity.v1.ThreatOverrideOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ThreatPreventionProfile other)
public ThreatPreventionProfile.Builder mergeFrom(ThreatPreventionProfile other)| Parameter | |
|---|---|
| Name | Description |
other |
ThreatPreventionProfile |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ThreatPreventionProfile.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ThreatPreventionProfile.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
removeAntivirusOverrides(int index)
public ThreatPreventionProfile.Builder removeAntivirusOverrides(int index)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
removeSeverityOverrides(int index)
public ThreatPreventionProfile.Builder removeSeverityOverrides(int index)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
removeThreatOverrides(int index)
public ThreatPreventionProfile.Builder removeThreatOverrides(int index)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setAntivirusOverrides(int index, AntivirusOverride value)
public ThreatPreventionProfile.Builder setAntivirusOverrides(int index, AntivirusOverride value)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
AntivirusOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setAntivirusOverrides(int index, AntivirusOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder setAntivirusOverrides(int index, AntivirusOverride.Builder builderForValue)Optional. Configuration for overriding antivirus actions per protocol.
repeated .google.cloud.networksecurity.v1.AntivirusOverride antivirus_overrides = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
AntivirusOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setSeverityOverrides(int index, SeverityOverride value)
public ThreatPreventionProfile.Builder setSeverityOverrides(int index, SeverityOverride value)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SeverityOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setSeverityOverrides(int index, SeverityOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder setSeverityOverrides(int index, SeverityOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by severity match.
repeated .google.cloud.networksecurity.v1.SeverityOverride severity_overrides = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SeverityOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setThreatOverrides(int index, ThreatOverride value)
public ThreatPreventionProfile.Builder setThreatOverrides(int index, ThreatOverride value)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
ThreatOverride |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|
setThreatOverrides(int index, ThreatOverride.Builder builderForValue)
public ThreatPreventionProfile.Builder setThreatOverrides(int index, ThreatOverride.Builder builderForValue)Optional. Configuration for overriding threats actions by threat_id match. If a threat is matched both by configuration provided in severity_overrides and threat_overrides, the threat_overrides action is applied.
repeated .google.cloud.networksecurity.v1.ThreatOverride threat_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
ThreatOverride.Builder |
| Returns | |
|---|---|
| Type | Description |
ThreatPreventionProfile.Builder |
|