Enum CloudSqlSettings.SqlDatabaseVersion

    • Field Detail

      • SQL_DATABASE_VERSION_UNSPECIFIED_VALUE

        public static final int SQL_DATABASE_VERSION_UNSPECIFIED_VALUE
         Unspecified version.
         
        SQL_DATABASE_VERSION_UNSPECIFIED = 0;
        See Also:
        Constant Field Values
      • MYSQL_5_6_VALUE

        public static final int MYSQL_5_6_VALUE
         MySQL 5.6.
         
        MYSQL_5_6 = 1;
        See Also:
        Constant Field Values
      • MYSQL_5_7_VALUE

        public static final int MYSQL_5_7_VALUE
         MySQL 5.7.
         
        MYSQL_5_7 = 2;
        See Also:
        Constant Field Values
      • POSTGRES_9_6_VALUE

        public static final int POSTGRES_9_6_VALUE
         PostgreSQL 9.6.
         
        POSTGRES_9_6 = 3;
        See Also:
        Constant Field Values
      • POSTGRES_11_VALUE

        public static final int POSTGRES_11_VALUE
         PostgreSQL 11.
         
        POSTGRES_11 = 4;
        See Also:
        Constant Field Values
      • POSTGRES_10_VALUE

        public static final int POSTGRES_10_VALUE
         PostgreSQL 10.
         
        POSTGRES_10 = 5;
        See Also:
        Constant Field Values
      • MYSQL_8_0_VALUE

        public static final int MYSQL_8_0_VALUE
         MySQL 8.0.
         
        MYSQL_8_0 = 6;
        See Also:
        Constant Field Values
      • POSTGRES_12_VALUE

        public static final int POSTGRES_12_VALUE
         PostgreSQL 12.
         
        POSTGRES_12 = 7;
        See Also:
        Constant Field Values
      • POSTGRES_13_VALUE

        public static final int POSTGRES_13_VALUE
         PostgreSQL 13.
         
        POSTGRES_13 = 8;
        See Also:
        Constant Field Values
      • POSTGRES_14_VALUE

        public static final int POSTGRES_14_VALUE
         PostgreSQL 14.
         
        POSTGRES_14 = 17;
        See Also:
        Constant Field Values
      • POSTGRES_15_VALUE

        public static final int POSTGRES_15_VALUE
         PostgreSQL 15.
         
        POSTGRES_15 = 18;
        See Also:
        Constant Field Values
    • Method Detail

      • values

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

        public static CloudSqlSettings.SqlDatabaseVersion 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 CloudSqlSettings.SqlDatabaseVersion 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 CloudSqlSettings.SqlDatabaseVersion 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 CloudSqlSettings.SqlDatabaseVersion 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