public static final class Notification.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder> implements NotificationOrBuilder
A notification object for notifying customers about security and privacy issues.Protobuf type
google.cloud.advisorynotifications.v1.Notification| Modifier and Type | Method and Description |
|---|---|
Notification.Builder |
addAllMessages(Iterable<? extends Message> values)
A list of messages in the notification.
|
Notification.Builder |
addMessages(int index,
Message.Builder builderForValue)
A list of messages in the notification.
|
Notification.Builder |
addMessages(int index,
Message value)
A list of messages in the notification.
|
Notification.Builder |
addMessages(Message.Builder builderForValue)
A list of messages in the notification.
|
Notification.Builder |
addMessages(Message value)
A list of messages in the notification.
|
Message.Builder |
addMessagesBuilder()
A list of messages in the notification.
|
Message.Builder |
addMessagesBuilder(int index)
A list of messages in the notification.
|
Notification.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Notification |
build() |
Notification |
buildPartial() |
Notification.Builder |
clear() |
Notification.Builder |
clearCreateTime()
Output only.
|
Notification.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Notification.Builder |
clearMessages()
A list of messages in the notification.
|
Notification.Builder |
clearName()
The resource name of the notification.
|
Notification.Builder |
clearNotificationType()
Type of notification
|
Notification.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Notification.Builder |
clearSubject()
The subject line of the notification.
|
Notification.Builder |
clone() |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Notification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Message |
getMessages(int index)
A list of messages in the notification.
|
Message.Builder |
getMessagesBuilder(int index)
A list of messages in the notification.
|
List<Message.Builder> |
getMessagesBuilderList()
A list of messages in the notification.
|
int |
getMessagesCount()
A list of messages in the notification.
|
List<Message> |
getMessagesList()
A list of messages in the notification.
|
MessageOrBuilder |
getMessagesOrBuilder(int index)
A list of messages in the notification.
|
List<? extends MessageOrBuilder> |
getMessagesOrBuilderList()
A list of messages in the notification.
|
String |
getName()
The resource name of the notification.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the notification.
|
NotificationType |
getNotificationType()
Type of notification
|
int |
getNotificationTypeValue()
Type of notification
|
Subject |
getSubject()
The subject line of the notification.
|
Subject.Builder |
getSubjectBuilder()
The subject line of the notification.
|
SubjectOrBuilder |
getSubjectOrBuilder()
The subject line of the notification.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasSubject()
The subject line of the notification.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Notification.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Notification.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Notification.Builder |
mergeFrom(com.google.protobuf.Message other) |
Notification.Builder |
mergeFrom(Notification other) |
Notification.Builder |
mergeSubject(Subject value)
The subject line of the notification.
|
Notification.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Notification.Builder |
removeMessages(int index)
A list of messages in the notification.
|
Notification.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Notification.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Notification.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Notification.Builder |
setMessages(int index,
Message.Builder builderForValue)
A list of messages in the notification.
|
Notification.Builder |
setMessages(int index,
Message value)
A list of messages in the notification.
|
Notification.Builder |
setName(String value)
The resource name of the notification.
|
Notification.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The resource name of the notification.
|
Notification.Builder |
setNotificationType(NotificationType value)
Type of notification
|
Notification.Builder |
setNotificationTypeValue(int value)
Type of notification
|
Notification.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Notification.Builder |
setSubject(Subject.Builder builderForValue)
The subject line of the notification.
|
Notification.Builder |
setSubject(Subject value)
The subject line of the notification.
|
Notification.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Notification build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Notification buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Notification.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Notification.Builder>public Notification.Builder mergeFrom(Notification other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public Notification.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Notification.Builder>IOExceptionpublic String getName()
The resource name of the notification.
Format:
organizations/{organization}/locations/{location}/notifications/{notification}.
string name = 1;getName in interface NotificationOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The resource name of the notification.
Format:
organizations/{organization}/locations/{location}/notifications/{notification}.
string name = 1;getNameBytes in interface NotificationOrBuilderpublic Notification.Builder setName(String value)
The resource name of the notification.
Format:
organizations/{organization}/locations/{location}/notifications/{notification}.
string name = 1;value - The name to set.public Notification.Builder clearName()
The resource name of the notification.
Format:
organizations/{organization}/locations/{location}/notifications/{notification}.
string name = 1;public Notification.Builder setNameBytes(com.google.protobuf.ByteString value)
The resource name of the notification.
Format:
organizations/{organization}/locations/{location}/notifications/{notification}.
string name = 1;value - The bytes for name to set.public boolean hasSubject()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;hasSubject in interface NotificationOrBuilderpublic Subject getSubject()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;getSubject in interface NotificationOrBuilderpublic Notification.Builder setSubject(Subject value)
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;public Notification.Builder setSubject(Subject.Builder builderForValue)
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;public Notification.Builder mergeSubject(Subject value)
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;public Notification.Builder clearSubject()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;public Subject.Builder getSubjectBuilder()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;public SubjectOrBuilder getSubjectOrBuilder()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;getSubjectOrBuilder in interface NotificationOrBuilderpublic List<Message> getMessagesList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesList in interface NotificationOrBuilderpublic int getMessagesCount()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesCount in interface NotificationOrBuilderpublic Message getMessages(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessages in interface NotificationOrBuilderpublic Notification.Builder setMessages(int index, Message value)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder setMessages(int index, Message.Builder builderForValue)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder addMessages(Message value)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder addMessages(int index, Message value)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder addMessages(Message.Builder builderForValue)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder addMessages(int index, Message.Builder builderForValue)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder addAllMessages(Iterable<? extends Message> values)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder clearMessages()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Notification.Builder removeMessages(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Message.Builder getMessagesBuilder(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public MessageOrBuilder getMessagesOrBuilder(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesOrBuilder in interface NotificationOrBuilderpublic List<? extends MessageOrBuilder> getMessagesOrBuilderList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesOrBuilderList in interface NotificationOrBuilderpublic Message.Builder addMessagesBuilder()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public Message.Builder addMessagesBuilder(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public List<Message.Builder> getMessagesBuilderList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;public boolean hasCreateTime()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface NotificationOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface NotificationOrBuilderpublic Notification.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Notification.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Notification.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Notification.Builder clearCreateTime()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface NotificationOrBuilderpublic int getNotificationTypeValue()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;getNotificationTypeValue in interface NotificationOrBuilderpublic Notification.Builder setNotificationTypeValue(int value)
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;value - The enum numeric value on the wire for notificationType to set.public NotificationType getNotificationType()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;getNotificationType in interface NotificationOrBuilderpublic Notification.Builder setNotificationType(NotificationType value)
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;value - The notificationType to set.public Notification.Builder clearNotificationType()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;public final Notification.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>public final Notification.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Notification.Builder>Copyright © 2023 Google LLC. All rights reserved.