public static enum InterconnectOutageNotification.State extends Enum<InterconnectOutageNotification.State> implements com.google.protobuf.ProtocolMessageEnum
State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values.Protobuf enum
google.cloud.compute.v1.InterconnectOutageNotification.State| Enum Constant and Description |
|---|
ACTIVE
This outage notification is active.
|
CANCELLED
The outage associated with this notification was cancelled before the outage was due to start.
|
COMPLETED
The outage associated with this notification is complete.
|
NS_ACTIVE
[Deprecated] This outage notification is active.
|
NS_CANCELED
[Deprecated] The outage associated with this notification was canceled before the outage was due to start.
|
UNDEFINED_STATE
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
This outage notification is active.
|
static int |
CANCELLED_VALUE
The outage associated with this notification was cancelled before the outage was due to start.
|
static int |
COMPLETED_VALUE
The outage associated with this notification is complete.
|
static int |
NS_ACTIVE_VALUE
[Deprecated] This outage notification is active.
|
static int |
NS_CANCELED_VALUE
[Deprecated] The outage associated with this notification was canceled before the outage was due to start.
|
static int |
UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static InterconnectOutageNotification.State |
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<InterconnectOutageNotification.State> |
internalGetValueMap() |
static InterconnectOutageNotification.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static InterconnectOutageNotification.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static InterconnectOutageNotification.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterconnectOutageNotification.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterconnectOutageNotification.State UNDEFINED_STATE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final InterconnectOutageNotification.State ACTIVE
This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.
ACTIVE = 314733318;public static final InterconnectOutageNotification.State CANCELLED
The outage associated with this notification was cancelled before the outage was due to start.
CANCELLED = 41957681;public static final InterconnectOutageNotification.State COMPLETED
The outage associated with this notification is complete.
COMPLETED = 309921323;public static final InterconnectOutageNotification.State NS_ACTIVE
[Deprecated] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.
NS_ACTIVE = 252563136;public static final InterconnectOutageNotification.State NS_CANCELED
[Deprecated] The outage associated with this notification was canceled before the outage was due to start.
NS_CANCELED = 506579411;public static final InterconnectOutageNotification.State UNRECOGNIZED
public static final int UNDEFINED_STATE_VALUE
A value indicating that the enum field is not set.
UNDEFINED_STATE = 0;public static final int ACTIVE_VALUE
This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.
ACTIVE = 314733318;public static final int CANCELLED_VALUE
The outage associated with this notification was cancelled before the outage was due to start.
CANCELLED = 41957681;public static final int COMPLETED_VALUE
The outage associated with this notification is complete.
COMPLETED = 309921323;public static final int NS_ACTIVE_VALUE
[Deprecated] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling.
NS_ACTIVE = 252563136;public static final int NS_CANCELED_VALUE
[Deprecated] The outage associated with this notification was canceled before the outage was due to start.
NS_CANCELED = 506579411;public static InterconnectOutageNotification.State[] values()
for (InterconnectOutageNotification.State c : InterconnectOutageNotification.State.values()) System.out.println(c);
public static InterconnectOutageNotification.State 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 InterconnectOutageNotification.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static InterconnectOutageNotification.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<InterconnectOutageNotification.State> 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 InterconnectOutageNotification.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.