public interface SupportedDatabaseFlagOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
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;
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;
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;
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;
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;
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;
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;
Type | Description |
boolean |
The requiresDbRestart. |
getRestrictionsCase()
public abstract SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()
Type | Description |
SupportedDatabaseFlag.RestrictionsCase |
getStringRestrictions()
public abstract SupportedDatabaseFlag.StringRestrictions getStringRestrictions()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
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;
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;
Name | Description |
index |
int The index of the element to return. |
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;
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;
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;
Name | Description |
index |
int The index of the value to return. |
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;
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;
Type | Description |
SupportedDatabaseFlag.ValueType |
The valueType. |
getValueTypeValue()
public abstract int getValueTypeValue()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;
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;
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;
Type | Description |
boolean |
Whether the stringRestrictions field is set. |