Package com.google.cloud.run.v2
Enum IngressTraffic
- java.lang.Object
-
- java.lang.Enum<IngressTraffic>
-
- com.google.cloud.run.v2.IngressTraffic
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<IngressTraffic>
public enum IngressTraffic extends Enum<IngressTraffic> implements com.google.protobuf.ProtocolMessageEnum
Allowed ingress traffic for the Container.
Protobuf enumgoogle.cloud.run.v2.IngressTraffic
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INGRESS_TRAFFIC_ALLAll inbound traffic is allowed.INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCERBoth internal and Google Cloud Load Balancer traffic is allowed.INGRESS_TRAFFIC_INTERNAL_ONLYOnly internal traffic is allowed.INGRESS_TRAFFIC_UNSPECIFIEDUnspecifiedUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intINGRESS_TRAFFIC_ALL_VALUEAll inbound traffic is allowed.static intINGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER_VALUEBoth internal and Google Cloud Load Balancer traffic is allowed.static intINGRESS_TRAFFIC_INTERNAL_ONLY_VALUEOnly internal traffic is allowed.static intINGRESS_TRAFFIC_UNSPECIFIED_VALUEUnspecified
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static IngressTrafficforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<IngressTraffic>internalGetValueMap()static IngressTrafficvalueOf(int value)Deprecated.static IngressTrafficvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static IngressTrafficvalueOf(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.
-
-
-
Enum Constant Detail
-
INGRESS_TRAFFIC_UNSPECIFIED
public static final IngressTraffic INGRESS_TRAFFIC_UNSPECIFIED
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0;
-
INGRESS_TRAFFIC_ALL
public static final IngressTraffic INGRESS_TRAFFIC_ALL
All inbound traffic is allowed.
INGRESS_TRAFFIC_ALL = 1;
-
INGRESS_TRAFFIC_INTERNAL_ONLY
public static final IngressTraffic INGRESS_TRAFFIC_INTERNAL_ONLY
Only internal traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_ONLY = 2;
-
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER
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;
-
UNRECOGNIZED
public static final IngressTraffic UNRECOGNIZED
-
-
Field Detail
-
INGRESS_TRAFFIC_UNSPECIFIED_VALUE
public static final int INGRESS_TRAFFIC_UNSPECIFIED_VALUE
Unspecified
INGRESS_TRAFFIC_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
INGRESS_TRAFFIC_ALL_VALUE
public static final int INGRESS_TRAFFIC_ALL_VALUE
All inbound traffic is allowed.
INGRESS_TRAFFIC_ALL = 1;- See Also:
- Constant Field Values
-
INGRESS_TRAFFIC_INTERNAL_ONLY_VALUE
public static final int INGRESS_TRAFFIC_INTERNAL_ONLY_VALUE
Only internal traffic is allowed.
INGRESS_TRAFFIC_INTERNAL_ONLY = 2;- See Also:
- Constant Field Values
-
INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER_VALUE
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;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static IngressTraffic[] 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 (IngressTraffic c : IngressTraffic.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IngressTraffic 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static IngressTraffic 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 IngressTraffic 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<IngressTraffic> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static IngressTraffic 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
-
-