Interface NotificationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Notification,Notification.Builder
@Generated
public interface NotificationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getMessages(int index) A list of messages in the notification.intA list of messages in the notification.A list of messages in the notification.getMessagesOrBuilder(int index) A list of messages in the notification.List<? extends MessageOrBuilder>A list of messages in the notification.getName()The resource name of the notification.com.google.protobuf.ByteStringThe resource name of the notification.Type of notificationintType of notificationThe subject line of the notification.The subject line of the notification.booleanOutput only.booleanThe subject line of the notification.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{project}/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} or projects/{project}/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
A list of messages in the notification.
repeated .google.cloud.advisorynotifications.v1.Message messages = 3; -
getMessages
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
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.
-