Interface SupportedDatabaseFlagOrBuilder

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

@Generated public interface SupportedDatabaseFlagOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasStringRestrictions

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

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

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

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

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

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

      boolean hasRecommendedStringValue()
       The recommended value for a STRING flag.
       
      string recommended_string_value = 10;
      Returns:
      Whether the recommendedStringValue field is set.
    • getRecommendedStringValue

      String getRecommendedStringValue()
       The recommended value for a STRING flag.
       
      string recommended_string_value = 10;
      Returns:
      The recommendedStringValue.
    • getRecommendedStringValueBytes

      com.google.protobuf.ByteString getRecommendedStringValueBytes()
       The recommended value for a STRING flag.
       
      string recommended_string_value = 10;
      Returns:
      The bytes for recommendedStringValue.
    • hasRecommendedIntegerValue

      boolean hasRecommendedIntegerValue()
       The recommended value for an INTEGER flag.
       
      .google.protobuf.Int64Value recommended_integer_value = 11;
      Returns:
      Whether the recommendedIntegerValue field is set.
    • getRecommendedIntegerValue

      com.google.protobuf.Int64Value getRecommendedIntegerValue()
       The recommended value for an INTEGER flag.
       
      .google.protobuf.Int64Value recommended_integer_value = 11;
      Returns:
      The recommendedIntegerValue.
    • getRecommendedIntegerValueOrBuilder

      com.google.protobuf.Int64ValueOrBuilder getRecommendedIntegerValueOrBuilder()
       The recommended value for an INTEGER flag.
       
      .google.protobuf.Int64Value recommended_integer_value = 11;
    • 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.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;
      Returns:
      The enum numeric value on the wire for valueType.
    • getValueType

      .google.cloud.alloydb.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.v1beta.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.
    • getScopeValue

      int getScopeValue()
       The scope of the flag.
       
      .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
      Returns:
      The enum numeric value on the wire for scope.
    • getScope

       The scope of the flag.
       
      .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;
      Returns:
      The scope.
    • getRestrictionsCase

    • getRecommendedValueCase