public interface NotificationMessageOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEventCase()
public abstract NotificationMessage.EventCase getEventCase()
Returns | |
---|---|
Type | Description |
NotificationMessage.EventCase |
getFinding()
public abstract Finding getFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
Returns | |
---|---|
Type | Description |
Finding |
The finding. |
getFindingOrBuilder()
public abstract FindingOrBuilder getFindingOrBuilder()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
Returns | |
---|---|
Type | Description |
FindingOrBuilder |
getNotificationConfigName()
public abstract String getNotificationConfigName()
Name of the notification config that generated current notification.
string notification_config_name = 1;
Returns | |
---|---|
Type | Description |
String |
The notificationConfigName. |
getNotificationConfigNameBytes()
public abstract ByteString getNotificationConfigNameBytes()
Name of the notification config that generated current notification.
string notification_config_name = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for notificationConfigName. |
getResource()
public abstract Resource getResource()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
Returns | |
---|---|
Type | Description |
Resource |
The resource. |
getResourceOrBuilder()
public abstract ResourceOrBuilder getResourceOrBuilder()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
Returns | |
---|---|
Type | Description |
ResourceOrBuilder |
hasFinding()
public abstract boolean hasFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the finding field is set. |
hasResource()
public abstract boolean hasResource()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the resource field is set. |