Interface NotificationMessageOrBuilder (2.25.0)

public interface NotificationMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEventCase()

public abstract NotificationMessage.EventCase getEventCase()
Returns
TypeDescription
NotificationMessage.EventCase

getFinding()

public abstract Finding getFinding()

If it's a Finding based notification config, this field will be populated.

.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;

Returns
TypeDescription
Finding

The finding.

getFindingOrBuilder()

public abstract FindingOrBuilder getFindingOrBuilder()

If it's a Finding based notification config, this field will be populated.

.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;

Returns
TypeDescription
FindingOrBuilder

getNotificationConfigName()

public abstract String getNotificationConfigName()

Name of the notification config that generated current notification.

string notification_config_name = 1;

Returns
TypeDescription
String

The notificationConfigName.

getNotificationConfigNameBytes()

public abstract ByteString getNotificationConfigNameBytes()

Name of the notification config that generated current notification.

string notification_config_name = 1;

Returns
TypeDescription
ByteString

The bytes for notificationConfigName.

getResource()

public abstract Resource getResource()

The Cloud resource tied to the notification.

.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;

Returns
TypeDescription
Resource

The resource.

getResourceOrBuilder()

public abstract ResourceOrBuilder getResourceOrBuilder()

The Cloud resource tied to the notification.

.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;

Returns
TypeDescription
ResourceOrBuilder

hasFinding()

public abstract boolean hasFinding()

If it's a Finding based notification config, this field will be populated.

.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;

Returns
TypeDescription
boolean

Whether the finding field is set.

hasResource()

public abstract boolean hasResource()

The Cloud resource tied to the notification.

.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;

Returns
TypeDescription
boolean

Whether the resource field is set.