Interface SupportedDatabaseFlagOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SupportedDatabaseFlag, SupportedDatabaseFlag.Builder

    public interface SupportedDatabaseFlagOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasStringRestrictions

        boolean hasStringRestrictions()
         Restriction on STRING type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
        Returns:
        Whether the stringRestrictions field is set.
      • getStringRestrictions

        SupportedDatabaseFlag.StringRestrictions getStringRestrictions()
         Restriction on STRING type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
        Returns:
        The stringRestrictions.
      • getStringRestrictionsOrBuilder

        SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder()
         Restriction on STRING type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
      • hasIntegerRestrictions

        boolean hasIntegerRestrictions()
         Restriction on INTEGER type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
        Returns:
        Whether the integerRestrictions field is set.
      • getIntegerRestrictions

        SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions()
         Restriction on INTEGER type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
        Returns:
        The integerRestrictions.
      • getIntegerRestrictionsOrBuilder

        SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder()
         Restriction on INTEGER type value.
         
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
      • getName

        String getName()
         The name of the flag resource, following Google Cloud conventions, e.g.:
          * projects/{project}/locations/{location}/flags/{flag}
         This field currently has no semantic meaning.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         The name of the flag resource, following Google Cloud conventions, e.g.:
          * projects/{project}/locations/{location}/flags/{flag}
         This field currently has no semantic meaning.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getFlagName

        String getFlagName()
         The name of the database flag, e.g. "max_allowed_packets".
         The is a possibly key for the Instance.database_flags map field.
         
        string flag_name = 2;
        Returns:
        The flagName.
      • getFlagNameBytes

        com.google.protobuf.ByteString getFlagNameBytes()
         The name of the database flag, e.g. "max_allowed_packets".
         The is a possibly key for the Instance.database_flags map field.
         
        string flag_name = 2;
        Returns:
        The bytes for flagName.
      • getValueTypeValue

        int getValueTypeValue()
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3;
        Returns:
        The enum numeric value on the wire for valueType.
      • getValueType

        SupportedDatabaseFlag.ValueType getValueType()
        .google.cloud.alloydb.v1alpha.SupportedDatabaseFlag.ValueType value_type = 3;
        Returns:
        The valueType.
      • getAcceptsMultipleValues

        boolean getAcceptsMultipleValues()
         Whether the database flag accepts multiple values. If true,
         a comma-separated list of stringified values may be specified.
         
        bool accepts_multiple_values = 4;
        Returns:
        The acceptsMultipleValues.
      • getSupportedDbVersionsList

        List<DatabaseVersion> getSupportedDbVersionsList()
         Major database engine versions for which this flag is supported.
         
        repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5;
        Returns:
        A list containing the supportedDbVersions.
      • getSupportedDbVersionsCount

        int getSupportedDbVersionsCount()
         Major database engine versions for which this flag is supported.
         
        repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5;
        Returns:
        The count of supportedDbVersions.
      • getSupportedDbVersions

        DatabaseVersion getSupportedDbVersions​(int index)
         Major database engine versions for which this flag is supported.
         
        repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5;
        Parameters:
        index - The index of the element to return.
        Returns:
        The supportedDbVersions at the given index.
      • getSupportedDbVersionsValueList

        List<Integer> getSupportedDbVersionsValueList()
         Major database engine versions for which this flag is supported.
         
        repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5;
        Returns:
        A list containing the enum numeric values on the wire for supportedDbVersions.
      • getSupportedDbVersionsValue

        int getSupportedDbVersionsValue​(int index)
         Major database engine versions for which this flag is supported.
         
        repeated .google.cloud.alloydb.v1alpha.DatabaseVersion supported_db_versions = 5;
        Parameters:
        index - The index of the value to return.
        Returns:
        The enum numeric value on the wire of supportedDbVersions at the given index.
      • getRequiresDbRestart

        boolean getRequiresDbRestart()
         Whether setting or updating this flag on an Instance requires a database
         restart. If a flag that requires database restart is set, the backend
         will automatically restart the database (making sure to satisfy any
         availability SLO's).
         
        bool requires_db_restart = 6;
        Returns:
        The requiresDbRestart.