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.EventCasegetEventCase()FindinggetFinding()If it's a Finding based notification config, this field will be populated.FindingOrBuildergetFindingOrBuilder()If it's a Finding based notification config, this field will be populated.StringgetNotificationConfigName()Name of the notification config that generated current notification.com.google.protobuf.ByteStringgetNotificationConfigNameBytes()Name of the notification config that generated current notification.ResourcegetResource()The Cloud resource tied to the notification.ResourceOrBuildergetResourceOrBuilder()The Cloud resource tied to the notification.booleanhasFinding()If it's a Finding based notification config, this field will be populated.booleanhasResource()The Cloud resource tied to the notification.-
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.v1p1beta1.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.v1p1beta1.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.v1p1beta1.Finding finding = 2;
-
hasResource
boolean hasResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;- Returns:
- Whether the resource field is set.
-
getResource
Resource getResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;- Returns:
- The resource.
-
getResourceOrBuilder
ResourceOrBuilder getResourceOrBuilder()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
-
getEventCase
NotificationMessage.EventCase getEventCase()
-
-