Class ThreatPreventionProfile

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.networksecurity.v1.ThreatPreventionProfile
All Implemented Interfaces:
ThreatPreventionProfileOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ThreatPreventionProfile extends com.google.protobuf.GeneratedMessage implements ThreatPreventionProfileOrBuilder
 ThreatPreventionProfile defines an action for specific threat signatures or
 severity levels.
 
Protobuf type google.cloud.networksecurity.v1.ThreatPreventionProfile
See Also:
  • Field Details

    • SEVERITY_OVERRIDES_FIELD_NUMBER

      public static final int SEVERITY_OVERRIDES_FIELD_NUMBER
      See Also:
    • THREAT_OVERRIDES_FIELD_NUMBER

      public static final int THREAT_OVERRIDES_FIELD_NUMBER
      See Also:
    • ANTIVIRUS_OVERRIDES_FIELD_NUMBER

      public static final int ANTIVIRUS_OVERRIDES_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getSeverityOverridesList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getSeverityOverridesOrBuilderList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getSeverityOverridesCount in interface ThreatPreventionProfileOrBuilder
    • getSeverityOverrides

      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];
      Specified by:
      getSeverityOverrides in interface ThreatPreventionProfileOrBuilder
    • getSeverityOverridesOrBuilder

      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];
      Specified by:
      getSeverityOverridesOrBuilder in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getThreatOverridesList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getThreatOverridesOrBuilderList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getThreatOverridesCount in interface ThreatPreventionProfileOrBuilder
    • getThreatOverrides

      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];
      Specified by:
      getThreatOverrides in interface ThreatPreventionProfileOrBuilder
    • getThreatOverridesOrBuilder

      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];
      Specified by:
      getThreatOverridesOrBuilder in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getAntivirusOverridesList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getAntivirusOverridesOrBuilderList in interface ThreatPreventionProfileOrBuilder
    • 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];
      Specified by:
      getAntivirusOverridesCount in interface ThreatPreventionProfileOrBuilder
    • getAntivirusOverrides

      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];
      Specified by:
      getAntivirusOverrides in interface ThreatPreventionProfileOrBuilder
    • getAntivirusOverridesOrBuilder

      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];
      Specified by:
      getAntivirusOverridesOrBuilder in interface ThreatPreventionProfileOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ThreatPreventionProfile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ThreatPreventionProfile parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ThreatPreventionProfile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ThreatPreventionProfile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ThreatPreventionProfile.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ThreatPreventionProfile.Builder newBuilder()
    • newBuilder

      public static ThreatPreventionProfile.Builder newBuilder(ThreatPreventionProfile prototype)
    • toBuilder

      public ThreatPreventionProfile.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ThreatPreventionProfile.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ThreatPreventionProfile getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ThreatPreventionProfile> parser()
    • getParserForType

      public com.google.protobuf.Parser<ThreatPreventionProfile> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ThreatPreventionProfile getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder