public static enum VpcAccess.VpcEgress extends Enum<VpcAccess.VpcEgress> implements com.google.protobuf.ProtocolMessageEnum
Egress options for VPC access.Protobuf enum
google.cloud.run.v2.VpcAccess.VpcEgress| Enum Constant and Description |
|---|
ALL_TRAFFIC
All outbound traffic is routed through the VPC connector.
|
PRIVATE_RANGES_ONLY
Only private IP ranges are routed through the VPC connector.
|
UNRECOGNIZED |
VPC_EGRESS_UNSPECIFIED
Unspecified
VPC_EGRESS_UNSPECIFIED = 0; |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALL_TRAFFIC_VALUE
All outbound traffic is routed through the VPC connector.
|
static int |
PRIVATE_RANGES_ONLY_VALUE
Only private IP ranges are routed through the VPC connector.
|
static int |
VPC_EGRESS_UNSPECIFIED_VALUE
Unspecified
VPC_EGRESS_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static VpcAccess.VpcEgress |
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<VpcAccess.VpcEgress> |
internalGetValueMap() |
static VpcAccess.VpcEgress |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static VpcAccess.VpcEgress |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static VpcAccess.VpcEgress |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VpcAccess.VpcEgress[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VpcAccess.VpcEgress VPC_EGRESS_UNSPECIFIED
Unspecified
VPC_EGRESS_UNSPECIFIED = 0;public static final VpcAccess.VpcEgress ALL_TRAFFIC
All outbound traffic is routed through the VPC connector.
ALL_TRAFFIC = 1;public static final VpcAccess.VpcEgress PRIVATE_RANGES_ONLY
Only private IP ranges are routed through the VPC connector.
PRIVATE_RANGES_ONLY = 2;public static final VpcAccess.VpcEgress UNRECOGNIZED
public static final int VPC_EGRESS_UNSPECIFIED_VALUE
Unspecified
VPC_EGRESS_UNSPECIFIED = 0;public static final int ALL_TRAFFIC_VALUE
All outbound traffic is routed through the VPC connector.
ALL_TRAFFIC = 1;public static final int PRIVATE_RANGES_ONLY_VALUE
Only private IP ranges are routed through the VPC connector.
PRIVATE_RANGES_ONLY = 2;public static VpcAccess.VpcEgress[] values()
for (VpcAccess.VpcEgress c : VpcAccess.VpcEgress.values()) System.out.println(c);
public static VpcAccess.VpcEgress 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 VpcAccess.VpcEgress valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static VpcAccess.VpcEgress forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<VpcAccess.VpcEgress> 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 VpcAccess.VpcEgress valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.