Enum GceClusterConfig.PrivateIpv6GoogleAccess

  • All Implemented Interfaces:
    com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<GceClusterConfig.PrivateIpv6GoogleAccess>
    Enclosing class:
    GceClusterConfig

    public static enum GceClusterConfig.PrivateIpv6GoogleAccess
    extends Enum<GceClusterConfig.PrivateIpv6GoogleAccess>
    implements com.google.protobuf.ProtocolMessageEnum
     `PrivateIpv6GoogleAccess` controls whether and how Dataproc cluster nodes
     can communicate with Google Services through gRPC over IPv6.
     These values are directly mapped to corresponding values in the
     [Compute Engine Instance
     fields](https://cloud.google.com/compute/docs/reference/rest/v1/instances).
     
    Protobuf enum google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess
    • Enum Constant Detail

      • PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED

        public static final GceClusterConfig.PrivateIpv6GoogleAccess PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED
         If unspecified, Compute Engine default behavior will apply, which
         is the same as
         [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
         
        PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
      • INHERIT_FROM_SUBNETWORK

        public static final GceClusterConfig.PrivateIpv6GoogleAccess INHERIT_FROM_SUBNETWORK
         Private access to and from Google Services configuration
         inherited from the subnetwork configuration. This is the
         default Compute Engine behavior.
         
        INHERIT_FROM_SUBNETWORK = 1;
      • BIDIRECTIONAL

        public static final GceClusterConfig.PrivateIpv6GoogleAccess BIDIRECTIONAL
         Enables bidirectional private IPv6 access between Google Services and the
         Dataproc cluster.
         
        BIDIRECTIONAL = 3;
    • Field Detail

      • PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE

        public static final int PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED_VALUE
         If unspecified, Compute Engine default behavior will apply, which
         is the same as
         [INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK].
         
        PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • INHERIT_FROM_SUBNETWORK_VALUE

        public static final int INHERIT_FROM_SUBNETWORK_VALUE
         Private access to and from Google Services configuration
         inherited from the subnetwork configuration. This is the
         default Compute Engine behavior.
         
        INHERIT_FROM_SUBNETWORK = 1;
        See Also:
        Constant Field Values
      • OUTBOUND_VALUE

        public static final int OUTBOUND_VALUE
         Enables outbound private IPv6 access to Google Services from the Dataproc
         cluster.
         
        OUTBOUND = 2;
        See Also:
        Constant Field Values
      • BIDIRECTIONAL_VALUE

        public static final int BIDIRECTIONAL_VALUE
         Enables bidirectional private IPv6 access between Google Services and the
         Dataproc cluster.
         
        BIDIRECTIONAL = 3;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static GceClusterConfig.PrivateIpv6GoogleAccess[] 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 (GceClusterConfig.PrivateIpv6GoogleAccess c : GceClusterConfig.PrivateIpv6GoogleAccess.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static GceClusterConfig.PrivateIpv6GoogleAccess 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 GceClusterConfig.PrivateIpv6GoogleAccess 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 GceClusterConfig.PrivateIpv6GoogleAccess forNumber​(int value)
        Parameters:
        value - The numeric wire value of the corresponding enum entry.
        Returns:
        The enum associated with the given numeric wire value.
      • 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 GceClusterConfig.PrivateIpv6GoogleAccess 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