public interface ThreatOverrideOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAction()
public abstract 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 | |
|---|---|
| Type | Description |
ThreatAction |
The action. |
getActionValue()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for action. |
getThreatId()
public abstract String getThreatId()Required. Vendor-specific ID of a threat to override.
string threat_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The threatId. |
getThreatIdBytes()
public abstract ByteString getThreatIdBytes()Required. Vendor-specific ID of a threat to override.
string threat_id = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for threatId. |
getType()
public abstract ThreatType getType()Output only. Type of the threat (read only).
.google.cloud.networksecurity.v1.ThreatType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ThreatType |
The type. |
getTypeValue()
public abstract int getTypeValue()Output only. Type of the threat (read only).
.google.cloud.networksecurity.v1.ThreatType type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |