public static final class NotificationMessage.Builder extends GeneratedMessageV3.Builder<NotificationMessage.Builder> implements NotificationMessageOrBuilder
Security Command Center's NotificationProtobuf type
google.cloud.securitycenter.v1p1beta1.NotificationMessage
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public NotificationMessage build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public NotificationMessage buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public NotificationMessage.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder mergeFrom(NotificationMessage other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public NotificationMessage.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<NotificationMessage.Builder>
IOException
public NotificationMessage.EventCase getEventCase()
getEventCase
in interface NotificationMessageOrBuilder
public NotificationMessage.Builder clearEvent()
public String getNotificationConfigName()
Name of the notification config that generated current notification.
string notification_config_name = 1;
getNotificationConfigName
in interface NotificationMessageOrBuilder
public ByteString getNotificationConfigNameBytes()
Name of the notification config that generated current notification.
string notification_config_name = 1;
getNotificationConfigNameBytes
in interface NotificationMessageOrBuilder
public NotificationMessage.Builder setNotificationConfigName(String value)
Name of the notification config that generated current notification.
string notification_config_name = 1;
value
- The notificationConfigName to set.public NotificationMessage.Builder clearNotificationConfigName()
Name of the notification config that generated current notification.
string notification_config_name = 1;
public NotificationMessage.Builder setNotificationConfigNameBytes(ByteString value)
Name of the notification config that generated current notification.
string notification_config_name = 1;
value
- The bytes for notificationConfigName to set.public boolean hasFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
hasFinding
in interface NotificationMessageOrBuilder
public Finding getFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
getFinding
in interface NotificationMessageOrBuilder
public NotificationMessage.Builder setFinding(Finding value)
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
public NotificationMessage.Builder setFinding(Finding.Builder builderForValue)
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
public NotificationMessage.Builder mergeFinding(Finding value)
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
public NotificationMessage.Builder clearFinding()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
public Finding.Builder getFindingBuilder()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
public FindingOrBuilder getFindingOrBuilder()
If it's a Finding based notification config, this field will be populated.
.google.cloud.securitycenter.v1p1beta1.Finding finding = 2;
getFindingOrBuilder
in interface NotificationMessageOrBuilder
public boolean hasResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
hasResource
in interface NotificationMessageOrBuilder
public Resource getResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
getResource
in interface NotificationMessageOrBuilder
public NotificationMessage.Builder setResource(Resource value)
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
public NotificationMessage.Builder setResource(Resource.Builder builderForValue)
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
public NotificationMessage.Builder mergeResource(Resource value)
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
public NotificationMessage.Builder clearResource()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
public Resource.Builder getResourceBuilder()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
public ResourceOrBuilder getResourceOrBuilder()
The Cloud resource tied to the notification.
.google.cloud.securitycenter.v1p1beta1.Resource resource = 3;
getResourceOrBuilder
in interface NotificationMessageOrBuilder
public final NotificationMessage.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
public final NotificationMessage.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<NotificationMessage.Builder>
Copyright © 2022 Google LLC. All rights reserved.