public static enum DiagnoseNetworkResponse.NetworkStatus.MacsecStatus extends Enum<DiagnoseNetworkResponse.NetworkStatus.MacsecStatus> implements com.google.protobuf.ProtocolMessageEnum
Denotes the status of MACsec sessions for the links of a zone.Protobuf enum
google.cloud.edgenetwork.v1.DiagnoseNetworkResponse.NetworkStatus.MacsecStatus| Enum Constant and Description |
|---|
MACSEC_STATUS_UNSPECIFIED
MACsec status not specified, likely due to missing metrics.
|
SECURE
All relevant links have at least one MACsec session up.
|
UNRECOGNIZED |
UNSECURE
At least one relevant link does not have any MACsec sessions up.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
MACSEC_STATUS_UNSPECIFIED_VALUE
MACsec status not specified, likely due to missing metrics.
|
static int |
SECURE_VALUE
All relevant links have at least one MACsec session up.
|
static int |
UNSECURE_VALUE
At least one relevant link does not have any MACsec sessions up.
|
| Modifier and Type | Method and Description |
|---|---|
static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus |
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<DiagnoseNetworkResponse.NetworkStatus.MacsecStatus> |
internalGetValueMap() |
static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DiagnoseNetworkResponse.NetworkStatus.MacsecStatus MACSEC_STATUS_UNSPECIFIED
MACsec status not specified, likely due to missing metrics.
MACSEC_STATUS_UNSPECIFIED = 0;public static final DiagnoseNetworkResponse.NetworkStatus.MacsecStatus SECURE
All relevant links have at least one MACsec session up.
SECURE = 1;public static final DiagnoseNetworkResponse.NetworkStatus.MacsecStatus UNSECURE
At least one relevant link does not have any MACsec sessions up.
UNSECURE = 2;public static final DiagnoseNetworkResponse.NetworkStatus.MacsecStatus UNRECOGNIZED
public static final int MACSEC_STATUS_UNSPECIFIED_VALUE
MACsec status not specified, likely due to missing metrics.
MACSEC_STATUS_UNSPECIFIED = 0;public static final int SECURE_VALUE
All relevant links have at least one MACsec session up.
SECURE = 1;public static final int UNSECURE_VALUE
At least one relevant link does not have any MACsec sessions up.
UNSECURE = 2;public static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus[] values()
for (DiagnoseNetworkResponse.NetworkStatus.MacsecStatus c : DiagnoseNetworkResponse.NetworkStatus.MacsecStatus.values()) System.out.println(c);
public static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus 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 DiagnoseNetworkResponse.NetworkStatus.MacsecStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static DiagnoseNetworkResponse.NetworkStatus.MacsecStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<DiagnoseNetworkResponse.NetworkStatus.MacsecStatus> 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 DiagnoseNetworkResponse.NetworkStatus.MacsecStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.