Interface NotificationMessageOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NotificationMessage,NotificationMessage.Builder
@Generated
public interface NotificationMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf it's a Finding based notification config, this field will be populated.If it's a Finding based notification config, this field will be populated.Name of the notification config that generated current notification.com.google.protobuf.ByteStringName of the notification config that generated current notification.The Cloud resource tied to the notification.The Cloud resource tied to the notification.booleanIf it's a Finding based notification config, this field will be populated.booleanThe Cloud resource tied to the notification.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-