Package com.google.cloud.alloydb.v1beta
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 Summary
Modifier and TypeMethodDescriptionbooleanWhether the database flag accepts multiple values.The name of the database flag, e.g.com.google.protobuf.ByteStringThe name of the database flag, e.g.Restriction on INTEGER type value.Restriction on INTEGER type value.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.com.google.protobuf.ByteStringThe name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.com.google.protobuf.Int64ValueThe recommended value for an INTEGER flag.com.google.protobuf.Int64ValueOrBuilderThe recommended value for an INTEGER flag.The recommended value for a STRING flag.com.google.protobuf.ByteStringThe recommended value for a STRING flag.booleanWhether setting or updating this flag on an Instance requires a database restart.getScope()The scope of the flag.intThe scope of the flag.Restriction on STRING type value.Restriction on STRING type value.getSupportedDbVersions(int index) Major database engine versions for which this flag is supported.intMajor database engine versions for which this flag is supported.Major database engine versions for which this flag is supported.intgetSupportedDbVersionsValue(int index) Major database engine versions for which this flag is supported.Major database engine versions for which this flag is supported..google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;int.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;booleanRestriction on INTEGER type value.booleanThe recommended value for an INTEGER flag.booleanThe recommended value for a STRING flag.booleanRestriction on STRING type value.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
SupportedDatabaseFlag.StringRestrictions 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
SupportedDatabaseFlag.IntegerRestrictions 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
SupportedDatabaseFlag.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
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
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
SupportedDatabaseFlag.Scope getScope()The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Returns:
- The scope.
-
getRestrictionsCase
SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase() -
getRecommendedValueCase
SupportedDatabaseFlag.RecommendedValueCase getRecommendedValueCase()
-