Package com.google.appengine.v1
Enum VpcAccessConnector.EgressSetting
- java.lang.Object
-
- java.lang.Enum<VpcAccessConnector.EgressSetting>
-
- com.google.appengine.v1.VpcAccessConnector.EgressSetting
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<VpcAccessConnector.EgressSetting>
- Enclosing class:
- VpcAccessConnector
public static enum VpcAccessConnector.EgressSetting extends Enum<VpcAccessConnector.EgressSetting> implements com.google.protobuf.ProtocolMessageEnum
Available egress settings. This controls what traffic is diverted through the VPC Access Connector resource. By default PRIVATE_IP_RANGES will be used.
Protobuf enumgoogle.appengine.v1.VpcAccessConnector.EgressSetting
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL_TRAFFIC
Force the use of VPC Access for all egress traffic from the function.EGRESS_SETTING_UNSPECIFIED
EGRESS_SETTING_UNSPECIFIED = 0;
PRIVATE_IP_RANGES
Use the VPC Access Connector for private IP space from RFC1918.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ALL_TRAFFIC_VALUE
Force the use of VPC Access for all egress traffic from the function.static int
EGRESS_SETTING_UNSPECIFIED_VALUE
EGRESS_SETTING_UNSPECIFIED = 0;
static int
PRIVATE_IP_RANGES_VALUE
Use the VPC Access Connector for private IP space from RFC1918.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static VpcAccessConnector.EgressSetting
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<VpcAccessConnector.EgressSetting>
internalGetValueMap()
static VpcAccessConnector.EgressSetting
valueOf(int value)
Deprecated.static VpcAccessConnector.EgressSetting
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static VpcAccessConnector.EgressSetting
valueOf(String name)
Returns the enum constant of this type with the specified name.static VpcAccessConnector.EgressSetting[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EGRESS_SETTING_UNSPECIFIED
public static final VpcAccessConnector.EgressSetting EGRESS_SETTING_UNSPECIFIED
EGRESS_SETTING_UNSPECIFIED = 0;
-
ALL_TRAFFIC
public static final VpcAccessConnector.EgressSetting ALL_TRAFFIC
Force the use of VPC Access for all egress traffic from the function.
ALL_TRAFFIC = 1;
-
PRIVATE_IP_RANGES
public static final VpcAccessConnector.EgressSetting PRIVATE_IP_RANGES
Use the VPC Access Connector for private IP space from RFC1918.
PRIVATE_IP_RANGES = 2;
-
UNRECOGNIZED
public static final VpcAccessConnector.EgressSetting UNRECOGNIZED
-
-
Field Detail
-
EGRESS_SETTING_UNSPECIFIED_VALUE
public static final int EGRESS_SETTING_UNSPECIFIED_VALUE
EGRESS_SETTING_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
ALL_TRAFFIC_VALUE
public static final int ALL_TRAFFIC_VALUE
Force the use of VPC Access for all egress traffic from the function.
ALL_TRAFFIC = 1;
- See Also:
- Constant Field Values
-
PRIVATE_IP_RANGES_VALUE
public static final int PRIVATE_IP_RANGES_VALUE
Use the VPC Access Connector for private IP space from RFC1918.
PRIVATE_IP_RANGES = 2;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static VpcAccessConnector.EgressSetting[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VpcAccessConnector.EgressSetting c : VpcAccessConnector.EgressSetting.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VpcAccessConnector.EgressSetting valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static VpcAccessConnector.EgressSetting valueOf(int value)
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
public static VpcAccessConnector.EgressSetting forNumber(int value)
- 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<VpcAccessConnector.EgressSetting> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static VpcAccessConnector.EgressSetting 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
-
-