public enum IngressTraffic extends Enum<IngressTraffic> implements com.google.protobuf.ProtocolMessageEnum
Allowed ingress traffic for the Container.Protobuf enum
google.cloud.run.v2.IngressTraffic| Enum Constant and Description |
|---|
INGRESS_TRAFFIC_ALL
All inbound traffic is allowed.
|
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER
Both internal and Google Cloud Load Balancer traffic is allowed.
|
INGRESS_TRAFFIC_INTERNAL_ONLY
Only internal traffic is allowed.
|
INGRESS_TRAFFIC_NONE
No ingress traffic is allowed.
|
INGRESS_TRAFFIC_UNSPECIFIED
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INGRESS_TRAFFIC_ALL_VALUE
All inbound traffic is allowed.
|
static int |
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER_VALUE
Both internal and Google Cloud Load Balancer traffic is allowed.
|
static int |
INGRESS_TRAFFIC_INTERNAL_ONLY_VALUE
Only internal traffic is allowed.
|
static int |
INGRESS_TRAFFIC_NONE_VALUE
No ingress traffic is allowed.
|
static int |
INGRESS_TRAFFIC_UNSPECIFIED_VALUE
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0; |
| Modifier and Type | Method and Description |
|---|---|
static IngressTraffic |
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<IngressTraffic> |
internalGetValueMap() |
static IngressTraffic |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static IngressTraffic |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static IngressTraffic |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IngressTraffic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IngressTraffic INGRESS_TRAFFIC_UNSPECIFIED
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0;public static final IngressTraffic INGRESS_TRAFFIC_ALL
All inbound traffic is allowed.
INGRESS_TRAFFIC_ALL = 1;public static final IngressTraffic INGRESS_TRAFFIC_INTERNAL_ONLY
Only internal traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_ONLY = 2;public static final IngressTraffic INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER
Both internal and Google Cloud Load Balancer traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3;public static final IngressTraffic INGRESS_TRAFFIC_NONE
No ingress traffic is allowed.
INGRESS_TRAFFIC_NONE = 4;public static final IngressTraffic UNRECOGNIZED
public static final int INGRESS_TRAFFIC_UNSPECIFIED_VALUE
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0;public static final int INGRESS_TRAFFIC_ALL_VALUE
All inbound traffic is allowed.
INGRESS_TRAFFIC_ALL = 1;public static final int INGRESS_TRAFFIC_INTERNAL_ONLY_VALUE
Only internal traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_ONLY = 2;public static final int INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER_VALUE
Both internal and Google Cloud Load Balancer traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER = 3;public static final int INGRESS_TRAFFIC_NONE_VALUE
No ingress traffic is allowed.
INGRESS_TRAFFIC_NONE = 4;public static IngressTraffic[] values()
for (IngressTraffic c : IngressTraffic.values()) System.out.println(c);
public static IngressTraffic 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 IngressTraffic valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static IngressTraffic forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<IngressTraffic> 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 IngressTraffic valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025 Google LLC. All rights reserved.