Package com.google.cloud.alloydb.v1beta
Class SupportedDatabaseFlag.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SupportedDatabaseFlag.Builder>
com.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Builder
- All Implemented Interfaces:
SupportedDatabaseFlagOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- SupportedDatabaseFlag
public static final class SupportedDatabaseFlag.Builder
extends com.google.protobuf.GeneratedMessage.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.v1beta.SupportedDatabaseFlag-
Method Summary
Modifier and TypeMethodDescriptionaddAllSupportedDbVersions(Iterable<? extends DatabaseVersion> values) Major database engine versions for which this flag is supported.Major database engine versions for which this flag is supported.Major database engine versions for which this flag is supported.addSupportedDbVersionsValue(int value) Major database engine versions for which this flag is supported.build()clear()Whether the database flag accepts multiple values.The name of the database flag, e.g.Restriction on INTEGER type 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.The recommended value for an INTEGER flag.The recommended value for a STRING flag.Whether setting or updating this flag on an Instance requires a database restart.The scope of the flag.Restriction on STRING type value.Major database engine versions for which this flag is supported..google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;booleanWhether the database flag accepts multiple values.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe 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.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.Int64Value.BuilderThe 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.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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(SupportedDatabaseFlag other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Restriction on INTEGER type value.mergeRecommendedIntegerValue(com.google.protobuf.Int64Value value) The recommended value for an INTEGER flag.Restriction on STRING type value.setAcceptsMultipleValues(boolean value) Whether the database flag accepts multiple values.setFlagName(String value) The name of the database flag, e.g.setFlagNameBytes(com.google.protobuf.ByteString value) The name of the database flag, e.g.Restriction on INTEGER type value.setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) Restriction on INTEGER type 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.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.setRecommendedIntegerValue(com.google.protobuf.Int64Value value) The recommended value for an INTEGER flag.setRecommendedIntegerValue(com.google.protobuf.Int64Value.Builder builderForValue) The recommended value for an INTEGER flag.setRecommendedStringValue(String value) The recommended value for a STRING flag.setRecommendedStringValueBytes(com.google.protobuf.ByteString value) The recommended value for a STRING flag.setRequiresDbRestart(boolean value) Whether setting or updating this flag on an Instance requires a database restart.The scope of the flag.setScopeValue(int value) The scope of the flag.Restriction on STRING type value.setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) Restriction on STRING type value.setSupportedDbVersions(int index, DatabaseVersion value) Major database engine versions for which this flag is supported.setSupportedDbVersionsValue(int index, int value) Major database engine versions for which this flag is supported..google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;setValueTypeValue(int value) .google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<SupportedDatabaseFlag.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<SupportedDatabaseFlag.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<SupportedDatabaseFlag.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SupportedDatabaseFlag.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<SupportedDatabaseFlag.Builder>
-
mergeFrom
public SupportedDatabaseFlag.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SupportedDatabaseFlag.Builder>- Throws:
IOException
-
getRestrictionsCase
- Specified by:
getRestrictionsCasein interfaceSupportedDatabaseFlagOrBuilder
-
clearRestrictions
-
getRecommendedValueCase
- Specified by:
getRecommendedValueCasein interfaceSupportedDatabaseFlagOrBuilder
-
clearRecommendedValue
-
hasStringRestrictions
public boolean hasStringRestrictions()Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;- Specified by:
hasStringRestrictionsin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- Whether the stringRestrictions field is set.
-
getStringRestrictions
Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;- Specified by:
getStringRestrictionsin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The stringRestrictions.
-
setStringRestrictions
public SupportedDatabaseFlag.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions value) Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; -
setStringRestrictions
public SupportedDatabaseFlag.Builder setStringRestrictions(SupportedDatabaseFlag.StringRestrictions.Builder builderForValue) Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; -
mergeStringRestrictions
public SupportedDatabaseFlag.Builder mergeStringRestrictions(SupportedDatabaseFlag.StringRestrictions value) Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; -
clearStringRestrictions
Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; -
getStringRestrictionsBuilder
Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7; -
getStringRestrictionsOrBuilder
Restriction on STRING type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.StringRestrictions string_restrictions = 7;- Specified by:
getStringRestrictionsOrBuilderin interfaceSupportedDatabaseFlagOrBuilder
-
hasIntegerRestrictions
public boolean hasIntegerRestrictions()Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;- Specified by:
hasIntegerRestrictionsin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- Whether the integerRestrictions field is set.
-
getIntegerRestrictions
Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;- Specified by:
getIntegerRestrictionsin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The integerRestrictions.
-
setIntegerRestrictions
public SupportedDatabaseFlag.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value) Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; -
setIntegerRestrictions
public SupportedDatabaseFlag.Builder setIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions.Builder builderForValue) Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; -
mergeIntegerRestrictions
public SupportedDatabaseFlag.Builder mergeIntegerRestrictions(SupportedDatabaseFlag.IntegerRestrictions value) Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; -
clearIntegerRestrictions
Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; -
getIntegerRestrictionsBuilder
Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8; -
getIntegerRestrictionsOrBuilder
Restriction on INTEGER type value.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.IntegerRestrictions integer_restrictions = 8;- Specified by:
getIntegerRestrictionsOrBuilderin interfaceSupportedDatabaseFlagOrBuilder
-
hasRecommendedStringValue
public boolean hasRecommendedStringValue()The recommended value for a STRING flag.
string recommended_string_value = 10;- Specified by:
hasRecommendedStringValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- Whether the recommendedStringValue field is set.
-
getRecommendedStringValue
The recommended value for a STRING flag.
string recommended_string_value = 10;- Specified by:
getRecommendedStringValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The recommendedStringValue.
-
getRecommendedStringValueBytes
public com.google.protobuf.ByteString getRecommendedStringValueBytes()The recommended value for a STRING flag.
string recommended_string_value = 10;- Specified by:
getRecommendedStringValueBytesin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The bytes for recommendedStringValue.
-
setRecommendedStringValue
The recommended value for a STRING flag.
string recommended_string_value = 10;- Parameters:
value- The recommendedStringValue to set.- Returns:
- This builder for chaining.
-
clearRecommendedStringValue
The recommended value for a STRING flag.
string recommended_string_value = 10;- Returns:
- This builder for chaining.
-
setRecommendedStringValueBytes
public SupportedDatabaseFlag.Builder setRecommendedStringValueBytes(com.google.protobuf.ByteString value) The recommended value for a STRING flag.
string recommended_string_value = 10;- Parameters:
value- The bytes for recommendedStringValue to set.- Returns:
- This builder for chaining.
-
hasRecommendedIntegerValue
public boolean hasRecommendedIntegerValue()The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;- Specified by:
hasRecommendedIntegerValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- Whether the recommendedIntegerValue field is set.
-
getRecommendedIntegerValue
public com.google.protobuf.Int64Value getRecommendedIntegerValue()The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;- Specified by:
getRecommendedIntegerValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The recommendedIntegerValue.
-
setRecommendedIntegerValue
public SupportedDatabaseFlag.Builder setRecommendedIntegerValue(com.google.protobuf.Int64Value value) The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11; -
setRecommendedIntegerValue
public SupportedDatabaseFlag.Builder setRecommendedIntegerValue(com.google.protobuf.Int64Value.Builder builderForValue) The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11; -
mergeRecommendedIntegerValue
public SupportedDatabaseFlag.Builder mergeRecommendedIntegerValue(com.google.protobuf.Int64Value value) The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11; -
clearRecommendedIntegerValue
The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11; -
getRecommendedIntegerValueBuilder
public com.google.protobuf.Int64Value.Builder getRecommendedIntegerValueBuilder()The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11; -
getRecommendedIntegerValueOrBuilder
public com.google.protobuf.Int64ValueOrBuilder getRecommendedIntegerValueOrBuilder()The recommended value for an INTEGER flag.
.google.protobuf.Int64Value recommended_integer_value = 11;- Specified by:
getRecommendedIntegerValueOrBuilderin interfaceSupportedDatabaseFlagOrBuilder
-
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;- Specified by:
getNamein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The bytes for name.
-
setName
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;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setNameBytes
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;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFlagNamein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The flagName.
-
getFlagNameBytes
public 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;- Specified by:
getFlagNameBytesin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The bytes for flagName.
-
setFlagName
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;- Parameters:
value- The flagName to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
setFlagNameBytes
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;- Parameters:
value- The bytes for flagName to set.- Returns:
- This builder for chaining.
-
getValueTypeValue
public int getValueTypeValue().google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;- Specified by:
getValueTypeValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The enum numeric value on the wire for valueType.
-
setValueTypeValue
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;- Parameters:
value- The enum numeric value on the wire for valueType to set.- Returns:
- This builder for chaining.
-
getValueType
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;- Specified by:
getValueTypein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The valueType.
-
setValueType
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;- Parameters:
value- The valueType to set.- Returns:
- This builder for chaining.
-
clearValueType
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.ValueType value_type = 3;- Returns:
- This builder for chaining.
-
getAcceptsMultipleValues
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;- Specified by:
getAcceptsMultipleValuesin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The acceptsMultipleValues.
-
setAcceptsMultipleValues
Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
bool accepts_multiple_values = 4;- Parameters:
value- The acceptsMultipleValues to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getSupportedDbVersionsList
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Specified by:
getSupportedDbVersionsListin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- A list containing the supportedDbVersions.
-
getSupportedDbVersionsCount
public int getSupportedDbVersionsCount()Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Specified by:
getSupportedDbVersionsCountin interfaceSupportedDatabaseFlagOrBuilder- 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;- Specified by:
getSupportedDbVersionsin interfaceSupportedDatabaseFlagOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The supportedDbVersions at the given index.
-
setSupportedDbVersions
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
index- The index to set the value at.value- The supportedDbVersions to set.- Returns:
- This builder for chaining.
-
addSupportedDbVersions
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
value- The supportedDbVersions to add.- Returns:
- This builder for chaining.
-
addAllSupportedDbVersions
public SupportedDatabaseFlag.Builder addAllSupportedDbVersions(Iterable<? extends DatabaseVersion> values) Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
values- The supportedDbVersions to add.- Returns:
- This builder for chaining.
-
clearSupportedDbVersions
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Returns:
- This builder for chaining.
-
getSupportedDbVersionsValueList
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Specified by:
getSupportedDbVersionsValueListin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- A list containing the enum numeric values on the wire for supportedDbVersions.
-
getSupportedDbVersionsValue
public int getSupportedDbVersionsValue(int index) Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Specified by:
getSupportedDbVersionsValuein interfaceSupportedDatabaseFlagOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of supportedDbVersions at the given index.
-
setSupportedDbVersionsValue
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for supportedDbVersions to set.- Returns:
- This builder for chaining.
-
addSupportedDbVersionsValue
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
value- The enum numeric value on the wire for supportedDbVersions to add.- Returns:
- This builder for chaining.
-
addAllSupportedDbVersionsValue
Major database engine versions for which this flag is supported.
repeated .google.cloud.alloydb.v1beta.DatabaseVersion supported_db_versions = 5;- Parameters:
values- The enum numeric values on the wire for supportedDbVersions to add.- Returns:
- This builder for chaining.
-
getRequiresDbRestart
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;- Specified by:
getRequiresDbRestartin interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The requiresDbRestart.
-
setRequiresDbRestart
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;- Parameters:
value- The requiresDbRestart to set.- Returns:
- This builder for chaining.
-
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;- Returns:
- This builder for chaining.
-
getScopeValue
public int getScopeValue()The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Specified by:
getScopeValuein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The enum numeric value on the wire for scope.
-
setScopeValue
The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Parameters:
value- The enum numeric value on the wire for scope to set.- Returns:
- This builder for chaining.
-
getScope
The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Specified by:
getScopein interfaceSupportedDatabaseFlagOrBuilder- Returns:
- The scope.
-
setScope
The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Parameters:
value- The scope to set.- Returns:
- This builder for chaining.
-
clearScope
The scope of the flag.
.google.cloud.alloydb.v1beta.SupportedDatabaseFlag.Scope scope = 9;- Returns:
- This builder for chaining.
-