public interface NotificationMessageOrBuilder extends MessageOrBuilder
Modifier and Type | Method and 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.
|
ByteString |
getNotificationConfigNameBytes()
Name of the notification config that generated current notification.
|
Resource |
getResource()
The Cloud resource tied to the notification.
|
ResourceOrBuilder |
getResourceOrBuilder()
The Cloud resource tied to the notification.
|
boolean |
hasFinding()
If it's a Finding based notification config, this field will be
populated.
|
boolean |
hasResource()
The Cloud resource tied to the notification.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getNotificationConfigName()
Name of the notification config that generated current notification.
string notification_config_name = 1;
ByteString getNotificationConfigNameBytes()
Name of the notification config that generated current notification.
string notification_config_name = 1;
boolean hasFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
Finding getFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
FindingOrBuilder getFindingOrBuilder()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
boolean hasResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
Resource getResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
ResourceOrBuilder getResourceOrBuilder()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
NotificationMessage.EventCase getEventCase()
Copyright © 2022 Google LLC. All rights reserved.