Enum BackendService.IpAddressSelectionPolicy

java.lang.Object
java.lang.Enum<BackendService.IpAddressSelectionPolicy>
com.google.cloud.compute.v1.BackendService.IpAddressSelectionPolicy
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<BackendService.IpAddressSelectionPolicy>
Enclosing class:
BackendService

public static enum BackendService.IpAddressSelectionPolicy extends Enum<BackendService.IpAddressSelectionPolicy> implements com.google.protobuf.ProtocolMessageEnum
 Specifies a preference for traffic sent from the proxy to the backend (or
 from the client to the backend for proxyless gRPC).
 The possible values are:

 - IPV4_ONLY: Only send IPv4 traffic to the backends of the
 backend service (Instance Group, Managed Instance Group, Network Endpoint
 Group), regardless of traffic from the client to the proxy. Only IPv4
 health checks are used to check the health of the backends. This is the
 default setting.
 - PREFER_IPV6: Prioritize the connection to the endpoint's
 IPv6 address over its IPv4 address (provided there is a healthy IPv6
 address).
 - IPV6_ONLY: Only send IPv6 traffic to the backends of the
 backend service (Instance Group, Managed Instance Group, Network Endpoint
 Group), regardless of traffic from the client to the proxy. Only IPv6
 health checks are used to check the health of the backends.



 This field is applicable to either:

 -  Advanced global external Application Load Balancer (load balancing
 scheme EXTERNAL_MANAGED),
 -  Regional external Application Load
 Balancer,
 -  Internal proxy Network Load Balancer (load balancing
 scheme INTERNAL_MANAGED),
 -  Regional internal Application Load
 Balancer (load balancing scheme INTERNAL_MANAGED),
 -  Traffic
 Director with Envoy proxies and proxyless gRPC (load balancing scheme
 INTERNAL_SELF_MANAGED).
 
Protobuf enum google.cloud.compute.v1.BackendService.IpAddressSelectionPolicy
  • Enum Constant Details

    • UNDEFINED_IP_ADDRESS_SELECTION_POLICY

      public static final BackendService.IpAddressSelectionPolicy UNDEFINED_IP_ADDRESS_SELECTION_POLICY
       A value indicating that the enum field is not set.
       
      UNDEFINED_IP_ADDRESS_SELECTION_POLICY = 0;
    • IPV4_ONLY

      public static final BackendService.IpAddressSelectionPolicy IPV4_ONLY
       Only send IPv4 traffic to the backends of the Backend Service
       (Instance Group, Managed Instance Group, Network Endpoint Group)
       regardless of traffic from the client to the proxy.
       Only IPv4 health-checks are used to check the health of the backends.
       This is the default setting.
       
      IPV4_ONLY = 22373798;
    • IPV6_ONLY

      public static final BackendService.IpAddressSelectionPolicy IPV6_ONLY
       Only send IPv6 traffic to the backends of the Backend Service
       (Instance Group, Managed Instance Group, Network Endpoint Group)
       regardless of traffic from the client to the proxy. Only IPv6
       health-checks are used to check the health of the backends.
       
      IPV6_ONLY = 79632100;
    • IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED

      public static final BackendService.IpAddressSelectionPolicy IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED
       Unspecified IP address selection policy.
       
      IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144;
    • PREFER_IPV6

      public static final BackendService.IpAddressSelectionPolicy PREFER_IPV6
       Prioritize the connection to the endpoints IPv6 address
       over its IPv4 address (provided there is a healthy IPv6 address).
       
      PREFER_IPV6 = 408601302;
    • UNRECOGNIZED

      public static final BackendService.IpAddressSelectionPolicy UNRECOGNIZED
  • Field Details

    • UNDEFINED_IP_ADDRESS_SELECTION_POLICY_VALUE

      public static final int UNDEFINED_IP_ADDRESS_SELECTION_POLICY_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_IP_ADDRESS_SELECTION_POLICY = 0;
      See Also:
    • IPV4_ONLY_VALUE

      public static final int IPV4_ONLY_VALUE
       Only send IPv4 traffic to the backends of the Backend Service
       (Instance Group, Managed Instance Group, Network Endpoint Group)
       regardless of traffic from the client to the proxy.
       Only IPv4 health-checks are used to check the health of the backends.
       This is the default setting.
       
      IPV4_ONLY = 22373798;
      See Also:
    • IPV6_ONLY_VALUE

      public static final int IPV6_ONLY_VALUE
       Only send IPv6 traffic to the backends of the Backend Service
       (Instance Group, Managed Instance Group, Network Endpoint Group)
       regardless of traffic from the client to the proxy. Only IPv6
       health-checks are used to check the health of the backends.
       
      IPV6_ONLY = 79632100;
      See Also:
    • IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED_VALUE

      public static final int IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED_VALUE
       Unspecified IP address selection policy.
       
      IP_ADDRESS_SELECTION_POLICY_UNSPECIFIED = 36210144;
      See Also:
    • PREFER_IPV6_VALUE

      public static final int PREFER_IPV6_VALUE
       Prioritize the connection to the endpoints IPv6 address
       over its IPv4 address (provided there is a healthy IPv6 address).
       
      PREFER_IPV6 = 408601302;
      See Also:
  • Method Details

    • values

      public static BackendService.IpAddressSelectionPolicy[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static BackendService.IpAddressSelectionPolicy 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 BackendService.IpAddressSelectionPolicy 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 BackendService.IpAddressSelectionPolicy 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<BackendService.IpAddressSelectionPolicy> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static BackendService.IpAddressSelectionPolicy 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