- 2.93.0 (latest)
- 2.91.0
- 2.90.0
- 2.88.0
- 2.86.0
- 2.84.0
- 2.83.0
- 2.82.0
- 2.81.0
- 2.80.0
- 2.78.0
- 2.76.0
- 2.75.0
- 2.72.0
- 2.71.0
- 2.70.0
- 2.68.0
- 2.67.0
- 2.66.0
- 2.65.0
- 2.64.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.60.0
- 2.59.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class NotificationMessage.Builder extends GeneratedMessage.Builder<NotificationMessage.Builder> implements NotificationMessageOrBuilderCloud SCC's Notification
Protobuf type google.cloud.securitycenter.v2.NotificationMessage
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > NotificationMessage.BuilderImplements
NotificationMessageOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public NotificationMessage build()| Returns | |
|---|---|
| Type | Description |
NotificationMessage |
|
buildPartial()
public NotificationMessage buildPartial()| Returns | |
|---|---|
| Type | Description |
NotificationMessage |
|
clear()
public NotificationMessage.Builder clear()| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
clearEvent()
public NotificationMessage.Builder clearEvent()| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
clearFinding()
public NotificationMessage.Builder clearFinding()If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
clearNotificationConfigName()
public NotificationMessage.Builder clearNotificationConfigName()Name of the notification config that generated current notification.
string notification_config_name = 1;
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
This builder for chaining. |
clearResource()
public NotificationMessage.Builder clearResource()The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
getDefaultInstanceForType()
public NotificationMessage getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
NotificationMessage |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getEventCase()
public NotificationMessage.EventCase getEventCase()| Returns | |
|---|---|
| Type | Description |
NotificationMessage.EventCase |
|
getFinding()
public Finding getFinding()If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Returns | |
|---|---|
| Type | Description |
Finding |
The finding. |
getFindingBuilder()
public Finding.Builder getFindingBuilder()If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Returns | |
|---|---|
| Type | Description |
Finding.Builder |
|
getFindingOrBuilder()
public FindingOrBuilder getFindingOrBuilder()If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Returns | |
|---|---|
| Type | Description |
FindingOrBuilder |
|
getNotificationConfigName()
public String getNotificationConfigName()Name of the notification config that generated current notification.
string notification_config_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The notificationConfigName. |
getNotificationConfigNameBytes()
public ByteString getNotificationConfigNameBytes()Name of the notification config that generated current notification.
string notification_config_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for notificationConfigName. |
getResource()
public Resource getResource()The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Returns | |
|---|---|
| Type | Description |
Resource |
The resource. |
getResourceBuilder()
public Resource.Builder getResourceBuilder()The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Returns | |
|---|---|
| Type | Description |
Resource.Builder |
|
getResourceOrBuilder()
public ResourceOrBuilder getResourceOrBuilder()The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Returns | |
|---|---|
| Type | Description |
ResourceOrBuilder |
|
hasFinding()
public boolean hasFinding()If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the finding field is set. |
hasResource()
public boolean hasResource()The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the resource field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFinding(Finding value)
public NotificationMessage.Builder mergeFinding(Finding value)If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Finding |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
mergeFrom(NotificationMessage other)
public NotificationMessage.Builder mergeFrom(NotificationMessage other)| Parameter | |
|---|---|
| Name | Description |
other |
NotificationMessage |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public NotificationMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public NotificationMessage.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
mergeResource(Resource value)
public NotificationMessage.Builder mergeResource(Resource value)The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
setFinding(Finding value)
public NotificationMessage.Builder setFinding(Finding value)If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Finding |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
setFinding(Finding.Builder builderForValue)
public NotificationMessage.Builder setFinding(Finding.Builder builderForValue)If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v2.Finding finding = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Finding.Builder |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
setNotificationConfigName(String value)
public NotificationMessage.Builder setNotificationConfigName(String value)Name of the notification config that generated current notification.
string notification_config_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe notificationConfigName to set. |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
This builder for chaining. |
setNotificationConfigNameBytes(ByteString value)
public NotificationMessage.Builder setNotificationConfigNameBytes(ByteString value)Name of the notification config that generated current notification.
string notification_config_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for notificationConfigName to set. |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
This builder for chaining. |
setResource(Resource value)
public NotificationMessage.Builder setResource(Resource value)The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Resource |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|
setResource(Resource.Builder builderForValue)
public NotificationMessage.Builder setResource(Resource.Builder builderForValue)The Cloud resource tied to this notification's Finding.
.google.cloud.securitycenter.v2.Resource resource = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Resource.Builder |
| Returns | |
|---|---|
| Type | Description |
NotificationMessage.Builder |
|