Interface NotificationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Notification,Notification.Builder
public interface NotificationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.MessagegetMessages(int index)A list of messages in the notification.intgetMessagesCount()A list of messages in the notification.List<Message>getMessagesList()A list of messages in the notification.MessageOrBuildergetMessagesOrBuilder(int index)A list of messages in the notification.List<? extends MessageOrBuilder>getMessagesOrBuilderList()A list of messages in the notification.StringgetName()The resource name of the notification.com.google.protobuf.ByteStringgetNameBytes()The resource name of the notification.NotificationTypegetNotificationType()Type of notificationintgetNotificationTypeValue()Type of notificationSubjectgetSubject()The subject line of the notification.SubjectOrBuildergetSubjectOrBuilder()The subject line of the notification.booleanhasCreateTime()Output only.booleanhasSubject()The subject line of the notification.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.string name = 1;- Returns:
- The bytes for name.
-
hasSubject
boolean hasSubject()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;- Returns:
- Whether the subject field is set.
-
getSubject
Subject getSubject()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;- Returns:
- The subject.
-
getSubjectOrBuilder
SubjectOrBuilder getSubjectOrBuilder()
The subject line of the notification.
.google.cloud.advisorynotifications.v1.Subject subject = 2;
-
getMessagesList
List<Message> getMessagesList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
-
getMessages
Message getMessages(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
-
getMessagesCount
int getMessagesCount()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
-
getMessagesOrBuilderList
List<? extends MessageOrBuilder> getMessagesOrBuilderList()
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
-
getMessagesOrBuilder
MessageOrBuilder getMessagesOrBuilder(int index)
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3;
-
hasCreateTime
boolean hasCreateTime()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Time the notification was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getNotificationTypeValue
int getNotificationTypeValue()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;- Returns:
- The enum numeric value on the wire for notificationType.
-
getNotificationType
NotificationType getNotificationType()
Type of notification
.google.cloud.advisorynotifications.v1.NotificationType notification_type = 12;- Returns:
- The notificationType.
-
-