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.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.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 notificationint
getNotificationTypeValue()
Type of notificationSubject
getSubject()
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.-
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.
-
-