public enum NotificationView extends Enum<NotificationView> implements com.google.protobuf.ProtocolMessageEnum
Notification view.Protobuf enum
google.cloud.advisorynotifications.v1.NotificationView| Enum Constant and Description |
|---|
BASIC
Server responses only include title, creation time and Notification ID.
|
FULL
Include everything.
|
NOTIFICATION_VIEW_UNSPECIFIED
Not specified, equivalent to BASIC.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
BASIC_VALUE
Server responses only include title, creation time and Notification ID.
|
static int |
FULL_VALUE
Include everything.
|
static int |
NOTIFICATION_VIEW_UNSPECIFIED_VALUE
Not specified, equivalent to BASIC.
|
| Modifier and Type | Method and Description |
|---|---|
static NotificationView |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<NotificationView> |
internalGetValueMap() |
static NotificationView |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static NotificationView |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static NotificationView |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotificationView[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotificationView NOTIFICATION_VIEW_UNSPECIFIED
Not specified, equivalent to BASIC.
NOTIFICATION_VIEW_UNSPECIFIED = 0;public static final NotificationView BASIC
Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.
BASIC = 1;public static final NotificationView FULL
Include everything.
FULL = 2;public static final NotificationView UNRECOGNIZED
public static final int NOTIFICATION_VIEW_UNSPECIFIED_VALUE
Not specified, equivalent to BASIC.
NOTIFICATION_VIEW_UNSPECIFIED = 0;public static final int BASIC_VALUE
Server responses only include title, creation time and Notification ID. Note: for internal use responses also include the last update time, the latest message text and whether notification has attachments.
BASIC = 1;public static final int FULL_VALUE
Include everything.
FULL = 2;public static NotificationView[] values()
for (NotificationView c : NotificationView.values()) System.out.println(c);
public static NotificationView valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static NotificationView valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static NotificationView forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<NotificationView> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static NotificationView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.