public static enum Endpoint.NetworkType extends Enum<Endpoint.NetworkType> implements com.google.protobuf.ProtocolMessageEnum
The type definition of an endpoint's network. Use one of the following choices:Protobuf enum
google.cloud.networkmanagement.v1beta1.Endpoint.NetworkType| Enum Constant and Description |
|---|
GCP_NETWORK
A network hosted within Google Cloud Platform.
|
NETWORK_TYPE_UNSPECIFIED
Default type if unspecified.
|
NON_GCP_NETWORK
A network hosted outside of Google Cloud Platform.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
GCP_NETWORK_VALUE
A network hosted within Google Cloud Platform.
|
static int |
NETWORK_TYPE_UNSPECIFIED_VALUE
Default type if unspecified.
|
static int |
NON_GCP_NETWORK_VALUE
A network hosted outside of Google Cloud Platform.
|
| Modifier and Type | Method and Description |
|---|---|
static Endpoint.NetworkType |
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<Endpoint.NetworkType> |
internalGetValueMap() |
static Endpoint.NetworkType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Endpoint.NetworkType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Endpoint.NetworkType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Endpoint.NetworkType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Endpoint.NetworkType NETWORK_TYPE_UNSPECIFIED
Default type if unspecified.
NETWORK_TYPE_UNSPECIFIED = 0;public static final Endpoint.NetworkType GCP_NETWORK
A network hosted within Google Cloud Platform. To receive more detailed output, specify the URI for the source or destination network.
GCP_NETWORK = 1;public static final Endpoint.NetworkType NON_GCP_NETWORK
A network hosted outside of Google Cloud Platform. This can be an on-premises network, or a network hosted by another cloud provider.
NON_GCP_NETWORK = 2;public static final Endpoint.NetworkType UNRECOGNIZED
public static final int NETWORK_TYPE_UNSPECIFIED_VALUE
Default type if unspecified.
NETWORK_TYPE_UNSPECIFIED = 0;public static final int GCP_NETWORK_VALUE
A network hosted within Google Cloud Platform. To receive more detailed output, specify the URI for the source or destination network.
GCP_NETWORK = 1;public static final int NON_GCP_NETWORK_VALUE
A network hosted outside of Google Cloud Platform. This can be an on-premises network, or a network hosted by another cloud provider.
NON_GCP_NETWORK = 2;public static Endpoint.NetworkType[] values()
for (Endpoint.NetworkType c : Endpoint.NetworkType.values()) System.out.println(c);
public static Endpoint.NetworkType 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 Endpoint.NetworkType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static Endpoint.NetworkType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<Endpoint.NetworkType> 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 Endpoint.NetworkType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.