Enum 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 enum google.cloud.run.v2.IngressTraffic
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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:
        getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null