Interface SupportedDatabaseFlagOrBuilder (0.30.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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for flagName.

getIntegerRestrictions()

public abstract SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions()

Restriction on INTEGER type value.

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

Returns
TypeDescription
SupportedDatabaseFlag.IntegerRestrictions

The integerRestrictions.

getIntegerRestrictionsOrBuilder()

public abstract SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder()

Restriction on INTEGER type value.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The requiresDbRestart.

getRestrictionsCase()

public abstract SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()
Returns
TypeDescription
SupportedDatabaseFlag.RestrictionsCase

getStringRestrictions()

public abstract SupportedDatabaseFlag.StringRestrictions getStringRestrictions()

Restriction on STRING type value.

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

Returns
TypeDescription
SupportedDatabaseFlag.StringRestrictions

The stringRestrictions.

getStringRestrictionsOrBuilder()

public abstract SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder()

Restriction on STRING type value.

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

Returns
TypeDescription
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.v1beta.DatabaseVersion supported_db_versions = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.v1beta.DatabaseVersion supported_db_versions = 5;

Returns
TypeDescription
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.v1beta.DatabaseVersion supported_db_versions = 5;

Returns
TypeDescription
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.v1beta.DatabaseVersion supported_db_versions = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.v1beta.DatabaseVersion supported_db_versions = 5;

Returns
TypeDescription
List<Integer>

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

getValueType()

public abstract SupportedDatabaseFlag.ValueType getValueType()

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

Returns
TypeDescription
SupportedDatabaseFlag.ValueType

The valueType.

getValueTypeValue()

public abstract int getValueTypeValue()

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

Returns
TypeDescription
int

The enum numeric value on the wire for valueType.

hasIntegerRestrictions()

public abstract boolean hasIntegerRestrictions()

Restriction on INTEGER type value.

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

Returns
TypeDescription
boolean

Whether the integerRestrictions field is set.

hasStringRestrictions()

public abstract boolean hasStringRestrictions()

Restriction on STRING type value.

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

Returns
TypeDescription
boolean

Whether the stringRestrictions field is set.