Package com.google.cloud.compute.v1
Enum NetworkEndpointGroup.NetworkEndpointType
java.lang.Object
java.lang.Enum<NetworkEndpointGroup.NetworkEndpointType>
com.google.cloud.compute.v1.NetworkEndpointGroup.NetworkEndpointType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<NetworkEndpointGroup.NetworkEndpointType>
- Enclosing class:
- NetworkEndpointGroup
public static enum NetworkEndpointGroup.NetworkEndpointType
extends Enum<NetworkEndpointGroup.NetworkEndpointType>
implements com.google.protobuf.ProtocolMessageEnum
Type of network endpoints in this network endpoint group. Can be one ofGCE_VM_IP, GCE_VM_IP_PORT,NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT,INTERNET_IP_PORT, SERVERLESS,PRIVATE_SERVICE_CONNECT, GCE_VM_IP_PORTMAP.Protobuf enum
google.cloud.compute.v1.NetworkEndpointGroup.NetworkEndpointType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe network endpoint is represented by an IP address.The network endpoint is represented by IP address and port pair.The network endpoint is represented by an IP, Port and Client Destination Port.The network endpoint is represented by fully qualified domain name and port.The network endpoint is represented by an internet IP address and port.The network endpoint is represented by an IP address and port.The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment.The network endpoint is handled by specified serverless infrastructure.A value indicating that the enum field is not set. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe network endpoint is represented by IP address and port pair.static final intThe network endpoint is represented by an IP, Port and Client Destination Port.static final intThe network endpoint is represented by an IP address.static final intThe network endpoint is represented by fully qualified domain name and port.static final intThe network endpoint is represented by an internet IP address and port.static final intThe network endpoint is represented by an IP address and port.static final intThe network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment.static final intThe network endpoint is handled by specified serverless infrastructure.static final intA value indicating that the enum field is not set. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<NetworkEndpointGroup.NetworkEndpointType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNDEFINED_NETWORK_ENDPOINT_TYPE
A value indicating that the enum field is not set.
UNDEFINED_NETWORK_ENDPOINT_TYPE = 0; -
GCE_VM_IP
The network endpoint is represented by an IP address.
GCE_VM_IP = 401880793; -
GCE_VM_IP_PORT
The network endpoint is represented by IP address and port pair.
GCE_VM_IP_PORT = 501838375; -
GCE_VM_IP_PORTMAP
The network endpoint is represented by an IP, Port and Client Destination Port.
GCE_VM_IP_PORTMAP = 22819253; -
INTERNET_FQDN_PORT
The network endpoint is represented by fully qualified domain name and port.
INTERNET_FQDN_PORT = 404154477; -
INTERNET_IP_PORT
The network endpoint is represented by an internet IP address and port.
INTERNET_IP_PORT = 477719963; -
NON_GCP_PRIVATE_IP_PORT
The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
NON_GCP_PRIVATE_IP_PORT = 336447968; -
PRIVATE_SERVICE_CONNECT
The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
PRIVATE_SERVICE_CONNECT = 48134724; -
SERVERLESS
The network endpoint is handled by specified serverless infrastructure.
SERVERLESS = 270492508; -
UNRECOGNIZED
-
-
Field Details
-
UNDEFINED_NETWORK_ENDPOINT_TYPE_VALUE
public static final int UNDEFINED_NETWORK_ENDPOINT_TYPE_VALUEA value indicating that the enum field is not set.
UNDEFINED_NETWORK_ENDPOINT_TYPE = 0;- See Also:
-
GCE_VM_IP_VALUE
public static final int GCE_VM_IP_VALUEThe network endpoint is represented by an IP address.
GCE_VM_IP = 401880793;- See Also:
-
GCE_VM_IP_PORT_VALUE
public static final int GCE_VM_IP_PORT_VALUEThe network endpoint is represented by IP address and port pair.
GCE_VM_IP_PORT = 501838375;- See Also:
-
GCE_VM_IP_PORTMAP_VALUE
public static final int GCE_VM_IP_PORTMAP_VALUEThe network endpoint is represented by an IP, Port and Client Destination Port.
GCE_VM_IP_PORTMAP = 22819253;- See Also:
-
INTERNET_FQDN_PORT_VALUE
public static final int INTERNET_FQDN_PORT_VALUEThe network endpoint is represented by fully qualified domain name and port.
INTERNET_FQDN_PORT = 404154477;- See Also:
-
INTERNET_IP_PORT_VALUE
public static final int INTERNET_IP_PORT_VALUEThe network endpoint is represented by an internet IP address and port.
INTERNET_IP_PORT = 477719963;- See Also:
-
NON_GCP_PRIVATE_IP_PORT_VALUE
public static final int NON_GCP_PRIVATE_IP_PORT_VALUEThe network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises.
NON_GCP_PRIVATE_IP_PORT = 336447968;- See Also:
-
PRIVATE_SERVICE_CONNECT_VALUE
public static final int PRIVATE_SERVICE_CONNECT_VALUEThe network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect
PRIVATE_SERVICE_CONNECT = 48134724;- See Also:
-
SERVERLESS_VALUE
public static final int SERVERLESS_VALUEThe network endpoint is handled by specified serverless infrastructure.
SERVERLESS = 270492508;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<NetworkEndpointGroup.NetworkEndpointType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static NetworkEndpointGroup.NetworkEndpointType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-