Interface ThreatOverrideOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ThreatOverride,ThreatOverride.Builder
@Generated
public interface ThreatOverrideOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.intRequired.Required.com.google.protobuf.ByteStringRequired.getType()Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getThreatId
String getThreatId()Required. Vendor-specific ID of a threat to override.
string threat_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The threatId.
-
getThreatIdBytes
com.google.protobuf.ByteString getThreatIdBytes()Required. Vendor-specific ID of a threat to override.
string threat_id = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for threatId.
-
getTypeValue
int getTypeValue()Output only. Type of the threat (read only).
.google.cloud.networksecurity.v1.ThreatType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The enum numeric value on the wire for type.
-
getType
ThreatType getType()Output only. Type of the threat (read only).
.google.cloud.networksecurity.v1.ThreatType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The type.
-
getActionValue
int getActionValue()Required. Threat action override. For some threat types, only a subset of actions applies.
.google.cloud.networksecurity.v1.ThreatAction action = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for action.
-
getAction
ThreatAction getAction()Required. Threat action override. For some threat types, only a subset of actions applies.
.google.cloud.networksecurity.v1.ThreatAction action = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The action.
-