public static final class SupportedDatabaseFlag.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder> 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 | Method and Description |
|---|---|
SupportedDatabaseFlag.Builder |
addAllSupportedDbVersions(Iterable<? extends DatabaseVersion> values)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
addAllSupportedDbVersionsValue(Iterable<Integer> values)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SupportedDatabaseFlag.Builder |
addSupportedDbVersions(DatabaseVersion value)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
addSupportedDbVersionsValue(int value)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag |
build() |
SupportedDatabaseFlag |
buildPartial() |
SupportedDatabaseFlag.Builder |
clear() |
SupportedDatabaseFlag.Builder |
clearAcceptsMultipleValues()
Whether the database flag accepts multiple values.
|
SupportedDatabaseFlag.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SupportedDatabaseFlag.Builder |
clearFlagName()
The name of the database flag, e.g.
|
SupportedDatabaseFlag.Builder |
clearIntegerRestrictions()
Restriction on INTEGER type value.
|
SupportedDatabaseFlag.Builder |
clearName()
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.
|
SupportedDatabaseFlag.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SupportedDatabaseFlag.Builder |
clearRecommendedIntegerValue()
The recommended value for an INTEGER flag.
|
SupportedDatabaseFlag.Builder |
clearRecommendedStringValue()
The recommended value for a STRING flag.
|
SupportedDatabaseFlag.Builder |
clearRecommendedValue() |
SupportedDatabaseFlag.Builder |
clearRequiresDbRestart()
Whether setting or updating this flag on an Instance requires a database
restart.
|
SupportedDatabaseFlag.Builder |
clearRestrictions() |
SupportedDatabaseFlag.Builder |
clearScope()
The scope of the flag.
|
SupportedDatabaseFlag.Builder |
clearStringRestrictions()
Restriction on STRING type value.
|
SupportedDatabaseFlag.Builder |
clearSupportedDbVersions()
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
clearValueType()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; |
SupportedDatabaseFlag.Builder |
clone() |
boolean |
getAcceptsMultipleValues()
Whether the database flag accepts multiple values.
|
SupportedDatabaseFlag |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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.IntegerRestrictions.Builder |
getIntegerRestrictionsBuilder()
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.Int64Value |
getRecommendedIntegerValue()
The recommended value for an INTEGER flag.
|
com.google.protobuf.Int64Value.Builder |
getRecommendedIntegerValueBuilder()
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.
|
SupportedDatabaseFlag.StringRestrictions |
getStringRestrictions()
Restriction on STRING type value.
|
SupportedDatabaseFlag.StringRestrictions.Builder |
getStringRestrictionsBuilder()
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; |
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() |
SupportedDatabaseFlag.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SupportedDatabaseFlag.Builder |
mergeFrom(com.google.protobuf.Message other) |
SupportedDatabaseFlag.Builder |
mergeFrom(SupportedDatabaseFlag other) |
SupportedDatabaseFlag.Builder |
mergeIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
Restriction on INTEGER type value.
|
SupportedDatabaseFlag.Builder |
mergeRecommendedIntegerValue(com.google.protobuf.Int64Value value)
The recommended value for an INTEGER flag.
|
SupportedDatabaseFlag.Builder |
mergeStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
Restriction on STRING type value.
|
SupportedDatabaseFlag.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SupportedDatabaseFlag.Builder |
setAcceptsMultipleValues(boolean value)
Whether the database flag accepts multiple values.
|
SupportedDatabaseFlag.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SupportedDatabaseFlag.Builder |
setFlagName(String value)
The name of the database flag, e.g.
|
SupportedDatabaseFlag.Builder |
setFlagNameBytes(com.google.protobuf.ByteString value)
The name of the database flag, e.g.
|
SupportedDatabaseFlag.Builder |
setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue)
Restriction on INTEGER type value.
|
SupportedDatabaseFlag.Builder |
setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
Restriction on INTEGER type value.
|
SupportedDatabaseFlag.Builder |
setName(String value)
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.
|
SupportedDatabaseFlag.Builder |
setNameBytes(com.google.protobuf.ByteString value)
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.
|
SupportedDatabaseFlag.Builder |
setRecommendedIntegerValue(com.google.protobuf.Int64Value.Builder builderForValue)
The recommended value for an INTEGER flag.
|
SupportedDatabaseFlag.Builder |
setRecommendedIntegerValue(com.google.protobuf.Int64Value value)
The recommended value for an INTEGER flag.
|
SupportedDatabaseFlag.Builder |
setRecommendedStringValue(String value)
The recommended value for a STRING flag.
|
SupportedDatabaseFlag.Builder |
setRecommendedStringValueBytes(com.google.protobuf.ByteString value)
The recommended value for a STRING flag.
|
SupportedDatabaseFlag.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SupportedDatabaseFlag.Builder |
setRequiresDbRestart(boolean value)
Whether setting or updating this flag on an Instance requires a database
restart.
|
SupportedDatabaseFlag.Builder |
setScope(SupportedDatabaseFlag.Scope value)
The scope of the flag.
|
SupportedDatabaseFlag.Builder |
setScopeValue(int value)
The scope of the flag.
|
SupportedDatabaseFlag.Builder |
setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue)
Restriction on STRING type value.
|
SupportedDatabaseFlag.Builder |
setStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
Restriction on STRING type value.
|
SupportedDatabaseFlag.Builder |
setSupportedDbVersions(int index,
DatabaseVersion value)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
setSupportedDbVersionsValue(int index,
int value)
Major database engine versions for which this flag is supported.
|
SupportedDatabaseFlag.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SupportedDatabaseFlag.Builder |
setValueType(SupportedDatabaseFlag.ValueType value)
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; |
SupportedDatabaseFlag.Builder |
setValueTypeValue(int value)
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SupportedDatabaseFlag build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SupportedDatabaseFlag buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SupportedDatabaseFlag.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder mergeFrom(SupportedDatabaseFlag other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public SupportedDatabaseFlag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SupportedDatabaseFlag.Builder>IOExceptionpublic SupportedDatabaseFlag.RestrictionsCase getRestrictionsCase()
getRestrictionsCase in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder clearRestrictions()
public SupportedDatabaseFlag.RecommendedValueCase getRecommendedValueCase()
getRecommendedValueCase in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder clearRecommendedValue()
public 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.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
public SupportedDatabaseFlag.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue)
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
public SupportedDatabaseFlag.Builder mergeStringRestrictions(SupportedDatabaseFlag.StringRestrictions value)
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
public SupportedDatabaseFlag.Builder clearStringRestrictions()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
public SupportedDatabaseFlag.StringRestrictions.Builder getStringRestrictionsBuilder()
Restriction on STRING type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;
public 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.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
public SupportedDatabaseFlag.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue)
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
public SupportedDatabaseFlag.Builder mergeIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value)
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
public SupportedDatabaseFlag.Builder clearIntegerRestrictions()
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
public SupportedDatabaseFlag.IntegerRestrictions.Builder getIntegerRestrictionsBuilder()
Restriction on INTEGER type value.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;
public 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 SupportedDatabaseFlag.Builder setRecommendedStringValue(String value)
The recommended value for a STRING flag.
string recommended_string_value = 10;value - The recommendedStringValue to set.public SupportedDatabaseFlag.Builder clearRecommendedStringValue()
The recommended value for a STRING flag.
string recommended_string_value = 10;public SupportedDatabaseFlag.Builder setRecommendedStringValueBytes(com.google.protobuf.ByteString value)
The recommended value for a STRING flag.
string recommended_string_value = 10;value - The bytes for recommendedStringValue to set.public 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 SupportedDatabaseFlag.Builder setRecommendedIntegerValue(com.google.protobuf.Int64Value value)
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;public SupportedDatabaseFlag.Builder setRecommendedIntegerValue(com.google.protobuf.Int64Value.Builder builderForValue)
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;public SupportedDatabaseFlag.Builder mergeRecommendedIntegerValue(com.google.protobuf.Int64Value value)
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;public SupportedDatabaseFlag.Builder clearRecommendedIntegerValue()
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;public com.google.protobuf.Int64Value.Builder getRecommendedIntegerValueBuilder()
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;public 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 SupportedDatabaseFlag.Builder setName(String value)
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;value - The name to set.public SupportedDatabaseFlag.Builder clearName()
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;public SupportedDatabaseFlag.Builder setNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for name to set.public 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 SupportedDatabaseFlag.Builder setFlagName(String value)
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;value - The flagName to set.public SupportedDatabaseFlag.Builder clearFlagName()
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;public SupportedDatabaseFlag.Builder setFlagNameBytes(com.google.protobuf.ByteString value)
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;value - The bytes for flagName to set.public int getValueTypeValue()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;getValueTypeValue in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder setValueTypeValue(int value)
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;value - The enum numeric value on the wire for valueType to set.public SupportedDatabaseFlag.ValueType getValueType()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;getValueType in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder setValueType(SupportedDatabaseFlag.ValueType value)
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;value - The valueType to set.public SupportedDatabaseFlag.Builder clearValueType()
.google.cloud.alloydb.v1.SupportedDatabaseFlag.ValueType value_type = 3;public 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 SupportedDatabaseFlag.Builder setAcceptsMultipleValues(boolean value)
Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
bool accepts_multiple_values = 4;value - The acceptsMultipleValues to set.public SupportedDatabaseFlag.Builder clearAcceptsMultipleValues()
Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
bool accepts_multiple_values = 4;public 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 SupportedDatabaseFlag.Builder setSupportedDbVersions(int index, DatabaseVersion value)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;index - The index to set the value at.value - The supportedDbVersions to set.public SupportedDatabaseFlag.Builder addSupportedDbVersions(DatabaseVersion value)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;value - The supportedDbVersions to add.public SupportedDatabaseFlag.Builder addAllSupportedDbVersions(Iterable<? extends DatabaseVersion> values)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;values - The supportedDbVersions to add.public SupportedDatabaseFlag.Builder clearSupportedDbVersions()
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;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 SupportedDatabaseFlag.Builder setSupportedDbVersionsValue(int index, int value)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;index - The index to set the value at.value - The enum numeric value on the wire for supportedDbVersions to set.public SupportedDatabaseFlag.Builder addSupportedDbVersionsValue(int value)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;value - The enum numeric value on the wire for supportedDbVersions to add.public SupportedDatabaseFlag.Builder addAllSupportedDbVersionsValue(Iterable<Integer> values)
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1.DatabaseVersion supported_db_versions = 5;values - The enum numeric values on the wire for supportedDbVersions to add.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 SupportedDatabaseFlag.Builder setRequiresDbRestart(boolean value)
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;value - The requiresDbRestart to set.public SupportedDatabaseFlag.Builder clearRequiresDbRestart()
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;public int getScopeValue()
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;getScopeValue in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder setScopeValue(int value)
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;value - The enum numeric value on the wire for scope to set.public SupportedDatabaseFlag.Scope getScope()
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;getScope in interface SupportedDatabaseFlagOrBuilderpublic SupportedDatabaseFlag.Builder setScope(SupportedDatabaseFlag.Scope value)
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;value - The scope to set.public SupportedDatabaseFlag.Builder clearScope()
The scope of the flag.
.google.cloud.alloydb.v1.SupportedDatabaseFlag.Scope scope = 9;public final SupportedDatabaseFlag.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>public final SupportedDatabaseFlag.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SupportedDatabaseFlag.Builder>Copyright © 2025 Google LLC. All rights reserved.