public final class Notification extends com.google.protobuf.GeneratedMessageV3 implements NotificationOrBuilder
A notification object for notifying customers about security and privacy issues.Protobuf type
google.cloud.advisorynotifications.v1.Notification| Modifier and Type | Class and Description |
|---|---|
static class |
Notification.Builder
A notification object for notifying customers about security and privacy
issues.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
MESSAGES_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NOTIFICATION_TYPE_FIELD_NUMBER |
static int |
SUBJECT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static Notification |
getDefaultInstance() |
Notification |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Message |
getMessages(int index)
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
|
com.google.protobuf.Parser<Notification> |
getParserForType() |
int |
getSerializedSize() |
Subject |
getSubject()
The subject line of the notification.
|
SubjectOrBuilder |
getSubjectOrBuilder()
The subject line of the notification.
|
boolean |
hasCreateTime()
Output only.
|
int |
hashCode() |
boolean |
hasSubject()
The subject line of the notification.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Notification.Builder |
newBuilder() |
static Notification.Builder |
newBuilder(Notification prototype) |
Notification.Builder |
newBuilderForType() |
protected Notification.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Notification |
parseDelimitedFrom(InputStream input) |
static Notification |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Notification |
parseFrom(byte[] data) |
static Notification |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Notification |
parseFrom(ByteBuffer data) |
static Notification |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Notification |
parseFrom(com.google.protobuf.ByteString data) |
static Notification |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Notification |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Notification |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Notification |
parseFrom(InputStream input) |
static Notification |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Notification> |
parser() |
Notification.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int NAME_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
public static final int MESSAGES_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int NOTIFICATION_TYPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 List<? extends MessageOrBuilder> getMessagesOrBuilderList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesOrBuilderList 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 MessageOrBuilder getMessagesOrBuilder(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;getMessagesOrBuilder in interface NotificationOrBuilderpublic 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 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 NotificationType getNotificationType()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;getNotificationType in interface NotificationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Notification parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Notification parseFrom(InputStream input) throws IOException
IOExceptionpublic static Notification parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Notification parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Notification parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Notification parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Notification parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Notification.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Notification.Builder newBuilder()
public static Notification.Builder newBuilder(Notification prototype)
public Notification.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Notification.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Notification getDefaultInstance()
public static com.google.protobuf.Parser<Notification> parser()
public com.google.protobuf.Parser<Notification> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Notification getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.