public final class SupportedDatabaseFlag extends com.google.protobuf.GeneratedMessageV3 implements SupportedDatabaseFlagOrBuilder
SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.Protobuf type
google.cloud.alloydb.v1.SupportedDatabaseFlag| Modifier and Type | Class and Description |
|---|---|
static class |
SupportedDatabaseFlag.Builder
SupportedDatabaseFlag gives general information about a database flag,
like type and allowed values.
|
static class |
SupportedDatabaseFlag.IntegerRestrictions
Restrictions on INTEGER type values.
|
static interface |
SupportedDatabaseFlag.IntegerRestrictionsOrBuilder |
static class |
SupportedDatabaseFlag.RecommendedValueCase |
static class |
SupportedDatabaseFlag.RestrictionsCase |
static class |
SupportedDatabaseFlag.Scope
The scope of the flag.
|
static class |
SupportedDatabaseFlag.StringRestrictions
Restrictions on STRING type values
Protobuf type
google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions |
static interface |
SupportedDatabaseFlag.StringRestrictionsOrBuilder |
static class |
SupportedDatabaseFlag.ValueType
ValueType describes the semantic type of the value that the flag accepts.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER |
static int |
FLAG_NAME_FIELD_NUMBER |
static int |
INTEGER_RESTRICTIONS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RECOMMENDED_INTEGER_VALUE_FIELD_NUMBER |
static int |
RECOMMENDED_STRING_VALUE_FIELD_NUMBER |
static int |
REQUIRES_DB_RESTART_FIELD_NUMBER |
static int |
SCOPE_FIELD_NUMBER |
static int |
STRING_RESTRICTIONS_FIELD_NUMBER |
static int |
SUPPORTED_DB_VERSIONS_FIELD_NUMBER |
static int |
VALUE_TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
getAcceptsMultipleValues()
Whether the database flag accepts multiple values.
|
static SupportedDatabaseFlag |
getDefaultInstance() |
SupportedDatabaseFlag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFlagName()
The name of the database flag, e.g.
|
com.google.protobuf.ByteString |
getFlagNameBytes()
The name of the database flag, e.g.
|
SupportedDatabaseFlag.IntegerRestrictions |
getIntegerRestrictions()
Restriction on INTEGER type value.
|
SupportedDatabaseFlag.IntegerRestrictionsOrBuilder |
getIntegerRestrictionsOrBuilder()
Restriction on INTEGER type value.
|
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.
|
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.
|
com.google.protobuf.Parser<SupportedDatabaseFlag> |
getParserForType() |
com.google.protobuf.Int64Value |
getRecommendedIntegerValue()
The recommended value for an INTEGER flag.
|
com.google.protobuf.Int64ValueOrBuilder |
getRecommendedIntegerValueOrBuilder()
The recommended value for an INTEGER flag.
|
String |
getRecommendedStringValue()
The recommended value for a STRING flag.
|
com.google.protobuf.ByteString |
getRecommendedStringValueBytes()
The recommended value for a STRING flag.
|
SupportedDatabaseFlag.RecommendedValueCase |
getRecommendedValueCase() |
boolean |
getRequiresDbRestart()
Whether setting or updating this flag on an Instance requires a database
restart.
|
SupportedDatabaseFlag.RestrictionsCase |
getRestrictionsCase() |
SupportedDatabaseFlag.Scope |
getScope()
The scope of the flag.
|
int |
getScopeValue()
The scope of the flag.
|
int |
getSerializedSize() |
SupportedDatabaseFlag.StringRestrictions |
getStringRestrictions()
Restriction on STRING type value.
|
SupportedDatabaseFlag.StringRestrictionsOrBuilder |
getStringRestrictionsOrBuilder()
Restriction on STRING type value.
|
DatabaseVersion |
getSupportedDbVersions(int index)
Major database engine versions for which this flag is supported.
|
int |
getSupportedDbVersionsCount()
Major database engine versions for which this flag is supported.
|
List<DatabaseVersion> |
getSupportedDbVersionsList()
Major database engine versions for which this flag is supported.
|
int |
getSupportedDbVersionsValue(int index)
Major database engine versions for which this flag is supported.
|
List<Integer> |
getSupportedDbVersionsValueList()
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.ValueType |
getValueType()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; |
int |
getValueTypeValue()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; |
int |
hashCode() |
boolean |
hasIntegerRestrictions()
Restriction on INTEGER type value.
|
boolean |
hasRecommendedIntegerValue()
The recommended value for an INTEGER flag.
|
boolean |
hasRecommendedStringValue()
The recommended value for a STRING flag.
|
boolean |
hasStringRestrictions()
Restriction on STRING type value.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SupportedDatabaseFlag.Builder |
newBuilder() |
static SupportedDatabaseFlag.Builder |
newBuilder(SupportedDatabaseFlag prototype) |
SupportedDatabaseFlag.Builder |
newBuilderForType() |
protected SupportedDatabaseFlag.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SupportedDatabaseFlag |
parseDelimitedFrom(InputStream input) |
static SupportedDatabaseFlag |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SupportedDatabaseFlag |
parseFrom(byte[] data) |
static SupportedDatabaseFlag |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SupportedDatabaseFlag |
parseFrom(ByteBuffer data) |
static SupportedDatabaseFlag |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SupportedDatabaseFlag |
parseFrom(com.google.protobuf.ByteString data) |
static SupportedDatabaseFlag |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SupportedDatabaseFlag |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SupportedDatabaseFlag |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SupportedDatabaseFlag |
parseFrom(InputStream input) |
static SupportedDatabaseFlag |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SupportedDatabaseFlag> |
parser() |
SupportedDatabaseFlag.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int STRING_RESTRICTIONS_FIELD_NUMBER
public static final int INTEGER_RESTRICTIONS_FIELD_NUMBER
public static final int RECOMMENDED_STRING_VALUE_FIELD_NUMBER
public static final int RECOMMENDED_INTEGER_VALUE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int FLAG_NAME_FIELD_NUMBER
public static final int VALUE_TYPE_FIELD_NUMBER
public static final int ACCEPTS_MULTIPLE_VALUES_FIELD_NUMBER
public static final int SUPPORTED_DB_VERSIONS_FIELD_NUMBER
public static final int REQUIRES_DB_RESTART_FIELD_NUMBER
public static final int SCOPE_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()
getRestrictionsCase in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.RecommendedValueCase getRecommendedValueCase()
getRecommendedValueCase in interface SupportedDatabaseFlagOrBuilderpublic boolean hasStringRestrictions()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
hasStringRestrictions in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.StringRestrictions getStringRestrictions()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
getStringRestrictions in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.StringRestrictionsOrBuilder getStringRestrictionsOrBuilder()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
getStringRestrictionsOrBuilder in interface SupportedDatabaseFlagOrBuilderpublic boolean hasIntegerRestrictions()
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
hasIntegerRestrictions in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.IntegerRestrictions getIntegerRestrictions()
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
getIntegerRestrictions in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.IntegerRestrictionsOrBuilder getIntegerRestrictionsOrBuilder()
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
getIntegerRestrictionsOrBuilder in interface SupportedDatabaseFlagOrBuilderpublic boolean hasRecommendedStringValue()
The recommended value for a STRING flag.
string recommended_string_value = 10;hasRecommendedStringValue in interface SupportedDatabaseFlagOrBuilderpublic String getRecommendedStringValue()
The recommended value for a STRING flag.
string recommended_string_value = 10;getRecommendedStringValue in interface SupportedDatabaseFlagOrBuilderpublic com.google.protobuf.ByteString getRecommendedStringValueBytes()
The recommended value for a STRING flag.
string recommended_string_value = 10;getRecommendedStringValueBytes in interface SupportedDatabaseFlagOrBuilderpublic boolean hasRecommendedIntegerValue()
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;hasRecommendedIntegerValue in interface SupportedDatabaseFlagOrBuilderpublic com.google.protobuf.Int64Value getRecommendedIntegerValue()
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;getRecommendedIntegerValue in interface SupportedDatabaseFlagOrBuilderpublic com.google.protobuf.Int64ValueOrBuilder getRecommendedIntegerValueOrBuilder()
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;getRecommendedIntegerValueOrBuilder in interface SupportedDatabaseFlagOrBuilderpublic 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;getName in interface SupportedDatabaseFlagOrBuilderpublic 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;getNameBytes in interface SupportedDatabaseFlagOrBuilderpublic 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;getFlagName in interface SupportedDatabaseFlagOrBuilderpublic 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;getFlagNameBytes in interface SupportedDatabaseFlagOrBuilderpublic int getValueTypeValue()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;getValueTypeValue in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.ValueType getValueType()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;getValueType in interface SupportedDatabaseFlagOrBuilderpublic 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;getAcceptsMultipleValues in interface SupportedDatabaseFlagOrBuilderpublic List<DatabaseVersion> getSupportedDbVersionsList()
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;getSupportedDbVersionsList in interface SupportedDatabaseFlagOrBuilderpublic int getSupportedDbVersionsCount()
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;getSupportedDbVersionsCount in interface SupportedDatabaseFlagOrBuilderpublic DatabaseVersion getSupportedDbVersions(int index)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;getSupportedDbVersions in interface SupportedDatabaseFlagOrBuilderindex - The index of the element to return.public List<Integer> getSupportedDbVersionsValueList()
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;getSupportedDbVersionsValueList in interface SupportedDatabaseFlagOrBuilderpublic int getSupportedDbVersionsValue(int index)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;getSupportedDbVersionsValue in interface SupportedDatabaseFlagOrBuilderindex - The index of the value to return.public 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;getRequiresDbRestart in interface SupportedDatabaseFlagOrBuilderpublic int getScopeValue()
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;getScopeValue in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Scope getScope()
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;getScope in interface SupportedDatabaseFlagOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SupportedDatabaseFlag parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SupportedDatabaseFlag parseFrom(InputStream input) throws IOException
IOExceptionpublic static SupportedDatabaseFlag parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SupportedDatabaseFlag parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SupportedDatabaseFlag parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SupportedDatabaseFlag parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SupportedDatabaseFlag parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SupportedDatabaseFlag.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SupportedDatabaseFlag.Builder newBuilder()
public static SupportedDatabaseFlag.Builder newBuilder(SupportedDatabaseFlag prototype)
public SupportedDatabaseFlag.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SupportedDatabaseFlag.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SupportedDatabaseFlag getDefaultInstance()
public static com.google.protobuf.Parser<SupportedDatabaseFlag> parser()
public com.google.protobuf.Parser<SupportedDatabaseFlag> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SupportedDatabaseFlag getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.