Interface SupportedDatabaseFlagOrBuilder (0.22.0)

public interface SupportedDatabaseFlagOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcceptsMultipleValues()

public abstract 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
Type Description
boolean

The acceptsMultipleValues.

getFlagName()

public abstract 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
Type Description
String

The flagName.

getFlagNameBytes()

public abstract 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
Type Description
ByteString

The bytes for flagName.

getIntegerRestrictions()

public abstract SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions()

Restriction on INTEGER type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;

Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictions

The integerRestrictions.

getIntegerRestrictionsOrBuilder()

public abstract SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder()

Restriction on INTEGER type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;

Returns
Type Description
SupportedDatabaseFlag.IntegerRestrictionsOrBuilder

getName()

public abstract 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
Type Description
String

The name.

getNameBytes()

public abstract 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
Type Description
ByteString

The bytes for name.

getRequiresDbRestart()

public abstract 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
Type Description
boolean

The requiresDbRestart.

getRestrictionsCase()

public abstract SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()
Returns
Type Description
SupportedDatabaseFlag.RestrictionsCase

getStringRestrictions()

public abstract SupportedDatabaseFlag.StringRestrictions getStringRestrictions()

Restriction on STRING type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;

Returns
Type Description
SupportedDatabaseFlag.StringRestrictions

The stringRestrictions.

getStringRestrictionsOrBuilder()

public abstract SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder()

Restriction on STRING type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;

Returns
Type Description
SupportedDatabaseFlag.StringRestrictionsOrBuilder

getSupportedDbVersions(int index)

public abstract DatabaseVersion getSupportedDbVersions(int index)

Major database engine versions for which this flag is supported.

repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
DatabaseVersion

The supportedDbVersions at the given index.

getSupportedDbVersionsCount()

public abstract int getSupportedDbVersionsCount()

Major database engine versions for which this flag is supported.

repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;

Returns
Type Description
int

The count of supportedDbVersions.

getSupportedDbVersionsList()

public abstract List<DatabaseVersion> getSupportedDbVersionsList()

Major database engine versions for which this flag is supported.

repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;

Returns
Type Description
List<DatabaseVersion>

A list containing the supportedDbVersions.

getSupportedDbVersionsValue(int index)

public abstract int getSupportedDbVersionsValue(int index)

Major database engine versions for which this flag is supported.

repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of supportedDbVersions at the given index.

getSupportedDbVersionsValueList()

public abstract List<Integer> getSupportedDbVersionsValueList()

Major database engine versions for which this flag is supported.

repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for supportedDbVersions.

getValueType()

public abstract SupportedDatabaseFlag.ValueType getValueType()

.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;

Returns
Type Description
SupportedDatabaseFlag.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;

Returns
Type Description
int

The enum numeric value on the wire for valueType.

hasIntegerRestrictions()

public abstract boolean hasIntegerRestrictions()

Restriction on INTEGER type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;

Returns
Type Description
boolean

Whether the integerRestrictions field is set.

hasStringRestrictions()

public abstract boolean hasStringRestrictions()

Restriction on STRING type value.

.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;

Returns
Type Description
boolean

Whether the stringRestrictions field is set.