Interface NotificationMessageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationMessage
,NotificationMessage.Builder
public interface NotificationMessageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationMessage.EventCase
getEventCase()
Finding
getFinding()
If it's a Finding based notification config, this field will be populated.FindingOrBuilder
getFindingOrBuilder()
If it's a Finding based notification config, this field will be populated.String
getNotificationConfigName()
Name of the notification config that generated current notification.com.google.protobuf.ByteString
getNotificationConfigNameBytes()
Name of the notification config that generated current notification.Resource
getResource()
The Cloud resource tied to this notification's Finding.ResourceOrBuilder
getResourceOrBuilder()
The Cloud resource tied to this notification's Finding.boolean
hasFinding()
If it's a Finding based notification config, this field will be populated.boolean
hasResource()
The Cloud resource tied to this notification's Finding.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getNotificationConfigName
String getNotificationConfigName()
Name of the notification config that generated current notification.
string notification_config_name = 1;
- Returns:
- The notificationConfigName.
-
getNotificationConfigNameBytes
com.google.protobuf.ByteString getNotificationConfigNameBytes()
Name of the notification config that generated current notification.
string notification_config_name = 1;
- Returns:
- The bytes for notificationConfigName.
-
hasFinding
boolean hasFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
- Returns:
- Whether the finding field is set.
-
getFinding
Finding getFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
- Returns:
- The finding.
-
getFindingOrBuilder
FindingOrBuilder getFindingOrBuilder()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1.Finding finding = 2;
-
hasResource
boolean hasResource()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()
The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v1.Resource resource = 3;
-
getEventCase
NotificationMessage.EventCase getEventCase()
-
-