public final class ThreatPreventionProfile extends GeneratedMessage implements ThreatPreventionProfileOrBuilder
ThreatPreventionProfile defines an action for specific threat signatures or
severity levels.
Protobuf type google.cloud.networksecurity.v1.ThreatPreventionProfile
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
ANTIVIRUS_OVERRIDES_FIELD_NUMBER
public static final int ANTIVIRUS_OVERRIDES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SEVERITY_OVERRIDES_FIELD_NUMBER
public static final int SEVERITY_OVERRIDES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
THREAT_OVERRIDES_FIELD_NUMBER
public static final int THREAT_OVERRIDES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ThreatPreventionProfile getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ThreatPreventionProfile.Builder newBuilder()
newBuilder(ThreatPreventionProfile prototype)
public static ThreatPreventionProfile.Builder newBuilder(ThreatPreventionProfile prototype)
public static ThreatPreventionProfile parseDelimitedFrom(InputStream input)
public static ThreatPreventionProfile parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ThreatPreventionProfile parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ThreatPreventionProfile parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ThreatPreventionProfile parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ThreatPreventionProfile parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ThreatPreventionProfile parseFrom(CodedInputStream input)
public static ThreatPreventionProfile parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ThreatPreventionProfile parseFrom(InputStream input)
public static ThreatPreventionProfile parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ThreatPreventionProfile parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ThreatPreventionProfile parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ThreatPreventionProfile> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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
|
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];
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
|
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()
getParserForType()
public Parser<ThreatPreventionProfile> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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
|
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];
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
|
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
|
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];
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
|
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> |
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ThreatPreventionProfile.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ThreatPreventionProfile.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ThreatPreventionProfile.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides